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)

pali 2012-02-24 08:11

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by Hurrian (Post 1168951)
I loaded the Nemo kernel with flasher -l and still no dice, leaving error -110's before kicking the watchdog timer.

It's definitely their fault, and they need to patch their kernel.

Please report that proble to their bugtracker!

Hurrian 2012-02-24 09:17

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by pali (Post 1169112)
Please report that proble to their bugtracker!

Submitted as a new bug.
This is pretty damn serious, I wonder why they haven't got around to getting people to report what happens when they load it fresh from flasher.

EDIT: Got the official reply. Apparently, the kernel being pretty complete wrt goals is done, so all dev has moved towards Mer itself. And the official boot option is uboot-pr13.

Whelp, one side has to budge somehow. The fact that it doesn't work from flasher, which is as clean as a load source as you can get, pretty much means that you've ****ed something up.

vakkov 2012-02-24 12:43

Re: U-Boot for Nokia RX-51 with BootMenu
 
If I try to start a kernel from u-boot-images.tar.gz different from omap-1 it loads it says starting and shuts down. why? do I have to install something to support them?

EDIT: I forgot to install modules ... sorry

pali 2012-02-24 21:16

Re: U-Boot for Nokia RX-51 with BootMenu
 
Can somebody try these patches for Nemo?
http://bazaar.launchpad.net/~beagleb...t-errors.patch
http://marc.info/?l=linux-omap&m=129489302515240&w=2

Netweaver 2012-02-24 22:53

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by pali (Post 1169380)

The first patch is rather crude, just doubles the DTO. I can try it, I guess the value can become higher than 14, maybe it has an influence then ...

The second patch is (in my eyes) not really relevant, as it just bumps the DTO value with one (and in the explanatory text it says it should always work with DTO value of 14). NOT :(

I don't think anymore the error is in the (too low) DTO value, I have a gut feeling we have to look in the TWL4030 power init to the MMC and SD card subssystem. But I'm happy to be proven wrong, just let me know what you would like me to try and I can create/test the kernels.

This is my OBS repository and these are the different patches I had applied already, resulting in slightly different behavior but no salvation :
https://build.pub.meego.com/package/...ptation%3AN900

the patches I have tried, in all combinations are :
linux-2.6-OMAP-mmc-set-DTO-timeout-to-14.patch
linux-2.6.37-OMAP-mmc_restore-power-mode.patch
linux-2.6.37-OMAP-mmc_hw_reset_after_warm-restart.patch

I'll try the DTO doubling patch as well.

vakkov 2012-02-26 21:34

Re: U-Boot for Nokia RX-51 with BootMenu
 
http://forum.nitdroid.com/index.php?....msg135#msg135

THANKS PALI!

ivyking 2012-02-26 22:15

Re: U-Boot for Nokia RX-51 with BootMenu
 
1 Attachment(s)
Quote:

Originally Posted by vakkov (Post 1170158)

just quoting what you wrote over the nitdroid forum

Quote:

Title: U-boot and Nitdroid for n900
Post by: vakkov on February 26, 2012, 09:24:56 pm

Ok this is a short guide because i have to go but i will explain for more andvanced users:
1. Download Nitdroid 2.3.4 N12_Umay and install it on ext3 partition (mmcblk1p2) (MUST BE EXT3 BECAUSE I HAVEN'T ADDED EXT4 SUPPORT YET)
2. Your first sd card partition should be FAT (for ext2/ext3 and etc will explain tomorrow)
3. Install U-boot by Pali - http://talk.maemo.org/showthread.php?t=81613
4. Download nitdroid rc7 kernel and extract the file - then go to /system/lib/modules/2.6.28.NIT.07/ and copy all the files to /system/lib/modules/current in NITDROID partition (mmcblk1p2)
4.1. Replace init.nokia.rc with mine
5. Now download boot.scr from attachments and copy it to the first partition (FAT)
6. Dowload uImage and copy it to the same place as boot.scr
7. Insert sd card in n900 and power on with opened keeyboard
8. Stop u-boot counting and enter U-boot console
9. Write - run sdboot... and watch booting
P.S. Soon booting will be faster - now it waits 10 seconds for rootfs to be mounted

Credits: E-yes (For help and Nitdroid), Pali (for help and U-boot), Marex_ (at #u-boot at freenode) for help and Vakkov for making it possible. and everybody else who i have forgot about.

MOre instructions and option tomorrow - I have to sleep now, school is coming

FILES: http://www.4shared.com/zip/asS9CW01/NIT.html


Fabry 2012-02-27 22:38

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by Hurrian (Post 1168951)
I loaded the Nemo kernel with flasher -l and still no dice, leaving error -110's before kicking the watchdog timer.

It's definitely their fault, and they need to patch their kernel.

I confirm that there are same problems on eMMC also (with kernel loaded by flasher).

But only if Pali's U-Boot is present on phone.

If you remove u-boot from the phone then Nemo kernel will work perfectly when loaded by flasher !!

So it is not only a problem of Nemo's kernel.

pali 2012-02-27 22:44

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by Fabry (Post 1170967)
I confirm that there are same problems on eMMC also (with kernel loaded by flasher).

But only if Pali's U-Boot is present on phone.

If you remove u-boot from the phone then Nemo kernel will work perfectly when loaded by flasher !!

So it is not only a problem of Nemo's kernel.

Ehm what? flasher, x-loader and NOLO has nothing with U-Boot. NOLO is started before U-Boot and flasher send image directly to NOLO... So kernel image booted with flasher has nothing with NOLO!

Fabry 2012-02-27 22:55

Re: U-Boot for Nokia RX-51 with BootMenu
 
Quote:

Originally Posted by pali (Post 1170974)
Ehm what? flasher, x-loader and NOLO has nothing with U-Boot. NOLO is started before U-Boot and flasher send image directly to NOLO... So kernel image booted with flasher has nothing with NOLO!

Please try yourself before complain!

The defect is perfectly reproducible


All times are GMT. The time now is 04:20.

vBulletin® Version 3.8.8