[Avila] Maximum dimension of zImage

Imre Kaloz kaloz at openwrt.org
Wed Apr 30 05:26:34 EDT 2008


On Tue, 29 Apr 2008 23:49:28 +0200, Gianluca Mando <airavila at gmail.com>  
wrote:

> which is the maximum dimension of the zImage that can be supported by the
> GW2348-4 (64 MB RAM)?
> I'm quite new to the Avila and I've seen that if the zImage is loaded in  
> RAM
> at the address 0x01600000 an error is generated if the dimension of the
> zImage is around 2 MBytes (or even smaller).
>
> Any help is appreciated.

The size limit of the _uncompressed_ kernel is 4MB in the ARM world. So I  
would say the compressed zImage should not be bigger than 1-1.1MB. Also,  
it's PIC (Position Independent Code), so if you aren't using a ramdisk  
forget that old and stupid fixed offset loading mania :)

Do "load -r -b %{FREEMEMLO} whatever zImage" and have fun.



Regards,
Imre



More information about the Avila mailing list