summaryrefslogtreecommitdiff
path: root/doc/README.qemu-arm
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-12 19:45:07 -0500
committerTom Rini <trini@konsulko.com>2018-12-12 19:45:07 -0500
commit277b06684ddf5231ce1e684ee2860aedacb32b3c (patch)
tree90df350acedf6dd201f2506b40fc6243d11a2d73 /doc/README.qemu-arm
parentee168783ae889cf449cee36cc1e51e108a210ed4 (diff)
parentdda9af3ad156c5b765d31a0646d01bfbb1977d9a (diff)
Merge branch '2018-12-12-master-imports'
- Various small TI platform updates - Two unit test fixes - qemu-arm updates
Diffstat (limited to 'doc/README.qemu-arm')
-rw-r--r--doc/README.qemu-arm6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.qemu-arm b/doc/README.qemu-arm
index 260165638aa..e67bc13f701 100644
--- a/doc/README.qemu-arm
+++ b/doc/README.qemu-arm
@@ -47,6 +47,12 @@ The minimal QEMU command line to get U-Boot up and running is:
Note that for some odd reason qemu-system-aarch64 needs to be explicitly
told to use a 64-bit CPU or it will boot in 32-bit mode.
+Additional persistent U-boot environment support can be added as follows:
+- Create envstore.img using qemu-img:
+ qemu-img create -f raw envstore.img 64M
+- Add a pflash drive parameter to the command line:
+ -drive if=pflash,format=raw,index=1,file=envstore.img
+
Additional peripherals that have been tested to work in both U-Boot and Linux
can be enabled with the following command line parameters: