From: Petri Lehtinen <petri.lehtinen@inoi.fi>
To: u-boot@lists.denx.de
Subject: [U-Boot] erase and saveenv stop working after using fw_setenv
Date: Tue, 16 Sep 2008 13:06:18 +0300 [thread overview]
Message-ID: <48CF851A.6040007@inoi.fi> (raw)
In-Reply-To: <20080916090450.0F9552487F@gemini.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
next prev parent reply other threads:[~2008-09-16 10:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 7:46 [U-Boot] erase and saveenv stop working after using fw_setenv Petri Lehtinen
2008-09-16 9:04 ` Wolfgang Denk
2008-09-16 9:47 ` Guennadi Liakhovetski
2008-09-16 10:06 ` Petri Lehtinen [this message]
2008-09-23 14:49 ` [U-Boot] [PATCH] mpc83xx: add h/w flash protection to board configs (was Re: erase and saveenv stop working after using fw_setenv) Kim Phillips
-- strict thread matches above, loose matches on Subject: below --
2008-09-16 11:36 [U-Boot] erase and saveenv stop working after using fw_setenv yusuf khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48CF851A.6040007@inoi.fi \
--to=petri.lehtinen@inoi.fi \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.