Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-24 Thread roguemoko
Paul wrote:
 roguem...@roguewrt.org wrote:
 When I feel adventurous again (and I have more time again), I may play 
 with it some more.
 
 Well when you do, remove your SD card first. I'm almost positive you 
 would have at least been able to boot otherwise.
 ...
 My problem can be fixed with a few text files though :)
   
 
 My problem was fixed by putting u-boot back. :-)

Of course :) ... TBH I prefer u-boot, mainly because I know how to 
customise it and tri-boot with ease :)

 But thank you for the tips, I can use them next time I feel up to Qi!

I think Qi will be great once I've decided on a specific distro and I 
don't have the requirement of needing to select a different one on a 
regular basis. The boot speed is negligible when you have to keep 
removing the battery due to the wrong kernel loading :)

Sarton

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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-23 Thread roguemoko
Paul wrote:
 Richard Guest wrote:
 What do you have on the SD card?
 Qi tries to boot kernels from the the first three partitions on SD 
 first...
 
 On the SD-card there's not much. A few directories with small stuff.
 I read on the wiki that Qi first tries to boot from the first 3 
 partitions on the card and after that from flash memory. It's the latter 
 that does not seem to work quite that well, at least on my FR.
 
 When I feel adventurous again (and I have more time again), I may play 
 with it some more.


Well when you do, remove your SD card first. I'm almost positive you 
would have at least been able to boot otherwise.

When you have it booting with no SD card, then try adding the card etc.

 From what you have said, it sounds like Qi is having issues probing the 
SD card and isn't moving on to the flashed kernel. This is one reason I 
don't use Qi. I can't quite get the timing right for skipping partitions 
  and nearly always forget to even try.

My problem can be fixed with a few text files though :)

Sarton

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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-23 Thread roguemoko
Carl Lobo wrote:
  From what you have said, it sounds like Qi is having issues probing the
 SD card and isn't moving on to the flashed kernel. This is one reason I
 don't use Qi. I can't quite get the timing right for skipping partitions
  and nearly always forget to even try.
 
 I use the NOR (AUX + Power) boot to boot the NAND and Qi to boot the
 SD card. Useful workaround for people that can't get the timing right
 ;)

Actually, that's what I do presently :)

The only problem I see with that is, any u-boot facilities that have 
been added since are gone. How this effects operation I'm unsure. I'm 
yet to have any real issues with using it this way.

I think power management and other tweaks may be effected but it has yet 
to cause me any dramas ...

Sarton

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


Re: (Qi) Qi or bust?

2009-02-21 Thread Paul

 qi:   qi-s3c2442-...
 kernel:   uImage-2.6.28...
 image:fso-paroli-image-om-gta02.jffs2

 Boot into NOR and connect USB. Then run these commands:
   

Sander was so kind to provide this information, and at first it looked 
that this was actually working. I put qi and the android-files on the 
FR. After booting I saw a few messages from Android that something was 
not right. I thought that was because the SD-card is not set up the way 
it should be, so I then flashed:

qi-s3c2442-master-hist_1665e43677c005a8.udfu
uImage-om-gta02-latest.bin (as uImage.bin)
shr-lite-image-om-gta02.jffs2

Now, after a hard reboot (battery removed), I see:
RCU detected CPU 0 stall
then a lot of errors, ending with an ECC error
A kernel panic that tries to kill init
and then it keeps telling me about CPU 0 stall, until I take out the 
battery again.

Have I now terminally murdered my FreeRunner?


-- 
Boy, if Bill Gates had a nickle for every time Windows crashed
Oh, wait, he does!

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-21 Thread Paul
What do I do wrong here?

I downloaded the files Sander suggested. I fed them to my flash-script.

Note:

$kernel contains uImage-2.6.28-oe1+gitr3
4240a1c06ae36180dee695aa25bbae869b2aa26-r3-om-gta02.bin

$image contains fso-paroli-image-om-gta02.jffs2

The script-commands I used:

dfu-util -a u-boot -R -D qi-s3c2442-master-hist_1665e43677c005a8.udfu
sleep 2
dfu-util -a kernel -R -D $kernel
sleep 2
dfu-util -a rootfs -R -D $image



The output:

dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x:0x...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1, 
name=u-boot
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=567
Starting download: [##] 
finished
!
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x:0x...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=63, cfg=0, intf=0, alt=3, 
name=kernel
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=39604
Starting download: [##] 
finished
!
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x:0x...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=65, cfg=0, intf=0, alt=6, 
name=rootfs
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=1740636
Starting download: [##] 
finished
!
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
[p...@merlijn Freerunner]$


This all looks fine and dandy. But when I reboot (or pull the battery 
and stick that in again), all I see are the errors I already described. 
The CPU 0 stall, the EEC errors, and so on.

I really feel that Qi was not a good idea. At least, with u-boot as it 
was, I had a reasonably good phone using SHR. I also have the uneasy 
feeling that there is no undo from Qi, or am I wrong?

Paul

-- 
Boy, if Bill Gates had a nickle for every time Windows crashed
Oh, wait, he does!

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-21 Thread Charles-Henri Gros
 I really feel that Qi was not a good idea. At least, with u-boot as it 
 was, I had a reasonably good phone using SHR. I also have the uneasy 
 feeling that there is no undo from Qi, or am I wrong?

You're wrong :)

I installed Qi once, but reflashing u-boot on top of it worked just fine.

-- 
Charles-Henri


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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-21 Thread Richard Guest
2009/2/22 Paul p...@nlpagan.net

 What do I do wrong here?


Nothing wrong with the flashing, as far as I can tell.

What do you have on the SD card?
Qi tries to boot kernels from the the first three partitions on SD first...

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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-21 Thread Paul

 You're wrong :)

 I installed Qi once, but reflashing u-boot on top of it worked just fine

Sometimes it is good to be wrong... :-)
Glad to know there's a way back!
Paul

-- 
Every society honors its live conformists
and its dead troublemakers.
-Mignon McLaughlin

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust, or: what do I do wrong?

2009-02-21 Thread Paul
Richard Guest wrote:
 2009/2/22 Paul p...@nlpagan.net mailto:p...@nlpagan.net

 What do I do wrong here?


 Nothing wrong with the flashing, as far as I can tell.

 What do you have on the SD card?
 Qi tries to boot kernels from the the first three partitions on SD 
 first...

On the SD-card there's not much. A few directories with small stuff.
I read on the wiki that Qi first tries to boot from the first 3 
partitions on the card and after that from flash memory. It's the latter 
that does not seem to work quite that well, at least on my FR.

When I feel adventurous again (and I have more time again), I may play 
with it some more.

Thanks!
Paul

-- 
Every society honors its live conformists
and its dead troublemakers.
-Mignon McLaughlin

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


(Qi) Qi or bust?

2009-02-20 Thread Paul

I flashed Qi on my Freerunner.

I used qi-s3c2442-master-hist_1665e43677c005a8.udfu and the command

dfu-util -a u-boot -R -D qi-s3c2442-master-hist_1665e43677c005a8.udfu as I 
found on the wiki.

Now when I boot the FR, I keep seeing a set of errors that keep 
repeating. Most of them state that Magic  not found ???  (too small 
and too fast to read properly).

Help? Or something?

Paul

-- 
Marriage is love. Love is blind.
Therefore, marriage is an institution for the blind.

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust?

2009-02-20 Thread Paul
Paul wrote:
 Now when I boot the FR, I keep seeing a set of errors that keep 
 repeating. Most of them state that Magic  not found ???  (too small 
 and too fast to read properly).
   

Oh... wait... I see the readme only now... it also needs a kernel 
image... sigh
Will put kernel on and see what happens.

Paul

-- 
Marriage is love. Love is blind.
Therefore, marriage is an institution for the blind.

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust?

2009-02-20 Thread Paul

 Now when I boot the FR, I keep seeing a set of errors that keep 
 repeating. Most of them state that Magic  not found ???  (too small 
 and too fast to read properly).
 
 Oh... wait... I see the readme only now... it also needs a kernel 
 image... sigh
 Will put kernel on and see what happens.
   

Okay. I give up. How does one put Qi on a FR and make it do something 
other than spout errors?

pauL

-- 
Marriage is love. Love is blind.
Therefore, marriage is an institution for the blind.

http://www.nlpagan.net
Running on Mandriva Linux 2009 and Ubuntu 8.10


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


Re: (Qi) Qi or bust?

2009-02-20 Thread Sander
Hi Paul,

Paul wrote (ao):
 Okay. I give up. How does one put Qi on a FR and make it do something
 other than spout errors?

Go to http://downloads.openmoko.org/distro/unstable/NeoFreerunner/
Or your favourite image repository.

Download:

qi: qi-s3c2442-...
kernel: uImage-2.6.28...
image:  fso-paroli-image-om-gta02.jffs2

Boot into NOR and connect USB. Then run these commands:

dfu-util -a u-boot -R -D qi-s3c2442-...
dfu-util -a kernel -R -D uImage-2.6.28...
dfu-util -a rootfs -R -D fso-paroli-image-om-gta02.jffs2

Reboot.

That should do it.

With kind regards, Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net

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