summaryrefslogtreecommitdiff
path: root/doc/board
diff options
context:
space:
mode:
Diffstat (limited to 'doc/board')
-rw-r--r--doc/board/emulation/qemu-riscv.rst26
-rw-r--r--doc/board/ti/am62ax_sk.rst7
2 files changed, 27 insertions, 6 deletions
diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst
index cf2f893b723..b5948d9affc 100644
--- a/doc/board/emulation/qemu-riscv.rst
+++ b/doc/board/emulation/qemu-riscv.rst
@@ -179,6 +179,32 @@ Provide the U-Boot S-mode ELF image as *-kernel* parameter and do not add a
qemu-system-riscv64 -accel kvm -nographic -machine virt -kernel u-boot
+Running as flash binary
+-----------------------
+
+U-Boot can be provided to QEMU as an emulated flash drive.
+This can for instance be used to test capsule updates.
+
+Build qemu-riscv64_smode_defconfig with::
+
+ CONFIG_XIP=y
+ CONFIG_TEXT_BASE=0x20000000
+ CONFIG_CMD_MTD=y
+ CONFIG_FLASH_CFI_MTD=y
+
+Pad u-boot.bin to 32 MiB size:
+
+.. code-block:: bash
+
+ truncate -s 32M u-boot.bin
+
+Invoke QEMU with:
+
+.. code-block:: bash
+
+ qemu-system-riscv64 -M virt -nographic \
+ -drive if=pflash,format=raw,unit=0,file=u-boot.bin,readonly=off
+
Debug UART
----------
diff --git a/doc/board/ti/am62ax_sk.rst b/doc/board/ti/am62ax_sk.rst
index 43a1db68873..4dd998bcce9 100644
--- a/doc/board/ti/am62ax_sk.rst
+++ b/doc/board/ti/am62ax_sk.rst
@@ -121,12 +121,7 @@ Set the variables corresponding to this platform:
Target Images
--------------
In order to boot we need tiboot3.bin, tispl.bin and u-boot.img. Each SoC
-variant (GP, HS-FS, HS-SE) requires a different source for these files.
-
- - GP
-
- * tiboot3-am62ax-gp-evm.bin from step 3.1
- * tispl.bin_unsigned, u-boot.img_unsigned from step 3.2
+variant (HS-FS, HS-SE) requires a different source for these files.
- HS-FS