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: [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