1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 18:22:28 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
Andy Green
46fd1c005b qi-commandline-split.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Andy Green
b4ac8b9dc9 qi-split-board-specific-in-steppingstone.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
c5d0a6379f qi-clean-split-utils.c-by-phase.patch
Some of utils.c isn't used until the full Qi image has been loaded into
memory, to save space in 4K steppingstone case on 2442, we split utils.c now
so only the interesting routines for steppingstone time take up space there.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
8d0a6cbd9f qi-add-steppingstone-section-for-putc.patch
We need putc even when we are operating entirely from steppingstone.
Arrange that the board-specific putc code is in a section that goes into
steppingstone, and adapt the utils.c putc() so that it no longer needs to
indirect through the board_api struct that is in main memory.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
2e982c433d qi-add-memory-testing-routines.patch
This adds the memory testing code to Qi.  It tests the range of memory with
several constants and then a 32-bit walking 1 pattern, and repeats forever.

The entire main SDRAM can be tested due to the fact this runs out of
steppingstone only and does not need to store anything outside of it.

It introduces a steppingstone-based stack for use entirely in steppingstone.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
fe884c6d10 qi-add-initrd-support.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
cd9d23c6ec qi-fix-s3c24xx-mci.patch
Some work on s3c24xx MCI (which might be useful for GTA01 port
eventually too)

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
064a13861c qi-refactor-for-multi-cpu-add-s3c6410-base.patch
This patch makes qi source structure cpu-centric, and allows multiple CPUs
to be handled with the board definitions inside the CPU dirs.

You have to make a particular CPU version of Qi now, which you can do by
a shell command like this:

make clean ; make CPU=s3c2442 && make CPU=s3c6410

which gets you

$ ls -l image/
total 744
-rwxrwxr-x 1 agreen agreen  25372 2008-10-17 18:25 qi-s3c2442-andy_77c1fcdddc3e2cbf
-rw-rw-r-- 1 agreen agreen 237100 2008-10-17 18:25 qi-s3c2442-andy_77c1fcdddc3e2cbf.dis
-rw-rw-r-- 1 agreen agreen  25388 2008-10-17 18:25 qi-s3c2442-andy_77c1fcdddc3e2cbf.udfu
-rwxrwxr-x 1 agreen agreen  22736 2008-10-17 18:25 qi-s3c6410-andy_77c1fcdddc3e2cbf
-rw-rw-r-- 1 agreen agreen 216294 2008-10-17 18:25 qi-s3c6410-andy_77c1fcdddc3e2cbf.dis
-rw-rw-r-- 1 agreen agreen  22752 2008-10-17 18:25 qi-s3c6410-andy_77c1fcdddc3e2cbf.udfu

The 6410 support in there is enough to send a character "U" on the 6410 SMDK

Because the product naming is not defined, currently the device targeted for 6410
is called "TLA01"

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
0a72b19c3f qi-return-i2c-to-peripheral.patch
Return IO to peripheral mode for i2c at end of init

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
ec8ea0c281 add-ext2-fs.patch
This adds ext2 support from U-Boot and stitches it into the
partition stuff.  It also upgrades the board definitions so they
can define the path to look for in the ext2 filesystem being
mounted.  I used /boot/uImage.bin because this is already in use
by the packaged kernel.

We now mount, open and pull the kernel from ext2 in phase2.c if
the kernel source defines it.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
935ef0e12d add-partition-support.patch
We have to minimally support DOS partition scheme.
Partitions are counted from 1+ now, and 0 means no
partition table instead of -1.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
1b043e0fe5 add-print-decimal.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
fdd6c5544b add-glmo-mmc.patch
Moves various .h into include from drivers
Gets glamo-mmc.h working so we can detect
card ID / Size if the card is plugged in.

Adds FAT / MMC kernel source entry for GTA02 that
is first before the NAND one.  When it works it will
favour to boot off SD Card if a kernel is found there, but
right now we don't have a working filesystem parser and
partition handling hooked up.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
9eba09a86f clean-serial-c-into-drivers.patch
Move serial.c into drivers/serial-s3c24xx.c and qi-serial.h into include/serial-s3c24xx.h
making things a bit cleaner for being s3c24xx-specific.  This needed a lot of meddling
additionally, ending up with a new puts() callback that belongs in the board structure
and removal of the debug uart member, since the puts() action was the only user.

Also change serial init API name and function to only fix to 115kbps and adapt to
PCLK.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
d10aee81b0 add-copyright-notices.patch
Little notice cleanup + add ARRAY_SIZE

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
a8baab94b4 add-nand-read-prototype.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
4a8bada671 add-per-board-init-change-qi.patch
Giant patch:

 - renames everything from kboot to qi

 - changes filenames accordingly in several places

 - fixes the linker script so stuff that does not execute
   from steppingstone context has real linked addresses
   in the relocated region, it means all code and pointers
   work now outside first 4KBytes

 - adds src/gta02/gta02.c to contain board-specific init and
   other functions

 - adds sophisticated structs to define most features in the
   board-specific files, including board type detection,
   board revision detection, and multiple kernel source
   definition (NAND, SD FAT, SD ext2, etc), including auto
   sequencing of trying the kernel sources in order (filesystems
   and partition support not done yet)

 - GTA02 detects itself by NOR presence and reports A5 / A6

 - commandlines for kernel also come from board-specific
   kernel source definitions so correct kernel commandlines
   are provided depending on boot device -- on GTA02 now
   boots NAND kernel into NAND jffs2 filesystem

 - CRC32 is checked on loaded kernel image to make sure we
   know about corruption in bootloader

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
8cff2ca836 move-kboot.h-to-include.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:35 +00:00