[okl4-developer] Space on open moko

Remy Gottschalk rgottschalk at linagora.com
Fri May 16 05:08:00 EST 2008


Hi Geoffrey

On Thu, 2008-05-15 at 02:46 +1000, Geoffrey Lee wrote:
> On Wed, May 14, 2008 at 06:15:56PM +0000, Remy Gottschalk wrote:
> > Hi all.
> > 
> > I am starting to put some more applications inside wombat and so I want
> > its rootfs to grow a little. To achieve this I used the
> > LINUX_ROOTFS_SIZE argument. 
> > 
> > I work pretty fine exept for one thing. When i run with the open moko
> > qemu an image containing a linux root fs larger than 8000 pages I got
> > the following error :
> 
> Hi Remy
> 
> The OpenMoko has 128M of memory, so you should be able to fit more
> than that.  Having said that by default it places the boot image
> in 0x31000000, but it ELF decodes the binary and starts running
> at 0x30000000.  This means that you cannot go past 32M.
> 
> One quick way may be to modify the simulator to load the initial ELF 
> image at a higher address.
> 
> 

Thank you,

I finally get it to works. I tried to get the binary decoded and ran
started at higher address but without success since it seems that
address below 0x30000000  are considered outside RAM or ROM. 

So what I have done is changing the boot image location from 31000000 to
32000000. To achieve so I changed in hw/neo1973.c from qemu-neo
load_image(s->kernel, phys_ram_base + 0x01000000);
to
load_image(s->kernel, phys_ram_base + 0x02000000);
So it doesn't overlap anymore.

Regards,

-- 
Remy Gottschalk - rgottschalk at linagora.com
Ingénieur informatique embarquée
Groupe LINAGORA - http://www.linagora.com
Tél.: +33(0)1 58 18 68 28 - Fax : +33(0)1 58 18 68 29




More information about the Developer mailing list