cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pulsar
Explorer
Explorer
578 Views
Registered: ‎04-16-2015

Errors in petalinux-config command

Jump to solution

Hello all

I tried to implement the "Steps to Import Hardware Configuration"
according page 21 of UG1144.

Initially I made the project from Digilent's file "Petalinux-Zybo-Z7-10-2017.4-1.bsp"
I did the following steps:
1) cd into /home/victor
2) source /opt/pkg/petalinux/settings.sh
3) copied file Petalinux-Zybo-Z7-10-2017.4-1.bsp into /home/victor/Zibo-Z7-10__BSP
4) cd Zibo-Z7-10__BSP
5) victor@victor-System-Product-Name:~/Zibo-Z7-10__BSP$ petalinux-create -t project -s /home/victor/Zibo-Z7-10__BSP/Petalinux-Zybo-Z7-10-2017.4-1.bsp
INFO: Create project:
INFO: Projects:
INFO: * Zybo-Z7-10
INFO: has been successfully installed to /home/victor/Zibo-Z7-10__BSP/
INFO: New project successfully created in /home/victor/Zibo-Z7-10__BSP/

Then I tried to Import Hardware Configuration from my own project based on Digilent's Zibo-Z7-10
I did the following steps:
1) copied the file system.hdf into /home/victor/ZYBO-Z7-10__v2
2) cd /home/victor/Zibo-Z7-10__BSP/Zybo-Z7-10
3) victor@victor-System-Product-Name:~/Zibo-Z7-10__BSP/Zybo-Z7-10$ petalinux-config --get-hw-description=/home/victor/ZYBO-Z7-10__v2
INFO: Getting hardware description...
[INFO] generating Kconfig for project

[INFO] menuconfig project
/home/victor/Zibo-Z7-10__BSP/Zybo-Z7-10/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
/home/victor/Zibo-Z7-10__BSP/Zybo-Z7-10/build/misc/config/Kconfig:568:warning: config symbol defined without type

Your configuration changes were NOT saved.

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/Zibo-Z7-10__BSP/Zybo-Z7-10/build/misc/plnx-generated ~/Zibo-Z7-10__BSP/Zybo-Z7-10
~/Zibo-Z7-10__BSP/Zybo-Z7-10
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
~/Zibo-Z7-10__BSP/Zybo-Z7-10/build/misc/plnx-generated ~/Zibo-Z7-10__BSP/Zybo-Z7-10
~/Zibo-Z7-10__BSP/Zybo-Z7-10
[INFO] generating u-boot configuration files
ERROR: [Common 17-55] 'get_property' expects at least one object.

ERROR: Failed to generate u-boot configuration files
webtalk failed:Invalid tool in the statistics file:petalinux-yocto!
webtalk failed:Failed to get PetaLinux usage statistics!
ERROR: Failed to config project.
ERROR: Get hw description Failed!.


Please answer on the following questions:
1) what I did wrongly ?
2) how to avoid the ERRORs in this step ?


Thank you,

Best regards,
Victor.

0 Kudos
1 Solution

Accepted Solutions
pulsar
Explorer
Explorer
553 Views
Registered: ‎04-16-2015
0 Kudos
2 Replies
571 Views
Registered: ‎07-23-2019

 

your hdf file is probably wrong...

Did you make it with the same release as Petalinux? (it must be)

If that bsp was created with 2017.4 you have to use that... and you are probably using something else, aren't you?

I know, it's a real PITA... hopefully you can get the corresponding version

0 Kudos
pulsar
Explorer
Explorer
554 Views
Registered: ‎04-16-2015
0 Kudos