[PATCH v4 10/10] rockchip: Add SPL_PAD_TO Kconfig default value
    Quentin Schulz 
    quentin.schulz at cherry.de
       
    Wed Apr  9 13:14:40 CEST 2025
    
    
  
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 <quentin.schulz at cherry.de>
Thanks!
Quentin
    
    
More information about the U-Boot
mailing list