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

214 Commits

Author SHA1 Message Date
Andy Green
69de926cf4 qi-memory-test-when-no-kernels.patch
This makes a new behaviour for Qi, when there are no valid kernels then it
performs the memory test.  It means you can either move kernels out of the way
to get the memory test, or make an SD Card just with normal Qi on it and no
kernels to get a memory test.

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
cff19a41ce qi-glamo-mmc-multiblock-read.patch
Improve glamo-mmc so that it uses MMC_READ_MULTIPLE_BLOCK and copes with
64 blocks in one command (and STOP sent after each set), instead of sending
a new command per-block

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
f46dc9e4ab qi-optimize-ext2.patch
Little cleanup and new code that collects and defers contiguous sector reads
into one potentially more efficient larger sequential read action.

This matters for example on SD Card protocol.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
39fc2afbf4 qi-fix-ext2-inefficiency-bug.patch
Naughty bug bug U-Boot ext2 implementation -- cut and paste of stanza above for
indir1 check used for indir2 but not all the check was not updated.

This removes hundreds of repeated reads of same sector during kernel load.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
ade0e093da qi-return-to-400MHz-boot-for-now.patch
Not ready for 200MHz boot yet -- but will be soon, cpufreq is coming to
upstream 2442 kernel it seems.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
b0d8b1535e qi-rename-tla01-gta03.patch
TLA01 is officially GTA03 now :-)

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
2c83dc6636 qi-add-initrd-tla01.patch
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
9b5a1a65db qi-fix-return-ext2-dev-last-sector.patch
There was a bug about dealing with last ext2 sector of file
because we failed to return the number of sectors pulled

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
c44ce29cb4 qi-high-loglevel-tla01.patch
Currently interested in dmesg stuff on console

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
4e7afacaef qi-add-warn-on-timeouts.patch
Just let us know if we ever have a timeout situation

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
38ccc50783 qi-clean-s3c6410-hs_mmc.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +00:00
Andy Green
fbd0c13ecd qi-clean-remove-debug-line.patch
Cosmetic console output cleaning

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
aaa0586a8f qi-add-report-sector-for-ext2-errors.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
7d1786f9a3 qi-change-machine-number-to-smdk.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
82d2e255c3 qi-add-sc36410-mci.patch
This heavily adapts the Samsung U-Boot hs_mmc code and combines it with the
SD / SDHC startup code written for glamo-mci stuff that is known to work OK
with common SD and SDHC.

tla01 is changed to use the implementation.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
4e326e29fa qi-fix-always-slow-glamo-mmc-init.patch
Little bugfix that we never exit the mmc init wait loop before the timeout
expires.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
75e1f8d156 qi-move-udelay-out-of-glamo-mmc-to-utils.patch
udelay() is more generally wanted, move it to utils.c

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
999c78e7f8 qi-break-crc32-out-of-utils.patch
We want utils stuffs in steppingstone part, it's too expensive to have
CRC32 in there.  Bust it out into its own file that appears only in
everything_else section in second bootloader stage.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
4a07126420 qi-moved-lowlevel-init-2442.patch
lowlevel-init.S is specific to cpu and is moved there now, update s3c2442
linker script

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
24a263998c qi-move-cpu-specific-drivers-into-cpu-dir.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +00:00
Andy Green
c3f69eb333 qi-add-missed-files-for-scm.patch
Moved several files and they didn't get added to git

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:40 +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
3554f337df qi-add-totrst-clear-before-linux.patch
Before leaving for Linux, gratuitously clear down the totrst / timeout counter
to help stop us dying partway through boot on effective power-off.

In the case we have no battery or battery < ~3V, we still somehow need to do
more in kernel because it can switch itself off more than 8 seconds
after this point.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
cea4b83d53 qi-change-boot-speed-200MHz.patch
Part of the effort to save power during booting so we can do it inside the
500mW budget from un-enumerated USB connection.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
f6bb301f5f qi-fix-define-all-gpio-data.patch
Nothing defined most GPIO output data on start until now

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
2c16e47344 qi-fix-baud-for-200MHz-1-3-6.patch
Baud rate for 115200 at 33MHz PCLK wasn't calculated right

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
c8d5147d6f qi-reduce-power-glamo-video-off.patch
No need to burn power generating video in Glamo during Qi

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
14e63e56b6 qi-add-build-stamps.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
e55b148f55 qi-fix-i2c-multiread-nack-nak.patch
On the last read, master must NAK, on intermediate reads it must ACK.
If you get this wrong, communication with device is screwed even in Linux.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
64f0faee54 qi-fix-resume.patch
Add resume processing so we can resume and not just start up

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
ac360fcdf6 qi-enable-charger-and-unmask-interrupts.patch
Unmask interrupts, enable charger

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
977852eb57 qi-constrain-gta02-board-variants.patch
Constrain board variants to legal numbers

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +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
6e84650e2f qi-delay-after-stop.patch
Bitbang I2C could do with delay after last stop before next back-back transaction

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
4414f130bd qi-add-more-pcf50633-init.patch
We need to set a few more things up in pcf50633 to get suspend and resume
to work -- without them suspend actually goes OFF.  Take the opportunity
to optimize this init significantly.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
53ce7d80f0 qi-clean-debugging-messages.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:39 +00:00
Andy Green
50fe6feeac qi-fix-ext2-sdhc.patch
This adjusts ext2fs_devread to use block addressing itself with dynamic multiplier
support separately.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
c4e54f889f qi-fix-ryan-chen-dynamic-inode-size.patch
With large SDHC cards, the ext2/3 filesystem put on large partitions
by mkfs.ext2/3 is not how it used to be, it has a dynamic multiplier for
its block addressing.  Without these changes, based on a patch by Ryan
Chen

http://lists.denx.de/pipermail/u-boot/2008-July/037786.html

we cannot parse large ext3 filesystem.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
bcdb949182 qi-block-sd-indexing-throughout.patch
Now cards larger than 4GB are normal, we can't use the byte addressing
internally any more for SDHC type card.  This changes us to use block
(512 byte) addressing internally always.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
5dbdcda9b2 qi-fix-strncpy.patch
Mini strncpy patch was buggy.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
2e2480ff21 qi-fix-slow-first-bulk.patch
This patch performs the equivalent init actions to the SDHC slow
unitl first bulk patch in kernel, it allows us to work with large
SDHC cards which exceed Glamo timeout capability at 16MHz for first
access.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
b2995f8b39 qi-fix-malloc-alignment.patch
Noticed malloc() could become unaligned

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:38 +00:00
Andy Green
4bdb43cc93 qi-fix-large-sdhc-timeout.patch
This patch increases the timeout for card initializaton so it works with
8GB Sandisk uSDHC, and adds the size computation for SDHC as well.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
9f3614edd0 qi-change-gta02-ext3-sd.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
xiangfu
49f96ef705 Subject: we don't need calc_pclk.c
we don't need calc_pclk.c
2008-11-28 10:16:37 +00:00
Matt Hsu
dca4815a1e From b25a27989d72a43f2064dcbb85ad2ea0f2bea4b7 Mon Sep 17 00:00:00 2001
Subject: [PATCH] 	- correct machine id of gta03
 	- add mtdparts prefix in the kernel command line


Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2008-11-28 10:16:37 +00:00
Andy Green
d06a3c2c3a add-openocd-script.patch
This is the script for gta03 load by openocd.  We use the single qi
image for all purposes now so U-Boot lowlevel_foo style crap is dead.

We have to run the first part of init before copying qi image to
TEXT_BASE (0x33000000) because DRAM is not functional until then.

Fixed branchthrough at 0x8 is used as a place to hang the breakpoint.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
4542548a35 fix-gta03-pclk.patch
GTA03 PCLK runs at 66MHz, we need to set that right to get
1150kbps serial OK.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
Andy Green
a560858377 add-jtag-detection.patch
This adds capability to use single qi image for JTAG load action as well
as execution from NAND.  It requires JTAG script to load the image at
0x0 and 0x33000000 addresses, then set data at 0x04 address to 0xffffffff.

This eliminates the lowlevel_foo stuff from U-Boot world.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +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
b6dd949b0e fix-wild-comment-GLAMO_FB_.patch
Some crud leaked in last commits.  Plus more nice printing.

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
c7a4e4dc0d fix-kill-clocks-unused.patch
We leave a lot of funny clocks up in things like camera unit.  This
pares it down to just what we use in Qi.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:37 +00:00
xiangfu
b4134e84cf Subject: we-don't-nend-led_on.S-any-more
X-Git-Url: http://git.openmoko.org/?p=qi.git;a=commitdiff_plain;h=ebbad42a5c0013c68407167c65d9c7e56a725a93

we-don't-nend-led_on.S-any-more
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
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
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
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
xiangfu
eab58ff419 delete something we don't need 2008-06-28 19:47:57 -04:00
xiangfu
c382c5066c blink led all in c code, start add read nand code 2008-06-20 22:24:29 -04:00
xiangfu
dbb19d74ce add lowlevel_init funtion to led.S 2008-06-17 10:53:16 -04:00
xiangfu
83a402b963 add kboot-stage1.lds 2008-06-17 10:48:52 -04:00
xiangfu
02fe96ba6f add neo_gta02.h lowlevel_init.S kboot-stage1.lds 2008-06-17 10:42:35 -04:00
xiangfu
d076efdbe7 add neo_gta02.h lowlevel_init.S and kboot-stage1.lds 2008-06-17 10:40:22 -04:00
xiangfu
280f8ffb13 add some initial cpu code in led.S 2008-06-13 16:17:04 -04:00
xiangfu
98fb0b6654 the led_on does not random abort 2008-06-13 14:53:04 -04:00
xiangfu
39d58838d9 blink led 2008-06-12 18:22:49 -04:00