View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#30
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
0xFFFF v0.6  // Open Free Fiasco Firmware Flasher

Not a local device

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: (not detected)
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: kernel
    Image size: 2008960 bytes
    Image version: u-boot-2013.04-1
Sending image header...
Sending image...
  100% [#################################################################]
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
and:
Code:
# ./0xFFFF/src/0xFFFF-i386 -I
0xFFFF v0.6  // Open Free Fiasco Firmware Flasher

Not a local device

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: u-boot-2013.04-1
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
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.

U-boot now comes up fine but when trying to boot the attached kernel I get these messages (transcribed from a photo):
Code:
mmc1(part 0) Is current device
readImg bootmenu.scr
** Unable to read file bootmenu.scr **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
gpio: pin 71 (gpio 71) value is 1
Booting attached kernel image ...
## Booting kernel from legacy Image at 8fe40800 ...
   Image Name:   zImage-2.6.28-omap1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1746688 Bytes =1.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...
At this point the screen goes black (backlight stays on) and the white LED goes off. Apparently nothing else happens for the next 5 minutes.


@elros34:
I'd prefer to have u-boot on this device so I'd like to follow this path first.