maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1) (https://talk.maemo.org/showthread.php?t=81613)

reinob 2012-09-06 08:16

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by neomarky (Post 1261996)
help..!
i cant install pali's uboot.. it said "unable to install uboot tools incompatible application package.."
am i missing something..? Tia..

Yes, you are missing something. You did not read the first post where the installation instructions are given.

Plus, *we* are missing something from you, namely the exact (error) output when you run dpkg to install u-boot.

aeon_light 2012-09-06 21:03

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by reinob (Post 1260703)

Meaning whatever you break on the rootfs (as well as the kernel partition) you can always flash again, that is, assuming that your USB port is working OK :)

If the USB port actually worked, I wouldn't have to go through all of this just to reflash the kernel ;).

I just tried using flasher built into the n900 image by adding it to a custom boot script (keymap doesn't let me type the dash symbol). I'm getting "Unable to enumerate USB ports" or something of that sort. I'm probably missing modules of some kind (phonet? As that seems to be what makes flasher on PCs work). Will try to modprobe that and see...

mongrol 2012-09-07 00:10

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by neomarky (Post 1261996)
help..!
i cant install pali's uboot.. it said "unable to install uboot tools incompatible application package.."
am i missing something..? Tia..

Don't use application manager. Install it from the commandline using dpkg.

neomarky 2012-09-07 13:18

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by mongrol (Post 1262407)
Don't use application manager. Install it from the commandline using dpkg.

you're right i did use HAM.. it's working now.. thank you for your help.. :)

reinob 2012-09-07 13:41

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by aeon_light (Post 1262367)
If the USB port actually worked, I wouldn't have to go through all of this just to reflash the kernel ;).

I just tried using flasher built into the n900 image by adding it to a custom boot script (keymap doesn't let me type the dash symbol). I'm getting "Unable to enumerate USB ports" or something of that sort. I'm probably missing modules of some kind (phonet? As that seems to be what makes flasher on PCs work). Will try to modprobe that and see...

AFAIK the way to locally flash a kernel is

Code:

softupd --local & flasher -k image --local -f
(see http://talk.maemo.org/showpost.php?p=922006&postcount=4)

[ OR, have a look at the postint script for kernel-flasher or kernel-power-flasher. Can't do that at the moment (work PC) ]

Good luck!

ExLuzZziVo 2012-09-07 17:27

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
How can I use u-boot with ext4 MyDocs partition? u-boot-update-bootmenu says that i need fat32 MyDocs partition:confused:

aeon_light 2012-09-07 22:13

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by reinob (Post 1262646)
AFAIK the way to locally flash a kernel is

Code:

softupd --local & flasher -k image --local -f
(see http://talk.maemo.org/showpost.php?p=922006&postcount=4)

[ OR, have a look at the postint script for kernel-flasher or kernel-power-flasher. Can't do that at the moment (work PC) ]

Good luck!

I got "could not connect to 127.0.0.1" before the execution of flasher when using softupd - after which flasher came up with the same error. Kernel-power-flasher's postinit uses fiasco-image-update in sbin, which might work better, but I'm actually a bit hesitant to flash the kernel directly from the script without enabling R&D mode and turning off the watchdogs first, since this could result in the N900 getting shut down by the watchdog in the middle of a flash, which would leave me with no way to back out without fixing the USB port.

Edit 1: fiasco-image-update is apparently just a script running the commands from before. Oh well. I'm probably still just missing some module that it expects to be loaded... Well, that or a script that's supposed to be run after preinit.

Edit 2: Can I flash a kernel locally from a chroot? (Say, I started RescueOS, extracted a rootfs backup to what would be my /home directory on the N900, mount all necessary dev, sys, and tmpfs stuff and then chroot and flash.)

Fabry 2012-09-08 19:51

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by reinob (Post 1262646)
AFAIK the way to locally flash a kernel is

Code:

softupd --local & flasher -k image --local -f
(see http://talk.maemo.org/showpost.php?p=922006&postcount=4)

[ OR, have a look at the postint script for kernel-flasher or kernel-power-flasher. Can't do that at the moment (work PC) ]

Good luck!

You need also loopback device to flash locally.

Correct script is shown here : http://talk.maemo.org/showpost.php?p...postcount=1102

pali 2012-09-11 19:41

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Here is bootmenu item file for rescue os:

Code:

ITEM_NAME="RescueOS"
ITEM_KERNEL="2.6.37"
ITEM_INITRD="rescueOS-initrd-0.5.3.img"
ITEM_CMDLINE="rootdelay root=/dev/ram0"
ITEM_OMAPATAG="1"

EDIT:
Above file was edited. Store rescue os files to /boot and run:
$ u-boot-update-bootmenu

ade 2012-09-11 21:01

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Pali,

Just to be sure: I can remove the images from /boot once images are generated in /home/user/MyDocs/bootmenu.img.d after the u-boot-update-bootmenu command? Especially the rescueOS image eats too much from my rootfs....


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

vBulletin® Version 3.8.8