[okl4-developer] Booting N810
Ashish Bijlani
ashish.bijlani at gmail.com
Wed Jun 18 07:56:50 EST 2008
Here are the details of the device :
http://www.nopcode.org/0xFFFF/?p=docu&q=dumping
Kernel image is loaded on mtd2, which is only 2048 blocks (2M). I'll
try loading the image straight into memory.
Thanks,
Ashish
On Tue, Jun 17, 2008 at 1:46 PM, Geoffrey Lee <glee at ok-labs.com> wrote:
> On Tue, Jun 17, 2008 at 09:34:05AM -0500, Ashish Bijlani wrote:
>> AFAIK, zImage is more than a binary image - it has decompression
>> routines embedded to unzip the kernel on the fly. i cannot load
>> regular image.bin coz of space constraints - image.bin is 5.1 MB in
>> size. pls lemme know if i'm missing something? thanks
>
> You are right, the zImage contains code which decompresses
> the kernel. I thought your motivation for asking booting
> zImage was more due to the inability of the bootloader to boot
> ELF images but this seems to be not the case. At this time
> OKL4's build system cannot load a zipped image. However,
> note that 5.1M is going to be the actual size when the code
> is running even if you had a zipped image, since 5.1M is
> going to be what the decompression is going to expand to.
> As I said previously, if you can transfer images into
> memory, the solution is to build the binary bootable image
> and then get the bootloader to transfer execution to that
> particular address. Can you let us know why the size is
> an issue for you, most devices should have relatively
> large amounts of storage or flash memory.
>
>
> -gl
>
>
More information about the Developer
mailing list