From 144ff8d87fd3a24fbe7633676a5add19fd8af49b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 8 Jun 2023 19:06:29 +0300 Subject: fix visionfive boot docs --- docs/visionfive2.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') 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: -- cgit v1.3