]> git.baikalelectronics.ru Git - uboot.git/commit
qemu-arm: Add persistent environment support
authorSumit Garg <sumit.garg@linaro.org>
Mon, 26 Nov 2018 11:20:17 +0000 (16:50 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 12 Dec 2018 17:14:21 +0000 (12:14 -0500)
commit5ec003c264562da5ccebf0a884cec3106bc499d0
tree3094c913aa257de5fa0dca1b2fb1b079b357eab5
parenta5a7a1419a8b04165efb9a5f678759a74bb957c7
qemu-arm: Add persistent environment support

Currently on qemu-arm platforms environment is kept in RAM. Instead
use pflash device 1 to provide persistent environment support across
device reset.

Also (optionally) provide support for persistent environment across
qemu machine OFF/ON using following instructions:

- 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

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig
doc/README.qemu-arm
include/configs/qemu-arm.h