On Mon, Jan 25, 2021 at 02:47:38PM +0530, Sumit Garg wrote:
The main reason to guide you towards the OP-TEE build system is that you will be able to build all the firmwares (TF-A, OP-TEE, edk2 etc.) from source. If you don't need to rebuild those then I have prepared a flash firmware binary blob for your testing (attached flash.bin). So Qemu cmdline will look like:
$ qemu-system-aarch64 -nographic -s -machine virt,secure=on -cpu cortex-a57 -kernel out/bin/Image -no-acpi -append 'console=ttyAMA0,38400 keep_bootcon root=/dev/vda2' -initrd out/bin/rootfs.cpio.gz -smp 2 -m 1024 -bios flash.bin -d unimp
Here you can use "Image" and "rootfs.cpio.gz" from your plain BR builds.
Give it a try and let me know if this works for you.
Sumit, I can try this again now :-) Thanks Yann for fixing the issue!
https://git.busybox.net/buildroot/commit/?id=b9e7adc152b5811b20724d8c05f0f21...
/Jarkko