[RFC PATCH 4/8] rockchip: pad u-boot-rockchip.bin correctly

Quentin Schulz quentin.schulz at theobroma-systems.com
Mon Jul 18 11:40:25 CEST 2022


Hi Philipp,

On 7/15/22 18:06, Philipp Tomsich wrote:
> On Fri, 15 Jul 2022 at 17:37, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>>
>> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
>>
>> On MMC storage media, the TPL/SPL needs to be flashed at offset 32KB.
>> Instead of requesting the user to put the input the appropriate offsets,
>> let's create u-boot-rockchip.bin with the padding already added.
> 
> NAK.
> 
> The storage layout provided by Rockchip leaves space for a
> (protective) MBR and a primary GPT.
> A bootloader update will overwrite the partition table if you create
> the image as you suggest.
> 

Ah, that was what I was missing. Thanks, makes complete sense!

Cheers,
Quentin


More information about the U-Boot mailing list