03-13-2014 06:32 PM
I am currently trying to follow the UG980 tutorial on board bring-up with Petalinux but it isn't working properly. I created a Vivado project and exported it for SDK as well as creating a FSBL and BSP for Petalinux just like the tutorial said to. I then created a Petalinux project but when I try to perform the command for configuring the project based on the BSP it gives me the following error:
[dgronlund@localhost petalinux_bsp_0]$ petalinux-config --get-hw-description -p /home/dgronlund/Documents/petalinux_zynq_test/
INFO: Checking component...
INFO: Getting hardware description...
INFO: Using MSS file /home/dgronlund/Desktop/Downloads/petalinux_bsp_0/system.mss and XML file /home/dgronlund/Desktop/Downloads/petalinux_bsp_0/../hw_platform_0/system.xml
INFO: Copy autoconfig for PetaLinux project: /home/dgronlund/Documents/petalinux_zynq_test
INFO: /home/dgronlund/Desktop/Downloads/petalinux_bsp_0/system.mss is a dos format file - continuing
INFO: BSP files missing - regenerating...
Finished building libraries
ERROR: auto-config file or device tree does not exist for CPU ps7_cortexa9_0 in project .
ERROR: Confirm you have completed the EDK system build process.
ERROR: Failed to sync up hardware description!
sh: lsb_release: command not found
I am currently running the Petalinux tools on Centos, which is operating inside of VMWare. Vivado and SDK are both running on the host Windows Machine and I am currently using shared folders to communicate SDK with Petalinux. Is the error that I am seeing related to my Petalinux project being setup incorrectly or is it related to the BSP that I created?
03-17-2014 06:11 AM
03-13-2014 06:53 PM
03-14-2014 04:01 PM
What is my Petalinux project bsp folder? How is that different from the folder that contains the bsp I generated with the SDK or the project folder that I created with "petalinux-create --project"? Aren't I currently running the command from the "petalinux_bsp_0" folder?
03-17-2014 06:11 AM
03-17-2014 01:35 PM
I did all of that but it is still giving me the same error. I did generate the BSP inside of XSDK on Windows and then copied it over to the Linux image with the PetaLinux tools, so could there be some cross-platform compatability issues?
03-17-2014 06:47 PM
I did everything inside of Linux this time and I fixed the problem. Apparently PetaLinux won't read some of the files correctly if they had been generated inside of Windows.