mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Generate MLO for phytec-phycore-omap4460
@ 2015-02-06 12:56 Boulais, Marc-Andre
  2015-02-06 13:29 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Boulais, Marc-Andre @ 2015-02-06 12:56 UTC (permalink / raw)
  To: Barebox List

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 ?




_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Generate MLO for phytec-phycore-omap4460
  2015-02-06 12:56 Generate MLO for phytec-phycore-omap4460 Boulais, Marc-Andre
@ 2015-02-06 13:29 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-02-06 13:29 UTC (permalink / raw)
  To: Boulais, Marc-Andre; +Cc: Barebox List

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-06 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-06 12:56 Generate MLO for phytec-phycore-omap4460 Boulais, Marc-Andre
2015-02-06 13:29 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox