1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-24 18:12:58 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
Andy Green
f3c740f11c qi-reduce-glamo-mmc-wait-delay.patch
3000 retries is a very long time for an SD card to wake up,
far longer than should be necessary.  This patch reduces it
to 1000.

Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-01 19:28:18 +00:00
Paul Fertser
177921a4e6 [PATCH] Some SD cards require more retries in mmc_init
This patch effectively doubles maximum time allowed for retries performed by
mmc_init. Also, the delay was shortened to lower the average time needed to
init a card. Without it, i was unable to boot from Transcend TS8GUSDHC4
(appending rootdelay=1 was necessary as well).
2008-12-13 20:34:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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