[okl4-developer] Booting N810
Geoffrey Lee
glee at ok-labs.com
Wed Jun 18 04:46:49 EST 2008
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