Document how to obtain the DDR firmware required to generate
spl/u-boot-spl-mkimage.bin.

Also switch the OpenSBI repository URL to upstream, which now includes
K3 support.

Signed-off-by: Junhui Liu <[email protected]>
---
 doc/board/spacemit/spacemit-pico-itx.rst | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/doc/board/spacemit/spacemit-pico-itx.rst 
b/doc/board/spacemit/spacemit-pico-itx.rst
index 18d11d6671b..8b3bf4d202c 100644
--- a/doc/board/spacemit/spacemit-pico-itx.rst
+++ b/doc/board/spacemit/spacemit-pico-itx.rst
@@ -19,8 +19,8 @@ Tree blob. OpenSBI may be first built as below:
 
    .. code-block:: console
 
-      # Clone OpenSBI fork sources with K3 specific patches
-      git clone https://github.com/spacemit-com/opensbi-upstream opensbi
+      # Clone OpenSBI
+      git clone https://github.com/riscv-software-src/opensbi.git opensbi
       cd opensbi
       make PLATFORM=generic
 
@@ -29,14 +29,18 @@ Tree blob. OpenSBI may be first built as below:
    .. code-block:: console
 
       cd <U-Boot-dir>
+
+      # Download DDR firmware
+      wget 
https://github.com/spacemit-com/spacemit-firmware/raw/refs/heads/master/k3/k3-br-v1.0.10/lpddr5_imem.bin
+
       make spacemit_k3_defconfig
       make OPENSBI=<OpenSBI-dir>/build/platform/generic/firmware/fw_dynamic.bin
 
-This will generate u-boot.itb
+This will generate spl/u-boot-spl-mkimage.bin and u-boot.itb
 
 Testing
 ~~~~~~~
-Currently there is no U-Boot SPL build target. It is required to use 
'FSBL.bin' vendor
+Currently there is no full U-Boot SPL support. It is required to use 
'FSBL.bin' vendor
 board support package SPL for DDR initialization and testing u-boot.itb. 
Please test with
 fastboot command via USB download.
 

-- 
2.56.0

Reply via email to