Building a UEFI on SD firmware image for the LX2160 using flex-builder, as follows:
flex-builder -i mkfw -m lx2160ardb -b sd -B uefi
results in:
uefi_sdboot is not supported
From the Layerscape SDK user guide (Section 5.4.5) it seems possible to build a uefi bootloader.
This unfortunately leads to the following on boot:
add-symbol-file /packages/firmware/uefi/Build/LX2160aRdbPkg/DEBUG_GCC49/AARCH64/Silicon/NXP/Drivers/DtPlatformDxe/DtPlatformDxe/DEBUG/DtPlatformDxe.dll 0xF9D3E000
Loading driver at 0x000F9D3D000 EntryPoint=0x000F9D3E048 DtPlatformDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF F929CC18
ProtectUefiImageCommon - 0xF9297040
- 0x00000000F9D3D000 - 0x0000000000010000
SetUefiImageMemoryAttributes - 0x00000000F9D3D000 - 0x0000000000001000 (0x0000000000004008)
SetUefiImageMemoryAttributes - 0x00000000F9D3E000 - 0x000000000000D000 (0x0000000000020008)
SetUefiImageMemoryAttributes - 0x00000000F9D4B000 - 0x0000000000002000 (0x0000000000004008)
Synchronous Exception at 0x00000000F9D42694
Is this a known issue and is there a throughout guide on how to build UEFI sdboot for the LX2160?
I appreciate any feedback.
Hello Pieter Jansen van Vuuren,
UEFI SD boot is not supported on LX2160, you could use UEFI xspi boot, please generate the firmware image with the following command.
$ flex-builder -i mkfw -m lx2160ardb -b xspi -B uefi
Thanks,
Yiping