cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
arashr
Explorer
Explorer
449 Views
Registered: ‎02-06-2018

Petalinux-build complains about machine name [ZCU111]

Jump to solution

Hi,

I created a new Petalinux project and this is happening when I do petalinux-build :

 

 

$ petalinux-config --get-hw-description /home/arashr/Projects/Petalinux_Test/TestProject1/BRam_Design_wrapper.xsa
INFO: Sourcing build tools
INFO: Getting hardware description...
INFO: Rename BRam_Design_wrapper.xsa to system.xsa
[INFO] Generating Kconfig for project
[INFO] Menuconfig project


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

[INFO] Sourcing build environment
[INFO] Generating kconfig for Rootfs
[INFO] Silentconfig rootfs
[INFO] Generating plnxtool conf
[INFO] Generating workspace directory

$ petalinux-build INFO: Sourcing build tools [INFO] Building project [INFO] Sourcing build environment [INFO] Generating workspace directory INFO: bitbake petalinux-image-minimal ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: MACHINE=zcu111-reva is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ERROR: Failed to build project

I have created the petalinux with the following command:

$ petalinux-create -t project -s ../../BSP/xilinx-zcu111-v2020.2-final.bsp 

I'm using ZCU111 dev board so I changed the name in Yocto Settings ---> to

Screenshot from 2020-12-16 17-43-43.png

 

 

Thank you for your help.

0 Kudos
1 Solution

Accepted Solutions
patocarr
Teacher
Teacher
417 Views
Registered: ‎01-28-2008

Hi @arashr 

  The YOCTO_MACHINE_NAME in Petalinux 2020.2 should be set to zynqmp-generic for the ZCU111, and the DTG settings should be set to zcu111-reva. These settings should've been set by the BSP however; not sure why you're manually changing it.

Thanks,

-Pat

 

Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog

View solution in original post

2 Replies
patocarr
Teacher
Teacher
418 Views
Registered: ‎01-28-2008

Hi @arashr 

  The YOCTO_MACHINE_NAME in Petalinux 2020.2 should be set to zynqmp-generic for the ZCU111, and the DTG settings should be set to zcu111-reva. These settings should've been set by the BSP however; not sure why you're manually changing it.

Thanks,

-Pat

 

Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog

View solution in original post

arashr
Explorer
Explorer
388 Views
Registered: ‎02-06-2018

@patocarrThank you. Yes. I was going through the documentation steps, and It has highlighted Yocto Settings in a picture but in the text it says DTG settings.

0 Kudos