aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-06-08 19:06:29 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-06-08 19:06:29 +0300
commit144ff8d87fd3a24fbe7633676a5add19fd8af49b (patch)
treea8a4ab45d056f72c00f48713e776a5c49e22efc2
parentd1ac54e4d076741762136e96c1cdf58a0b9b8afc (diff)
downloadkmi-144ff8d87fd3a24fbe7633676a5add19fd8af49b.tar.gz
kmi-144ff8d87fd3a24fbe7633676a5add19fd8af49b.zip
fix visionfive boot docs
-rw-r--r--docs/visionfive2.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/visionfive2.md b/docs/visionfive2.md
index 0ac905e..71f8a7e 100644
--- a/docs/visionfive2.md
+++ b/docs/visionfive2.md
@@ -41,12 +41,14 @@ With the SD card ready to go, reset the device and manually run these commands:
1. `fdt move ${fdtaddr} ${fdt_addr_r}`
2. `load mmc 1:3 0x47000000 kmi.bin`
3. `load mmc 1:3 0x48000000 initrd`
-4. `fdt chosen 0x48000000 0x48001000`
+4. `fdt chosen 0x48000000 0x48001200`
5. `go 0x47000000 ${fdt_addr_r}`
These commands are pretty hard coded and might not work in the future. At least
currently `${fdt_addr_r}` is `0x46000000`, so you can probably see where the
-other addresses come from.
+other addresses come from. Also, the `/chosen` node has to reflect the size of
+the `initrd`. Ideally I would like `u-boot` to figure it out itself, but haven't
+managed to do so at least yet.
Other things to note: