Re: [PATCH v3 07/12] rockchip: doc: add boot medium layout text

Stefan Monnier <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.