Add text that explains the boot medium layout options.

Signed-off-by: Johan Jonker <[email protected]>
---
 doc/board/rockchip/rockchip.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst
index 7da74eb8fb12..e497be7db177 100644
--- a/doc/board/rockchip/rockchip.rst
+++ b/doc/board/rockchip/rockchip.rst
@@ -352,6 +352,31 @@ To build rk3588 boards:
         make evb-rk3588_defconfig
         make CROSS_COMPILE=aarch64-linux-gnu-

+Boot media layout
+-----------------
+
+The boot ROM only checks a boot medium for a limited number of pages or blocks 
for data.
+It is not possible to place these blocks randomly.
+
+* EMMC/SD card:
+
+  Rockchip uses a unified GPT partition layout for it's the open source 
products.
+  With this GPT partition layout U-Boot can be compatible with other 
components,
+  like miniloader, trusted-os, arm-trust-firmware.
+
+  There are some documents about partitions in the link below.
+  
https://web.archive.org/web/20260501050119/https://opensource.rock-chips.com/wiki_Partitions
+
+  Write u-boot-rockchip.bin to offset 64.
+
+* SPI:
+
+  Write u-boot-rockchip-spi.bin to offset 0.
+
+* NAND:
+
+  The closed source usbplug binaries and RKMTD use the NAND erase blocks [2-6] 
for TPL/SPL.
+
 BootROM/MaskROM mode
 --------------------

--
2.39.5

Reply via email to