Andy Green <[EMAIL PROTECTED]> writes:

> Somebody in the thread at some point said:
> |
> | But the first few boots I could not have USB networking working -at
> | all-. Now it works, but I don't really know what was wrong.....
>
>
> If you updated your U-Boot partway through your testing, for a while we
> put out a U-Boot version that had 50% chance per boot to break USB
> functionality for the whole session.  So I you updated it a few weeks
> ago and then today, it can be that.
>

Well, I'm afraid there could be something else.

Now, I have found a way to boot to OM 2008.8 from SD (actually VFAT +
EXT3).

But I'm too unable to use network over USB now (works fine if
rebooting to 2007.2 in flash).

lsusb reports :
 Bus 002 Device 105: ID 1457:5122 First International Computer, Inc. OpenMoko 
Neo1973 kernel cdc_ether USB network
which is fine.

Network on desktop side is correct, but no ping nor ssh find valid
route to destination (192.168.0.202) :(

Still my u-boot is pretty recent :
U-Boot 1.3.2+gitr18+64eb10cab8055084ae25ea4e73b66dd03cc1a0cb (Aug  4 2008 - 
02:33:52)

I'm booting with the following env :

bootargs_base=rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 
console=tty0 loglevel=8 regular_boot
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000 
kernel 0x200000; bootm 0x32000000
bootdelay=1
menu_1=Boot from microSD (FAT+ext2): setenv bootargs ${bootargs_base} 
rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro; mmcinit; 
fatload mmc 1 0x32000000 ${sd_image_name}; bootm 0x32000000
menu_2=Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv 
stderr usbtty
menu_3=Set console to serial: setenv stdin serial; setenv stdout serial; setenv 
stderr serial
menu_4=Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv 
stderr usbtty
menu_5=Set console to serial: setenv stdin serial; setenv stdout serial; setenv 
stderr serial
menu_6=Reboot: reset
menu_8=Power off: neo1973 power-off
mtdids=nor0=physmap-flash,nand0=neo1973-nand
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)
quiet=1
sd_image_name=uImage.bin
splashimage=nand read.e 0x32000000 splash 0x5000; unzip 0x32000000 0x8800000 
0x96000
stderr=usbtty
stdin=usbtty
stdout=usbtty
usbtty=cdc_acm
menu_9=Boot 200808 from microSD (FAT+ext2): setenv bootargs ${bootargs_base} 
rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} init=/sbin/init ro; 
mmcinit; fatload mmc 1 0x32000000 ${sd_image_name}; bootm 0x32000000
boot_menu_timeout=99999
bootargs=roofstype=ext2 root=/dev/mmcblk0p2 console=tty0 console=ttySAC2,115200 
loglevel=8 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)
 init=/etc/startup
partition=nor0,0
mtddevnum=0
mtddevname=nor
pcb_rev=0x000
pcf50633_int1=0x80
pcf50633_int2=0x02

Environment size: 1871/262140 bytes

with menu_9 (which only adds init=/sbin/init, as you can see)...

Any idea why USB may still be broken ? Maybe since it's running from
SD instead of from flash ?

Don't tell me we need another hadware fix because of SD access ? ;-)

I actually have no other ideas for diagnostic (no terminal nor other
network connection ;( ).

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

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

Reply via email to