public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] doc: board: starfive: Fix paths in the bash block
@ 2024-03-04 22:15 Ivan Orlov
  2024-03-05 19:52 ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Orlov @ 2024-03-04 22:15 UTC (permalink / raw)
  To: trini, xypron.glpk, yanhong.wang; +Cc: Ivan Orlov, u-boot

From the current documentation it is not entirely obvious where to take
some of the u-boot build artifacts in order to flash them to the sd
card. Extend the "Program the SD card" block by providing relative paths
to the jh7110-starfive-visionfive-2.dtb and u-boot-spl.bin.normal.out
files.

Add "$(linux_image_dir)/" prefix to the Image.gz and initramfs.cpio.gz
files in order to provide some information about where they could be
taken from.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
---
 doc/board/starfive/visionfive2.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/board/starfive/visionfive2.rst b/doc/board/starfive/visionfive2.rst
index abda8ac21b..031d66fbfb 100644
--- a/doc/board/starfive/visionfive2.rst
+++ b/doc/board/starfive/visionfive2.rst
@@ -103,15 +103,15 @@ Program the SD card
 
 .. code-block:: bash
 
-	sudo dd if=u-boot-spl.bin.normal.out of=/dev/sdb1
+	sudo dd if=spl/u-boot-spl.bin.normal.out of=/dev/sdb1
 	sudo dd if=u-boot.itb of=/dev/sdb2
 
 	sudo mount /dev/sdb3 /mnt/
-	sudo cp u-boot-spl.bin.normal.out /mnt/
+	sudo cp spl/u-boot-spl.bin.normal.out /mnt/
 	sudo cp u-boot.itb /mnt/
-	sudo cp Image.gz /mnt/
-	sudo cp initramfs.cpio.gz /mnt/
-	sudo cp jh7110-starfive-visionfive-2.dtb /mnt/
+	sudo cp $(linux_image_dir)/Image.gz /mnt/
+	sudo cp $(linux_image_dir)/initramfs.cpio.gz /mnt/
+	sudo cp arch/riscv/dts/jh7110-starfive-visionfive-2.dtb /mnt/
 	sudo umount /mnt
 
 Booting
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-08  1:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 22:15 [PATCH] doc: board: starfive: Fix paths in the bash block Ivan Orlov
2024-03-05 19:52 ` Heinrich Schuchardt
2024-03-07 22:36   ` Ivan Orlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox