maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   cold flashing, really a mission impossible? (https://talk.maemo.org/showthread.php?t=54608)

u2maemo 2010-05-31 00:02

cold flashing, really a mission impossible?
 
flasher-3.5 have some option related with cold flashing.
-2, --2nd=ARG Location of NOLO cold flasher ("2nd") image
-c, --cold-flash "Cold flash" the device
-S, --serial-port=ARG Serial port used for cold flashing or "usb"

man page even give an example
flasher-3.5 -c -h RX-51:<hwid> -F <FIASCO image> -S usb

For recovering my deadly bricked Nokia N810, I bought usb2serial wire with chip PL2303

After I connect linux PC and N810 by using this usb2serial cable

gotten
Code:

lsusb
....
Bus 003 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Code:

dmesg
.....
[ 5226.288081] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 5226.451358] usb 3-1: configuration #1 chosen from 1 choice
[ 5226.569698] usbcore: registered new interface driver usbserial
[ 5226.570727] USB Serial support registered for generic
[ 5226.571732] usbcore: registered new interface driver usbserial_generic
[ 5226.571737] usbserial: USB Serial Driver core
[ 5226.581173] USB Serial support registered for pl2303
[ 5226.582212] pl2303 3-1:1.0: pl2303 converter detected
[ 5226.594494] usb 3-1: pl2303 converter now attached to ttyUSB0
[ 5226.594549] usbcore: registered new interface driver pl2303
[ 5226.594557] pl2303: Prolific PL2303 USB to serial adaptor driver

Code:

lsmod|grep 2303
pl2303                15740  0
usbserial              33019  1 pl2303

Code:

ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 2010-05-31 05:50 /dev/ttyUSB0

Code:

cat /proc/devices |grep -i ttyUSB
188 ttyUSB

then I run
flasher-3.5 -c -S usb -h RX-44:0805 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R

it stop at following place forever.
Code:

.....
Using serial port usb
Suitable USB device not found, waiting.

Anyone would give info about how this mysterious cold flashing can be used.

ps. I have googled the web and this forum but it seems not any cold flashing successfule case can be found although some have tried to do it.

u2maemo 2010-05-31 22:53

Re: cold flashing, really a mission impossible?
 
when use usb2serial wire connect to serial port on N810,
ie serial port on N810 end and usb port on PC end, what should be used for flasher-3.5 -S option, usb or ttyUSB or ttyUSB0 or /dev/ttyUSB0.

Anyone know this, please give some suggestion, thanks a lot for your help.

u2maemo 2010-05-31 23:44

Re: cold flashing, really a mission impossible?
 
Now I am testing by using /dev/ttyUSB0

Code:

flasher-3.5 -c -S /dev/ttyUSB0 -h RX-44:0805 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R
flasher v2.5.2 (Oct 21 2009)

SW version in image: RX-44_DIABLO_5.2008.43-7_PR_MR0
Image 'kernel', size 1500 kB
        Version 2.6.21-200842maemo1
Image 'initfs', size 2273 kB
        Version 0.95.22-200842maemo1w38b3
Image 'rootfs', size 122496 kB
        Version RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0
Image '2nd', size 8192 bytes
        Valid for RX-44: 0808
        Version 1.1.16-200844maemo2
Image 'xloader', size 9216 bytes
        Valid for RX-44: 0808
        Version 1.1.16-200844maemo2
Image 'secondary', size 100736 bytes
        Valid for RX-44: 0808
        Version 1.1.16-200844maemo2
Image '2nd', size 8192 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.16-200844maemo2
Image 'xloader', size 9216 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.16-200844maemo2
Image 'secondary', size 100736 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.16-200844maemo2
Using serial port /dev/ttyUSB0
Waiting for ASIC id...

it stop at "Waiting for ASIC id..."


All times are GMT. The time now is 15:23.

vBulletin® Version 3.8.8