[PATCH 0/8] Qi solve GTA02 dynparts compatability and parse idenity partition

Andy Green andy at openmoko.com
Tue Feb 3 19:12:11 CET 2009


The following series allows Qi to dynamically compute the
partition offsets in NAND to arrive at the same offsets as
U-Boot would have stored in its environment.  Qi is able to
do it fast enough to not be noticable and therefore no
storage (aka persistent state or environment) is needed.

It means the Qi is now safely compatible with NAND usage in
Linux same as U-Boot.

When booting from NAND, the new partitions are also used to
find the kernel partition itself.

In addition, the identity or factory partition is mounted
and the USB Mac address is recovered and appened to the
commandline suitable for use by the Ethernet gadget.  It
means the Ethernet over USB device now always presents the
same globally unique MAC address instead of a random one.

---

Andy Green (8):
      qi-gta02-compute-nand-kernel-partition-offset.patch
      qi-add-gta02-indentity-part-parsing.patch
      qi-improve-nand-read-512-granularity.patch
      qi-gta02-compute-and-append-dynparts.patch
      qi-add-append_device_specific_cmdline-API.patch
      qi-add-hex-sprintf-type-functions.patch
      qi-add-post-serial-init-api.patch
      qi-export-s3c2442-nand-bad-block-check.patch


 include/qi.h                |    6 +
 src/cpu/s3c2442/gta02.c     |  182 +++++++++++++++++++++++++++++++++++++++++--
 src/cpu/s3c2442/nand_read.c |   39 ++++-----
 src/fs/dev.c                |    4 -
 src/phase2.c                |   24 +++++-
 src/utils-phase2.c          |   23 +++++
 6 files changed, 242 insertions(+), 36 deletions(-)

-- 
Signature



More information about the openmoko-kernel mailing list