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

11 Commits

Author SHA1 Message Date
Christopher Hall
683fc5a92a My revised version of the partition tool
The fdisk and mkfs was factored out into a shell function
so that it is easier to create dirfferent partition layouts.

The default case was left the same as the original script

The partitions can be specified as percentages of the
available space (after Qi reserved space has been taken out)
by providing a comma separated list of values:
e.g. 25,0,50
Which would create partitions 1 and 3 with 25% and 50%
of the usable capacity. Partitions 2 and 4 would not be
assigned.

Signed-off-by: Christopher Hall <hsw@openmoko.com>
2009-03-11 07:32:15 +00:00
Christopher Hall
3b3f2857a9 Possible mistake in qi/6410-partition.sh
Hello Andy,

I am in the process of making a modified 6410-partition.sh
and I wonder if there is a mistake in the VFAT partition size:

Shouldn't the "+ $REARSECTORS" in the FATSECTORS calculation
be a subtraction,  otherwise the backupfs will overlap the
space reserved for Qi at the end of the SD Card.

Please look at this dif to see what I mean:
2009-03-09 12:00:57 +00:00
Andy Green
e73e47ab93 qi-3d7k-audit-gpio.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-07 07:35:25 +00:00
Werner Almesberger
1cb7b0b53c simplify QI GTA03 boot-SD size discovery
This patch uses fdisk instead of dmesg to determine the size of
the uSD card. This should be less fragile and is much simpler
than the previous solution.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-02-28 11:04:47 +00:00
Werner Almesberger
0363beaa02 [QI] make GTA03 boot-SD on Debian
6410-partition-sd.sh didn't handle Debian, which is just like Ubuntu 7.
(Tested on "lenny". YMMV.)

Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-02-25 15:09:43 +00:00
Andy Green
c9033e2d91 fix-6410-partition-initial-offset.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-19 03:30:56 +00:00
Andy Green
f055e1e9a1 qi-change-partitioning.patch
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-19 01:37:08 +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
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
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
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