maemo.org Bugzilla – Bug 1448
flasher fails to find/flash n800 on Debian sid with 2.6.20 kernel
Last modified: 2009-02-01 23:14:04 UTC
You need to log in before you can comment on or make changes to this bug.
usbfs is mounted thusly: # mount | grep usbfs procbususb on /proc/bus/usb type usbfs (rw) running flasher-3.0-static as root the n800 is not seen when connecting it over usb. This happens both with and without the patch. Kernel is 2.6.20 debian kernel: $ uname -r 2.6.20-1-686 dpkg shows: linux-image-2.6.20-1-686 running flasher under strace shows that it does in fact wake up and see a usb event, but it apparently does not think the device is an n800. Tried this with multiple devices. Same host and device can flash fine under that Other (excuse for an) OS. Side note: It sure would be nice if the bootloader was a usb-serial device and you could get a console prompt on it just by loading usbserial. Then it could use xmodem or similar to upload images. I've done this with u-boot on other omap platforms. There are also u-boot patches that include tftp support which would be great too. The windows flashing tools could easily use this same standard interface. Why is this proprietary when it does not need to be?
Under investigation.
I tried to reproduce it with Sidux, a Debian sid based distro (http://www.vmware.com/vmtn/appliances/directory/811) under vmware. Both flasher-3.0 and flasher-3.0-static seems to work just fine. bagvapp:~# uname -a Linux bagvapp 2.6.21.3-slh-smp-4 #1 SMP PREEMPT Mon May 28 13:55:43 CEST 2007 i686 GNU/Linux usbfs is mounted the same way as in the original error report. Some addition info: both the vmware image and the host system are 32bit systems. Steps I followed: - start up vmware player and load the sidux image - switch off n800 - connect usb cable to the host PC and n800 - in a root shell in sidux execute "./flasher-3.0-static -i" - check that the "Suitable USB device not found, waiting" prompt is displayed - hold the "Home" key on n800 (it is not needed on a normal linux pc, but vmware does not pick up the new usb device otherwise) - switch on n800 and wait for the usb logo - release "Home" key Tim, if you could repeat the same and report where does it fail for you, that would be most helpful.
tim, can you please answer marcell's questions?
WORKSFORME as per comment #2