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

60 Commits

Author SHA1 Message Date
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
9759d4e910 add-glamo-init.patch
We have to init PLLs and memory and other assets in Glamo
before we can use SD Card stuff.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
ee7de6d4ab add-pcf50633-include.patch
Bring over pcf50633.h register definitions from U-Boot and use them

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
674a6a836a add-gta03-bring-sd-card-power-up.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
33ee0f3ae4 add-gta03-pmu-533MHz-init.patch
Get GTA03 into 533MHz / 133MHz memory bus goodness

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
d593873938 add-gta02-bring-sd-card-power-up.patch
Power up the SD Card rail getting ready to start talking to that

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +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
666089cd0a add-gta02-400MHz.patch
Add the i2c stuff to set GTA02 PMU to 1.3V core voltage, and push the
cpu into 400MHz.


Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
65087a264e introduce-i2c.patch
Introduce generic bitbang I2C system, and a s3c24xx-specific implementation of
it that knows which GPIO pins and how to control them.

The generic bitbang stuff exposes synchronous (ie, it will return when it is
done) and asynchronous read and write APIs, allowing the delay between bits to
be hidden in other slow, looping code if necessary.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
aa04cc7e5d update-comment-linker-script.patch
Update the comment for linker script system in use now

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
126fef5514 reenable-bss-cleardown.patch
Left BSS zeroing disabled from previous debugging, re-enable it

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
Matt Hsu
58c0b57439 add gta03 board specific support 2008-11-28 10:16:36 +00:00
Andy Green
20144f6c95 add-glamo-mmc-files.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:36 +00:00
Andy Green
2547be5738 change-drivers-dir.patch
Create ./src/drivers and move s3c24xx mmc thing in there with more
specific name.  Move fat.h into ./include

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
Andy Green
32cb2fa93c change-name.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:35 +00:00
Andy Green
957929aeaf add-nand-fixed-partition-layout.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:35 +00:00
xiangfu
a026547862 add-mmc.c-and-other-file-but-can-not-boot-from-sd 2008-08-17 00:28:39 -04:00
xiangfu
5b5a581ffa remove src/Makefile 2008-08-16 22:34:17 -04:00
xiangfu
09407415de mv some .h file to src/ there are same files. 2008-08-16 10:25:25 -04:00
xiangfu
4adc376ba2 mv some .h file to src/ there are same files. 2008-08-16 10:24:29 -04:00
xiangfu
7c0e35e1a2 delete some commend and change ubrdiv_var inner serial_init funtion 2008-08-16 09:51:37 -04:00
Andy Green
b8407950d8 add-comments-and-tidy.patch
Push the config options into a config .h, tidy things, add attribution

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:45:55 +01:00
Andy Green
4391a52819 remove-prink.patch
didn't need it and it doubled the size of the bootloader :-O

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:45:21 +01:00
Andy Green
a9c7c47189 tidy-strings.patch
Move things around to tidy them up

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:44:56 +01:00
Andy Green
5a494607f0 add-kernel-init.patch
Huge patch boils down massive kernel image parsing and boot action
to a modest sequence of code that actually boots the kernel.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:44:29 +01:00
Andy Green
b44cb06c6b tidy-second-phase-stub.patch
Clean up the jump into the full SDRAM copy of bootloader that is made now.
Adjust the compiler options.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:43:27 +01:00
Andy Green
f26f60b0ac fix-nand.patch
NAND stuff wasn't going to do anything until the controller in
the CPU was reset.  NAND code was cleaned and other minor meddlings

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:42:35 +01:00
Andy Green
fdb05a1e8b fix-do-relocation
Start meddling with linkser script, more changes came later
that actually got it working by pushing all .rodata into first
4K so the linked addresses matched reality even when ran from
the SDRAM copy.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:41:21 +01:00
Andy Green
0b4bd34f15 change-text-base-and-meddle.patch
change the TEXT_BASE and meddle around

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:40:01 +01:00
Andy Green
7143408081 add-build-stamps.patch
Add git-based versioning

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:37:17 +01:00
Andy Green
072c9da010 add-kboot-h.patch
kboot.h includes the common things and some externs

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:36:46 +01:00
Andy Green
ae53877e7f add-serial-strings.patch
Add various debugging code for serial, this got changed around a
lot in subsequent patches and printk() / vsprintf() was taken out
in the end.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:36:14 +01:00
Andy Green
372145cd29 build-link-with-libgcc.patch
libgcc has divide and things we would like to use

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:35:09 +01:00
Andy Green
0d888f897e add-dfu-script.patch
Little helper script to do the DFU action without getting confused
by changing VID / PID

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:34:40 +01:00
Andy Green
8783cd9896 add-dfu-image-generation.patch
Integrate udfu image generation to ease testing with GTA02 NOR

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:34:06 +01:00
Andy Green
a2dfa2c956 build-warn-all-error-all.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-12 14:03:13 +01:00
xiangfu
67335c833f when set rUBRDIV=0x11 can output correct. 2008-07-30 13:33:24 -04:00
xiangfu
f410b994a9 the serial console begin output something 2008-07-30 08:32:03 -04:00
xiangfu
dded3f8cbf add init serial console in serial.c 2008-07-28 10:47:53 -04:00
xiangfu
07ac5def3b change serial_puti to serial_putc 2008-07-24 23:12:37 -04:00
xiangfu
b92d8222aa add serial output function, Thanks Dennis <dennis.yxun@gmail.com>, his patch make me clear. Thank for Andy Green help. 2008-07-24 22:27:23 -04:00
xiangfu
12ba156cfb try to debug the nand_read 2008-07-13 13:20:35 -04:00
xiangfu
05afbb65a7 corrent the blink_led.h file 2008-07-13 11:05:36 -04:00
xiangfu
3840e0b9d0 modified *.h add define 2008-07-13 10:53:56 -04:00
xiangfu
50aa233b9a file a way to debug the nand_read.c
if it's work the one led will be always on
if something wrong blink two led under Power Button
2008-07-12 22:57:57 -04:00
xiangfu
fa9c4976fa blink led in other way ,but not read from NAND 2008-07-08 18:48:48 -04:00