Generate MLO for phytec-phycore-omap4460

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 6 05:29:20 PST 2015


On Fri, Feb 06, 2015 at 12:56:31PM +0000, Boulais, Marc-Andre wrote:
> Good morning,
> I am currently trying to build the MLO for the omap4460 on a Phytec Phycore board. In order to build it, I do the following procedure, but I get this size error at the end:
> 
> > make ARCH=arm CROSS_COMPILE=... phytec-phycore-omap4460-xload_defconfig
> > make
> ....
>   LD      barebox
>   SYSMAP  System.map
>   OBJCOPY barebox.bin
>   CHKSIZE barebox.bin
> barebox.bin size 53168 > of the maximum size 49152
> make: *** [barebox.bin] Error 1
> 
> Curiously enough, the MLO is bigger than the 2nd stage barebox.bin I would generate with the config phytec-phycore-omap4460_defconfig.
> In the documentation (boards/omap.rst), there is mention of a "barebox.bin.ift" file that corresponds to the MLO. However I don't have this file...only barebox and barebox.bin. 
> Is my build procedure correct ?

It's everything correct on your side, it's only that the config became
too big over time. So for now you have to disable either MMC or mtd
support in the config, depending on where you want to boot from.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list