From mboxrd@z Thu Jan 1 00:00:00 1970 From: brendan Date: Tue, 13 Dec 2016 15:06:12 -0700 (MST) Subject: [U-Boot] Enable redundant u-boot environment for iMX6 (Yocto) Message-ID: <1481666772575-276498.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I'm looking to enable a redundancy enabled "ping-pong" u-boot environment for my iMX6 (VAR-SOM-MX6 CPU: NXP/Freescale iMX6) to ensure that if there was system failure that there will always be a CRC checked and valid environment available in NAND flash. I have read the documentation and noticed that there is the available functionality of CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND. My questions are; how do I determine my redundant address and size? Should they just match my original defines? I am using a custom mtd partition sizing which I have configured by the use of a sw-description file (using swupdate to handle the update process), will there be any issues that can be foreseen? Also, because I am using Yocto (I know this is outside the scope of u-boot) would it be wise to add a patch or append file within Yocto? or simply host this in a separate repository? Any help would be greatly appreciated, I cannot find any in depth documentation relating to this so I am looking for any resources available. Regards, Brendan -- View this message in context: http://u-boot.10912.n7.nabble.com/Enable-redundant-u-boot-environment-for-iMX6-Yocto-tp276498.html Sent from the U-Boot mailing list archive at Nabble.com.