[okl4-developer] Space on open moko

Geoffrey Lee glee at ok-labs.com
Thu May 15 02:46:20 EST 2008


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.


	-gl

> 
> GTA01Bv4 # bootelf 31000000
> [...]
> Loading rootfs @ 0x30800000 (12288000 bytes)
> ## Starting application at 0xe0030294 ...
> qemu: fatal: Trying to execute code outside RAM or ROM at 0xe0030294
> 
> R00=00000001 R01=33f14ae4 R02=00000001 R03=c0001078
> R04=e0030294 R05=00000001 R06=33f14ae0 R07=00000002
> R08=33f17fdc R09=00000000 R10=00000000 R11=00000000
> R12=33f9662c R13=33f14ab4 R14=33f8c874 R15=e0030294
> PSR=20000153 --C- A svc32
> 
> It seems that there is not enough space to contain my rootfs. So I got
> some questions :
> Is there any more space space available on the open moko for me to use ?
> If so, how could I use it ? (Maybe lowering a little the starting adress
> of the whole stuff).
> 
> 
> 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
> 
> 
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
> 

-- 




More information about the Developer mailing list