Jonas Karlman [2026-07-31 10:32:03] wrote:
> On 7/30/2026 3:34 PM, Johan Jonker wrote:
>> +for data. It is not possible to place these blocks randomly.
>> +
>> +* eMMC/SD card:
>> +
>> +  Rockchip uses a unified GPT partition layout for it's open source 
>> products.
>> +  With this GPT partition layout U-Boot can be compatible with other 
>> components,
>> +  like miniloader, trusted-os, arm-trusted-firmware.
>> +
>> +  There are some documents about partitions in the link below.
>> +  
>> https://web.archive.org/web/20260501050119/https://opensource.rock-chips.com/wiki_Partitions
>
> Please drop this entire 'unified GPT partition layout' section, it is
> not something we should encourage user to use. It is legacy and nothing
> in mainline U-Boot that depends on this layout.

At the very least we should distinguish what is technically needed from
what is some arbitrary convention that's been cargo-culted.

> For mainline a more appropriate layout would be to reserve initial 0-16
> MiB of boot media for partition table and firmware, and use remaining
> freely.

[ FWIW, I'm a big fan of having a partition to hold U-Boot, rather than
  hiding it in the first few unattributed blocks.  ]


=== Stefan

Reply via email to