![]() |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
new bug created in Nemo Mobile bugzilla system : 92 https://bugs.nemomobile.org/show_bug.cgi?id=92 |
Re: U-Boot for Nokia RX-51 with BootMenu
Some update
Ali1234, the creator of the 'official' Nemo Mobile uboot package was willing to have a look at the problem, on my plea, as he was very close to the code before. You can follow the discussion in the irc chat log, starting yesterday http://mer.bfst.de/logs/%23mer/%23me...02-08.log.html 23:47. It continued early this morning till just now. Feel free to read along and understand the background and issues to resolve this problem. Right now he/we're a bit on a dead end as the publicised code is not behaving as the binaries so it's very hard to analyse and simulate the problem. Pali, can you help ali1234 along, to get him to compile the proper code that behaves like ur published binaries ? I think it's always good to have a 2nd or 3rd pair of eyes looking at a complex issue. irc, #mer is a good spot to meet for now, I guess:) Thanks. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
I have rebased my n900-v2011.06 branch on to v2011.12 which uses the omap_hsmmc driver instead of the omap3_mmc legacy driver. You can find this in the branch n900-v2011.12 in my github repo. It boots the nemo kernel correctly. I also tested the u-boot binary in the first post of this thread, and it gives the -110 timeout errors as reported. |
Re: U-Boot for Nokia RX-51 with BootMenu
I want to ask: If i put for example nitdroid will it be flashed (like multiboot does) or will it be loaded by u-boot
|
Re: U-Boot for Nokia RX-51 with BootMenu
If it were working, NITDroid kernel would be loaded by uBoot, no flashing required, but I haven't managed to get it going yet.
|
Re: U-Boot for Nokia RX-51 with BootMenu
e-yes told me that we have to modify init scripts to use uboot and nitdroid
|
Re: U-Boot for Nokia RX-51 with BootMenu
Pali, will you update u-boot-bootmenu to use the said new mmc driver?
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
the -more complete- version of the story ...
There is no new mmc driver in the kernel but there was a new generic mmc driver in the 'officail' u-boot code introduced over the last months. Pali is already using that one as the basis for his work. The latest 'official' u-boot code (+RX-51 patches, as ali1234 made/described above) from the developers is booting Nemo fine. TEsted by ali1234. So the Pali introduction of the bootmenu style on top of the 'working' code is breaking the init of the mmc, not allowing Nemo kernel to boot through. Either by not completely initializing/resetting the twl4030 power convertor to power on the mmc subsystem as well or by not restoring/resetting the mmc registers the way the kernel expects them. btw, Nemo is not the only kernel having this issue. Maemo5 had to include patches to get it working. The Kubuntu Mobile kernel (only one specific patched version of 2.6.35) is working fine with the Beagleboard (v v v similar HW). Later, unpatched kernel versions don't work. Same issue. Plenty of references on the gmane lists on this. This can be solved (by smart people) on the Kernel side or on the u-boot side. Unfortunately the Nemo kernel people are not really interested, as they say it's mainly a u-boot (Pali version) fault and Pali says it's the kernel fault. I guess it's somewhere in the middle ... btw, my Nemo Mobile - N900 Adaptation bug has been accepted and received status low. Unfortunately ali1234 doesn't have access to the real code as created by Pali to help pinpointing where the issue might be on the u-boot side. Kernel side is v hard, as lots of patches I've tried for v similar issues (Error -110, TimeOut while waiting for a mmc answer), are not fixing the issue so far. We asked Pali for that code so ali1234 can have a look as well and debug his way through if need be. To be continued ?? |
Re: U-Boot for Nokia RX-51 with BootMenu
Ok. Now I will try to generate diff between my and last ali version (for rx51 code). So then I maybe find real problem...
@Netweaver: Do you have some kernel patch which fixing this problem? |
Re: U-Boot for Nokia RX-51 with BootMenu
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
If somebody find something interesting which can break SD card write here.
|
Re: U-Boot for Nokia RX-51 with BootMenu
@Pali
Could it be the boot image kernel-power v50 (pre) from the first page gz file is not compatible with the latest kernel-power v50 ( modules)? Today, I installed kernel-power v50 succesfully and after that I decided to installed uboot (had to remove mkimage installation first) and removed multiboot. I could start kernel-power v50 from Nand from the uboot menu, but when trying to start it from the image, it did not go pass the blinking dots. When I eventually had it overwritten with the latest multiboot image (from kernel-power-bootimg_2.6.28-10power49+pre50_armel.deb) and generated a new uboot image (u-boot-update-bootmenu), it started to work. As you can see I got it working, thanks for this excellent work. But I was just curious if this could have been the cause, or if I did something else the wrong way. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Up-to-date pre v50 image is in package pre v50 kernel-power-bootimg in kernel-power thread. |
Re: U-Boot for Nokia RX-51 with BootMenu
Hello all,
I have been using kernel-power from like version 39 or so (im even using pre50) and now i decided to start testing Nemo As all of you point out, i cant initialize from SD as it says starting kernel and then just shuts down... I dont know if i havent understood but, with current u-boot from pali there is nothing to do? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Can you tell me how to boot with framebuffer included static linked support - I am trying to make nitdroid work with ubootmenu but after u-boot says loading kernel the phone stays like that for about 10 seconds and turns off - I want to see a log or something |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
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. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
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. |
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 |
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 |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
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. |
Re: U-Boot for Nokia RX-51 with BootMenu
|
Re: U-Boot for Nokia RX-51 with BootMenu
1 Attachment(s)
Quote:
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
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. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
The defect is perfectly reproducible |
Re: U-Boot for Nokia RX-51 with BootMenu
I have Nemo (fresh install) on eMMC so no problem for SD Class 10 or similar.
I have tried to boot Nemo with u-boot and as I have told some weeks ago, but it has always failed to boot (many I/O errors -110) Today I have tried three times with flasher and the results has been always the same: No boot and many I/O errors In the past I have loaded many times MeeGo / Nemo kernel with flasher and it has always worked! So it is impossible that now it no longer works. I have done an experiment:
This time Nemo has booted correctly without errors!! |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
http://talk.maemo.org/showpost.php?p...2&postcount=30 |
Re: U-Boot for Nokia RX-51 with BootMenu
Is it possible to listen for errors through USB cable (instead of serial?)? Such option is mentioned on http://wiki.openmoko.org/wiki/U-boot...tty_from_Linux but is it possible with N900 and specifically with this new U-Boot?
|
Re: U-Boot for Nokia RX-51 with BootMenu
I am not 100% sure but it seems that latest Pali's u-boot have little power consumption issue yet.
Since I have removed u-boot (to test latest Nemo) I have noticed a much longer stand-by. Now I am about 60 hours after last full battery recharge and I still have about 44% of battery (of course with very little usage of N900), before with pali's u-boot I have difficulties to reach 48 hours (with same usage). BatteryGraph's graph shows that before idle power consumption was about 10% of battery on 5 hours, now instead it is about 10% of battery on 18 hours. It seems that with pali's u-boot installed idle power consumption is 3-3.5x greater I repeat it is not a scientific test, I should have to do many tests with and without pali's u-boot to confirm or not the situation. But unfortunately now I have no time to dedicate to testing, if someone other can verify and report the results |
Re: U-Boot for Nokia RX-51 with BootMenu
According to https://gitorious.org/u-boot-shr/u-b...ccd096a7/diffs
Quote:
Is it possible to re-enable it without recompiling U-Boot? |
Re: U-Boot for Nokia RX-51 with BootMenu
well at the moment am trying to get nitdroid to boot from an EMMC partition, the only problem am having is when setting enviroment I have to choose were to load the uImage from and am presented with mmc 1:1 which is the sd card, but is the maemo partition mmc 0:5? Since its the 5th partition, or even mmc 0:4?
edit, am not 100% sure how to merge the boot.scr i generate with the bootmenu.scr also ive had a lot of stability issues with kernel 49, yes i have overclocked, but that has never been an issue before, the phone never randomly rebooted till i installed uboot right it seems to reboot when i use the network at certain times, wireless network, mainly when i connect to FaceBook am not sure why yet but am looking into it. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
i partitoned emmc with ext4 and i can not mount it mount-t ext4-o noatime / dev/mmcblk0p4 dst-part / is that command correct ?? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
# mount -t ext4 -o noatime /dev/mmcblk0p4 /dst-part make sure /dst-part exists, obviously. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
So: mount -t ext4 -o noatime /dev/mmcblk0p4 dst-part With "/dst-part" you search on root dir and theorically dst-part is on /home/user, so wrong path |
All times are GMT. The time now is 08:11. |
vBulletin® Version 3.8.8