maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   u-boot for the RX-51 (N900) (https://talk.maemo.org/showthread.php?t=62146)

pali 2011-11-11 21:08

Re: u-boot for the RX-51 (N900)
 
I pushed new (rebased) patches to git repository on gitorious.
* deleted ali patch which relocated u-boot in reset function (I moved and rewritted code to rx51.c)
* added patch which enable appending atags to existing (based on mirakels patch)
* rebased on top of u-boot master again

In this build I see problem with eMMC again :( - not working. But I did not change anything with eMMC, so problem must be in upstream code...

===

Two things missing for sending patches to upstream:
1. fix eMMC support again
2. correct display brightness support

pali 2011-11-11 22:51

Re: u-boot for the RX-51 (N900)
 
Problem with eMMC was found :)
Caused by commit:
02f3029f1810b99869254d0cf0a71946a008a728 mmc: retry the cmd8 to meet 74 clocks requirement in the spec:
http://git.denx.de/?p=u-boot/u-boot-...a71946a008a728

After reverting this commit eMMC working again...

qwazix 2011-11-12 01:20

Re: u-boot for the RX-51 (N900)
 
Quick question: u-boot+kp 49 does not work with the default meego ce image out of the box. Is there a boot.scr for that configuration and where should I put it? (I think that the default Meego CE image has a fat /boot partition so that it works with uboot-pr13)

uboot-pr13 and uboot from the shr website confirmed to work with the same Meego CE sd card.

m4r0v3r 2011-11-12 01:25

Re: u-boot for the RX-51 (N900)
 
ive got the same problem as above. yet when i flashed to stock and stock uboot, i had an error still.

pali 2011-11-12 08:57

Re: u-boot for the RX-51 (N900)
 
You need to create bootmenu configuration file (bootmenu.scr in MyDocs)

m4r0v3r 2011-11-12 11:09

Re: u-boot for the RX-51 (N900)
 
thank you soo much :D this is how i boot into it now


setenv bootmenu_4 'MeegoBoot (External SD card, partition 3, fat, uImage)=setenv mmcnum 0; setenv mmcpart 3; setenv mmctype fat; setenv mmcfile uImage; run trymmcuimage';

pali 2011-11-12 12:45

Re: u-boot for the RX-51 (N900)
 
You can also specify only 3 entires (if you want):
bootmenu_0 for Maemo5 kernel
bootmenu_1 for Meego
bootmenu_2 for end of bootmenu

last entry must always exists and must be empty!

m4r0v3r 2011-11-12 14:05

Re: u-boot for the RX-51 (N900)
 
i dont really have a last entry? is it required? since everything seems to run fine

pali 2011-11-12 14:10

Re: u-boot for the RX-51 (N900)
 
if you are sure that variable after last entry is not defined it should be ok (I checked u-boot code), but it could not be always true.

if you add command "setenv bootmenu_<last+1>" you will delete <last+1> entry so <last> will be always last

qwazix 2011-11-12 15:54

Re: u-boot for the RX-51 (N900)
 
Thank you all for your help,

I created the bootmenu.scr with m4r0v3r's
Code:

setenv bootmenu_4 'MeegoBoot (External SD card, partition 3, fat, uImage)=setenv mmcnum 0; setenv mmcpart 3; setenv mmctype fat; setenv mmcfile uImage; run trymmcuimage';
and now u-boot finds the meego ce kernel (it shows size, name and all) sticks at Starting Kernel for a few seconds and then the device turns off. Any ideas?


All times are GMT. The time now is 17:29.

vBulletin® Version 3.8.8