[PATCH 0/5] qemu-arm64: Allow booting via Trusted Firmware
Amit Tomar
atomar25opensource at gmail.com
Thu Sep 24 11:13:57 CEST 2020
>
> >
> > I tried testing this series but don't see any output while loading
> > U-Boot from ROM:
> >
> > # ./qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -bios
> > u-boot.bin
>
> TF-A runs at EL3 so you should test with
> -machine virt,secure=true,virtualization=true
>
> The bios parameter has to point to the TF-A bl1.bin binary. see TF-A's
> docs/plat/qemu.rst: BL1 is used as the BootROM, supplied with the -bios
> argument.
>
> But, wanted to test it without loading U-boot from TF-A , for instance if
> I just disable the
>
CONFIG_POSITION_INDEPENDENT, it works:
./qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -bios
u-boot.bin
U-Boot 2020.10-rc5-00020-gca11959a34f4 (Sep 24 2020 - 14:34:25 +0530)
DRAM: 128 MiB
Flash: 128 MiB
*** Warning - bad CRC, using default environment
PCI: Failed autoconfig bar 14
In: pl011 at 9000000
Out: pl011 at 9000000
Err: pl011 at 9000000
Net: No ethernet found.
Thanks
-Amit
More information about the U-Boot
mailing list