From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 22 Feb 2013 10:19:15 +0100 Subject: [U-Boot] fw_setenv on protected flash In-Reply-To: <48D3D52125C49B43AE880038E2E5314BB5C0DF@SRV101.gdsys.de> References: <51272D90.9000201@denx.de> <48D3D52125C49B43AE880038E2E5314BB5C0DF@SRV101.gdsys.de> Message-ID: <51273813.5050805@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22.02.2013 10:15, Eibach, Dirk wrote: >> Linux support for this enhanced sector protection (PPB) has >> just been accepted into mainline Linux. You need include this >> patch if you are working with an older kernel version: >> >> http://patchwork.ozlabs.org/patch/213602/ >> >> And you also need to enable this feature in your dts file as >> described in the patch description. > > Ah, thanks a lot. > > So the recommended workflow (with patch and dts changes applied) would > be: > flash_unlock > fw_setenv > flash_lock > ? No. Unlocking and re-locking is already integrated into the fw_xxx tool. So just apply the patch and everything should work as usually. Thanks, Stefan