[Avila] Maximum dimension of zImage

Imre Kaloz kaloz at openwrt.org
Thu May 1 06:28:55 EDT 2008


Hi,

after "load -r -b %{FREEMEMLO} zImage" you can simply use "fis create imagename"
without extra options. RedBoot remembers the location of the last loaded image.


Regards,
Imre

On 2008.04.30. 17:03:25 Gianluca Mando <airavila at gmail.com> wrote:

> Hi Emre,
>
> If I use the command:
>
> "load -r -b %{FREEMEMLO} zImage"
>
> what is the command to burn on flash the zImage? Actually I'm using
>
> "fis create -e 0x01600000 -r 0x0160000 zimage"
>
> taking as reference the RAM address 0x01600000.
>
> Regarding the size of the zImage I think that it should bigger than 1.1 MB.
> Actually I use a kernel of 1.5 MB compressed and have no problem.
>
> Thank you
>
> Gianluca
>
>
> 2008/4/30 Imre Kaloz <kaloz at openwrt.org>:
>
>> 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