GX BootROM notes
Sample bootROM UART log of a successful boot on Amlogic S805Y:
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
Status messages
GXL:BL1:9ac50e:bb16dc
: Indicates SoC generation, git commit hash (?)FEAT
: Dump ofSECUREBOOT_FLAG
(0xc8100228
):POC
: POC pinRCY
: If HDMI boot dongle is plugged in, this is1
, else0
Boot device status
EMMC
/SD
/SPI
/USB
/NAND
: Supported boot devicesCHK
: Image/Payload checks0
: Success, no errorA7
: Wrong magic (!=@AML
) or version numberC7
: Wrong header size or digest offsetCF
: Payload size or offset too big
EFUSE/OTP
Where many settings are set, e.g. regarding SecureBoot. A copy of it is
available at 0xd9013c00
(in AHB SRAM).
The AES key and IV are located at 0xd9013c50
and 0xd9013c70
respectively.
On a secureboot-enabled device, they can be dumped easily using
amlogic-usbdl.
[Will do more research later]