cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Contributor
Contributor
1,065 Views
Registered: ‎01-11-2018

config the rdf0421-zcu102-base-trd-2017-4 dm1 error

Jump to solution

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.

0 Kudos
Reply
1 Solution

Accepted Solutions
Contributor
Contributor
1,437 Views
Registered: ‎01-11-2018

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. 

View solution in original post

0 Kudos
Reply
2 Replies
Scholar
Scholar
1,041 Views
Registered: ‎02-27-2008

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....

 

 

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Reply
Contributor
Contributor
1,438 Views
Registered: ‎01-11-2018

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. 

View solution in original post

0 Kudos
Reply