[U-Boot-Users] auto-save environment if using defaul
Mike Frysinger
vapier at gentoo.org
Wed Mar 26 15:52:24 CET 2008
On Wednesday 26 March 2008, w.wegner at astro-kom.de wrote:
> On 26 Mar 2008 at 0:51, Mike Frysinger wrote:
> > On Tuesday 25 March 2008, w.wegner at astro-kom.de wrote:
> > > I just had the problem of fw_{print,save}env not being able to access
> > > the environment because I was using the default (builtin) environment
> > > after flashing U-Boot.
> >
> > if you're using an embedded env, then the default crc should be correct.
> > i'd address that bug first before trying to hack around it on the board.
> >
> > note: there are known problems with crc generation on the build system
> > when it isnt the same endian/bitsize as the target.
>
> sorry if this was not clear in my post.
> Everything is fine within U-Boot. I have the "regular" environment in a
> dedicated sector of the flash and the default environment is "compiled in"
> (I have to admit I do not know where it is particularly located...).
when you said "builtin" i wasnt sure if you were talking about it being
embedded or being the compiled in string. sounds like the latter and you
arent using an embedded environment. in other words, if u-boot takes up
flash offset (0 - 0x20000), then the environment is not within that region.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080326/35450423/attachment.pgp
More information about the U-Boot
mailing list