maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   0xFFFF - Open Free Fiasco Firmware Flasher (https://talk.maemo.org/showthread.php?t=87996)

elros34 2014-10-19 15:29

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by sulu (Post 1443454)
I'd prefer to have u-boot on this device so I'd like to follow this path first.

If you think that running thumb system on stock (attached) kernel is right way then I wish you luck :P

pali 2014-10-19 16:10

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by pali (Post 1440728)
Quote:

Originally Posted by marmistrz (Post 1433026)
Code:

0xFFFF -e /path/to -t rootfs
wants to dump all images.

Ah.. I see in source code, this is not implemented.

Implemented: https://gitorious.org/0xffff/0xffff/...def3ab346520bd

pali 2014-10-19 16:13

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by sulu (Post 1443454)
Code:

...
Done
Flashing image...
Done
*** glibc detected *** ./0xFFFF/src/0xFFFF-i386: double free or corruption (fasttop): 0x0a0f22c0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x70c41)[0xf75c1c41]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x724a8)[0xf75c34a8]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xf75c65ed]
./0xFFFF/src/0xFFFF-i386[0x8053791]
./0xFFFF/src/0xFFFF-i386[0x80555cd]
./0xFFFF/src/0xFFFF-i386[0x804dcb4]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf7567e66]
./0xFFFF/src/0xFFFF-i386[0x80495a1]
======= Memory map: ========
08048000-08069000 r-xp 00000000 08:11 64028687                          /dsk/data2/n900/flasher/0xFFFF/src/0xFFFF-i386
08069000-0806a000 r--p 00020000 08:11 64028687                          /dsk/data2/n900/flasher/0xFFFF/src/0xFFFF-i386
0806a000-0806b000 rw-p 00021000 08:11 64028687                          /dsk/data2/n900/flasher/0xFFFF/src/0xFFFF-i386
0806b000-0846b000 rw-p 00000000 00:00 0
0a0f2000-0a113000 rw-p 00000000 00:00 0                                  [heap]
f7400000-f7421000 rw-p 00000000 00:00 0
f7421000-f7500000 ---p 00000000 00:00 0
f754f000-f7551000 rw-p 00000000 00:00 0
f7551000-f76ae000 r-xp 00000000 08:21 915527                            /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f76ae000-f76b0000 r--p 0015d000 08:21 915527                            /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f76b0000-f76b1000 rw-p 0015f000 08:21 915527                            /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f76b1000-f76b4000 rw-p 00000000 00:00 0
f76b4000-f76bb000 r-xp 00000000 08:21 927183                            /lib/i386-linux-gnu/libusb-0.1.so.4.4.4
f76bb000-f76bc000 r--p 00006000 08:21 927183                            /lib/i386-linux-gnu/libusb-0.1.so.4.4.4
f76bc000-f76bd000 rw-p 00007000 08:21 927183                            /lib/i386-linux-gnu/libusb-0.1.so.4.4.4
f76bd000-f76be000 rw-p 00000000 00:00 0
f76c1000-f76dd000 r-xp 00000000 08:21 927047                            /lib/i386-linux-gnu/libgcc_s.so.1
f76dd000-f76de000 rw-p 0001b000 08:21 927047                            /lib/i386-linux-gnu/libgcc_s.so.1
f76de000-f76e1000 rw-p 00000000 00:00 0
f76e1000-f76e2000 r-xp 00000000 00:00 0                                  [vdso]
f76e2000-f76fe000 r-xp 00000000 08:21 915514                            /lib/i386-linux-gnu/ld-2.13.so
f76fe000-f76ff000 r--p 0001b000 08:21 915514                            /lib/i386-linux-gnu/ld-2.13.so
f76ff000-f7700000 rw-p 0001c000 08:21 915514                            /lib/i386-linux-gnu/ld-2.13.so
ffdf2000-ffe16000 rw-p 00000000 00:00 0                                  [stack]
Abgebrochen


This is not good :-( But flash should be successfull.

pali 2014-10-19 16:16

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by sulu (Post 1443454)
This is on Debian Wheezy/amd64 with multiarch. The amd64 version of 0xFFFF didn't work because it requires glibc 2.14 but Wheezy only has 2.13. I'm not sure if the crash has any effact as the flash operation seems already finished.

Try to recompile version from git: https://gitorious.org/0xffff/0xffff
Debian has 0xFFFF in sid: https://packages.debian.org/sid/0xffff

sulu 2014-10-19 22:04

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
I rebuilt the 0xFFFF Jessie/amd64 package but the result was the same. Flashing went fine but the same memory corruption occured afterwards.

I then flashed the combined image I found here [1] and the device came up fine. Reinstalled CSSU thumb, u-boot and bootimg packages and everything is ok.
I think my initial fault was that I only installed u-boot but not the bootimg package.


[1] http://gsmphonetricks.blogspot.de/20...212011381.html


edit:
After successfully flashing the combined image 0xFFFF repeated this in an infinite loop (had to kill it via ctrl+c):
Code:

Waiting for USB device... 
Found USB device: SU-18/RX-44/RX-48/RX-51 (0x421:0x105) in NOLO mode
USB device product string: Nokia N900 (Update mode)
USB device serial number string: MUM364446
Detected USB device: RX-51           

Initializing NOLO...
Device: RX-51
HW revision: 2101
NOLO version: 1.4.14
Kernel version: 2.6.28-20103103+0m5
Initfs version: (not detected)
Software release version: RX-51_2009SE_21.2011.38-1_PR_MR0
Content eMMC version: RX-51_2009SE_1.2009.41-1.DACH
Root device: flash
USB host mode: disabled
R&D mode: disabled

Load image:
    Image type: cmt-mcusw
    Image size: 5966464 bytes
    Image version: rx51_ICPR82_10w08
Sending image header...
Sending image...
  100% [#################################################################]
Done
Flashing image...
ERROR: SST1 CH0: transmit timed out
ERROR: Error processing request, stalling
ERROR: EP0 STALL sent
ERROR: Premature end of control transfer
Error: Flashing failed


irulestar 2014-10-20 11:51

The Greatest Flasher :D

Estel 2014-10-20 16:14

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by sulu (Post 1443454)
Flashing u-boot was successful - sort of:[code]# ./0xFFFF/src/0xFFFF-i386 -M u-boot-2013.04-1+zImage-2.6.28-omap1.fiasco -f

Methinks that if you would flash the cssu-thumb kernel instead of u-boot+vanilla kernel at this point, you would have perfectly booting device, in the state from before installing u-boot. Now, you could have go with installing u-boot and it's bootmenu tools.

But I haven't flashed in ages, so forgive, if I messed something. Also, it's of no importance, as you have already reflashed, right?

sulu 2014-10-20 20:30

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
Quote:

Originally Posted by Estel (Post 1443559)
Methinks that if you would flash the cssu-thumb kernel instead of u-boot+vanilla kernel at this point, you would have perfectly booting device, in the state from before installing u-boot.

That was the first thing I've tried, but apparently I either did it wrong or it simply doesn't work.

peterleinchen 2014-10-20 21:16

Re: 0xFFFF - Open Free Fiasco Firmware Flasher
 
But it should have! :confused:
So apparently something else has been messed up.

irulestar 2014-10-23 02:59

[ASK]
I got trouble with My Other N9
On Ubiboot MODE :(
Its totally dead. I try to re-Flash. But My PC won't detect my N9 :(
I try flasher -i and (PC Wont dettect but LED still Breathing) :(
And i try Phoenix too, its not detect :(

So!? Can I fix it using this Flasher!?
And HOW to do it!?
Please HELP n Advice :(


All times are GMT. The time now is 19:48.

vBulletin® Version 3.8.8