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

105 Commits

Author SHA1 Message Date
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
007a6b20a7 qi-build-create-image-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
f82d4861e6 qi-add-6410-bootable-sdcard-generator.patch
This patch adds a small script that knows how to partition, format and
prepare with a bootloader image an SD Card for usage with SD Card boot
on 6410.

You use it like this:

./6410-partition-sd.sh sde sdhc ./image/qi-s3c6410-andy_495294c60f2f1432

This will prepare your card with three partitions and put the bootloader
images at the end as required by 6410 iROM.

If you put anything on the fourth parameter, it skips the fdisk and the
formatting stages and just updates the bootloader.

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
c91dcc3b76 qi-fix-dfu-stamped-image.patch
Now we generate stamped images, need to dfu them up

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
xiangfu
ba82ccbff1 Subject: add-mkudfu-to-qi
X-Git-Url: http://git.openmoko.org/?p=qi.git;a=commitdiff_plain;h=bdc874553c41b5c540188798928433ad9ef89a76

add-mkudfu-to-qi
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