08-12-2021, 12:00 AM
>the Manjaro U-boot loader on eMMC (the 32.0MB before the first partition)
Err, no.... baked into the cpu, specifically rk3399 family, the boot rom,,
the boot rom has only a small amount of memory, loads idbloader at sector 64,
as a raw read (based on byte signature),, this activates and enumerates mem on board
So now there is enough memory to load uboot, at 8M
If it is bsp uboot, there is trust.img at 12 M, if mainline trust is enfolded into u-boot.itb
None of this goes past 16M, perhaps the space 16M to 32M is for
a future ESP (efi system partition)
Please note that uboot on SPI is a bit different, idbloader 'expanded' and offset zero,
I vaguely remember uboot at 6M
But the SPI code is a complete image so you don't have to bother with this
Err, no.... baked into the cpu, specifically rk3399 family, the boot rom,,
the boot rom has only a small amount of memory, loads idbloader at sector 64,
as a raw read (based on byte signature),, this activates and enumerates mem on board
So now there is enough memory to load uboot, at 8M
If it is bsp uboot, there is trust.img at 12 M, if mainline trust is enfolded into u-boot.itb
None of this goes past 16M, perhaps the space 16M to 32M is for
a future ESP (efi system partition)
Please note that uboot on SPI is a bit different, idbloader 'expanded' and offset zero,
I vaguely remember uboot at 6M
But the SPI code is a complete image so you don't have to bother with this