[U-Boot] mx28: Saving env vars on MMC

Marek Vasut marek.vasut at gmail.com
Fri Nov 25 14:42:45 CET 2011


> On Fri, Nov 25, 2011 at 6:13 AM, Marek Vasut <marek.vasut at gmail.com> wrote:
> > You have to be careful on the imx28 about the following:
> > 
> > 1) sector 0 / first 512 bytes : That's where MBR is
> > 2) sector 2048 + ... : That's where U-Boot is located
> > 
> > But it's strange, there's about 1MB of space between MBR and U-Boot ...
> > can you actually check the first 2MB of the card and run binary diff on
> > the good and bad card ? That way you'll see what changed.
> 
> What I see is that when I do a 'save' the env variables are written to
> 0 and this causes the boot to fail.
> 
> Has the mxsmmc driver been tested?

Definitelly, yes. Do you want to look into it or shall I do that ?

Now it might be worth trying to trace if there's a problem in the env_mmc (aka. 
who introduces the 0)

M


More information about the U-Boot mailing list