From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 12 Dec 2018 19:47:02 -0500 Subject: [U-Boot] qemu-arm: Add persistent environment support In-Reply-To: <1543231217-18799-1-git-send-email-sumit.garg@linaro.org> References: <1543231217-18799-1-git-send-email-sumit.garg@linaro.org> Message-ID: <20181213004702.GI8702@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: