[okl4-developer] Booting N810
Ashish Bijlani
ashish.bijlani at gmail.com
Wed Jun 18 00:34:05 EST 2008
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
On Tue, Jun 17, 2008 at 12:10 AM, Geoffrey Lee <glee at ok-labs.com> wrote:
> On Tue, Jun 17, 2008 at 12:37:37AM -0400, Ashish Bijlani wrote:
>> Hi Josh,
>>
>> I cannot flash uboot onto the device coz it doesn't have any serial
>> port open. nokia advices not to play with the serial port. the flasher
>> and nokia loader are indeed not open source. however, there is an
>> equivalent open source user level flasher
>> (http://www.nopcode.org/0xFFFF/) available that has support for n810.
>> even if i choose to to add support for flashing uboot in this open
>> source flasher, it won't work coz this flasher is just a client side
>> utility to talk to the NOLO, which is the 'server-side' part of the
>> flasher from Nokia. It is composed of two pieces which are not open
>> source.
>>
>> is there any other way? can't okl4 produce zImage of the final elf and
>> use gz/inflate/deflate compression/decompression method (like linux)
>> to decompress the final image.boot/image.elf on the fly? is it hard to
>> do this? pls lemme know. thanks.
>
>
> You can create a binary bootable image for loaders which do not
> support ELF loading. We do this for our KZM board. This is done by
> using the objcopy(1) command to convert the image.boot
> file, which you normally would use to boot, to a binary image.
> The output target is specified by using passing -O binary.
> You can get the build system to do this for you, specify
> boot_binary = True in the machines.py platform description.
>
> To boot using this method, you load the binary file into RAM starting
> at some address, then get the bootloader to start execution at that address.
>
>>
>> -Ashish
>
> -gl
>
>>
>> On Mon, Jun 16, 2008 at 11:33 PM, Josh Matthews <jmatthews at ok-labs.com> wrote:
>> > Hi Ashish,
>> >
>> > On Tue, Jun 17, 2008 at 12:43 AM, Ashish Bijlani <ashish.bijlani at gmail.com>
>> > wrote:
>> >>
>> >> I'm trying to boot okl4 on n810. However, okl4 produces
>> >> image.elf/image.boot and the flasher on n810 needs an zImage. How do I
>> >> convert the image.elf/image.boot into an equivalent zImage.
>> >
>> > From my understanding, the flasher and loader (NOLO) for the N810 are
>> > linux-specific (the FIASCO blob contains loader, linux kernel, initfs,
>> > rootfs).
>> >
>> > I'd suggest the best way to get up and running quickly is to load U-Boot
>> > onto the device. U-Boot is well supported on the OMAP2420 - check out
>> > https://agora.cs.uiuc.edu/display/SRG/OMAP2420+Software+Development+Platform+Bringup.
>> >
>> > Best regards,
>> >
>> > Josh Matthews
>> >
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>
>
> --
>
>
More information about the Developer
mailing list