maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   A way to flash without USB? (https://talk.maemo.org/showthread.php?t=81341)

Pondake 2012-01-11 18:43

Re: A way to flash without USB?
 
Quote:

Originally Posted by Fabry (Post 1149017)
Now when you power on your dead phone (try with keyboard slide opened also), do you see the pinguin ?

If yes, there is an hope for you.

It says: "Loading BOOT MENU" which overlaps the Nokia sign.
Then after about 20 seconds, it turns off.

Fabry 2012-01-11 18:46

Re: A way to flash without USB?
 
I suppose that u-boot is not present.

Sorry you need usb port working :(

Pondake 2012-01-11 18:47

Re: A way to flash without USB?
 
Quote:

Originally Posted by Fabry (Post 1149022)
I suppose that u-boot is not present.

Sorry you need usb port working :(

Is there any change of holding it so.. that it connects?..
Or do I seriously need to repair the damn thing for $100 or so.

eight 2012-01-11 18:48

Re: A way to flash without USB?
 
But strange, "Loading Boot Menu" would only appear if something was left or is present from bootmenu and/or backupmenu.

Pondake 2012-01-11 18:49

Re: A way to flash without USB?
 
Quote:

Originally Posted by eight (Post 1149025)
But strange, "Loading Boot Menu" would only appear if something was left or is present from bootmenu and/or backupmenu.

Exactly, and the only thing I restored was the optfs and the rootfs.

Any explanations? Perhaps a potential solution?

Fabry 2012-01-11 18:53

Re: A way to flash without USB?
 
Quote:

Originally Posted by eight (Post 1149025)
But strange, "Loading Boot Menu" would only appear if something was left or is present from bootmenu and/or backupmenu.

The restored image has backupmenu installed, and backupmenu uses bootmenu.
So bootmenu presence is not strange.

The problem is that he has PowerKernel on his phone nand, but the restored image is not PowerKernel aware and phone can't boot

Pondake 2012-01-11 18:55

Re: A way to flash without USB?
 
Quote:

Originally Posted by Fabry (Post 1149033)
The restored image has backupmenu installed, and backupmenu uses bootmenu.
So bootmenu presence is not strange.

The problem is that he has PowerKernel on his phone nand, but the restored image is not PowerKernel aware and phone can't boot

I had like 6 options on multiboot, some previous versions of PK, BFS and the original one + nitdroid.

Fabry 2012-01-11 18:59

Re: A way to flash without USB?
 
Multiboot has been lost when you have restored the wrong image (wrong for your kernel).

Now you have only bootmenu (and I suppose backupmenu).
It is possible that backupmenu is working, but even then, it will work only for 20-30sec

eight 2012-01-11 19:01

Re: A way to flash without USB?
 
@ Fabry
Thanks for the explanation, espacially for the information that u-boot is able to boot from sd-card.

ade 2012-01-11 20:52

Re: A way to flash without USB?
 
Quote:

Originally Posted by Pondake (Post 1148968)
Dude, they told me that I had to restore the backup and they gave me a link.

Which was this: http://robbiethe1st.afraid.org/Backu...omplete_image/

And yes I had multiboot, but after that I installed backupmenu and the multiboot was gone but I think the kernels are there.

...

This was a default backup dealing with a non multiboot situation, non power kernel. I had hoped and presumed, that if your decided to restore in case of emergency, you would use you own backup. That's why I asked to you start with making a backup of your own with backup menu. The link referred to by others, was to describe a theoretical situation to restore without USB.

This must be the current situation (Fabry has mostly mentioned it):
- In nand you probably have 2.6.28.10-power49 (from the former situation)
- On rootfs you now have backup menu and the default kernel 2.6.28-omap1 libraries. No multiboot images in /boot, because that imagefile has no multiboot.

Backup menu is the first thing started when keyboard open, so I can imagine it tries to load. It could be the former multiboot situation gives some trouble. Backup menu was not made with multiboot in mind (the creator of backupmenu did't like the concept of multiboot at all, but it could be easly adapted for multiboot).

Pressing the "r" for restore during the backup/bootmenu will probably not react...

I am sorry to see that the technical explanation in http://talk.maemo.org/showpost.php?p...5&postcount=21 did not end up in the right choice. When you later asked if the image from the link would overwrite the kernel (http://talk.maemo.org/showpost.php?p...8&postcount=23) I could honestly say no, because it doesn't. I did not expect you where actually gonna use this images for a restore (causing a mismatch), but only mentioned it to described a fictive situation to point out the kernel overwrite.

Again, I feel very bad about the whole situation. I was under the impression the situation was clear and in any case, you would start with making a backup of your own device to be restored in case of emergency.

Pondake 2012-01-11 21:04

Re: A way to flash without USB?
 
Quote:

Originally Posted by ade (Post 1149116)
This was a default backup dealing with a non multiboot situation, non power kernel. I had hoped and presumed, that if your decided to restore in case of emergency, you would use you own backup. That's why I asked to you start with making a backup of your own with backup menu. The link referred to by others, was to describe a theoretical situation to restore without USB.

This must be the current situation (Fabry has mostly mentioned it):
- In nand you probably have 2.6.28.10-power49 (from the former situation)
- On rootfs you now have backup menu and the default kernel 2.6.28-omap1 libraries. No multiboot images in /boot, because that imagefile has no multiboot.

Backup menu is the first thing started when keyboard open, so I can imagine it tries to load. It could be the former multiboot situation gives some trouble. Backup menu was not made with multiboot in mind (the creator of backupmenu did't like the concept of multiboot at all, but it could be easly adapted for multiboot).

Pressing the "r" for restore during the backup/bootmenu will probably not react...

I am sorry to see that the technical explanation in http://talk.maemo.org/showpost.php?p...5&postcount=21 did not end up in the right choice. When you later asked if the image from the link would overwrite the kernel (http://talk.maemo.org/showpost.php?p...8&postcount=23) I could honestly say no, because it doesn't. I did not expect you where actually gonna use this images for a restore (causing a mismatch), but only mentioned it to described a fictive situation to point out the kernel overwrite.

Again, I feel very bad about the whole situation. I was under the impression the situation was clear and in any case, you would start with making a backup of your own device to be restored in case of emergency.

Thanks for the explaination, I'm pretty sad the phone is unuseable at the moment.

Luckily, I did backed up my entire phone before doing it.

But the only change to get it fixed is to fix the USB port which would cost me over $100.. well.. it's time to search for a new phone. :(

Goodbye Maemo. :'(

peter2p 2012-01-11 21:13

Re: A way to flash without USB?
 
Quote:

Originally Posted by Pondake (Post 1149127)
But the only change to get it fixed is to fix the USB port which would cost me over $100.. well.. it's time to search for a new phone. :(

Goodbye Maemo. :'(

Maybe this can help you...

eight 2012-01-11 21:28

Re: A way to flash without USB?
 
I've repartitioned the EMMC, changed file-systems, added partitions, ended up at boot-loops, flashed rescue initrd's of maemo and meego, and combined_images (just to install backupmenu).

Is there really no hack or workaround to get the system into booting from SD-Card, without an USB-Port?

Could anybody explain in a few words why this is impossible?

Estel 2012-01-11 22:15

Re: A way to flash without USB?
 
I can talk bullsh|t here, so take it with grain of salt, but AIUI, in his current layout (vanilla), every part of booting process expect something to load from N900 internal storages (either correct modules from rootfs = NAND or eMMC = optfs), and to change it - to except something from SD - he would need a USB cable.

It isn't entirely tragic, though. He can establish connection using testpads beneath the battery - safely. Of course, it requires some care when preparing, to not mess something up, but it's perfectly doable.

@Pondake - as for re-creating connection from test pads, search forum. If You're interested in more permanent fix for USB port, I've sent You a PM.

/Estel

kolos 2012-01-11 23:14

Re: A way to flash without USB?
 
I'm wondering if it could work if he opens 20110619-2247-rootfs.tar.gz file with 7-zip and then delete all files inside \lib\modules\2.6.28-omap1\ and then in same folder paste all modules (files) for kernel-power he uses (in nand)?

EDIT: I see now, he is not able to access backupmenu. Very bad.

Anyway, I would like to know if this clean rootfs image can be used for device with flashed KP49 if I just replace content of 2.6.28-omap1 folder with files from 2.6.28.10-power49 (from KP49 modules package)? Or should I remove whole 2.6.28-omap1 folder and put there 2.6.28.10-power49 instead?

Fabry 2012-01-12 01:40

Re: A way to flash without USB?
 
Quote:

Originally Posted by kolos (Post 1149190)
I'm wondering if it could work if he opens 20110619-2247-rootfs.tar.gz file with 7-zip and then delete all files inside \lib\modules\2.6.28-omap1\ and then in same folder paste all modules (files) for kernel-power he uses (in nand)?

To work files must be in /lib/modules/2.6.28.10-power49 and you don't need to delete 2.6.28-omap1 folder (two folders = two kernels usable)

Quote:

Anyway, I would like to know if this clean rootfs image can be used for device with flashed KP49 if I just replace content of 2.6.28-omap1 folder with files from 2.6.28.10-power49 (from KP49 modules package)? Or should I remove whole 2.6.28-omap1 folder and put there 2.6.28.10-power49 instead?
NO, replace method NOT works, for reason already given.
But if you add the new modules folder it should work with KP49


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

vBulletin® Version 3.8.8