[U-Boot] freescale i.MX28 mxsboot NAND booting on mx28evk bad blocks

Marek Vasut marex at denx.de
Fri Apr 26 03:13:33 CEST 2013


Dear Paul B. Henson,

> On 4/19/2013 6:22 PM, Trent Piepho wrote:
> >> Hmm, possibly; I guess that would be conceptually simpler but
> >> require more commands to execute to get done.
> > 
> > Don't see why.  If mxsboot wrote both files at once, there'd be the
> > same number of commands to generate them.
> 
> Well, you'd have to copy two files instead of one to say SD, and run the
> mmcload command twice instead of once, but now I'm just being pedantic :).
> 
> > While U-boot gets the first one correct (other than the bad block
> > marker), it doesn't write the 3 after it correctly.
> 
> So if the first one were ever corrupted, the boot would fail. It seems
> like that would be worth fixing.
> 
> > supports two firmware images to boot from.  That's one of the reasons
> > why the output of mxsboot is so big, as it contains two images.  It's
> > not clear to me if the bootloader supports switching between image in
> > any useful way.
> 
>  From the limited understanding I have of it, no, the second image is
> only loaded if the first one fails.

I didn't really track the thread and I'm plenty busy, besides I had quite a 
clash with Trent in another thread, sorry about me being plenty unpleasant. 
Anyway, can you please sum what is going on and what you came up with?

Please also always CC Fabio, he is of great help.

Best regards,
Marek Vasut


More information about the U-Boot mailing list