usbnet - MAC / Qi GTA02 NAND compatability solution

Andy Green andy at
Tue Feb 3 13:45:54 CET 2009

Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> GTA02 NOR U-Boot will then be incompatible with what we changed to.
| Yup, except for the first partition. By the way, since we may
| subdivide the kernel partition, we'll probably end up being
| incompatible with what's probably the most common use of DFU
| anyway. So I'd just recommend not mixing Qi and u-boot.

Not so.  I tested DFU behaviour some time ago about that and it just
erases up to what it writes, not the whole partition.  So it's fine.

|> Looking at the existing Qi code, it seemed we can find out if we have a
|> bad block cheaply, without chewing through 2048 bytes at the CPU for
|> each block.
| Oh yes. It's not a question of speed, just of messiness carried
| over from u-boot. But if you're willing to add this stuff to Qi,
| that eliminates the compatibility problem very nicely.

It is a matter of speed... U-Boot dynparts generation is so slow
(several seconds) it would be impossible to accept it.  The fact it's
tested now to be not noticeable makes it possible to use it at all.

The extra code just adds to gta02.c not anything else in Qi, and hate it
or hate it, dynparts is part of gta02.

- -Andy

Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -


More information about the openmoko-kernel mailing list