[U-Boot] qemu-arm: Add persistent environment support

Tom Rini trini at konsulko.com
Thu Dec 13 00:47:02 UTC 2018


On Mon, Nov 26, 2018 at 04:50:17PM +0530, Sumit Garg wrote:

> 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 at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181212/9eb6c1e5/attachment.sig>


More information about the U-Boot mailing list