Re: [Debian] Problem with qi and sd-card

2008-12-30 Thread Fox Mulder
xiangfu wrote:
 Hi
 
 Fox Mulder wrote:
 Today i changed from u-boot to qi from [1] for my GTA02. I added /boot
 to my rootfs and copied the kernel as uImage-GTA02.bin in it.
 For my first try i added the append-GTA02 with console=tty0 loglevel=8
 to see if it works.
 After this worked very good to boot debian from my sd-card i removed the
 append-GTA02 file to speed up the boot process a bit. But now i have two
 lines of output which irritates me a bit.

 -
 s3c2410_udc: debugfs dir creation failed -19
 power_supply bat: driver faild to report 'status' properly
 -

 After ~30 seconds X starts and everything goes on as expected.
 Therefore i think this message is no problem, but i want to know if i
 had made something wrong?

 Also interesting is that the message says s3c2410 even that i flashed
 the s3c2442 version for GTA02.

 And another thing is that i don't know how to switch to nand booting
 when powerup my freerunner. At the moment i only use debian from
 sd-card, but for testing purpose i have 2008.12 installed on nand. But
 now with qi i can't boot from nand as long as i have my sd-card put it.
 I think i read somewhere that it is possible to skip a boot partition in
 qi but i can't find it anymore. :/
From Qi README Line 107:
 
  - You can disable a partition for boot by creating
 /boot/noboot-devicename,
 eg, /boot/noboot-GTA02, it will skip it and check the next partition

That's right, but i don't want to disable the partition by a file just
to boot another partition. ;)
I want to do it on the fly while starting as described with the AUX
button. I only have to test it a bit further to get it to work with this
button.

Ciao,
 Rainer

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


Re: [Debian] Problem with qi and sd-card

2008-12-29 Thread Paul Fertser
Hi,

Fox Mulder quakem...@gmx.net writes:
 And another thing is that i don't know how to switch to nand booting
 when powerup my freerunner. At the moment i only use debian from
 sd-card, but for testing purpose i have 2008.12 installed on nand. But
 now with qi i can't boot from nand as long as i have my sd-card put it.
 I think i read somewhere that it is possible to skip a boot partition in
 qi but i can't find it anymore. :/

Press AUX while you see the red LED (first time). FR will vibrate to
indicate it skips this boot possibility and will switch to the next
one.

As to your console messages, i think they should be considered
non-essential for now.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


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


Re: [Debian] Problem with qi and sd-card

2008-12-29 Thread Radek Polak

 now with qi i can't boot from nand as long as i have my sd-card put it.
   
You can still boot from NOR. Power off your phone. Press and hold AUX 
button, then press POWER button. You will get to u-boot in NOR wich can 
boot your 2008.12.

Radek

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


Re: [Debian] Problem with qi and sd-card

2008-12-29 Thread Fox Mulder
Paul Fertser wrote:
 Hi,
 
 Fox Mulder quakem...@gmx.net writes:
 And another thing is that i don't know how to switch to nand booting
 when powerup my freerunner. At the moment i only use debian from
 sd-card, but for testing purpose i have 2008.12 installed on nand. But
 now with qi i can't boot from nand as long as i have my sd-card put it.
 I think i read somewhere that it is possible to skip a boot partition in
 qi but i can't find it anymore. :/
 
 Press AUX while you see the red LED (first time). FR will vibrate to
 indicate it skips this boot possibility and will switch to the next
 one.

After i power up with the POWER button the red led flashes shortly and
it vibrated one short time without any interaction from my side. Maybe
this comes from the fact that my first bootable partition is the second
one on sd-card. But when i press the AUX button the red led flashes
again but it didn't vibrate and still boots from sd-card.

Is there any specific time frame in which i have to press the AUX button?

And is there any better documentation to the possible qi functions than
in the wiki because it lacks for example the whole AUX button functionality?

Radek Polak wrote:
 You can still boot from NOR. Power off your phone. Press and hold AUX
 button, then press POWER button. You will get to u-boot in NOR which
 can boot your 2008.12.

Your are right, this is still possible and i totally forgot about this
option. But it would be nice if i could do this with the same bootloader
(qi). :)

Ciao,
 Rainer

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


Re: [Debian] Problem with qi and sd-card

2008-12-29 Thread Paul Fertser
Hi,

Fox Mulder quakem...@gmx.net writes:
 Paul Fertser wrote:
 Fox Mulder quakem...@gmx.net writes:
 And another thing is that i don't know how to switch to nand booting
 when powerup my freerunner. At the moment i only use debian from
 sd-card, but for testing purpose i have 2008.12 installed on nand. But
 now with qi i can't boot from nand as long as i have my sd-card put it.
 I think i read somewhere that it is possible to skip a boot partition in
 qi but i can't find it anymore. :/
 
 Press AUX while you see the red LED (first time). FR will vibrate to
 indicate it skips this boot possibility and will switch to the next
 one.

 After i power up with the POWER button the red led flashes shortly and
 it vibrated one short time without any interaction from my side. Maybe
 this comes from the fact that my first bootable partition is the second
 one on sd-card. 

Yes, that's correct.

 But when i press the AUX button the red led flashes
 again but it didn't vibrate and still boots from sd-card.

 Is there any specific time frame in which i have to press the AUX
 button?

I think you have to press the button during the read.  The red led
will be turned on trying to mount partition, turned off on error of
any kind (with vibration) or on starting of kernel pull, turned on
again after the kernel is fully loaded to memory, turned off just
before starting the kernel.

 And is there any better documentation to the possible qi functions than
 in the wiki because it lacks for example the whole AUX button
 functionality?

Qi source, of course ;)

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


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


Re: [Debian] Problem with qi and sd-card

2008-12-29 Thread xiangfu
Hi

Fox Mulder wrote:
 Today i changed from u-boot to qi from [1] for my GTA02. I added /boot
 to my rootfs and copied the kernel as uImage-GTA02.bin in it.
 For my first try i added the append-GTA02 with console=tty0 loglevel=8
 to see if it works.
 After this worked very good to boot debian from my sd-card i removed the
 append-GTA02 file to speed up the boot process a bit. But now i have two
 lines of output which irritates me a bit.
 
 -
 s3c2410_udc: debugfs dir creation failed -19
 power_supply bat: driver faild to report 'status' properly
 -
 
 After ~30 seconds X starts and everything goes on as expected.
 Therefore i think this message is no problem, but i want to know if i
 had made something wrong?
 
 Also interesting is that the message says s3c2410 even that i flashed
 the s3c2442 version for GTA02.
 
 And another thing is that i don't know how to switch to nand booting
 when powerup my freerunner. At the moment i only use debian from
 sd-card, but for testing purpose i have 2008.12 installed on nand. But
 now with qi i can't boot from nand as long as i have my sd-card put it.
 I think i read somewhere that it is possible to skip a boot partition in
 qi but i can't find it anymore. :/
From Qi README Line 107:

 - You can disable a partition for boot by creating
/boot/noboot-devicename,
eg, /boot/noboot-GTA02, it will skip it and check the next partition

 
 Ciao,
  Rainer
 
 [1] http://people.openmoko.org/andy/qi-s3c2442-master_a2d11c4dd18c9517.udfu
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

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