Re: [uClinux-dev] Big app on uClinux

From: David McCullough (davidm@snapgear.com)
Date: Thu Sep 19 2002 - 08:20:49 EDT


Jivin Changwoo Ryu lays it down ...
> 2002-09-18 ¼ö 21:39, David McCullough°¡ ÀÛ¼º:
> > 
> > Jivin Changwoo Ryu lays it down ...
> > > I found ld (or elf2flt) complains when I build a BFLT user program with
> > > 1MB data:
> > > 
> > > ...
> > > /usr/local/arm-elf/bin/ld.real: region flatmem is full (test.elf section
> > > .data)
> > > 
> > > Is there any size limitations in BFLT format?  Or is it just a problem
> > > of the build tools?
> > 
> > What version of the tools are you using ?  The current m68k-elf tools
> > have a 16Mb limit in the elf2flt.ld file.  Either way you can fix this by
> > changing the size of the flatmem region in:
> > 
> > 	/usr/local/m68k-elf/lib/elf2flt.ld
> 
> I'm using the old (and latest) arm-elf-tools.  It had the 1MB limit.

If you haven't already, change the line in /usr/local/arm-elf/lib/elf2flt.ld
from:

	flatmem : ORIGIN = 0x0, LENGTH = 0x100000

to

	flatmem : ORIGIN = 0x0, LENGTH = 0xffffff

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm@snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:54 EDT