Re: Uboot

2008-08-06 Thread Aaron Sowry

 I had this problem when I put obexftp into the startup for my bluez.  Turns 
 out it doesn't auto-background, so it was hanging there just after the 
 startup.  Happily, I was able to ssh in, fix it, and kill the obexftp to let 
 it start up normal.  Can you ssh in via USB still?  If so look at the last 
 started process before your shell and see if it's hung.

   

The process '/bin/ash /etc/rc5.d/S98qpe start' is constantly in the 
process list, so it looks like that's where it's hanging. If I kill this 
and restart it, it hangs again at the command-line as well until I ^C 
it. What is it about the most recent updates that could have caused this?

Aaron

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Uboot

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| I had this problem when I put obexftp into the startup for my bluez.
  Turns out it doesn't auto-background, so it was hanging there just
after the startup.  Happily, I was able to ssh in, fix it, and kill the
obexftp to let it start up normal.  Can you ssh in via USB still?  If so
look at the last started process before your shell and see if it's hung.
|
|
|
| The process '/bin/ash /etc/rc5.d/S98qpe start' is constantly in the
| process list, so it looks like that's where it's hanging. If I kill this
| and restart it, it hangs again at the command-line as well until I ^C
| it. What is it about the most recent updates that could have caused this?

IIRC qpe is the thing that likes to sit there going through your SD card
contents after boot, making things slugglish.  Maybe that's why it is
hung?

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZRSoACgkQOjLpvpq7dMpxXwCfbIGJXr8JhqOwR56NgtkOZLif
XzwAoJEzkoKd/LTGY3E/8W91IjuI/k5u
=FZFk
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Led light stay on after boot

2008-08-06 Thread Olivier Berger
Feydreva [EMAIL PROTECTED] writes:

 yeah, it turns off at one point... but it s not consistent...

Well, it may be consistent to the fact that the phone eventually drops
charging at one time even though the charger may be plugged-in (which
is another bug) ?

I'd bet for conjunction of several bugs ;)

 and do not seems related to any event... it stays on at least for 15
 minutes after the cable is disconnected

 On Tue, Aug 5, 2008 at 10:15 PM, Dale Maggee [EMAIL PROTECTED]wrote:

 using yesterday's kernel (5th).

 For me, it does seem like it's indicating that the battery is charging,
 but it doesn't turn off if I unplug the USB cable (bug?). If I leave it
 connected for a while, eventually the red led turns off.

 -Dale

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Led light stay on after boot

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Feydreva [EMAIL PROTECTED] writes:
|
| yeah, it turns off at one point... but it s not consistent...
|
| Well, it may be consistent to the fact that the phone eventually drops
| charging at one time even though the charger may be plugged-in (which
| is another bug) ?
|
| I'd bet for conjunction of several bugs ;)

It's not pretty in there.  I guess this is today's topic for debug action.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZSTEACgkQOjLpvpq7dMrCMQCeNpp5qDv6BYVO6ywWEy57u5GY
qxEAniyuLYwFeezKMTC++msXm4y1tSm8
=9kDU
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Uboot

2008-08-06 Thread Joerg Reisenweber
Am Mi  6. August 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 | I had this problem when I put obexftp into the startup for my bluez.
   Turns out it doesn't auto-background, so it was hanging there just
 after the startup.  Happily, I was able to ssh in, fix it, and kill the
 obexftp to let it start up normal.  Can you ssh in via USB still?  If so
 look at the last started process before your shell and see if it's hung.
 |
 |
 |
 | The process '/bin/ash /etc/rc5.d/S98qpe start' is constantly in the
 | process list, so it looks like that's where it's hanging. If I kill this
 | and restart it, it hangs again at the command-line as well until I ^C
 | it. What is it about the most recent updates that could have caused this?
 
 IIRC qpe is the thing that likes to sit there going through your SD card
 contents after boot, making things slugglish.  Maybe that's why it is
 hung?

SD-card IO-error?
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Olivier Berger
Joerg Reisenweber [EMAIL PROTECTED] writes:


 Maybe just adding the link by yourself would have been enough :-(

Yay maybe.

 My job is to fix your hw and create new one, not to supply links.

Well... dunno what your employer tells you to do... but I consider
good practice to provide explicit links to valid information for
*customer support* interactions, rather than say Mr smith told
something in past 48 hours when that mr smith posts tons of emails.

At least, as a volunteer, I tend to provide explicit information (and
complement with wiki editing) as much as I can... so I would expect so
from professionals... but I guess you're overwhelmed by mail, so I
know it's hard to take time to browse the web archives to retrieve a
link and that adds extra burden compared to coding and such.

But please, think about your customers.

 C'mon encourage me to give such information in the future, when I come along.
 Best regards
 jOERG


Thanks for the good job, and sorry for my pendantic tone.

P.S.: been working for years in SW industry for customer service on
application maintainance, been there, done that ;)

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Qtopia post-mortem

2008-08-06 Thread Aaron Sowry
Aaron Sowry wrote:
 Hi,

 I have just now flashed my Freerunner with today's [August 5th] uboot and the 
 latest 
 Qtopia uImage and rootfs available from their website. After flashing it 
 boots up fine, and I run 'opkg update' followed by 'opkg upgrade' which 
 results in a lengthy process but seems to complete successfully. 

 After a reboot, everything seems to go fine right up until the point 
 which the Qtopia GUI tries to load

I'm going to continue this issue under a more descriptive heading 
because it is a reproducible bug. Running the qpe process directly 
(bypassing the init script which gets stuck in a rather uninformative 
infinite loop) results in the following error:

qpe: symbol lookup error: /opt/Qtopia/lib/libqtopiapim.so.4: undefined 
symbol: _ZN11QListWidget9dropEventEP10QDropEvent

I'm going to take a stab in the dark here and suggest that this seems to 
be some kind of ABI breakage caused by an upgrade to some package, but I 
have no idea which one. I will peruse the source and see if I can narrow 
it down.

In the meantime has anyone done an 'opkg upgrade' on their Qtopia image 
recently without it breaking like this? Conversely, has anyone else 
experienced the same thing and can confirm it's not just me doing 
something dumb?

Aaron

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Uboot

2008-08-06 Thread Matt Joyce
 Side note - the reason I'm flashing is because after doing an opkg
 update/upgrade on the Qtopia distro, it will no longer boot. It gets to
 the point where it looks like it should be loading up the GUI (tiny
 blinking cursor in the top left, nothing else on the screen) and hangs
 there. Anyone else had this problem?

 Aaron

 p.s. doesn't look like flashing u-boot helped either :(

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


I had similar symptoms, though not with Qtopia, with 2007.2 (hmm,maybe FSO).
The black screen and cursor was the same though.

If you boot without USB plugged in does that work?
I think it help me, but I reflashed everything and the problem went away.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: distro-feed-configs_1.0-r0_om-gta02.ipk

2008-08-06 Thread Olivier Berger
Dale Maggee [EMAIL PROTECTED] writes:

 agh, I was foolish enough to hit 'Y'... can somebody give me the correct 
 contents of the files i've overwritten?


Here's a (partial) log of the session here, which exhibits the
differences :

Installing distro-feed-configs (1.0-r0) to root...
Downloading 
http://buildhost.openmoko.org/daily-feed/om-gta02/distro-feed-configs_1.0-r0_om-gta02.ipk
Configuration file '/etc/opkg/all-feed.conf'
--- /etc/opkg/all-feed.conf-opkg.backup Thu Jan  1 01:00:00 1970
+++ /etc/opkg/all-feed.conf Tue Aug  5 05:02:09 2008
@@ -1 +1 @@
-src/gz daily-all http://buildhost.openmoko.org/daily-feed/all
+src/gz remote-all http://my-distribution.org/remote-feed//all

Configuration file '/etc/opkg/armv4t-feed.conf'
--- /etc/opkg/armv4t-feed.conf-opkg.backup  Thu Jan  1 01:00:00 1970
+++ /etc/opkg/armv4t-feed.conf  Tue Aug  5 05:02:09 2008
@@ -1 +1 @@
-src/gz daily-armv4t http://buildhost.openmoko.org/daily-feed/armv4t
+src/gz remote-armv4t http://my-distribution.org/remote-feed//armv4t

Configuration file '/etc/opkg/neo1973-feed.conf'
--- /etc/opkg/neo1973-feed.conf-opkg.backup Thu Jan  1 01:00:00 1970
+++ /etc/opkg/neo1973-feed.conf Tue Aug  5 05:02:09 2008
@@ -1 +1 @@
-src/gz daily-neo1973 http://buildhost.openmoko.org/daily-feed/neo1973
+src/gz remote-neo1973 http://my-distribution.org/remote-feed//neo1973

Configuration file '/etc/opkg/om-gta02-feed.conf'
--- /etc/opkg/om-gta02-feed.conf-opkg.backupThu Jan  1 01:00:00 1970
+++ /etc/opkg/om-gta02-feed.confTue Aug  5 05:02:09 2008
@@ -1 +1 @@
-src/gz daily-om-gta02 http://buildhost.openmoko.org/daily-feed/om-gta02
+src/gz remote-om-gta02 http://my-distribution.org/remote-feed//om-gta02

Hope this helps.


Now, what's the difference between daily and remote here
(considering the hostname is wrong, that's the other change).

And what's the point of having something like neo1973 in addition to
om-gta02 when I'm running a FR ?

Thanks in advance,

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: distro-feed-configs_1.0-r0_om-gta02.ipk

2008-08-06 Thread Olivier Berger
atweb [EMAIL PROTECTED] writes:

 Hi,

 Ovverwrite it manually with the new Version:
 opkg install
 http://buildhost.openmoko.org/daily-feed/om-gta02/distro-feed-configs_1.0-r0_om-gta02.ipk;
 This installs direct the file via http without searching in the
 Paket-Database.

I don't get the point here... isn't it the same version as the one in
the subject of that thread ?

I would expect it not to repair the URLS in the opkg sources, then ?



 Dale Maggee schrieb:
 agh, I was foolish enough to hit 'Y'... can somebody give me the
 correct contents of the files i've overwritten?

 didn't even notice the 'D' option, to be honest. I'll be using it next time!

 Thanks.


Regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Led light stay on after boot

2008-08-06 Thread Jay Vaughan
 It's not pretty in there.  I guess this is today's topic for debug  
 action.
 - -Andy



Phew!  Go, Andy, go!! :)

;
--
Jay Vaughan





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Jay Vaughan

LOL!!

j.



On Aug 6, 2008, at 9:23 AM, Joerg Reisenweber wrote:

 Am Mi  6. August 2008 schrieb Olivier Berger:
 Joerg Reisenweber [EMAIL PROTECTED] writes:


 Maybe just adding the link by yourself would have been enough :-(

 Yay maybe.

 My job is to fix your hw and create new one, not to supply links.

 Well... dunno what your employer tells you to do... but I consider
 good practice to provide explicit links to valid information for
 *customer support* interactions, rather than say Mr smith told
 something in past 48 hours when that mr smith posts tons of emails.

 At least, as a volunteer, I tend to provide explicit information (and
 complement with wiki editing) as much as I can... so I would expect  
 so
 from professionals... but I guess you're overwhelmed by mail, so I
 know it's hard to take time to browse the web archives to retrieve a
 link and that adds extra burden compared to coding and such.

 But please, think about your customers.

 C'mon encourage me to give such information in the future, when I  
 come
 along.
 Best regards
 jOERG


 Thanks for the good job, and sorry for my pendantic tone.

 P.S.: been working for years in SW industry for customer service on
 application maintainance, been there, done that ;)

 Just note I'm NOT customer support but hw-developer. I have a  
 10hours day to
 fix HW!!!-bugs, and the mailing lists spam me with ~600mails per day  
 which
 I'm trying to read all of them. I really don't see any chance to  
 care about
 providing links that anybodyelse could find easily, just for your
 convenience, while I might work same time another 5 min on what's  
 I'm payed
 for.

 Ok, you convinced me to skip more mail unread, to think twice before  
 answering
 to any ml-posting,
 and to save my time not to answer mail like this one from now on

 congrats
 cheers!!!
 jOERG

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support

;
--
Jay Vaughan





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Can't Boot Qtopia from microSD

2008-08-06 Thread Brian C
Hi,

If someone has Qtopia (or any other distro, for that matter) booting
from microSD, I'd appreciate very step-by-step instructions, because it
is not working for me and I have poured over the wiki's various pages
related to this.  Here's what I've done:

1. Partitioned my 8GB microSD card thus:
partition1: FAT32
partition2: ext2
partition3: ext2
partition4: ext2

each partition is roughly 2GB.

2. partition2 is where I want to put Qtopia.
After formatting it ext2 and mounting the partition, I did:
wget http://qtopia.net/downloads/neo/qtopia-4.3.2-gta02-flash-07221045.tgz
tar zvxf qtopia-4.3.2-gta02-flash-07221045.tgz
mv uImage*.bin uImage.bin

I changed the kernel name based on something I read stating it had to be
called uImage.bin (is that wrong?)

3. I upgraded my NAND U-boot to a post-July 23 version. I think I have
the August 5 version now.

4. I edited by NAND U-boot menu to include:
setenv menu_9 Boot from microSD part2 (ext2+ext2): setenv bootargs
\${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5
\${mtdparts} ro\; mmcinit\; ext2load mmc 1 0x3200
\${sd_image_name}\; bootm 0x3200

5. I try to boot from that new NAND U-boot option and while the error
page goes away so fast I cannot really read it, by doing it dozens of
times, I think it cannot even mount the ext2 partition, and thus cannot
find a kernel image.  I get shot back to the U-boot menu right away.

Thanks for any help.  If I figure all this out, there is going to be a
single crystal clear wiki page on this when I get done.

Brian

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| I changed the kernel name based on something I read stating it had to be
| called uImage.bin (is that wrong?)

It needs to match whatever you called it on the kernel commandline in
U-Boot, our ones use uImage.bin.

| 3. I upgraded my NAND U-boot to a post-July 23 version. I think I have
| the August 5 version now.

Great.

| 4. I edited by NAND U-boot menu to include:
| setenv menu_9 Boot from microSD part2 (ext2+ext2): setenv bootargs
| \${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5
| \${mtdparts} ro\; mmcinit\; ext2load mmc 1 0x3200
| \${sd_image_name}\; bootm 0x3200

Ignoring the menu stuff for a moment, here is a canned one liner to do
something like what you want

setenv bootcmd  mmcinit \; ext2load mmc 2 0x3200 uImage.bin \;
setenv bootargs \${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2
console=ttySAC2,115200 loglevel=4 init=/sbin/init \; bootm 0x3200 ; boot

Notice on ext2load the first number is the partition index it should
use, counting from 1.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZXZwACgkQOjLpvpq7dMrZEACeIF7knB0jDkU2FkkYR03iKMGo
UAIAoIjFUKKff0Q+RAzA7j+v8L+ajji3
=+TDp
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Shakthi Kannan
Hi Brian,

--- On Wed, Aug 6, 2008 at 1:37 PM, Brian C [EMAIL PROTECTED] wrote:
| If someone has Qtopia (or any other distro, for that matter) booting
| from microSD, I'd appreciate very step-by-step instructions
\--

Some quick notes I had made:

1. Download qtopia-4.3.2-gta02-flash-07221045.tgz from:

http://wiki.openmoko.org/wiki/Latest_Images#Qtopia_image_from_qtopia.net

It extracts to:

  qtopia-4.3.2-gta02-flash-07221045.jffs2
  uImage_2008_07_16_gta02_73eeb0333fc771cb696ff9bf17c517c741434b59.bin

2. Prepare SD card (from USB 4-in-1 card reader):

   fdisk /dev/sdb

First partition is 8M.
Use remaining disk space for second partition.

3. Create vfat on /dev/sdb1

   mkfs.vfat /dev/sdb1

Rename the uImage kernel to uImage.bin and copy it to the first partition.

4. Create ext2 filesystem on /dev/sdb2

   mke2fs /dev/sdb2

5. Prepare the .tar.gz from .jffs2:

http://wiki.openmoko.org/wiki/Userspace_root_image#Mounting_the_JFFS2_image_on_a_loop_back_device_.28Kernel_Memory_MTD_Emulation.29

modprobe mtdcore
modprobe jffs2
modprobe mtdram total_size=59024
 /* default is 4 MByte - set to max. available size */
modprobe mtdchar
modprobe mtdblock

Check cat /proc/mtd:
# dev:size   erasesize  name
# mtd0: 039a4000 0002 mtdram test device

Use mtdram device file (mtd0, in the above):

sudo dd if=rootfs.jffs2 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /mnt
sudo tar czf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz -C /mnt .

6. Install root filesystem on the Neo device:

scp qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
[EMAIL PROTECTED]:/media/mmcblk0p2/

 cd /media/mmcblk0p2
 tar xzf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
 rm qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
 rm -f /media/mmcblk0p2/boot/*

7. Press AUX button, choose boot from SD card (VFAT+ext2) and boot
into Qtopia :)

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: distro-feed-configs_1.0-r0_om-gta02.ipk

2008-08-06 Thread arne anka
 Now, what's the difference between daily and remote here
 (considering the hostname is wrong, that's the other change).

until someone suggest better i am going to believe remote is just  
another generic placeholder.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Yorick Moko
maybe this can help:
disconnect cable,
restart freerunner,
when booted: connect cable
try again

worked once for me

On Wed, Aug 6, 2008 at 11:32 AM, Richard Cooke
[EMAIL PROTECTED] wrote:

 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again, but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

 --
 View this message in context: 
 http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675456.html
 Sent from the Openmoko Support mailing list archive at Nabble.com.


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread arne anka
 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

fr is plugged in and powered on? no suspend?
if so, unplug it from the host pc, open a konsole/shell and do

sudo tail -f /var/log/syslog

have a look at the shell and plug in the fr again.
any messages?
there was a bug in one of the last u-boots, that broke about 50% of usb  
connections -- rebooting (the fr or the pc, couldn't figure out which, try  
fr first) is supposed to help.
the lattest u-boots are supposed to fix that.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| The problem I now have is that I am unable to get usb0 recognized as an
| interface by ifconfig.
|
| The command:
| ifconfig usb0 192.168.0.200
|
| results in
| SIOCSIFADDR: No such device
| usb0: ERROR while getting interface flags: No such device
|
| fr is plugged in and powered on? no suspend?
| if so, unplug it from the host pc, open a konsole/shell and do
|
| sudo tail -f /var/log/syslog
|
| have a look at the shell and plug in the fr again.
| any messages?
| there was a bug in one of the last u-boots, that broke about 50% of usb
| connections -- rebooting (the fr or the pc, couldn't figure out which,
try
| fr first) is supposed to help.
| the lattest u-boots are supposed to fix that.

Yes, there is another way to get this issue unfortunately too.  We moved
~ USB over Ethernet support on the Freerunner into a module.  But, it's
commonly written around that folks should update their kernel by DFU.
This was never a good idea for a modular kernel (it does nothing to
update the modules) and now it's a really bad idea.

If you update your kernel by the packaging from inside the Freerunner it
won't make this problem as it updates the modules at the same time (now,
anyway, there were other problems with that method until recently).

If that's what's happened (try the Uboot update first though because
that fits the symptom as well) best plan is nuke these guys on your
device (kernel + matching rootfs) with dfu

http://buildhost.openmoko.org/releases/Freerunner/

and start over.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZeFoACgkQOjLpvpq7dMqUXACcC7xnLGScuoq5b0RTmmwdZ79y
3hsAnRFCyGb9feZAtNUzDLKPDqmfD28J
=mbCO
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Aaron Sowry
arne anka wrote:
 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device
 

 there was a bug in one of the last u-boots, that broke about 50% of usb  
 connections 
I know Ubuntu handles interfaces in a weird way and references them by 
MAC address. If Arne's suggestion doesn't help, run 'sudo ifconfig -a' 
at the terminal and post the output, along with the contents of 
/etc/iftab - you might find that the interface is not even called usb0.

Aaron

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Jay Vaughan
 The problem I now have is that I am unable to get usb0 recognized as  
 an
 interface by ifconfig.
 The command:
 ifconfig usb0 192.168.0.200
 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device
 I have tried modprobing usbnet and cdc_ether but the problem remains.
 Help from any quarter would be much appreciated as I am at my wits'  
 end.


I haven't been tracking your problems, but are you *sure* that the  
usbnet module is loaded on your Freerunner?


;
--
Jay Vaughan





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


arne anka wrote:
 
 
 
 fr is plugged in and powered on? no suspend?
 if so, unplug it from the host pc, open a konsole/shell and do
 
 sudo tail -f /var/log/syslog
 
 have a look at the shell and plug in the fr again.
 any messages?
 there was a bug in one of the last u-boots, that broke about 50% of usb  
 connections -- rebooting (the fr or the pc, couldn't figure out which, try  
 fr first) is supposed to help.
 the lattest u-boots are supposed to fix that.
 
 

Thank you for your quick response. On unplugging and replugging the FR there
is no output to the syslog. However, on powering dwon the device with USB
cable still in place I get the following:

Aug  6 11:25:35 ubuntu kernel: [  926.474693] usb 3-1: new full speed USB
device using uhci_hcd and address 2
Aug  6 11:25:35 ubuntu kernel: [  926.562782] usb 3-1: configuration #1
chosen from 2 choices
Aug  6 11:25:35 ubuntu NetworkManager: debug [1218018335.868663]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000'). 
Aug  6 11:25:36 ubuntu NetworkManager: debug [1218018336.112435]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if1'). 
Aug  6 11:25:36 ubuntu NetworkManager: debug [1218018336.170411]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if2'). 
Aug  6 11:25:36 ubuntu kernel: [  926.860793]
/build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: This device cannot
do calls on its own. It is no modem.
Aug  6 11:25:36 ubuntu kernel: [  926.860809] cdc_acm 3-1:1.0: ttyACM0: USB
ACM device
Aug  6 11:25:36 ubuntu kernel: [  926.863512] usbcore: registered new
interface driver cdc_acm
Aug  6 11:25:36 ubuntu kernel: [  926.863518]
/build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: v0.25:USB Abstract
Control Model driver for USB modems and ISDN adapters
Aug  6 11:25:36 ubuntu NetworkManager: debug [1218018336.245188]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if0'). 
Aug  6 11:25:36 ubuntu NetworkManager: debug [1218018336.249447]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if0_serial_unknown_0').
 
Aug  6 11:25:41 ubuntu kernel: [  930.561583] usb 3-1: USB disconnect,
address 2
Aug  6 11:25:42 ubuntu NetworkManager: debug [1218018341.691683]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if0_serial_unknown_0').
 
Aug  6 11:25:42 ubuntu NetworkManager: debug [1218018341.696906]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if0'). 
Aug  6 11:25:42 ubuntu NetworkManager: debug [1218018341.705605]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if1'). 
Aug  6 11:25:42 ubuntu NetworkManager: debug [1218018341.710502]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000_if2'). 
Aug  6 11:25:42 ubuntu NetworkManager: debug [1218018341.719457]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1d50_5119_000'). 

It seems the device is detected just as it is powering down.
-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675542.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| Aug  6 11:25:36 ubuntu kernel: [  926.860809] cdc_acm 3-1:1.0:
ttyACM0: USB
| ACM device

| It seems the device is detected just as it is powering down.

Powering down or rebooting into U-Boot?

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZgPMACgkQOjLpvpq7dMqcSwCeNrb3rGlDy2NgbZT3EzK2oMu5
OwEAn2vrHFjvDoJalRITickR6Mrn6Ki/
=y991
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


Andy Green wrote:
 
 Powering down or rebooting into U-Boot?
 - -Andy
 
Sorry. You are correct. On watching the screen more closely it is clear that
the device is detected early in its boot process. It then appears that the
USB connection is lost 6 seconds later.
-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675585.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


Aaron Sowry wrote:
 
 I know Ubuntu handles interfaces in a weird way and references them by 
 MAC address. If Arne's suggestion doesn't help, run 'sudo ifconfig -a' 
 at the terminal and post the output, along with the contents of 
 /etc/iftab - you might find that the interface is not even called usb0.
 Aaron
 
[EMAIL PROTECTED]:~$ sudo ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:50:8d:ef:d1:72  
  inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::250:8dff:feef:d172/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:7280 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4710 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:3353886 (3.1 MB)  TX bytes:1267116 (1.2 MB)
  Interrupt:22 Base address:0xb400 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:2570 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2570 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:128500 (125.4 KB)  TX bytes:128500 (125.4 KB)

The /etc/iftab file strangely consists entirely of comments and looks like
this:

# This file is no longer used and has been automatically replaced.
# See /etc/udev/rules.d/70-persistent-net.rules for more information.
#

# This file assigns persistent names to network interfaces.  See iftab(5).
#eth0 mac 00:50:8d:ef:d1:72

/etc/udev/rules.d/70-persistent-net.rules contains the following:

# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# Converted from /etc/iftab on upgrade
SUBSYSTEM==net, DRIVERS==?*, ATTRS{address}==00:50:8d:ef:d1:72,
ATTR{type}==1, NAME=eth0


-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675600.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


Andy Green wrote:
 
 
 Yes, there is another way to get this issue unfortunately too.  We moved
 ~ USB over Ethernet support on the Freerunner into a module.  But, it's
 commonly written around that folks should update their kernel by DFU.
 This was never a good idea for a modular kernel (it does nothing to
 update the modules) and now it's a really bad idea.
 
 If you update your kernel by the packaging from inside the Freerunner it
 won't make this problem as it updates the modules at the same time (now,
 anyway, there were other problems with that method until recently).
 
 If that's what's happened (try the Uboot update first though because
 that fits the symptom as well) best plan is nuke these guys on your
 device (kernel + matching rootfs) with dfu
 
 http://buildhost.openmoko.org/releases/Freerunner/
 
 and start over.
 
 - -Andy
 
 

Thanks. This seems to be the problem. I will reflash with DFU. I am not
clear though how to avoid the same situation when I come to upgrade the
phone again as I used opkg over ssh to upgrade and have not used dfu at all.

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675618.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Assassin fails to connect

2008-08-06 Thread sparky mat
I have flashed 06-Aug-2008 OM2008.8 image to my Freerunner. I have set up
USB networking to my Ubuntu machine and I can ping/wget stuff from my SSH
shell on the Freerunner. However, Assassin says 'Cannot access repository.
Please check your network'.

Am I doing something wrong?
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke

Ok. No problem. I'll have another go. Thanks.

Andy Green wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Somebody in the thread at some point said:
 
 | If you update your kernel by the packaging from inside the Freerunner
 it
 | won't make this problem as it updates the modules at the same time
 (now,
 | anyway, there were other problems with that method until recently).
 
 | Thanks. This seems to be the problem. I will reflash with DFU. I am not
 | clear though how to avoid the same situation when I come to upgrade the
 | phone again as I used opkg over ssh to upgrade and have not used dfu
 at all.
 
 For a day or two there the packaging didn't take care about bringing in
 the new module that was created.  Now it pulls in all the modules needed
 automatically: sorry for the inconvenience.
 
 - -Andy
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkiZjl0ACgkQOjLpvpq7dMrxzwCfYobI9U8ZgulT0aF49A958V4Z
 ENMAnRvXXVOIfJyRBL2urWH5Y1cQXqHu
 =SrJe
 -END PGP SIGNATURE-
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675636.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: sms when asleep

2008-08-06 Thread Jeffrey Ratcliffe
2008/8/6 William Kenworthy [EMAIL PROTECTED]:
 The sms didnt wake the phone as I am sure it would when I first got it.
 The message seemed to have been received by the phone (the rx sound came
 immediately I woke it), but the message itself didnt wake the FR and
 sound the ring tone. I could not find a trac entry, but remember a
 couple of list emails about it.  Is this a known problem/should I enter
 a bug for it?

On occasion, not only has it not woken the phone, but afterwards,
although the phone was displaying good signal strength, I was unable
to call out or in. On rebooting the phone, the SMS arrived, and I was
able to call.

Jeff

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Assassin fails to connect

2008-08-06 Thread sparky mat
Does this have to do with the repository directory structure changes?

On Wed, Aug 6, 2008 at 5:16 PM, sparky mat [EMAIL PROTECTED] wrote:

 I have flashed 06-Aug-2008 OM2008.8 image to my Freerunner. I have set up
 USB networking to my Ubuntu machine and I can ping/wget stuff from my SSH
 shell on the Freerunner. However, Assassin says 'Cannot access repository.
 Please check your network'.

 Am I doing something wrong?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Zack Mollusc
Richard Cooke wrote:
 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again, but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

   

Hello, i am also a noob running umbongo (i am on 32bit 8.04) and i had a 
similar problem.
I broke the whole thing on the fr and no longer had a gui, I flashed the root 
filesystem
(Openmoko-Freerunner-20080424-om-gta02.rootfs.jffs2)and seemed to lose
usb connectivity, with similar host response, and after some vain faffing
about with the host machine(i thought the usb port had become confused)
, I flashed the kernel (uImage-2.6.24+git20080424-om-gta02.bin) and that
seemed to fix it for me. Obviously I had to install the apps again.
Good luck.





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Matthew McCormick
Brian C [EMAIL PROTECTED] writes:


 2. partition2 is where I want to put Qtopia.
 After formatting it ext2 and mounting the partition, I did:
 wget http://qtopia.net/downloads/neo/qtopia-4.3.2-gta02-flash-07221045.tgz
 tar zvxf qtopia-4.3.2-gta02-flash-07221045.tgz
 mv uImage*.bin uImage.bin

 I changed the kernel name based on something I read stating it had to be
 called uImage.bin (is that wrong?)


You must follow the instructions on the wiki.  You did not extract the
rootfs.


 4. I edited by NAND U-boot menu to include:
 setenv menu_9 Boot from microSD part2 (ext2+ext2): setenv bootargs
 \${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5
 \${mtdparts} ro\; mmcinit\; ext2load mmc 1 0x3200
 \${sd_image_name}\; bootm 0x3200

Your partitions numbers are wrong from what you have said.  I added a
warning to
watch partition numbers and what to change.


 Thanks for any help.  If I figure all this out, there is going to be a
 single crystal clear wiki page on this when I get done.

Please do _not_ try to make a single crystal clear wiki page.  Please fix
relevant sections of the wiki, but do not try to concatenate all sections to
one
page for what you, personally, are trying to do.  This leads to multiple
crummy
pages.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke

Yeah. Worked for me too. Spent a day fiddling with the wrong box before
giving up and asking for help. Maybe there's a lesson to be learned here.


Zack Mollusc wrote:
 
 Richard Cooke wrote:
 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and
 perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going
 and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again,
 but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

   
 
 Hello, i am also a noob running umbongo (i am on 32bit 8.04) and i had a
 similar problem.
 I broke the whole thing on the fr and no longer had a gui, I flashed the
 root filesystem
 (Openmoko-Freerunner-20080424-om-gta02.rootfs.jffs2)and seemed to lose
 usb connectivity, with similar host response, and after some vain faffing
 about with the host machine(i thought the usb port had become confused)
 , I flashed the kernel (uImage-2.6.24+git20080424-om-gta02.bin) and that
 seemed to fix it for me. Obviously I had to install the apps again.
 Good luck.
 
 
 
 
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675803.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Matthew McCormick
On Wed, Aug 6, 2008 at 8:33 AM, Matthew McCormick 
[EMAIL PROTECTED] wrote:

 Brian C [EMAIL PROTECTED] writes:

 
  2. partition2 is where I want to put Qtopia.
  After formatting it ext2 and mounting the partition, I did:
  wget
 http://qtopia.net/downloads/neo/qtopia-4.3.2-gta02-flash-07221045.tgz
  tar zvxf qtopia-4.3.2-gta02-flash-07221045.tgz
  mv uImage*.bin uImage.bin
 
  I changed the kernel name based on something I read stating it had to be
  called uImage.bin (is that wrong?)
 

 You must follow the instructions on the wiki.  You did not extract the
 rootfs.


BTW, the page should be looking at is here
http://wiki.openmoko.org/wiki/Qtopia
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Zack Mollusc
Richard Cooke wrote:
 Yeah. Worked for me too. Spent a day fiddling with the wrong box before
 giving up and asking for help. Maybe there's a lesson to be learned here.


 Zack Mollusc wrote:
   
 Richard Cooke wrote:
 
 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and
 perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going
 and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again,
 but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

   
   
 Hello, i am also a noob running umbongo (i am on 32bit 8.04) and i had a
 similar problem.
 I broke the whole thing on the fr and no longer had a gui, I flashed the
 root filesystem
 (Openmoko-Freerunner-20080424-om-gta02.rootfs.jffs2)and seemed to lose
 usb connectivity, with similar host response, and after some vain faffing
 about with the host machine(i thought the usb port had become confused)
 , I flashed the kernel (uImage-2.6.24+git20080424-om-gta02.bin) and that
 seemed to fix it for me. Obviously I had to install the apps again.
 Good luck.





 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


 

   
Hehe, i booted the host multiple times and connected different USB
things to it trying to work out what was wrong with the USB port. :-)



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Mike Montour
Andy Green wrote:

 setenv bootcmd  mmcinit \; ext2load mmc 2 0x3200 uImage.bin \;
 setenv bootargs \${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2
 console=ttySAC2,115200 loglevel=4 init=/sbin/init \; bootm 0x3200 ; boot
 
 Notice on ext2load the first number is the partition index it should
 use, counting from 1.

Minor correction - the parameter for ext2load and fatload is 
device:partition, so partition 2 would be ext2load mmc 1:2  
IIRC this is documented in the online help for fatload but not for 
ext2load.

For troubleshooting you can also run mmcinit; ext2ls mmc 1:2 / from 
the u-boot console to make sure that u-boot is able to access the 
partition, and to see what files are on the card. There is also a 
fatls command to look at a VFAT partition.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread arne anka
 of them come back FATAL no such module, like so:

 [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdcore
 FATAL: Module mtdcore not found.
 [EMAIL PROTECTED]:/mnt/qtopia# modprobe jffs2
 FATAL: Module jffs2 not found.
 [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdram total_size=59024
 FATAL: Module mtdram not found.
 [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdchar
 FATAL: Module mtdchar not found.
 [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdblock
 FATAL: Module mtdblock not found.

every one of these is probably not part of a standard variety installation.
have a look at google to find out what packages of your distribution  
contain these modules.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| You are right that I did not extract the rootfs, but that is because 1)
| I do not know how to extract the rootfs and 2) none of the various
| instructions on the wiki (which are inconsistent) worked for me.  For
| instance, when I do the various modprobe commands that are listed, all
| of them come back FATAL no such module, like so:
|
| [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdcore
| FATAL: Module mtdcore not found.
| [EMAIL PROTECTED]:/mnt/qtopia# modprobe jffs2
| FATAL: Module jffs2 not found.
| [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdram total_size=59024
| FATAL: Module mtdram not found.
| [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdchar
| FATAL: Module mtdchar not found.
| [EMAIL PROTECTED]:/mnt/qtopia# modprobe mtdblock
| FATAL: Module mtdblock not found.

These are all built-in to the monolithic kernels from us, so there are
no modules for them.  They're all needed to boot from mtd / jffs2 which
is normal for us.

| I should also emphasize to an earlier responder that I want to place
| both the kernel and the rootfs on the same ext2 partition, namely
| partition 2.  I believe this is possible, and I'd prefer it to having
| the kernel in the first FAT partition.

| Andy's email will likely be helpful here, but clearly I have to figure
| out how to extract the jffs2 first.

There should be a .tar.gz floating around for rootfs normally as well,
these are obviously more amenable to unpacking into the rootfs.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZ1/4ACgkQOjLpvpq7dMqdAgCgk37ZNuBM92BpaIPqs9OpWjKq
ScIAn05sPELF+ulrpwpD6wdw0ABX020I
=CsKG
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|
| setenv bootcmd  mmcinit \; ext2load mmc 2 0x3200 uImage.bin \;
| setenv bootargs \${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2
| console=ttySAC2,115200 loglevel=4 init=/sbin/init \; bootm 0x3200
; boot
|
| Notice on ext2load the first number is the partition index it should
| use, counting from 1.
|
| Minor correction - the parameter for ext2load and fatload is
| device:partition, so partition 2 would be ext2load mmc 1:2 
| IIRC this is documented in the online help for fatload but not for
| ext2load.
|
| For troubleshooting you can also run mmcinit; ext2ls mmc 1:2 / from
| the u-boot console to make sure that u-boot is able to access the
| partition, and to see what files are on the card. There is also a
| fatls command to look at a VFAT partition.

My mistake, I just edited my canned one I use for first partition off
the top of my head.  One way or another personally I only ever pulled
kernel from the first partition on SD Card myself, VFAT or EXT3.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZ2GcACgkQOjLpvpq7dMrApwCcCsMPGTV4FDanCxmZxUhEJLgs
OE0AninO8pLv3/lFF2UCWdPmeskpS7DK
=+KGy
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Debian - How to install the kernel

2008-08-06 Thread sparky mat
I followed the instructions at
http://wiki.openmoko.org/wiki/Debian#Build_your_own_armel_filesystem
(I used option 2 -Build your own armel system) . However, nowhere does it
mention how to put the kernel in. A partition was created for the kernel (8M
one), but no instruction on where to get the kernel or how to flash it.

I'd appreciate any help on this.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Debian - How to install the kernel

2008-08-06 Thread sparky mat
I tried copying the existing OM2008.8 kernel from /boot to
/media/card/boot . This allowed the Freerunner to 'boot from MicroSD' into
the Debian shell. However, USB networking is not working. I recall it being
a module now, instead of being built into the kernel. So, how do I get a
good kernel for (Freerunner) Debian?

On Thu, Aug 7, 2008 at 12:19 AM, sparky mat [EMAIL PROTECTED] wrote:

 I followed the instructions at
 http://wiki.openmoko.org/wiki/Debian#Build_your_own_armel_filesystem
 (I used option 2 -Build your own armel system) . However, nowhere does it
 mention how to put the kernel in. A partition was created for the kernel (8M
 one), but no instruction on where to get the kernel or how to flash it.

 I'd appreciate any help on this.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Sales?

2008-08-06 Thread Tim Dobson
I have heard from two sources now[1][2] that the demand for Freerunner's 
has been above and beyond everyone's expectations.

Does anyone have any data they can release as to roughly how many are 
thought to have been sold so far?

Keep up the good stuff everyone!


Tim

[1] https://www.truebox.co.uk/trueboxportal/index.php?wk=Openmoko
[2] my friend in the states has apparently been talking to an someone in 
the know.

-- 
www.tdobson.net

If each of us have one object, and we exchange them, then each of us
still has one object.
If each of us have one idea, and we exchange them, then each of us now
has two ideas.   -  George Bernard Shaw

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Matt Margush
On Wed, Aug 6, 2008 at 3:09 AM, Andy Green [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Yes, there is another way to get this issue unfortunately too.  We moved
 ~ USB over Ethernet support on the Freerunner into a module.  But, it's
 commonly written around that folks should update their kernel by DFU.
 This was never a good idea for a modular kernel (it does nothing to
 update the modules) and now it's a really bad idea.

 If you update your kernel by the packaging from inside the Freerunner it
 won't make this problem as it updates the modules at the same time

How do I update my kernel by the packaging from inside the Freerunner?

Thanks,

Matt

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Matt Joyce
On Wed, Aug 6, 2008 at 9:43 PM, Andy Green [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Somebody in the thread at some point said:

 | If you update your kernel by the packaging from inside the Freerunner it
 | won't make this problem as it updates the modules at the same time (now,
 | anyway, there were other problems with that method until recently).

 | Thanks. This seems to be the problem. I will reflash with DFU. I am not
 | clear though how to avoid the same situation when I come to upgrade the
 | phone again as I used opkg over ssh to upgrade and have not used dfu
 at all.

 For a day or two there the packaging didn't take care about bringing in
 the new module that was created.  Now it pulls in all the modules needed
 automatically: sorry for the inconvenience.

 - -Andy

Presumably, for those who have upgraded the kernel but don't have the
usb-net modules, they could be downloaded, or extracted and loaded
onto the sd and then installed.
Would save flashing.

Matt

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


inotify support in Kernel

2008-08-06 Thread sparky mat
When install gdm+xfce4 on Debian, I get the following error

Can't start Hardware abstraction layer - enable inotify support in your
kernel - failed!

How can I do this? (enabling inotify support in the kernel)
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Is there a Xoo and Xephyr VMware image with prebuilt environment?

2008-08-06 Thread Edgar D' Souza
Hi,
http://wiki.openmoko.org/wiki/Host-based_development_with_Xoo_and_Xephyrstates,
at the top:
Note that there is a VMware image where this environment has been prebuilt
for you.

The page, however, doesn't link to any such image, thus my query: does
anyone here know of such an image, and if yes, could you please provide a
link to it?

Thanks in advance,
Ed.

PS I'm still a n00b with the whole phone+images+dev env etc matter, so am
posting this here instead of to a developer list; I don't qualify to be
called a dev yet :-) Please pardon if you think this is OT for this list.
Ed.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Trouble flashing 2008.08

2008-08-06 Thread Mike MacHenry
I'm using a neo freerunner and I am having a rather difficult time
figuring out how to flash 2008.08 image that I was take to from the
openmoko.com download link. From reading the wiki I've figured out
that I need a kernel image and a rootfs image. Then I am supposed to
boot into NOR flash mode and run the following two commands:

dfu-util -a kernel -R -D /path/to/uImage
dfu-util -a rootfs -R -D rootfs_filename.jffs2

The problem is I can't figure out which of roughly 50 files from the
this list I should download.

http://buildhost.openmoko.org/daily/freerunner/200808/20080806/

I tried several combinations of files that ended in jffs2 for the
rootfs file and files that had gta02 and ended in .bin for the
kernel image. Mostly the result I get is the openmoko splash screen
when the device starts staying on the screen forever. I once got the
machine to boot into a running distro but the machine was incredibly
unreliable. Clicking on an icon gave a totally black screen, there
were no buttons at the bottom of the app but it looked like there
should be. Pressing the power button had no effect either.

I think I'm just downloading the wrong images. I used qtopia the other
day and it worked fine so my hardware is not busted.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support