[meta-xilinx] [PATCH 0/5] ZCU102 Multiarch QEMU

Alistair Francis alistair23 at gmail.com
Thu May 25 10:51:28 PDT 2017

On Wed, May 24, 2017 at 6:28 PM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> On 25 May 2017 at 07:17, Alistair Francis <alistair23 at gmail.com> wrote:
>> On Wed, May 24, 2017 at 8:47 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
>>> This series of changes enables the execution of a multiarch set of QEMU
>>> instances to allow for the ZCU102 to be emulated with a PMU processor
>>> for the setup and availability of the PMU firmware at run time.
>>> This is handled by runqemu launching a script instead of QEMU, the
>>> script handles starting the PMU instance of QEMU after which the script
>>> starts the APU QEMU instance using the QEMU args passed by runqemu.
>>> Currently this setup requires the PMU ROM exist in the image deploy
>>> directory with the name 'pmu-rom.elf', which is not at this time
>>> available for independent download without a Xilinx account. The PMU ROM
>>> can be obtained from the ZCU102 PetaLinux BSP:
>>> https://www.xilinx.com/member/forms/download/xef.html?filename=xilinx-zcu102-v2017.1-final.bsp&akdm=1
>>> Download the BSP, extract the BSP using tar, and grab the file named
>>> 'pmu_rom_qemu_sha3.elf' from deep in the directory tree.
>> Cool!
>> Do you have a branch I can test?
> I do (includes the PMU build series as well):
> https://github.com/nathanrossi/meta-xilinx/commits/nrossi/next

Great thanks. I have tested it today and I have some notes:

1. The script doesn't check if the PMU ROM exists. Instead it blindly
passes it to QEMU and then relies on QEMU to warn the user that no
file was passed. Unfortunately QEMU doesn't abort when the file is
missing (it does warn the user though) so the error message is very
confusing. Can you add a PMU ROM check to see if the file exists and
prints helpful information if it doesn't?
2. Can the PMU ROM be a variable that can be overwritten in the local.conf?

Once you have the ROM in the location everything seems to work, I can
boot to Linux login prompt :)

Once you have addressed the two comments above feel free to add my
tested by to this series and the PMU build series as well:
Tested-by: Alistair Francis <alistair.francis at xilinx.com>


> Thanks,
> Nathan

More information about the meta-xilinx mailing list