top of page
  • Zach Pfeffer

Run the 2017.4 ZCU102 PetaLinux BSP on QEMU


This post lists the steps to run the ZCU102 PetaLinux BSP on QEMU and rebuild it.

Prerequisites

PetaLinux 2017.4 installed. If you need help click here.

Steps

1. Download ZCU102 BSP (prod-silicon) from link.

You may also be able to get the BSP directly at direct link.

2. cd into the directory you download the BSP to.

3. Setup the PetaLinux Tools environment:

4. Create the PetaLinux Tools project based on the BSP

This command took about 15 seconds on my machine

5. Boot it on QEMU

After a minute or two you should see:

Type: root as the username and root as the password.

A log of this boot.

6. Exit QEMU

To exit QEMU type Control-a c then type quit

Control-a c enters the monitor (you can type Control-a c again to exit the monitor and get back to the emulated session).

Rebuild and rerun the BSP

1. Enter the directory and type petalinux-build

2. Run petalinux-boot with the --kernel option

A log of this boot.

References

Watch Out!

After you rebuild the PetaLinux BSP I had to use:

If I used:

It Didn't Work! Here's the boot log.

Here's the dump.

I get the following dumps when I try to boot:

bottom of page