S912 ROM Dumper

Just for a bit of here’s a hacked bl21 main that will dump the S912 ROM

Does the codes work as bl21?

It’s a patched bl21_main.c file. Drop it into

arch/arm/cpu/armv8/gxb/firmware/bl21/

Rebuild UBoot, dd uboot onto an SD card as normal and boot. The modifications will dump the S912 boot ROM out the UART

I wanted to understand how bl2 was being authenticated by the bootrom