Re: qi-bootmenu-0.1 for GTA02

2010-05-21 Thread Jens Seidel
On Tue, May 18, 2010 at 01:00:01AM +0200, Marc Andre Tanner wrote:
 On Sun, May 16, 2010 at 11:54:50AM +0200, Jens Seidel wrote:
  On Sat, May 15, 2010 at 11:20:03PM +0200, Torfinn Ingolfsen wrote:
   Still, the AUX press is needed.
  I can confirm this. I also use the patched Qi and have to press AUX.
 The idea was to only show the menu upon AUX press. If you want the bootmenu
 everytime then 'hide' the other regular partitions via noboot-GTA02 files.

OK, that's simple to do. Nevertheless I wonder where this idea comes from?
Why not always display the menu by default? (There could be a default boot
without AUX press after some seconds of no action instead of waiting for
user input.)
 
  Questions:
   flash partitions are not scanned? Why?
 
 The reason is that it was too slow to mount the jffs2 filesystem (it almost
 doubled the time from boot up to the menu). ubifs should be faster but I 
 haven't
 really tried it. 

I would have no problem waiting one or two seconds longer.
Currently I have to boot into NAND from the NOR bootloader as the bootmenu
doesn't provides it, right?
 
   Is it possible to use better names (Debian or maybe 1. partition SD
card) in the boot menu instead of /dev/mtd...
 
 You can put an image to /boot/bootmenu.png which will be displayed along
 the partition name. I could probably read  display the partition label
 if set. Patches welcome.

OK.
  
  Remarks:
   http://www.brain-dump.org/projects/qi-bootmenu/#faq
   After downloading the kernel and bootloader they can be flashed to your
device like any other distribution with dfu-util.
   is confusing. qi-bootmenu is *no* real distribution but just a kernel image
   (with embedded initrd). Reading this sentence I was not sure whether I need
   to create a new partition somewhere for the boot loader.
 
 The bootloader and kernel can be flashed as you would do with every other
 bootloader / kernel that you want to install into NAND flash. Better?

Yep, it is.
 
   The initscripts of qi-bootmenu-system are checking /proc/cmdline for a
variable called qi-bootmenu-args and pass it to qi-bootmenu upon it's
execution. This can be used to tweak the behaviour of the boot menu
application via first stage bootloader arguments. Currently the flash
partition /dev/mtdblock6 is ignored using this method.
  
   Mhm, how can I set a kernel command line for a kernel started from
   /dev/mtdblock6? I also do not understand the last sentence, probably
   it mentions the trouble I'm seeing.
 
 You can change the kernel command line by creating/modifying the file
 under /boot/append-GTA02 in the relevant partition.

But /dev/mtdblock6 doesn't contain a filesystem!!? I don't see a way to
modify the parameters for qi-bootmenu's kernel.

 However the above
 paragraph means something different. The first stage bootloader passes:
 
  qi-bootmenu-args=\-i /dev/mtdblock6\

Ah, thanks. This is not configurable but hardcoded, right? In this case I
suggest to drop the info from the end user docu.
 
 to the initramfs kernel where the initscript reads it and passes it on
 to the qi-bootmenu

Yep, I assumed this but as one has no way to change the parameter without
recompiling src/cpu/s3c2442/gta02.c it's a useless information for me ...
 
 which ignores the flash partition.

OK.
 
Jens

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-18 Thread Jose Luis Perez Diez
A Dimarts 18 Maig 2010 00:12:14, Torfinn Ingolfsen va escriure:
 I don't know, the last paragraph of the README is:
 The NAND partition is ignored by the bootmenu because Qi will pass the
 required parameters on the kernel command line this reduces boot time
 because mounting an jffs2 file system is slow.
 I am not really sure what meaning the author is trying to get to the reader
 here.
 

Qi-bootmenu can only boot kernels residing in directory /boot of a file 
system.

The modified Qi-bootloader boots first from NAND kernel partition.

When Qi-bootmenu is installed on NAND you can have the NAND rootfs mounted on 
is booting from a kernel on a uSD ext2/3 partition with suitable 
/boot/append-GTA02/. You can also chroot to it after uSD boot

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-18 Thread Stefan Monnier
  flash partitions are not scanned? Why?

Because reading even just a single file of a jffs2 partition requires
a lot of time (typically proportional to the size of the jffs2
partition).


Stefan


PS: Think of a jffs2 partition as a cyclic tape: to find a file, we
first need to find the beginning of the tape which could be anywhere, so
it requires scanning the whole tape.
There are many ways to optimize this search, but all flash based file
systems have to struggle with this problem.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-17 Thread Torfinn Ingolfsen
Hi,

On Sun, May 16, 2010 at 11:54 AM, Jens Seidel jenssei...@users.sf.netwrote:

 Questions:
  flash partitions are not scanned? Why?


I don't know, the last paragraph of the README is:
The NAND partition is ignored by the bootmenu because Qi will pass the
required parameters on the kernel command line this reduces boot time
because mounting an jffs2 file system is slow.
I am not really sure what meaning the author is trying to get to the reader
here.


-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-16 Thread Jens Seidel
On Sat, May 15, 2010 at 11:20:03PM +0200, Torfinn Ingolfsen wrote:
 On Sat, May 15, 2010 at 4:24 PM, Dave Ball openm...@underhand.org wrote:
  This is the case if you have installed Marc's patched Qi.
 
 Which is this one , yes?
 http://www.brain-dump.org/projects/qi-bootmenu/qi-s3c2442-bootmenu-0.1.udfu
 
  If your freerunner is booting from SD card by default, and only
  displaying the bootmenu when pressing AUX while booting, then you're
  still using standard qi rather than the patched version.
 
 But how can it be, when I have installed the above qi?
 I even downloaded and installed it again, just to make sure.
 Still, the AUX press is needed.

I can confirm this. I also use the patched Qi and have to press AUX.
Nevertheless it doesn't matter when I press AUX, it's not so complicated as
when one tries to skip the first boot partition :-)

Questions:
 flash partitions are not scanned? Why?
 Is it possible to use better names (Debian or maybe 1. partition SD
  card) in the boot menu instead of /dev/mtd...

Remarks:
 http://www.brain-dump.org/projects/qi-bootmenu/#faq
 After downloading the kernel and bootloader they can be flashed to your
  device like any other distribution with dfu-util.
 is confusing. qi-bootmenu is *no* real distribution but just a kernel image
 (with embedded initrd). Reading this sentence I was not sure whether I need
 to create a new partition somewhere for the boot loader.

 The initscripts of qi-bootmenu-system are checking /proc/cmdline for a
  variable called qi-bootmenu-args and pass it to qi-bootmenu upon it's
  execution. This can be used to tweak the behaviour of the boot menu
  application via first stage bootloader arguments. Currently the flash
  partition /dev/mtdblock6 is ignored using this method.

 Mhm, how can I set a kernel command line for a kernel started from
 /dev/mtdblock6? I also do not understand the last sentence, probably
 it mentions the trouble I'm seeing.

  http://repo.or.cz/w/qi-bootmenu-system.git/blob/HEAD:/flash-kernel.sh
  tries to flash uImage-$MACHINE.bin but
  http://www.brain-dump.org/projects/qi-bootmenu/#download
  provides uImage-GTA02-bootmenu-0.1.bin.

I will continue testing this bootloader. I like it already but missing flash
support is not nice.

Jens

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-05-15 Thread Al Johnson
On Friday 14 May 2010, Torfinn Ingolfsen wrote:
 Hello,
 I finally found time to test this.
 Without a SD card in my FR, I only get the power off button. Cool!
 I hav a SD card partitioned like this:
 /dev/mmcblk0p1 - vfat, for storage
 /dev/mmcblk0p2 - ext3,  QtMoko V22
 /dev/mmcblk0p3 - ext3, QtMoko V23
 /dev/mmcblk0p4 - swap
 
 with the SD card inserted, I see no bootmenu - it just boots /dev/mmcblk0p2
 every time.
 What's wrong?

You forgot to tell Qi not to boot from the SD partitions. See:
http://wiki.openmoko.org/wiki/Qi#Files

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-05-15 Thread Torfinn Ingolfsen
Hi,

On Sat, May 15, 2010 at 11:33 AM, Al Johnson
openm...@mazikeen.demon.co.ukwrote:

 On Friday 14 May 2010, Torfinn Ingolfsen wrote:
  Hello,
  I finally found time to test this.
  Without a SD card in my FR, I only get the power off button. Cool!
  I hav a SD card partitioned like this:
  /dev/mmcblk0p1 - vfat, for storage
  /dev/mmcblk0p2 - ext3,  QtMoko V22
  /dev/mmcblk0p3 - ext3, QtMoko V23
  /dev/mmcblk0p4 - swap
 
  with the SD card inserted, I see no bootmenu - it just boots
 /dev/mmcblk0p2
  every time.
  What's wrong?

 You forgot to tell Qi not to boot from the SD partitions. See:
 http://wiki.openmoko.org/wiki/Qi#Files

 According to the readme[1] on the qi-bootmenu site, it is not necessary to
mark the SD paryitions as not bootable:
The patches which are applied are thus not strictly necessary but they have


 a few advantages over vanilla Qi.

  - You won't have to mark your SD-card partition as not bootable via
noboot-$MACHINE files

I found out that I could get the boot menu to show up if I did the AUX
press move, but IMHO, that defeats the puprpose of the boot loader.
I want it to show up automatically, each time I boot my FR.

References:
1) http://repo.or.cz/w/qi-bootmenu-system.git/blob_plain/HEAD:/README
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-15 Thread Dave Ball
Hi Torfinn

  with the SD card inserted, I see no bootmenu - it just boots
 /dev/mmcblk0p2
  every time.
  What's wrong?

 You forgot to tell Qi not to boot from the SD partitions. See:
 http://wiki.openmoko.org/wiki/Qi#Files

 According to the readme[1] on the qi-bootmenu site, it is not 
 necessary to mark the SD paryitions as not bootable:

This is the case if you have installed Marc's patched Qi.  The 
qi-bootmenu results in a two step boot process:
- firstly qi-bootloader boots and executes the linux kernel in NAND.  
This includes an initramfs with the qi-bootmenu userspace
- That userspace then scans SD card partitions, presents the menu and 
proceeds to boot whichever you select.

So to get the bootmenu working properly you need to make sure Qi boots 
the kernel/initramfs in NAND, and not your SD card partitions.  You can 
make sure qi boots from NAND by either:
 - installing marcs patched qi which ignores the SD card completely or
 - marking your partitions as noboot as Al suggested.

If your freerunner is booting from SD card by default, and only 
displaying the bootmenu when pressing AUX while booting, then you're 
still using standard qi rather than the patched version.

hth.

Dave

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qi-bootmenu-0.1 for GTA02

2010-05-15 Thread Torfinn Ingolfsen
Hi,

On Sat, May 15, 2010 at 4:24 PM, Dave Ball openm...@underhand.org wrote:


 This is the case if you have installed Marc's patched Qi.


Which is this one , yes?
http://www.brain-dump.org/projects/qi-bootmenu/qi-s3c2442-bootmenu-0.1.udfu


 If your freerunner is booting from SD card by default, and only
 displaying the bootmenu when pressing AUX while booting, then you're
 still using standard qi rather than the patched version.


But how can it be, when I have installed the above qi?
I even downloaded and installed it again, just to make sure.
Still, the AUX press is needed.
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-05-14 Thread Torfinn Ingolfsen
Hello,
I finally found time to test this.
Without a SD card in my FR, I only get the power off button. Cool!
I hav a SD card partitioned like this:
/dev/mmcblk0p1 - vfat, for storage
/dev/mmcblk0p2 - ext3,  QtMoko V22
/dev/mmcblk0p3 - ext3, QtMoko V23
/dev/mmcblk0p4 - swap

with the SD card inserted, I see no bootmenu - it just boots /dev/mmcblk0p2
every time.
What's wrong?

On Sat, Feb 13, 2010 at 3:25 PM, Marc Andre Tanner
openm...@brain-dump.orgwrote:

 Hi,

 I finally found the time to package up my current state of things which
 works ok here at least for GTA02. Kernel + Qi can be downloaded from:

  http://www.brain-dump.org/projects/qi-bootmenu/

 It would be nice if the various distros out there could place their
 kernels in /boot/uImage-$MACHINE.bin where $MACHINE is either GTA01
 or GTA02. This makes sure that they will be detected by qi-bootmenu.
 You can optionally also place a logo in /boot/bootlogo.png which
 will be displayed along the partition name.

 As for GTA01 support I'm playing around with a 2.6.32 based kernel
 but with the initramfs embedded the result is to big ~2.4M. So we
 need to shrink it by 400K to fit into the kernel partition. Not yet
 sure how this should be done without either losing features (usb
 network access for example) or repartitioning NAND (dropping the
 uboot splash screen partition) but I personally don't want to take
 the latter route, so we will see...

 Thanks,
 Marc

 --
  Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




-- 
mvh
Torfinn
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-03-05 Thread Marc Andre Tanner
On Mon, Feb 15, 2010 at 11:21:23AM +0100, Jose Luis Perez Diez wrote:
 A Dissabte, 13 de de febrer de 2010 14:25:41, Marc Andre Tanner va escriure:
  Hi,
  
  I finally found the time to package up my current state of things which
  works ok here at least for GTA02. Kernel + Qi can be downloaded from:
  
   http://www.brain-dump.org/projects/qi-bootmenu/
  
  It would be nice if the various distros out there could place their
  kernels in /boot/uImage-$MACHINE.bin where $MACHINE is either GTA01
  or GTA02. This makes sure that they will be detected by qi-bootmenu.
  You can optionally also place a logo in /boot/bootlogo.png which
  will be displayed along the partition name.
 
 I found it nice but i sugest that it search for other images names  tipes 
 (zImage).

This should already be the case the boot app will first look for uImage-$MACHINE
and then try zImage-$MACHINE.

Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-03-05 Thread Marc Andre Tanner
On Sat, Feb 13, 2010 at 02:25:41PM +0100, Marc Andre Tanner wrote:
 As for GTA01 support I'm playing around with a 2.6.32 based kernel
 but with the initramfs embedded the result is to big ~2.4M. So we 
 need to shrink it by 400K to fit into the kernel partition. Not yet
 sure how this should be done without either losing features (usb 
 network access for example)

Ok it turned out that there was some bloat hiding both in userspace 
(freetype comes to mind) and also in the kernel. I am now able to
generate a kernel+initramfs which fits into the 2M GTA01 NAND kernel
partition. However the touchscreen doesn't yet work, it might be a
calibration issue or my kernel config is incomplete or I broke something
while rebasing the kernel to 2.6.32. Anyway this needs more time to
investigate...

Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-15 Thread Marc Andre Tanner
On Sat, Feb 13, 2010 at 08:32:15PM +0100, Torfinn Ingolfsen wrote:
 Hi,
 
 On Sat, Feb 13, 2010 at 2:25 PM, Marc Andre Tanner
 openm...@brain-dump.orgwrote:
 
 
  I finally found the time to package up my current state of things which
  works ok here at least for GTA02. Kernel + Qi can be downloaded from:
 
 
 Extremely cool!
 
 So, for flashing, when my NAND looks like this:
  neo:~# cat /proc/mtd
 dev:size   erasesize  name
 mtd0: 0020 0001 physmap-flash.0
 mtd1: 0004 0002 qi
 mtd2: 0004 0002 depr-ub-env
 mtd3: 0080 0002 kernel
 mtd4: 000a 0002 depr
 mtd5: 0004 0002 identity-ext2
 mtd6: 0f6a 0002 rootfs
 
 I should flash the bootloader to the partition named qi right? Like:
 dfu-util -a qi -R -D qi-s3c2442-bootmenu-0.1.udfu
 and the kernel like so: dfu-util -a kernel -R -D
 uImage-GTA02-bootmenu-0.1.bin
 Is this correct?

Yes looks good.

Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-15 Thread Marc Andre Tanner
On Sat, Feb 13, 2010 at 04:26:18PM +0100, Petr Vanek wrote:
 On Sat, 13 Feb 2010 14:25:41 +0100
 Marc Andre Tanner openm...@brain-dump.org (MAT) wrote:
 
 Hi,
 
 I finally found the time to package up my current state of things which
 works ok here at least for GTA02. Kernel + Qi can be downloaded from:
 
  http://www.brain-dump.org/projects/qi-bootmenu/
 
 
 thank you Marc.
 
 i installed it when you posted it, tested and it works. Now after
 resume from suspend of my SHR on 1st partition on uSD, i got WSOD...
 haven$t seen my WSOD it for about a year now...

I have also seen it a few times during development with an older SHR
image, couldn't reproduce it reliably though. I will check it again.

Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-15 Thread Petr Vanek
On Mon, 15 Feb 2010 09:41:28 +0100
Marc Andre Tanner openm...@brain-dump.org (MAT) wrote:

On Sat, Feb 13, 2010 at 04:26:18PM +0100, Petr Vanek wrote:
 On Sat, 13 Feb 2010 14:25:41 +0100
 Marc Andre Tanner openm...@brain-dump.org (MAT) wrote:
 
 Hi,
 
 I finally found the time to package up my current state of things
 which works ok here at least for GTA02. Kernel + Qi can be
 downloaded from:
 
  http://www.brain-dump.org/projects/qi-bootmenu/
 
 
 thank you Marc.
 
 i installed it when you posted it, tested and it works. Now after
 resume from suspend of my SHR on 1st partition on uSD, i got WSOD...
 haven$t seen my WSOD it for about a year now...

I have also seen it a few times during development with an older SHR
image, couldn't reproduce it reliably though. I will check it again.

the same here - couldn't reproduce. I have only 1 partition on my card
(so the menu is useless atm for me but i am willing to test) and on
some occasions the partition was not recognized, meaning i ended up
only with Power off button. Also, i tried logging in via ssh but
couldn't run fsck as it claimed (sorry, no proper log saved) fsck.auto
not found. Also, on fsck -t ext2 it reported couldn't read mtab.

hope this helps,

kind regards
Petr






___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-15 Thread Jose Luis Perez Diez
A Dissabte, 13 de de febrer de 2010 14:25:41, Marc Andre Tanner va escriure:
 Hi,
 
 I finally found the time to package up my current state of things which
 works ok here at least for GTA02. Kernel + Qi can be downloaded from:
 
  http://www.brain-dump.org/projects/qi-bootmenu/
 
 It would be nice if the various distros out there could place their
 kernels in /boot/uImage-$MACHINE.bin where $MACHINE is either GTA01
 or GTA02. This makes sure that they will be detected by qi-bootmenu.
 You can optionally also place a logo in /boot/bootlogo.png which
 will be displayed along the partition name.

I found it nice but i sugest that it search for other images names  tipes 
(zImage).

I've tested it on sd in an ext3 partition (on the first boot sees 2 sd 
partitions with bootable images ( itself  shr-u) booting itself gives a menu 
with just one option ( poweroff ) booting shr-u that boots fine with Qi gives 
me a kernel panic loop (it looks like watchdog is restarting kernel)

Booting it with nor u-boot from a fat partition on mmcblk0p1 recognizes my 
shr-u install on mmcblk0p2 and boots ok ( also I seem to no get WSD)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-13 Thread Marc Andre Tanner
Hi,

I finally found the time to package up my current state of things which
works ok here at least for GTA02. Kernel + Qi can be downloaded from:

 http://www.brain-dump.org/projects/qi-bootmenu/

It would be nice if the various distros out there could place their 
kernels in /boot/uImage-$MACHINE.bin where $MACHINE is either GTA01
or GTA02. This makes sure that they will be detected by qi-bootmenu.
You can optionally also place a logo in /boot/bootlogo.png which 
will be displayed along the partition name.

As for GTA01 support I'm playing around with a 2.6.32 based kernel
but with the initramfs embedded the result is to big ~2.4M. So we 
need to shrink it by 400K to fit into the kernel partition. Not yet
sure how this should be done without either losing features (usb 
network access for example) or repartitioning NAND (dropping the
uboot splash screen partition) but I personally don't want to take
the latter route, so we will see...

Thanks,
Marc 

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-13 Thread Petr Vanek
On Sat, 13 Feb 2010 14:25:41 +0100
Marc Andre Tanner openm...@brain-dump.org (MAT) wrote:

Hi,

I finally found the time to package up my current state of things which
works ok here at least for GTA02. Kernel + Qi can be downloaded from:

 http://www.brain-dump.org/projects/qi-bootmenu/


thank you Marc.

i installed it when you posted it, tested and it works. Now after
resume from suspend of my SHR on 1st partition on uSD, i got WSOD...
haven$t seen my WSOD it for about a year now...

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] qi-bootmenu-0.1 for GTA02

2010-02-13 Thread Torfinn Ingolfsen
Hi,

On Sat, Feb 13, 2010 at 2:25 PM, Marc Andre Tanner
openm...@brain-dump.orgwrote:


 I finally found the time to package up my current state of things which
 works ok here at least for GTA02. Kernel + Qi can be downloaded from:


Extremely cool!

So, for flashing, when my NAND looks like this:
 neo:~# cat /proc/mtd
dev:size   erasesize  name
mtd0: 0020 0001 physmap-flash.0
mtd1: 0004 0002 qi
mtd2: 0004 0002 depr-ub-env
mtd3: 0080 0002 kernel
mtd4: 000a 0002 depr
mtd5: 0004 0002 identity-ext2
mtd6: 0f6a 0002 rootfs

I should flash the bootloader to the partition named qi right? Like:
dfu-util -a qi -R -D qi-s3c2442-bootmenu-0.1.udfu
and the kernel like so: dfu-util -a kernel -R -D
uImage-GTA02-bootmenu-0.1.bin
Is this correct?

It would be nice if the various distros out there could place their
 kernels in /boot/uImage-$MACHINE.bin where $MACHINE is either GTA01
 or GTA02. This makes sure that they will be detected by qi-bootmenu.


Seems QtMoko is already doing this:
neo:~# ls -l /boot
total 1818
-rw-r--r-- 1 root root 1852364 Oct  2 21:28 uImage-GTA02.bin


You can optionally also place a logo in /boot/bootlogo.png which
 will be displayed along the partition name.


Cool. :)
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community