Closed hrw closed 2 years ago
Hi Marcin,
We are analyzing this issue.
Could you please share the command-line that you used to run QEMU with luv-live-image-gpt.img
With Warm Regards, Edhay
Command is:
./qemu/build/aarch64-softmmu/qemu-system-aarch64 \
-machine sbsa-ref \
-drive if=pflash,file=SBSA_FLASH0.fd,format=raw \
-drive if=pflash,file=SBSA_FLASH1.fd,format=raw \
-drive if=ide,format=raw,file=arm-enterprise-acs/prebuilt_images/${SBSA_ENTERPRISE_ACS_VER}/luv-live-image-gpt.img \
-nographic
https://git.linaro.org/ci/job/configs.git/tree/ldcg-sbsa-firmware/build.sh script shows how I build qemu and edk2 for it. I am now working on moving this CI job to use ARM Enterprise ACS instead of simple ARM SBSA ACS.
Hi Marcin,
The issue is solve through the commit: https://github.com/ARM-software/arm-enterprise-acs/commit/e0b48e10189868f4d7693abc2df95ae77847dd01
The boot issue were due to two reasons:
VFS not able to find and open the root device
This is solved by providing the path of the boot partition, which is /dev/vda2.
The more generic solution is to use the option
root=PARTLABEL=
After point 1 is solved.
Please use the below updated commandline in your CI: qemu-system-aarch64 \ -machine sbsa-ref \ -cpu cortex-a72 -m 2000 \ -drive if=pflash,file=SBSA_FLASH0.fd,format=raw \ -drive if=pflash,file=SBSA_FLASH1.fd,format=raw \ -drive if=ide,format=raw,file=/home/edhcha01/QEMU_SETUP/luv-live-image-gpt.img \ -nographic \ -serial mon:stdio
I am testing SBSA reference platform in QEMU. Enterprise ACS works quite nice on it - SCT tests passed, SBSA tests run fine and then kernel starts and fails: