[U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Sep 10 14:27:50 CEST 2012
Hello,
Le Thu, 06 Sep 2012 23:57:08 +0200,
stefano babic <sbabic at denx.de> a écrit :
> > Agreed. I guess what I'm asking is, in the TI case the ROM reads FAT
> > and must find 'MLO'. Does mx35 do the same or
>
> No. And not only the MX35, but also the MX5/MX6.
>
> > is the post-build step
> > "dd if=MLO of=/dev/... ..." and the filename doesn't matter?
>
> Exactly. The ROM does not understand a filesystem, and the SPL must be
> stored at a fixed address in the SD card. The filename does not matter,
> and the SPL is not seen as file, but as a raw image.
>
> > I'm fine
> > with the change now, just looking for the full details. Thanks!
>
> As for Freescale the filename does not matter while for TI does, we can
> use for both MLO ;-)
Then in that case I would precisely *not* use the same filename, in
order to make it clear that Freescale SPL cannot be used in the same
way as the TI SPL. Naming it MLO will certainly confuse users having
previous experience with TI stuff: it will lead them to believe that
creating a FAT filesystem and putting the MLO file in it will be the
necessary steps to get this SPL loaded by the ROM code.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the U-Boot
mailing list