Active Topics

 


Reply
Thread Tools
Posts: 106 | Thanked: 136 times | Joined on Apr 2010 @ Switzerland
#771
I find out my mistakes... I have broken bootmenu files in /home/user/MyDocs (bootmenu.scr and bootmenu.img.d/) and images there no longer match expected power kernel version installed on my latest rootfs/optfs backup !

Thanks to BackupMenu USB mass storage mount, I fixed content of /home/user/MyDocs and get my boot menu back and my full system. If I had guessed the mistake I did first, I would not have restored that backup as rootfs and optfs were not concerned by the defect.
 

The Following User Says Thank You to ymartin59 For This Useful Post:
mp107's Avatar
Posts: 166 | Thanked: 454 times | Joined on Apr 2015 @ Poland
#772
WARNING!
Do (or try to do) it on your own responsibility.
I do not take any responsibility for broken/bricked/forced-to-reflashing devices.

I was able to run BackupMenu (v. 1.1) on the U-boot.
How?
1. I downloaded backupmenu-uboot.zip. This file have been uploaded few times on BackupMenu's thread.
2. I unpacked all files on root directory of my sdcard. If you have more than one partition - the first one must be FAT.
3. I turned off my N900 and turned on.
4. When showed U-Boot I have interrupted the counter and went to U-boot console
5. I typed "run sdboot"
6. After some time it booted BackupMenu.
There were some errors and GUI was slightly broken but I was able to make a backup on eMMC, restore it and boot the Maemo so at least backup & restore seem to work.
I didn't checked other functions because I don't use them.

All the thanks for the author of backupmenu-uboot.zip file.
I didn't make anything unusual.

EDIT:
Important note!
Try to avoid the "Quit and reboot" function in BackupMenu when you run it using my way. Using it may cause some lags when you booted Maemo after using that function.

Last edited by mp107; 2015-07-31 at 16:42.
 

The Following 2 Users Say Thank You to mp107 For This Useful Post:
Posts: 12 | Thanked: 5 times | Joined on Dec 2014
#773
Hello.
I've got a little problem. I renamed the default "bootmenu.img.d" to ".bootmenu.img.d", cause I hate seeing this directory any time I use FileBox (yes, I know, pretty silly decision). Now my phone doesn't want to boot any kernel, even the default one. Any way to rename that directory back so I can use my phone without reflashing? I tried connecting my phone via usb hoping that it will be detected as usb-storage so I can rename the folder, but Windows doesn't want to recognize it.
Any way to solve the problem using U-Boot console, or, whatever? Thanks in advance.

Last edited by px3x; 2015-11-10 at 23:03.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#774
You should be able to boot attached kernel (stock nokia one) which is stored in nand together with uboot.

Other option is to prepare kernel in uImage format and store it on SD card (name uImage). And via uboot console boot it via "run sdboot" command.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 12 | Thanked: 5 times | Joined on Dec 2014
#775
> You should be able to boot attached kernel (stock nokia one) which is stored in nand together with uboot.
But I can't. The phone simply reboots after chosing the default osso-kernel.

Any command to chose the image to boot from console?

Last edited by px3x; 2015-11-11 at 11:10.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#776
Look at available RX-51 commands in README file:
http://git.denx.de/?p=u-boot.git;a=b...nokia_rx51#l45

and their defintions in uboot source code:
http://git.denx.de/?p=u-boot.git;a=b...ia_rx51.h#l281

Basically, to load & book kernel from mmc device (eMMC or SD) card you need:
1) specify mmc device
2) specify mmc partition number
3) specify mmc partition type
4) load kernel file to memory address
5) boot image from memory address

For that set variables mmcnum, mmcpart, mmctype and mmckernfile. And then run trymmckernboot.

===

Another option is to connect phone via usb to computer via flasher-3.5 or 0xFFFF load kernel image (in load, not flash) mode and then boot it. This will allows you to boot temporary kernel without flashing it to nand...
 

The Following 5 Users Say Thank You to pali For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#777
Hello guys. I have a small question.
I have the last u-boot form pali 2013.04.
I reformatted my MyDocs to ext3.
no i get "Unrecognised filesystem type"

I still can boot the attached kernel (NAND), but no other kernels.

Where i can set the filesystem type ext3? for the u-boot?

Thanks
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#778
Originally Posted by explit View Post
Hello guys. I have a small question.
I have the last u-boot form pali 2013.04.
I reformatted my MyDocs to ext3.
no i get "Unrecognised filesystem type"

I still can boot the attached kernel (NAND), but no other kernels.

Where i can set the filesystem type ext3? for the u-boot?

Thanks
Have you run "u-boot-update-bootmenu" after reformatting MyDocs?
are the u-boot kernels still in place? (i.e. after reformatting).

Run u-boot-update-menu and post the output here. It might help for diagnosing.
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#779
Originally Posted by reinob View Post
Have you run "u-boot-update-bootmenu" after reformatting MyDocs?
are the u-boot kernels still in place? (i.e. after reformatting).

Run u-boot-update-menu and post the output here. It might help for diagnosing.
Yes of course i run it.
u-boot-update-menu find all Menu items and kernels. It also said that the default Menu item is kernel-power53 as i set it.
After i boot the mobile all menu items are correctly displayed but when i choose one it say "Unrecognised filesystem type"
:-(
 

The Following User Says Thank You to explit For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#780
I remember some problems with MyDocs formatted in fat from gparted or other tools. But iirc pali enabled all 'default' file formats.
How did you format it?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Reply

Tags
bootmenu, u-boot


 
Forum Jump


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