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)

Nobless 2012-07-15 17:42

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

Originally Posted by pali (Post 1237840)
just read error messages. this looks like corrupted rootfs. kernel cannot mount ubifs rootfs filesystem.

I see that. Then why with old version everything working :) ? I mean with 2012.04.1, but with this somehow my rootfs is corrupted ??

EDIT: tried to backup with backupmenu older rootfs same problem the newer version shows that my rootfs is corrupted.. But with older version of u-boot everything working good, no errors.. intresting.

peterleinchen 2012-07-15 20:05

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Did you call the 'u-boot-update-bootmenu' after installing newer version of palis u-boot?

For adding framebuffer support, just read the last (2) pages, edit /sbin/preinit...

Nobless 2012-07-15 22:44

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

Originally Posted by peterleinchen (Post 1237903)
Did you call the 'u-boot-update-bootmenu' after installing newer version of palis u-boot?

For adding framebuffer support, just read the last (2) pages, edit /sbin/preinit...

Of Course i did :) Does I'm look so dumb :D? If I wouldn't updated, i can't able to see power, framebuffer, nitdroid kernels in bootmenu at all or even boot it :P

I'm going to read it, thanks :)

Nobless 2012-07-16 11:19

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

Originally Posted by peterleinchen (Post 1237903)
For adding framebuffer support, just read the last (2) pages, edit /sbin/preinit...

I read it from 33 page and nothing about how to add framebuffer to kernel-power :)

pali 2012-07-16 11:23

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
just edit /sbin/preinit and add line "modprobe fbcon" before condition if exists file /bootmenu.sh

please note, that framebuffer module (fbcon) and also /sbin/preinit are stored in rootfs. If rootfs is corrupted no framebuffer output!

peterleinchen 2012-07-16 12:54

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

Originally Posted by Nobless (Post 1238172)
I read it from 33 page and nothing about how to add framebuffer to kernel-power :)

Oops. I was with my mind in different thread:
http://talk.maemo.org/showthread.php...onsole&page=13
Sorry. But pali already explained completely :)

--
And for your other problem (just a shot in the dark):
your penguin looks a bit outfashioned in contrast to the penguin of u-boot 2012-04. Looks more like matans version.
Maybe the flash of u-boot (with attached kernel) does not flash correctly and leave old u-boot bootimage in NAND? pali?
I do have observed that behaviour wtih multiboot (and its way of flashing). There I needed to load/flash once the nitdroid kernel to get rid of u-boot.
Try to manually flash only kernel via USB. Then you should boot up without u-boot and into stock kernel.
After that install again u-boot-flasher. And report, please.
Or wait for palis comment on that...

Nobless 2012-07-16 13:24

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Pali,
what does it really mean rootfs is corrupted, because everything working except your newer u-boot version it cant load kernels, with older version rootfs is not corrupted and everything works like a charm. Is there any way to solve "corrupted" rootfs without flashing it ?

peterleinchen,
I tried this. After fails of loading the power or stock kernels with 2012-04-2 version I flashed via USB same stock and power kernels and both boots up without problems :) And reinstalled u-boot both packages tools and flasher so many times, even i can't count it :P still same problem. But.. if I install 2012-04 version no errors and u-boot loads kernels without problems - no errors about corrupted rootfs.

misiak 2012-07-16 14:16

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Which hardware revision is your N900? Somewhere in that thread are instrunctions how to check. I somehow think this may be related.

peterleinchen 2012-07-16 15:23

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
After kernel flashing via USB the u-boot was gone?

Do you have SD card inside? Pull out and try again.
If not, put one inside and try again. (preferably this, as I have one inside)

The thing I imagine here is mixing of devices mmc0/mmc1.
(--edit which may be nonsense, as error is about mounting ubifs)

Nobless 2012-07-16 15:27

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

Originally Posted by misiak (Post 1238236)
Which hardware revision is your N900? Somewhere in that thread are instrunctions how to check. I somehow think this may be related.

i remember it 2104 :D

Nobless 2012-07-16 15:40

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

Originally Posted by peterleinchen (Post 1238261)
After kernel flashing via USB the u-boot was gone?

Do you have SD card inside? Pull out and try again.
If not, put one inside and try again. (preferably this, as I have one inside)

Yes, instantly loads Maemo. Note: When keyboard opened and flashed via USB opens bootmenu, when loading with u-boot 2012.04-2 the kernel it not shows up. Is it important to ?

Yes i have one inside, i do what u sad and the same error occurs.

peterleinchen 2012-07-16 16:31

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Then I think I do not have an idea anymore.
Or maybe one try: boot with keyboard out, select u-boot console and type run attachboot. But I guess this will produce the same error :(

Nobless 2012-07-16 16:48

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
already tried, the same.. ;) ty for helping

misiak 2012-07-16 17:51

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Well, according to http://talk.maemo.org/showpost.php?p...0&postcount=23 the 2104 hw revision is a bit problematic. This with addition to the fact that new u-boot has some important change in atags reading/setting (at least as far as i understood after reading last few pages quickly) may be the reason for your help.

Pali, could you comment on that? It looks Nobless has N900 with hw rev 2104 which cannot be booted with new u-boot. May it be a release blocker?

Nobless, could you boot your N900 by loading kernel from flasher via usb and try to read atags? Here is instruction how to do that once you successfully boot your n900 using flasher - it is important that you do this using flasher and not load kernel by old, working u-boot. If it's indeed a problem with u-boot, this may help solve it not only for you, but for many other 2104 owners.

don_falcone 2012-07-16 18:31

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Didn't pali still wanted some atags read out from an 2104 revision?

Nobless 2012-07-16 19:22

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
very very sorry! just rechecked HW revision with
Quote:

cat /peroc/cpuinfo
Typed a mistake in the older post.
The HW revision is 2204 not 2104! Long time ago I checked the revision so similars numbers of misled me.. :( Still need a dump of readed atags ?


Quote:

Originally Posted by pali (Post 1238175)
just edit /sbin/preinit and add line "modprobe fbcon" before condition if exists file /bootmenu.sh

please note, that framebuffer module (fbcon) and also /sbin/preinit are stored in rootfs. If rootfs is corrupted no framebuffer output!

works nicely when kernel flashed via USB! that means mine rootfs is not corrupted. So the problem related to something else ?

peterleinchen 2012-07-16 20:44

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Do not think so, but better to provide it in that thread, so pali (or yourself) may compare easily.
I also do not think that your rootfs is corrupted, but have no clue.

Nobless 2012-07-16 21:26

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

Nobless 2012-07-18 10:40

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
any news here ? :)

ivgalvez 2012-07-18 11:13

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Please, could anyone point me to any tutorial or how-to, about migrating from an already existing multiboot installation (with Nitdroid and backupmenu) to an uboot/bootmenu based one?

Or do I need to first uninstall all the stuff (Nitdroid, backupmenu, KP, multiboot) and start over?

caveman 2012-07-18 15:40

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

Originally Posted by Nobless (Post 1237629)
I have some problems with new version of u-boot.

I believe I have been hit by the same or a similar problem. I had been using 2012.04-1 with maemo's kernel, kp50 and ubuntu on the uSD.

Today I installed 2012.04-2:
1. installed tools and flasher *without* removing 2012.04-1;
2. changed item files: sed -i 's/REUSEATAGS/OMAPATAG/' *.item
3. ran u-boot-update-bootmenu
On reboot bootmenu shows fine, but neither maemo nor kp50 can boot maemo. Both poweroff the device after the 20s timeout. Ubuntu on uSD boots fine.

My mistake, I think to myself, and so I reflash the kernel. System boots, I purge tools and flasher, and install them again. Next bootmenu is updated and reboot, but no changes: maemo's kernel and kp50 bomb out, ubuntu boots fine.

While in ubuntu I fsck'd all mmc partitions, and found no errors. HW rev is 2204, if that matters.

I had to flash the kernel again, and to be sure, I purged 2012.04-2 debs and reinstalled 2012.04-1, and reverted the ATAGs changes, and... now everything works again.

So for my device there is a regression with version 2012.04-2.

Nobless 2012-07-18 17:33

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
the same goes with mine n900 :) i also tried everything u did.

aditya_123412 2012-07-19 13:32

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
I didnt understand the first post abt installing Kernel Power with U-boot...Can anyone explain in noob language how am I supposed to get Kernel Poower(50) to work with U-boot.I also need to get bootmenu because I use Nitdroid and Backupmenu.....can anyone please help me?

When I try to install Uboot,it says that hostmode conflicts with it....does that mean I can never use USB-hostmode if I switch to Uboot?

peterleinchen 2012-07-19 22:26

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

Originally Posted by ivgalvez (Post 1239203)
Please, could anyone point me to any tutorial or how-to, about migrating from an already existing multiboot installation (with Nitdroid and backupmenu) to an uboot/bootmenu based one?

Or do I need to first uninstall all the stuff (Nitdroid, backupmenu, KP, multiboot) and start over?

Hey ivgalvez,
I do have multibbot, backupmenu-multiboot (assuming you too?) and u-boot here. But no bootmenu. This is easy.
If you really want/need bootmenu, you need to deinstall multiboot and also backupmenu-multiboot and start all over.
But I like the possibility to easily flash kernels during bootup. Modified multiboots preinit to have framebuffer support and also recovery shell (and inactive ramzswap early enabling).

So make your mind up and I will think about steps necessary, but falling asleep now...

aditya_123412 2012-07-20 15:46

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

Originally Posted by peterleinchen (Post 1240010)
Hey ivgalvez,
I do have multibbot, backupmenu-multiboot (assuming you too?) and u-boot here. But no bootmenu. This is easy.
If you really want/need bootmenu, you need to deinstall multiboot and also backupmenu-multiboot and start all over.
But I like the possibility to easily flash kernels during bootup. Modified multiboots preinit to have framebuffer support and also recovery shell (and inactive ramzswap early enabling).

So make your mind up and I will think about steps necessary, but falling asleep now...

Even I use Uboot within Multiboot,but no Bootmenu.Booting out of Uboot seems to frequently cause problems

lalit 2012-07-20 16:07

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

Originally Posted by caveman (Post 1239297)
Today I installed 2012.04-2:
1. installed tools and flasher *without* removing 2012.04-1;
2. changed item files: sed -i 's/REUSEATAGS/OMAPATAG/' *.item
3. ran u-boot-update-bootmenu
On reboot bootmenu shows fine, but neither maemo nor kp50 can boot maemo. Both poweroff the device after the 20s timeout. Ubuntu on uSD boots fine.

I followed step 1 and step3. I am not having any trouble.
Booted Maemo (Stock), KP51 and Ubuntu without any issue.
My rev is 2101

I think issue might be related to ATAGs.

caveman 2012-07-20 18:09

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

Originally Posted by lalit (Post 1240359)
I think issue might be related to ATAGs.

How are your item files regarding ATAGs?

lalit 2012-07-21 16:40

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

Originally Posted by caveman (Post 1240420)
How are your item files regarding ATAGs?

I was wrong. Issue is some where else.

My item files are mix, some are using REUSEATAGS and some are using OMAPATAGS. But this does not matter as u-boot-update-bootmenu script takes care of that. It will write "setenv setup_omap_atag 1" for each REUSEATAGS and OMAPATAGS into bootmenu.scr

Try with KP51.
I getting good performance in KP51

sicelo 2012-07-21 20:28

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
my N900 always fails to work with this u-boot version. each time i try, i can't even run Maemo using default kernel, let alone Nemo/Debian/whatever.

However, the 'old' uboot-pr13 works. is it probably something with my hardware?

Nobless 2012-07-25 11:27

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
still no news here.. Can someone upload 2012.04-1 version of u-boot because i deleted old one..

Mr Wolf 2012-07-25 11:48

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

Originally Posted by Nobless (Post 1242684)
still no news here.. Can someone upload 2012.04-1 version of u-boot because i deleted old one..

Here you go! ;)

https://rapidshare.com/files/7769570... 2012.04-1.zip

Nobless 2012-07-25 12:08

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

Originally Posted by Mr Wolf (Post 1242694)

Thanks you very much !

acrux 2012-07-26 08:46

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

Originally Posted by caveman (Post 1239297)
I believe I have been hit by the same or a similar problem.

The same here - posted it in the KP51 thread:
http://talk.maemo.org/showpost.php?p...6&postcount=42
Reflashed the kernel (thanks Nobless for your help :) ) and for now removed u-boot packages.

Nobless 2012-07-26 09:31

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

Originally Posted by acrux (Post 1243130)
The same here - posted it in the KP51 thread:
http://talk.maemo.org/showpost.php?p...6&postcount=42
Reflashed the kernel (thanks Nobless for your help :) ) and for now removed u-boot packages.

Try this version, with this should be no problems :

Quote:

Originally Posted by Mr Wolf (Post 1242694)


pierrem 2012-07-26 12:28

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
@Nobless and others

I had the same problem: I forgot to remove previous u-boot before flashing and then replaced REUSEATAGS by OMAPTAG instead of OMAPATAG.

To clean the mess:
- remove u-boot 2012.04-2
- install u-boot 2012.04-1
- remove u-boot 2012.04.1
- install u-boot 2012.04.2
- use the correct OMAPATAG option in item files
- run u-boot-update-bootmenu
- reboot

everything is fine now, but I can't tell you if my boot issue came from
replacing REUSEATAGS with the wrong option name, or the latter AND not removing the previous u-boot in the first place

hope it helps

melisa queen 2012-07-27 14:01

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Could some guy create the zImage and .item file for SHR OS?!
Here is the link:
http://build.shr-project.org/#!/shr-...ages/nokia900/

Thanks in advance :)

misiak 2012-07-27 14:11

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

Originally Posted by melisa queen (Post 1243772)
Could some guy create the zImage and .item file for SHR OS?!
Here is the link:
http://build.shr-project.org/#!/shr-...ages/nokia900/

Thanks in advance :)

have you tried zImage-2.6.28.10-power48 from http://build.shr-project.org/#!/shr-kernels/nokia900/ ?

agr0 2012-07-28 09:37

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
It is possible to delete or change name position: Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand) from bootmenu list ?

peterleinchen 2012-07-28 12:27

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
No, not easily. And would make no sense. THIS is your attached kernel (so highest prio, as I understand / like).
You may set a symlink in /etc/default called bootmenu.item to have another item as first item. But attached will be second one.

Or you tinker with bootmenu.scr (or edit script yourself) ... ;)

acrux 2012-07-28 13:20

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

Originally Posted by pierrem (Post 1243233)
I forgot to remove previous u-boot...

Well, in my case this was the first ever installation of u-boot...


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8