Hi Jonas,

On 3/29/25 4:06 PM, Jonas Karlman wrote:
Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO,
0x7f8000.


Would be nice to say why :)

https://opensource.rock-chips.com/wiki_Partitions

u-boot.itb is typically expected to be in loader2 partition by Rockchip, which is at offset 16384S (32KiB). But because the image is flashed at offset 64S (32KiB) typically, then we subtract it from the padding, which means it's (16384S - 64S) * 512 = 0x7f8000.

Reviewed-by: Quentin Schulz <[email protected]>

Thanks!
Quentin

Reply via email to