[U-Boot] erase and saveenv stop working after using fw_setenv
Petri Lehtinen
petri.lehtinen at inoi.fi
Tue Sep 16 12:06:18 CEST 2008
>> 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
More information about the U-Boot
mailing list