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

58 Commits

Author SHA1 Message Date
Andy Green
8b75ed7105 qi-3d7k-additional-power-reg-config.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-11 07:32:15 +00:00
Andy Green
c53df5fb28 qi-rename-gta03-3d7k.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02 18:51:08 +00:00
Andy Green
a5f8c6f2f8 qi-add-append_device_specific_cmdline-API.patch
Add a board API callback that allows a device-specific
commandline area to be created at the time the kernel
commandline is being composed.

Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-03 18:06:38 +00:00
Andy Green
72ecb60392 qi-add-hex-sprintf-type-functions.patch
We need to print hex into string buffers now, only in
phase 2

Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-03 18:06:37 +00:00
Andy Green
dd2344a9c7 qi-add-post-serial-init-api.patch
It can be useful to have a device API that can print device-specific things
after serial is initialized.

Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-03 18:06:36 +00:00
Paul Fertser
6940235ae6 Add a dedicated function to query debug action to board_api
On the devices where we have only 2 physical buttons, one of those buttons
(i.e. POWER) is connected directly to PMU. The other button (AUX) is
connected directly to S3C pin and we can get its state immediately, it is
currently used to skip a boot possibility. To allow user to debug boot
problems we can use the POWER button, but we cannot poll for it too many
times as it slows down the boot considerably, therefore a dedicated
function is needed.
2009-01-19 01:37:09 +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
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
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
46fd1c005b qi-commandline-split.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:45 +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
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
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
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
72f081daa8 qi-split-boards-smdk6410-gta03.patch
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
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
fe884c6d10 qi-add-initrd-support.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:41 +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
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
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
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
1b043e0fe5 add-print-decimal.patch
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
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
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
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
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
957929aeaf add-nand-fixed-partition-layout.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28 10:16:35 +00: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
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
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
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