[PATCH 0/5] Enable Qi to boot via ext2 and Glamo MMC

Andy Green andy at openmoko.com
Fri Aug 22 01:17:22 CEST 2008


These patches basically complete Qi for GTA02.  Qi will first try to init
the SD Card and mount an ext2 filesystem on the first partition; if that
succeeds it pulls in /boot/uImage.bin and runs it with a suitable kernel
commandline to mount the rootfs from the same SD filesystem.  If it fails,
Qi falls back to running kernel and rootfs from NAND partitions automatically.

This gets us to a place where there is no bootloader environment or modality
but we are able to boot from either device cleanly and quickly.  (To enable
multiboot, we can additionally scan for partition with boot flag if that's
what people want.)

Next is starting to use actualy GTA03 EVB and getting s3c24xx MCI driver
working.

---

Andy Green (5):
      add-ext2-fs.patch
      add-partition-support.patch
      fix-wild-comment-GLAMO_FB_.patch
      add-print-decimal.patch
      fix-kill-clocks-unused.patch


 Makefile                          |    3 
 include/ext2.h                    |   80 +++
 include/image.h                   |    6 
 include/qi.h                      |   17 +
 src/drivers/glamo-mmc.c           |   67 ++-
 src/drivers/i2c-bitbang-s3c24xx.c |    2 
 src/fs/dev.c                      |  115 +++++
 src/fs/ext2.c                     |  867 +++++++++++++++++++++++++++++++++++++
 src/gta02/gta02.c                 |   27 +
 src/gta03/gta03.c                 |    3 
 src/nand_read.c                   |   44 +-
 src/phase2.c                      |  165 +++++--
 src/start.S                       |    4 
 src/start_qi.c                    |    3 
 src/utils.c                       |  103 ++++
 15 files changed, 1392 insertions(+), 114 deletions(-)
 create mode 100644 include/ext2.h
 create mode 100644 src/fs/dev.c
 create mode 100644 src/fs/ext2.c

-- 
Signature



More information about the openmoko-kernel mailing list