PDA

View Full Version : Ran initfs_flash and now stuck in boot menu.


Booked
07-21-2010, 12:26 AM
Hello,
I was trying to setup my N810 for booting off of the external SD card using Fanoush's initfs flasher. I think I may have entered something wrong in bootmenu.conf because now I am stuck with a repeating "Press and hold MENU key for advanced boot menu" message.

My question is how do I reflash to restore the default of booting off of the internal flash? I tried the following from my PC:
$flasher-3.5 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin --flash-only=initfs -R
$flasher-3.5 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin --flash-only=rootfs -R
Neither seemed to do anything as I still get the repeating boot menu message. I don't want to reflash the whole image because I don't want to have to re-install and configure things if I don't have to.

maacruz
07-21-2010, 03:26 AM
Hold the switch key while rebooting to make the device enter flash mode. Then run flash command.
By the way, the second command would reflash the root filesystem, meaning losing all your settings and installed programs.

Booked
07-21-2010, 11:22 PM
I have been holding the switch/swap key and I do get the little USB symbol in the upper right hand corner. I assume this means it is in flash mode. However, when I run the flasher, I get
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
USB device found found at bus 001, device address 011.
Found device RX-44, hardware revision 0805
NOLO version 1.1.16
Version of 'sw-release': RX-44_DIABLO_5.2008.43-7_PR_MR0

It then reboots in about a second and gives me the "Press and hold MENU key ..." message again.

Does a partial reflash require the 'sw-release' of the re-flash to be the same release as what is already in flash? I am not sure they are the same right now.
Or do I need to do a cold flash as mentioned in the man page for the flasher? I do not know what the term cold flash means so I did not want to try it without getting some confirmation that this is okay. Although the possibility of messing things up has not stopped me much up to this point.

maacruz
07-22-2010, 11:50 AM
To simplify the command, first unpack the image
flasher -u RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin
Then flash the initfs component
flasher -f -n <initfs_image>
Forget about cold flashing, it requires special hardware no one but Nokia has.

Booked
07-22-2010, 09:35 PM
Excellent. That did the trick.
The command to unpack the image was:
flasher-3.5 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -u

Then to flash:
flasher-3.5 -f -n initfs.jffs2

Thank You

Mgamerz
07-22-2010, 11:45 PM
Good to see that you still can't brick them since you can reflash at the lowest of all levels.

maacruz
07-23-2010, 04:03 AM
Good to see that you still can't brick them since you can reflash at the lowest of all levels.

This is no low level, it is just flashing by components, and btw, it is safer than whole image flashing, as long as you don't try to play with the loader (NOLO).