1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-29 15:45:20 +02:00
Commit Graph

243 Commits

Author SHA1 Message Date
Werner Almesberger
73b8441e3b phase2: use "static" wherever possible
Makes it easier to determine what can be safely changed.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:51 +00:00
Werner Almesberger
9411e40603 phase2: block init buggy x
Is it really correct to set last_block_init to the next entry ?
It would seem that the current (i.e., bogus) values are then just
used without further ado. Untested.

Not-Yet-Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:50 +00:00
Werner Almesberger
f5798e6359 phase2: separate block init from try_this_kernel
As an added benefit, we can drop one level of indentation.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:49 +00:00
Werner Almesberger
d3ee803b58 phase2: separate CRC from try_this_kernel
As an added benefit, we can drop one level of indentation.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:49 +00:00
Werner Almesberger
668e3f5ed9 phase2: separate partition scan from try_this_kernel
As an added benefit, we can drop one level of indentation.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:48 +00:00
Werner Almesberger
545f0662ef phase2: separate parameter setup from try_this_kernel
It's still huge, but less painful to read.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:47 +00:00
Werner Almesberger
5c75acae12 phase2: no space after function
Putting a space between a function name and the parenthesis following
it ain't the One True K&R Way.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:46 +00:00
Werner Almesberger
32f76a7afe phase2: simplify the bootloader_second_phase mega-loop
This puts the loop body in a new function called try_this_kernel.
As an added benefit, we can drop one level of indentation.

This change is hard to read as a patch. It gets better if one just
applies it and then looks at it with "git diff -w" or similar.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-01-09 04:32:46 +00:00
Christopher Hall
b98b8f5ea1 Fix dmesg line filtering if uptime is too low
On Ubuntu 8.04.1 there can be spaces inside the initial bracketed
uptime number after a reboot.  These spaces disappear once the uptime
is large enough.  Therefore, use sed to filter out these spaces so
that the cut command that extracts SD card size will always work.

Signed-off-by: Christopher Hall <hsw@openmoko.com>
2009-01-07 10:07:46 +00:00
Andy Green
e08b518990 qi-gta02-correct-filter-polarity.patch
Filter is enabled by b4 being 0 in each case, not 1

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-18 13:49:44 +00:00
Andy Green
6e190bc68c qi-gta02-rootdelay.patch
There's not enough time between Glamo init (now after pcf50633 init)
and the completion of machine init before we try to use the boot device
in the case of GTA02 and SD boot.  So we add rootdelay=1 to the SD
card boot cases

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-18 13:49:33 +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
51ce8bac68 qi-gta03-suspend-gpio.patch
Change to input / pulldown on most GPIO.  With no battery and just
USB power, this gets us into suspend with 9.5mA at 5V consumption... but
Ben Dooks told that we don't put the mDDR into deep sleep yet in the
platform pm code, so this should come right down when we have that.

The suspend is otherwise real though, PWREN to the PMU goes down, and
when we wake the device Qi is able to see it is a resume wake and jumps
back into Linux, where we currently die due to issues on s3c6410 platform
code getting worked on.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-09 11:04:57 +00:00
Andy Green
b5c87ae317 qi-gta03-revert-to-bin-sh.patch
Rootfs is not quite ready for /sbin/init

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05 23:15:48 +00:00
Andy Green
74dc2cc01a qi-fix-gta03-default-wlan-power.patch
Make sure WLAN module power is off by default - this controls
a P-Channel MOSFET that gates all the power there

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05 23:15:48 +00:00
Andy Green
f9b0afbdb6 qi-gta03-fix-charging.patch
These two changes get charging working on GTA03 with new battery.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05 23:15:47 +00:00
Andy Green
6dae9d7009 qi-gta02-improve-default-reg-states.patch
Need to let PWREN take care of more regulators really

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05 23:15:47 +00:00
Andy Green
1f150a592e qi-s3c6410-add-resume-path-processing.patch
First go at resume processing for 6410, can't test it until Ben Dooks
confirms operation of Linux side on SMDK

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05 23:15:47 +00:00
Andy Green
af49f931b6 qi-gta03-rootdelay.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 11:16:17 +00:00
Andy Green
14acfb40af qi-gta02-no-inidcators-if-battery-low.patch
This patch turns on the SYS and BAT monitoring filters, and checks if the battery
meets the BAT OK threshold.  If it doesn't, which is the case if the battery is
not present, it disables the "indicator" (eg, LED, vibrator) stuff and holds the
CPU at 200MHz during the boot into Linux.

This allows the GTA02 A6 here to boot with no battery up to the point it is
going to bring up backlight, and this with 100mA limit on USB at PMU.  Enabling
the threshold filters for battery and SYS seems to have been critical in
getting any stability with this.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:07 +00:00
Andy Green
3867e3d4ce qi-gta01-02-03-always-tty0-console.patch
tty0 is the LCM... this patch changes the defaults so that the kernel
always treats tty0 as a console, but it also sets the loglevel so that
only KERN_ERR or worse will be printed there.  With matching changes
to the kernel, most of the noise at KERN_ERR is reduced to KERN_INFO,
so it gets the behviour the LCM by default is not cluttered with
messages unless they are important during boot.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:07 +00:00
Andy Green
b4d381380c qi-fix-only-init-same-block-device-once.patch
If we're accessing the same device, we don't need to keep init-ing it

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:07 +00:00
Andy Green
513fb7d0fc qi-clean-fail-partition-on-mount-fail.patch
Failure to mount the filesystem makes us give up on the whole partition
the moment it happens

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:06 +00:00
Andy Green
710f2dbb6e qi-introduce-ui-indicators.patch
Allow a board to "indicate" events if it likes on whatever it has

On GTA02 we light AUX during boot and run the vibrator briefly when we
skip a partition or device.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:06 +00:00
Andy Green
40edd785a7 qi-gta02-remap-steppingstone.patch
Despite what the docs say, steppingstone is always resident at
0x40000000 on s3c2442, this patch changes our linker script to
stick all steppingstone code there.  The mapping of steppingstone
at 0x0 is broken by OM[] bus change dynamically caused for example
by GTA02 AUX button actuation.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:06 +00:00
Andy Green
9a6d9de901 qi-s3c2442-enable-d-cache.patch
Seems we have no D-Cache enabled before?  Also defeat AUX as EINT

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:06 +00:00
Andy Green
5c9a2104f9 qi-commandline-debug-added-if-ui-key-down.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:05 +00:00
Andy Green
842a4ad19b qi-kernel-source-skip-if-ui-key-down.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:05 +00:00
Andy Green
f23a39d80d qi-gta01-add-ui-debounce.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:04 +00:00
Andy Green
bede2a1359 qi-gta03-add-ui-debounce.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:04 +00:00
Andy Green
d87c26ee38 qi-gta02-add-ui-debounce.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:04 +00:00
Andy Green
263f4335ad qi-add-ui-api.patch
Introduce the ability for boards to have UI inputs for purposes decided by
Qi

Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01 01:26:03 +00:00
Andy Green
d0c9237ee1 qi-fix-nand-noboot-append-disable.patch
Recent addition of append and noboot file checks broke NAND

Reported-by: Micael Henriksson <micael.h@gmail.com>
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Christopher Hall
4285b49897 qi-move-to-sbin-init.patch
Signed-off-by: Christopher Hall <hsw@openmoko.org>
2008-11-28 10:16:45 +00:00
Andy Green
02fb616721 qi-fixes-append.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Andy Green
1b06d98bc7 qi-add-noboot-and-append-check.patch
This adds two features that can be set in the rootfs that Qi is checking.

 - if it finds /boot/noboot-<device>, eg /boot/noboot-GTA02 then it will
   skip the rootfs for booting and try the next one if any

 - if it finds /boot/append-<device>, eg, /boot/append-GTA02 then it will
   append the contents of this file to the kernel commandline.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Andy Green
3565397f1c qi-gta03-framebuffer-init-to-c.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Andy Green
4a503bbc81 qi-update-README.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
Matt Hsu
12828f98f2 fix a compiling error
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2008-11-28 10:16:45 +00:00
Andy Green
729a404055 qi-gta03-framebuffer-enable.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +00:00
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
f6ee0972f9 qi-commandline-remove-all-sd-rootfstype.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
1b810a4dc6 qi-gta02-additional-regs-init.patch
This should fix the reported problems with audio when the
kernel is started with Qi on GTA02

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
61ff9453dd qi-gta02-add-partition3-boot.patch
It's worth looking on partition3, for GTA03 SD Card this will be
backup / recovery rootfs

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
98591fc54b qi-reduce-stage2-extent-32KB.patch
We dedicate 256MB for bootloader in GTA03 SD image, but actually they're
around 25KB currently.  Reduce the stage2 pull to 32KByte.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
a2a5e782f4 qi-gta03-kill-100mA-usb-limit-temporary.patch
We need > 100mA to boot GTA03 A1 right now

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
c6531168f6 qi-introduce-device-named-kernels.patch
This patch changes Qi to insist to fetch device-specific kernels from
filesystems that have named kernels.  The kernels looked for are now
called

GTA01:  /boot/uImage-GTA01.bin
GTA02:  /boot/uImage-GTA02.bin
GTA03:  /boot/uImage-GTA03.bin

This is part of the support for single rootfs that can be run on
multiple devices with correct kernel and module handling by the
bootloader.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Christopher Hall
31fe321be5 qi-fix-compute-GTA03-pcb-rev-backwards.patch
Hm the revision bit ordering is backwards... oh well

Signed-off-by: Christopher Hall <hsw@openmoko.com>
2008-11-28 10:16:44 +00:00
Christopher Hall
d80dd5b880 qi-clean-makefile-clean.patch
Just tidy up the clean rm-s

Signed-off-by: Christopher Hall <hsw@openmoko.com>
2008-11-28 10:16:44 +00:00
Christopher Hall
aa813c24d5 qi-fix-gta03-format-script-less-fragile-for-host-kernel.patch
The hack to find the number of sectors turns out to be
sensitive to the host kernel.  This is a workaround until
we find something in /proc or /sys that has the same info
in a more accessible way.

Signed-off-by: Christopher Hall <hsw@openmoko.com>
2008-11-28 10:16:44 +00:00
Micael Henriksson
aeb2133dc8 qi-update-makefile.patch
Update target "clean" to clean build directorys
Update IDs for mkudfu

Signed-off-by: Micael Henriksson <micael.h@gmail.com>
2008-11-28 10:16:44 +00:00
Micael Henriksson
938a79d90d qi-add-s3c2410-cpu.patch
This patch add support for s3c2410 in Qi.

Signed-off-by: Micael Henriksson <micael.h@gmail.com>
2008-11-28 10:16:44 +00:00
Andy Green
e856eed04a qi-doc-README-update.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
8ce5b645e6 qi-fix-gta03-boot-uart3.patch
Set GPIO and UART init for UART3 suitable for GTA03
(breaks SMDK UART right now)

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
b3714a932b qi-gta03-populate-variant-list.patch
The first revision for GTA03 A1 is "1", but we only populated
the info for revision 0.

Reported-by: Christopher Hall <hsw@openmoko.org>
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
f18c42310f qi-clean-s3c6410.h-add-uart3.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:44 +00:00
Andy Green
a607f194fb qi-gta03-pulldown-card-detect-mmc0.patch
We don't have card detect connected.  Try to fake it better by
enabling the peripheral fuction to the ball and forcing pulldown
(card detect is active-low).

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:43 +00:00
Andy Green
37cf1238a9 qi-gta03-add-openocd-config.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:43 +00:00
Andy Green
c384afb378 qi-gta03-priority.patch
Prefer GTA03, enable dual mDDR init (killing SMDK compatability for now)
fix bugs in GPIO register offsets, set loglevel=8 for GTA03

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
776fdbd42c qi-gta03-smdk6410-sdcard-rootfs.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
decf58f043 qi-gta03-get-dynamic-board-rev.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +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
56841f9f5d qi-gta03-add-pmu-init.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
31f03046d5 qi-6410-i2c-bitbang.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
acaa3b4507 qi-gta03-gpio-init.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Andy Green
72f081daa8 qi-split-boards-smdk6410-gta03.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
Xiangfu
fe71796cc1 qi-clean-and-add-readme-content.patch
Signed-off-by: Xiangfu <xiangfu@openmoko.org>
2008-11-28 10:16:42 +00:00
Andy Green
736355ab4f qi-gta02-also-try-boot-sdcard-partition-2.patch
This gives compatability with SD Cards using the old U-Boot scheme of an initial
VFAT part for kernel and then ext2.  If you put the kernel you actually want to
use in /boot/uImage.bin in the ext2 partition, it can boot these cards then.

Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:42 +00:00
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
d83ef548d3 qi-add-build-script.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
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