02-11-2018 11:28 PM
Hi everyone:
When I tried to build the rdf0421-zcu102-base-trd-2017-4 following the steps of Zynq UltraScale MPSoC Base TRD 2017.4 - Design Module 1 wiki xilinx.com. I found when I tried petalinux-config --oldconfig almost cannot run:
[guest@localhost apu]$ cd petalinux_bsp
[guest@localhost petalinux_bsp]$ ls
components config.project images project-spec
[guest@localhost petalinux_bsp]$ petalinux-config --oldconfig
[INFO] generating Kconfig for project
[INFO] oldconfig project
ERROR: Failed to oldconfig project component
ERROR: Failed to config project.
[guest@localhost petalinux_bsp]$ petalinux-config --oldconfig
[INFO] generating Kconfig for project
[INFO] oldconfig project
[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
[guest@localhost petalinux_bsp]$ petalinux-config --oldconfig
[INFO] generating Kconfig for project
[INFO] oldconfig project
[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
I dont know how to get over it , I'm new to Xilinx SOC,any should be helpful! THX ahead.
02-12-2018 10:14 PM
Hi Austin :
Thank you for your reply in the first time!
I have resolved the problem. Just as you said, I mixed using the root and user when unzip the zip file.
Now, I unzip the file in the user condtion, it is configed fine.
02-12-2018 08:36 AM
Building PetaLinux is no task for the weak,
1. You need an Ubuntu 16.04 linux machine where you have root privileges, (you need this for creating directories, setting access, but NOT for running petalinux- commands)
2. You need access to the Internet
3. You need to resolve all dependencies,
4. You need to create and use the proper directory structures,
5. You need to follow the user guides, wiki's, etc. TO THE LETTER,
Even then you may find that some builds fail as open source sites may be down for maintenance, etc. Try again later.
In your specific case, I suspect you may have:
- not sourced the .sh file as required (you should be using bash, no one seems to be using the older c-shell for this)
- not executed the chmod command to change the attributes of the directory as required (sudo chmod 755 [your_plinux_dir]
- not executed the command in the correct (project) directory
- not unzipped the base TRD properly to the target directory
The good news is that it appears you have resolved all your dependencies....
02-12-2018 10:14 PM
Hi Austin :
Thank you for your reply in the first time!
I have resolved the problem. Just as you said, I mixed using the root and user when unzip the zip file.
Now, I unzip the file in the user condtion, it is configed fine.