From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petri Lehtinen Date: Tue, 16 Sep 2008 13:06:18 +0300 Subject: [U-Boot] erase and saveenv stop working after using fw_setenv In-Reply-To: <20080916090450.0F9552487F@gemini.denx.de> References: <48CF6452.40603@inoi.fi> <20080916090450.0F9552487F@gemini.denx.de> Message-ID: <48CF851A.6040007@inoi.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> fw_printenv in Linux, erase and saveenv stop working in U-Boot. In > --^^^^^^^^^^^-- > > I think this must be a typo. fw_printenv should have no effect. I > guess you mean fw_setenv (as in the Subject) ? Ahh, yes. I meant fw_setenv of course. > The problem is that the MPC8323ERDB board has flash chips that > support hardware flash protection (locking), but the board config > file does not select the CFG_FLASH_PROTECTION option. Therefore > U-Boot will not make any attempts to lock or unlock any flash > sectors. I enabled CFG_FLASH_PROTECTION, and now it works. Thanks a lot. -- Petri Lehtinen Inoi Oy Tel. : +358 40 758 0229 Email: petri.lehtinen at inoi.fi