maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Boot Issue N900 (https://talk.maemo.org/showthread.php?t=98760)

Diehardn900 2017-01-16 02:21

Boot Issue N900
 
Using Windows 10 x64

Flashed my N900 with the following commands:

flasher-3.5.exe -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f

flasher-3.5.exe -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R

both those commands finish successfully with no errors

the issue I am having is when the N900 starts its boot and clears the nokia screen says "boot mode: normal"
From there it does the 5dot loading screen.....


This 5 dot loading screen just keeps going and going I have let it go overnight and no change.

Any help would be greatly appreciated

pichlo 2017-01-16 07:14

Re: Boot Issue N900
 
You got the command line opin the wrong way around. You need to use -R with the COMBINED , not VANILLA. Flash COMBINED again.

See also: http://wiki.maemo.org/Updating_the_t...irmware#N900_2

Diehardn900 2017-01-17 01:30

Re: Boot Issue N900
 
Thank you for your response.

Issue is still the same.

I'll try using a linux OS maybe windows is messing something up

EDIT: Ubuntu x32 OS flashing eMMC and rootfs complets no errors and no change device sits at 5 dot loading screen

peterleinchen 2017-01-17 07:40

Re: Boot Issue N900
 
It would help to give the logs of what you are doing (with no errors!).

Most probably just the wrong way round?
wiki.maemo.org holds all info to flash.

First eMMC and then Combined. Otherwise you wipe the OS directly again.


--
another question: you used plain Win10 64? Without any other drivers/libusb? That would surprise me.

pichlo 2017-01-17 08:22

Re: Boot Issue N900
 
Quote:

Originally Posted by peterleinchen (Post 1522110)
First eMMC and then Combined.

I have even read some suggestion somewhere here that it should be Combined, Vanilla, Combined ;)
But the point is Combined last. With no reboot after Vanilla (aka eMMC).

dbilbao 2017-01-17 14:41

Re: Boot Issue N900
 
Hi

My N900 is rebooting in a endless loop after CSSU update. I think i must flash it, but i really don't know which files have to use.

I don't know what version is my phone. If someone knows i have this info:

Type: RX-51
Code: 0580952
FCC ID: LJPRX-51
IC: 661E-RX51


Thanks in advance.

peterleinchen 2017-01-17 22:28

Re: Boot Issue N900
 
Quote:

Originally Posted by dbilbao (Post 1522129)
Hi

My N900 is rebooting in a endless loop after CSSU update. I think i must flash it, but i really don't know which files have to use.

I don't know what version is my phone. If someone knows i have this info:

Type: RX-51
Code: 0580952
FCC ID: LJPRX-51
IC: 661E-RX51

Did you have CSSU-devel repo enabled?

Just take the files listed in OP. You will find them on e.g. Archive.org or elsewhere (deeper links and checksums here on TMO).
The firmware is model independent and eMMC is only different in some deprecated map data.

Diehardn900 2017-01-18 01:31

Re: Boot Issue N900
 
Quote:

Originally Posted by peterleinchen (Post 1522110)
It would help to give the logs of what you are doing (with no errors!).

Most probably just the wrong way round?
wiki.maemo.org holds all info to flash.

First eMMC and then Combined. Otherwise you wipe the OS directly again.


--
another question: you used plain Win10 64? Without any other drivers/libusb? That would surprise me.

I am using libusb-win32-bin-1.2.6.0 with the windows x64 workaround provided by maemo wiki

I just flashed as suggested by pichlo

Combined > eMMC > Combined then reboot flag after last combined

Code:

Microsoft Windows [Version 10.0.14986]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd C:\Program Files (x86)\maemo\flasher-3.5

C:\Program Files (x86)\maemo\flasher-3.5>flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f
flasher v2.5.2 (Sep 24 2009)

SW version in image: RX-51_2009SE_20.2010.36-2_PR_MR0
Image 'kernel', size 1705 kB
        Version 2.6.28-20103103+0m5
Image 'rootfs', size 185728 kB
        Version RX-51_2009SE_20.2010.36-2_PR_MR0
Image 'cmt-2nd', size 81408 bytes
        Version BB5_09.36
Image 'cmt-algo', size 519808 bytes
        Version BB5_09.36
Image 'cmt-mcusw', size 5826 kB
        Version rx51_ICPR82_10w08
Image '2nd', size 14720 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
USB device found found at bus bus-0, device address \\.\libusb0-0001--0x0421-0x0105.
Found device RX-51, hardware revision 2204
NOLO version 1.4.14
Version of 'sw-release': RX-51_2009SE_20.2010.36-2_PR_MR0
Sending xloader image (14 kB)...
100% (14 of 14 kB, avg. 14500 kB/s)
Sending secondary image (106 kB)...
100% (106 of 106 kB, avg. 106875 kB/s)
Flashing bootloader... done.
Sending cmt-2nd image (79 kB)...
100% (79 of 79 kB, avg. 79500 kB/s)
Sending cmt-algo image (507 kB)...
100% (507 of 507 kB, avg. 33841 kB/s)
Sending cmt-mcusw image (5826 kB)...
100% (5826 of 5826 kB, avg. 37350 kB/s)
Flashing cmt-mcusw... done.
Sending kernel image (1705 kB)...
100% (1705 of 1705 kB, avg. 37081 kB/s)
Flashing kernel... done.
Sending and flashing rootfs image (185728 kB)...
100% (185728 of 185728 kB, avg. 15812 kB/s)
Finishing flashing... done
CMT flashed successfully

C:\Program Files (x86)\maemo\flasher-3.5>flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
flasher v2.5.2 (Sep 24 2009)

Image 'mmc', size 255947 kB
        Version RX-51_2009SE_10.2010.13-2.VANILLA
USB device found found at bus bus-0, device address \\.\libusb0-0001--0x0421-0x0105.
Found device RX-51, hardware revision 2204
NOLO version 1.4.14
Version of 'sw-release': RX-51_2009SE_20.2010.36-2_PR_MR0
Booting device into flash mode.
Suitable USB device not found, waiting.
USB device found found at bus bus-0, device address \\.\libusb0-0001--0x0421-0x01c8.
Raw data transfer EP found at EP2.
Image(s) flashed successfully in 29.186 s (8769 kB/s)!

C:\Program Files (x86)\maemo\flasher-3.5>flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f -R
flasher v2.5.2 (Sep 24 2009)

SW version in image: RX-51_2009SE_20.2010.36-2_PR_MR0
Image 'kernel', size 1705 kB
        Version 2.6.28-20103103+0m5
Image 'rootfs', size 185728 kB
        Version RX-51_2009SE_20.2010.36-2_PR_MR0
Image 'cmt-2nd', size 81408 bytes
        Version BB5_09.36
Image 'cmt-algo', size 519808 bytes
        Version BB5_09.36
Image 'cmt-mcusw', size 5826 kB
        Version rx51_ICPR82_10w08
Image '2nd', size 14720 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2217, 2218, 2219, 2220, 2120
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2101, 2102, 2103
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2307, 2308, 2309, 2310
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2407, 2408, 2409, 2410
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2301, 2302, 2303, 2304, 2305, 2306
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2401, 2402, 2403, 2404, 2405, 2406
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2501, 2502, 2503, 2504, 2505, 2506
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2607, 2608, 2609, 2610
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2507, 2508, 2509, 2510
        Version 1.4.14.9+0m5
Image '2nd', size 14720 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216
        Version 1.4.14.9+0m5
Image '2nd', size 14848 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
Image 'xloader', size 14848 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
Image 'secondary', size 109440 bytes
        Valid for RX-51: 2601, 2602, 2603, 2604, 2605, 2606
        Version 1.4.14.9+0m5
USB device found found at bus bus-0, device address \\.\libusb0-0001--0x0421-0x0105.
Found device RX-51, hardware revision 2204
NOLO version 1.4.14
Version of 'sw-release': RX-51_2009SE_20.2010.36-2_PR_MR0
Sending xloader image (14 kB)...
100% (14 of 14 kB, avg. 14500 kB/s)
Sending secondary image (106 kB)...
100% (106 of 106 kB, avg. 106875 kB/s)
Flashing bootloader... done.
Sending cmt-2nd image (79 kB)...
100% (79 of 79 kB, avg. 79500 kB/s)
Sending cmt-algo image (507 kB)...
100% (507 of 507 kB, avg. 33841 kB/s)
Sending cmt-mcusw image (5826 kB)...
100% (5826 of 5826 kB, avg. 37350 kB/s)
Flashing cmt-mcusw... done.
Sending kernel image (1705 kB)...
100% (1705 of 1705 kB, avg. 37081 kB/s)
Flashing kernel... done.
Sending and flashing rootfs image (185728 kB)...
100% (185728 of 185728 kB, avg. 15861 kB/s)
Finishing flashing... done
CMT flashed successfully

C:\Program Files (x86)\maemo\flasher-3.5>

My N900 still is stuck on the loading dots

pichlo 2017-01-18 05:53

Re: Boot Issue N900
 
I cannot see anything wrong. Did you unplug the USB cable after the last flash? The last thing I would try is take out the battery and SD card if there is one, wait at least 30 minutes, put the battery back in (but not the SD card) and try booting again. If that still fails, then I give up :(

sicelo 2017-01-18 07:07

Re: Boot Issue N900
 
isn't it normal for it to 'hang' at dots for a long time on first boot? how long did you wait? (I haven't flashed since 2011 .. so I might have forgotten by now)

peterleinchen 2017-01-18 07:22

Re: Boot Issue N900
 
Yep, a few minutes would be normal. (also no idea 'how' long, last flash around 2013?)

Nothing wrong in the log.
So pichlo's advice, once again, is worth a try (pull battery, wait, push in again; that cured a few weird quirks for me already).
But I am afraid this time it may not help and it could be some HW fault. Possibly open it, clean from dust and check connections/cables?

pichlo 2017-01-18 07:58

Re: Boot Issue N900
 
Quote:

Originally Posted by sicelo (Post 1522172)
isn't it normal for it to 'hang' at dots for a long time on first boot? how long did you wait? (I haven't flashed since 2011 .. so I might have forgotten by now)

As peterleinchen says, the first boot takes a few minutes. I don't remember how long exactly, could be 10 minutes or more. But the OP said overnight. That is not normal.

dbilbao 2017-01-18 12:22

Re: Boot Issue N900
 
I have no idea about CSSU-devel.


i left the phone all night without battery, then started this morning, boots, appear nokia logo, five dots animation, nokia handshake, locale settings, five dots animation again, and finally the desktop, then reboots forever


Flasing that files for a global version, will fix it?

Thanks

Diehardn900 2017-01-19 00:58

Re: Boot Issue N900
 
Quote:

Originally Posted by pichlo (Post 1522171)
I cannot see anything wrong. Did you unplug the USB cable after the last flash? The last thing I would try is take out the battery and SD card if there is one, wait at least 30 minutes, put the battery back in (but not the SD card) and try booting again. If that still fails, then I give up :(

I will give that a try and report back.

Is there any way to flash backups now.. I cant find the recovery screen? I have a few backups from long ago when I used this device for a daily driver now I just use it for fun.. as you all know this is one of the best devices for hacking / packet injection with little to no configuration needed for it to work.

Before I starting all this flashing I did try to restore a backup and It failed I forget the errors so then I just decided to start fresh and flash with new images (combined/eMMC)
How is recovery accessed or reflashed?

I dont think this is an issue but I did a battery bypass by soldering +/- wires to the phone where the battery connects so its get power by a usb cable. Assuming the eMMC doesn't need power to keep storage.

peterleinchen 2017-01-19 07:48

Re: Boot Issue N900
 
Quote:

Originally Posted by Diehardn900 (Post 1522220)
...

I dont think this is an issue but I did a battery bypass by soldering +/- wires to the phone where the battery connects so its get power by a usb cable. Assuming the eMMC doesn't need power to keep storage.

I DO think so :eek:

pichlo 2017-01-19 08:42

Re: Boot Issue N900
 
Quote:

Originally Posted by Diehardn900 (Post 1522220)
I dont think this is an issue but I did a battery bypass by soldering +/- wires to the phone where the battery connects so its get power by a usb cable. Assuming the eMMC doesn't need power to keep storage.

Sorry, you did what? I am not 100% sure I understand. Do you mean you soldered the USB power directly to the battery terminals? That would be a sure way of frying your phone (the battery voltage is about 4.2V max; USB gives 5V). I hope this is not what you meant.

The N900 needs the battery to boot. It can be replaced with a dummy circuitry but it is not as simple as just the +/- wires, even with the correct voltage. The middle terminal is also important. The phone uses it to check the battery capacity.

The eMMC is non-volatile and does not need a power backup any more than any other flash storage.

nieldk 2017-01-20 08:01

Re: Boot Issue N900
 
Quote:

Originally Posted by peterleinchen (Post 1522225)
I DO think so :eek:

the name "Diehardn900" just got real.

Diehardn900 2017-01-29 21:49

Re: Boot Issue N900
 
Quote:

Originally Posted by pichlo (Post 1522228)
Sorry, you did what? I am not 100% sure I understand. Do you mean you soldered the USB power directly to the battery terminals? That would be a sure way of frying your phone (the battery voltage is about 4.2V max; USB gives 5V). I hope this is not what you meant.

The N900 needs the battery to boot. It can be replaced with a dummy circuitry but it is not as simple as just the +/- wires, even with the correct voltage. The middle terminal is also important. The phone uses it to check the battery capacity.

The eMMC is non-volatile and does not need a power backup any more than any other flash storage.

I have set voltage for the correct amount needed by the phone to power. This is not the issue

pichlo 2017-01-30 09:02

Re: Boot Issue N900
 
And the middle pin?

nieldk 2017-01-30 13:09

Re: Boot Issue N900
 
Quote:

Originally Posted by pichlo (Post 1522612)
And the middle pin?

Connect thru a 110k resistor to GND ;)

Enrico Menotti 2017-03-04 12:09

Re: Boot Issue N900
 
Hi everybody,

I post here since I am having boot issues too. I reflashed the N900, installed u-boot and was trying to get NITDroid work, but messed up something and now I can only access u-boot terminal. I cannot reflash the phone since when connected to a computer it is not recognised.

I am trying to create a bootable SD card and boot from there, but I don't know how to unpack the RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin file to get the kernel.

Another option would be to directly flash from the SD card.

Any help?

UPDATE: I have been able to unpack the .bin file by issuing

flasher-3.5 -F ....bin -u

So now I have the kernel. I have extracted the zImage and converted it to uImage by mkimage (utility part of the u-boot suite). I have written a short script for starting the kernel and made it into image. Copied all to sd card (single partition). Boots, but hangs and reboots.

At this point I need some advice on how to pass correct parameters to the kernel in order to gain access to the file system.

pythoneye2 2017-03-05 15:46

Re: Boot Issue N900
 
Hi
Maemo on sd would be very nice to have,
there is information at various places but no images yet.

did you try
http://kicherer.org/joomla/index.php...from-a-sd-card

Enrico Menotti 2017-03-05 16:17

Re: Boot Issue N900
 
Following suggestions by Pali, I am looking at rescue OS:

https://talk.maemo.org/showthread.php?t=75369

The files are at:

https://n900.quitesimple.org/rescueOS/rescueOS-1.3/

What I have done up to now:
- downloaded the kernel zImage
- used mkimage to convert it to uImage, with mounting address 86008000 and starting address the same
- with reference to Kicherer's blog, made a script for loading the uImage to memory and booting it. Simply
setenv bootcmd 'fatload mmc 0:1 86008000 uImage; bootm 86008000'
- converted the script into image boot.scr, address 0
- placed uImage and boot.scr in sd card (single partition)
- if I insert the sd card and boot from there, rescue OS starts

The problem is that it doesn't see any file system (I think); it gives an error saying the root is not valid and goes to kernel panic.

Now I contacted again Pali and also NIN101. What I have understood:
- the remainder of the OS is in the file rescueOS-1.3.img, same link as above for the kernel
- this file is to be converted to uImage with mkimage. Did this with name uRam:
mkimage -A arm -O linux -T ramdisk -C none -a 82008000 -e 82008000 -n ramdisk -d rescueOS-1.3.img uRam
(the address 82008000 is a guess. I think I understand that addresses should be multiples of some quantity, otherwise the kernel says we are unaligned)
- copied uRam to sd card
- loaded uRam to memory by fatload (address 82008000)
- added to boot.scr the line:
setenv bootargs 'initrd=82008000,8M'

This does not work. Clearly I did not expect it to, since I am just trying and trying, understanding step by step as I make errors.

I have posted all this in the hope that somebody may correct my errors and suggest what I should do now.

pali 2017-03-05 16:59

Re: Boot Issue N900
 
As wrote you should use same cmdline bootargs as via USB flasher.

Look at existing U-Boot settings and helper sub-scripts for N900:
http://git.denx.de/?p=u-boot.git;a=b...0;hb=HEAD#l239

So boot script should look like this:
Code:

setenv mmckernfile uImage;
setenv mmcinitrdfile uInitrd;
setenv bootargs rootdelay root=/dev/ram0;
run initrdload;
run kernload;
run kerninitrdboot;

uImage should be generated as:
Code:

$ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n "name_of_kernel" -d /path/to/kernel uImage
and uInitrd as:
Code:

$ mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n "name_of_initrd" -d /path/to/initrd uInitrd
(not tested)

Look also how is generated Bootmenu script in eMMC from /etc/bootmenu.d files:
https://github.com/pali/u-boot-maemo...pdate-bootmenu

Enrico Menotti 2017-03-05 17:33

Re: Boot Issue N900
 
Pali, you're great. I followed literally what you indicated and now the N900 boots into shell. I will charge the battery and then go further.

I don't know how to thank you.

Enrico Menotti 2017-03-05 22:28

Re: Boot Issue N900
 
Ok, battery's up.

Now? The device enters flashing mode (hold u and connect usb), but my old spare Windows Vista pc doesn't install drivers, so flasher-3.5.exe won't work. I tried on my MacBook Pro with El Capitan, went into command line, and issued
Code:

diskutil list
No signs of the device.

So how could I do in order to reflash it? It seems to me strange that it be not possible to reflash from the sd card.

Maybe as an intermediate step it would be interesting to complete Maemo boot from the sd card: up to now I have been able to boot rescueOS; I have Maemo's kernel; what I miss is the initrd.


All times are GMT. The time now is 10:34.

vBulletin® Version 3.8.8