Hi 冯二虎 Changing the DT description in UEFI is not enough, I think. The UEFI memory map for the VExpress platform should be modified to only use DDR from 0x8000 0000 - 0xfbff ffff. This avoids the carveout from 0xfc00 0000 - 0xffff fffff (64 MB).
Best Regards Soby Mathew
-----Original Message----- From: 冯二虎 via TF-A tf-a@lists.trustedfirmware.org Sent: 19 June 2022 09:43 To: tf-a@lists.trustedfirmware.org Subject: [TF-A] Re: Cannot successfully jump to the UEFI Boot Loader in the normal world with the RME enabled FVP_Base_RevC_2xAEMvA
Hi,
Thanks for the detailed documentation about how to enable RME in tf-a. I try to replace the tftf.bin with the normal boot firmware (edk2) to load the Linux in the normal world, but it fails. The log message from terminal_0 is shown below:
INFO: RMM init start. INFO: RMM init end. INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x88000000 INFO: SPSR = 0x3c9
I found a possible solution from the archives: [https://lists.trustedfirmware.org/archives/list/tf- a@lists.trustedfirmware.org/thread/5NKSFJ52EH4K45RVRN3XOFV5PDJGZKFY /#EROMP2HMAXLTMMRGABEWH6WU3XETWEYL]. I try to modify the dts file under edk2- platform/Platform/ARM/VExpressPkg/DeviceTree/ to change the DDR memory range, which is similar to the modification for RME in [https://github.com/ARM-software/arm-trusted- firmware/blob/master/fdts/fvp-base-gicv3-psci-common.dtsi#L142], but it does not solve the problem.
So, how can I boot Linux in the normal world with RME enabled?
Thanks,
TF-A mailing list -- tf-a@lists.trustedfirmware.org To unsubscribe send an email to tf-a-leave@lists.trustedfirmware.org