diff options
author | Himbeer <himbeer@disroot.org> | 2024-05-14 12:34:35 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-05-14 12:34:35 +0200 |
commit | 41f2c18185484c5e4d3c28d869cd40eaba0ca37f (patch) | |
tree | 5278bef826c96a7529c74c939c0b9ef982b9f772 /README.md | |
parent | aa33871518e72f9b3fe69425b04f015cf2439abf (diff) |
doc: Point out that FAT partition must be unmounted for FDT extraction to work
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -137,7 +137,7 @@ qemu-system-riscv64 -M virt -m 2G -display none -serial stdio -bios /path/to/u-b ### Extract QEMU device tree The default `arch/riscv/dts/qemu-virt64.dtb` tree is an image tree and doesn't help. -To extract the device tree, create an empty file on the disk image. +To extract the device tree, create an empty file on the disk image *and unmount it*. Then boot the VM as explained above but hit a key before it autoboots. Run the following command in the U-Boot shell: @@ -160,7 +160,8 @@ virtio scan fatwrite virtio 0 0x<ENV_OUTPUT> <EMPTY_FILE_NAME> <HEX_TOTALSIZE> ``` -You can now `poweroff` and build an image using the commands above. +You can now `poweroff`, mount the partition again and build an image +using the commands above. # Boot protocol |