Jump to content
  • 0

Cannot Boot Genesys-ZU3 in QEMU



I built the OOB project from GitHub https://github.com/Digilent/Genesys-ZU  release tag 3eg/oob/release/v2.1 with PetaLinux 2020.1. 

While the resulting image boots on the board when programmed on an SD card, attempting to issue

petalinux-boot --qemu --kernel

results in a boot that does not progress beyond U-boot (log attached).  One error in the log is "Could not get PHY for eth0: addr 15".

Do the patches in meta-user/recipes-bsp/u-boot or elsewhere conflict with QEMU?  Is there something else I need to configure to allow QEMU to boot?

As an extra data point, I created a brand new petalinux-project without the BSP in 2020.1, and was able to boot the minimal image in QEMU.


Edited by DaleD
Added information
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0


When u-boot tries to load image.ub the following error ocurs

Verifying Checksum ... Bad Data CRC
Ramdisk image is corrupt or invalid

After that it tries to boot over network thus the other errors.

Make sure to regenerate image.ub and retry.

Link to comment
Share on other sites

  • 0
On 12/14/2022 at 7:57 AM, Ana-Maria Balas said:

Hello @DaleD,

Can you try with

petalinux-boot --qemu --u-boot


You can use the built image:

petalinux-boot --qemu --image ./images/linux/Image


If you packaged a prebuilt image

petalinux-boot --qemu --prebuilt 2


The first and third methods work exactly as before.  The second method hangs.  If I program an SD card, it boots fine.  So is there something about the board design that QEMU doesn't like?

Link to comment
Share on other sites

  • 0

We did not try the image with QEMU. I think it is a problem with the emulator. In the early stage of booting, it cannot determine the necessary resources needed by u-boot, because the QEMU is built for Xilinx QEMU device trees to generate a machine model. Xilinx recommends to use their prebuilt image, which works with QEMU or I think you can integrate the 3eg device tree into QEMU (see here https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/822312999/Building+and+Running+QEMU+from+Source+Code#BuildingandRunningQEMUfromSourceCode-Buildingdevicetreebinaries%3A)

You should use their prebuilt image to create compatible Petalinux drivers/applications if it is something not specific to the board.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...