trying Qi

Werner Almesberger werner at openmoko.org
Fri Jan 30 22:14:46 CET 2009


Petr Vanek wrote:
> would there be some space somewhere in the u-boot or kernel space of
> the flash for such a small image together with kernel so we would not
> have to keep it in rootfs or on the card?

The kernel partition in the GTA02 NAND is huge - a whole 8 MB.
So there's indeed more than enough space for it. You just have
to find some policy for sharing the space.

I think the first question should be what you want to use to
update your "final" kernel in NAND. DFU under u-boot ? scp
under the boot loader ? Something-else-over-USB under the boot
loader ? scp under the final system ? Copy from uSD under the
boot loader ?

The more options you choose, the more complex your system gets.
E.g., my "smallsys" has USB but it doesn't have networking, so
scp under the boot loader would not be available.

We could of course implement the DFU device side under Linux :-)
Actually, if someone does this, maybe just make a device-side
equivalent of libusb and then implement DFU on top of it (which
should then be very easy.)

If we enable networking in the boot loader things will get
bigger, with a larger kernel but also libraries and all this.
The advantage is of course that very little new code has to be
written.

- Werner



More information about the openmoko-kernel mailing list