chrisW Posted March 7, 2017 Posted March 7, 2017 I am trying to build petalinux for the zybo board (and failing!). I have installed petalinux. I have downloaded digilent-zybo-linux-bd-v2015.4.bsp I have a hardware file etc. I have sourced my directories etc. I do petalinux-config and create a config file. Then it exits and get the error 'failed to source bitbake' This is odd, because if I type 'bitbake' it runs quite happily. Can anyone explain what it is trying to do and how I might fix it? Thanks Chris.
jpeyron Posted March 7, 2017 Posted March 7, 2017 Hi @chrisW, I found a thread here that deals with this issue as well as a reference pdf here that descibes bitbakes function and some common errors. cheers, Jon
chrisW Posted March 9, 2017 Author Posted March 9, 2017 Thanks for that. I followed the link and looked in environment-setup-aarch64-xilinx-linux What I found makes no sense. All the paths seem to be wrong, ie My installation directory is /opt/Xilinx The paths in the file are: /opt/Xilinx/components/yocto/source/aarch64/tmp/sysroots/zynqmp-generic Looking at the directory structure I don't have the tmp directory. I DO have /opt/Xilinx/components/yocto/source/aarch64/sysroots All my paths have this tmp directory. I assume that this is why it does not run correctly! I actually did a clean install and got exactly the same file. Can you explain what I can have done wrong? I got no other errors during the installation. Regards, Chris.
Question
chrisW
I am trying to build petalinux for the zybo board (and failing!).
I have installed petalinux.
I have downloaded digilent-zybo-linux-bd-v2015.4.bsp
I have a hardware file etc. I have sourced my directories etc.
I do petalinux-config and create a config file. Then it exits
and get the error 'failed to source bitbake'
This is odd, because if I type 'bitbake' it runs quite happily.
Can anyone explain what it is trying to do and how I might fix it?
Thanks Chris.
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.