![]() |
Re: U-Boot for Nokia RX-51 with BootMenu
some update on Nemo booting in Bootmenu u-boot.
David Greaves has added a hint to the Nemo bug report on what to patch to MAYBE allow the NEMO kernel to boot on our hw. I took that patch, rebased it on our 2.6.37 kernel (here) and created the kernel in COBS. Can anyone take the uImage and modules out of my latest compiled kernel (including that patch) here and try it on a freshly prepared NEMO SD card install ? It could actually be in the right area, the patch, as I did see once a complete SD card corruption after trying to boot from it, with the stock NEMO kernel, requiring a lowlevel format. And that can only happen during writes :D I'm being 'attacked' at my normal business job here, otherwise I would do the testing myself. Please let me know the results. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
In any case, the spacing was all wrong. The choice of a mount point is something very personal :) so it's none of my business... |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
sorry, this link should work. Forgot about the login requirements.
I just quickly took the rpm, the uImage and all you might wanna see/know about the kernel is in there. http://www.filefactory.com/file/c445...00_armv7hl_rpm |
Re: U-Boot for Nokia RX-51 with BootMenu
updating my own request.
I ran the modified kernel on a newly prepared card and still the same issue :( After 100s of error -110 it does fall through to a proper Nemo Mobile screen but again 100s of error -110 later it finally stops with a systemd-fsck alert. It was worth the try. Please also try on other cards/environments. I'll update the bug to say it's not the definitive solution. |
Re: U-Boot for Nokia RX-51 with BootMenu
Tried on a 2GB Nokia uSD and 32GB Sandisk Class 4.
Both ended up exploding under Nemo. Lemme try once more. |
Re: U-Boot for Nokia RX-51 with BootMenu
:confused: I installed this u-boot, and got the penguin logo fine. system booted using stock kernel. since i use kp49, i rebooted and tried to choose kp49, but device stopped at Loading Kernel... stage. after several tries, and edits of /etc/bootmenu.d/ files, nothing at all boots, not even stock kernel.
I understand i must have done something wrong somewhere. anyone can help me 'fix' this? now i can't even charge the device by the way. I'm sure my rootfs is still fine though, so I don't think a reflash is needed, yet. I suppose there should be some command (maybe via flasher utility) which would 'override' u-boot, allowing me to boot into maemo normally. Please help |
Re: U-Boot for Nokia RX-51 with BootMenu
well, further investigations showed that there were kernel panics as per http://talk.maemo.org/showthread.php?t=83094 thread. so i'll rescue whatever files i can and reflash.
|
Re: U-Boot for Nokia RX-51 with BootMenu
FIXED: you can follow the discussion with Pali and NIN101 here: http://mg.pov.lt/maemo-irclog/%23mae...03-28T22:46:34
No reflash was needed. |
Re: U-Boot for Nokia RX-51 with BootMenu
Tested the latest Nemo image on eMMC - no -110 errors at all.
However, performance is completely destroyed, and totally unusable. |
Re: U-Boot for Nokia RX-51 with BootMenu
So basically there is no way to be able to choose if I want to boot Maemo KPv50 from eMMC, or to boot NEMO from SD card?
I have now U-Boot with BootMenu, Maemo`s KP v50. When trying to boot from mmc there is a lot of -110 errors. Card is ADATA 8GB Class 10. What I have to do to check out NEMO which I have wrote on SD card? Uninstall those 3 U-Boot packages by dpkg and then installs UBOOT-PR1.3 from Application Manager? |
Re: U-Boot for Nokia RX-51 with BootMenu
Too bad we can't load attached kernel with different cmdline.
And it would be better if u-boot will add parameters to cmdline (like flasher), instead of replacing them all. |
Re: U-Boot for Nokia RX-51 with BootMenu
I was shocked finding SHR kernel have this issue too.
Now I wonder if installing SHR's U-boot would solve the issue. Pali: would SHR U-boot see your bootmenu.scr? NO. I think SHR staff could help, maybe better then Nemo's. Pali: anyone tried contacting them? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Quote:
I can't imagine anything you can try except getting battery and USB away for a couple of sec. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Furthermore, I guess your kernel panics because it can't find the root partition. You should provide a more detailed diagnostics. |
Re: U-Boot for Nokia RX-51 with BootMenu
Now I'm prepairing new rx51 patch series for upstream u-boot.
It will break some existing u-boot scripts, but I update bootmenu shell script, so bootmenu item entries maybe will work. And now maybe all systems which does not use nokia 2.6.28 kernel will boot without copying atags from NOLO (I found bug that U-boot on rx51 passing one atag with bad size of RAM) Also has somebody nice parser of /proc/atags? Something like in this post: http://talk.maemo.org/showpost.php?p...&postcount=148 |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Guys, can someone of you report for which EXACT device those -110 errors are thrown, is it mmcblk1 or mmcblk0.
Sorry for asking, right now I have Maemo on sdcard with 2.6.37 meego kernel and the device giving me -110 errors is INTERNAL eMMC (mmcblk1) and not the external one(sd card). But I don't have Nemo or Ubuntu to test with and confirm. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Seriously though, I wonder if errata incompatibility won't hit us like bus. Holding thumbs for Your efforts! It would be funny to rewrite all kp patches to comply with 2.6.37, yep? [/off-topic] |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Code:
fatls mmc 1 Code:
./ |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
@Pali - again, I am trying to find the reason for -110 errors, not to boot Maemo from sdcard, however, thanks for the patch.
BTW it seems that for me -110 errors are for eMMC, not for SD card. AFAIK stskeeps' u-boot does not enable eMMC, while your u-boot does. Could this be the reason, i.e. kernel expect eMMC disabled, and when it is enabled, it cannot deal with the situation. Anyway, right now I am instlling Ububtu 12.04 on my SD card, once it is ready, I will try to boot it with a meego 2.6.37+ kernel with several patches collected from this thread (dto patch, host->power_mode = -1 patch) and some forward-ported code from 2.6.28. Lets see how it will behave. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
It will check and repair fat partition. Also problem can be in u-boot... |
Re: U-Boot for Nokia RX-51 with BootMenu
@Pali - confirmed, both Maemo and Ubuntu throw -110 errors for mmcblk1 (eMMC), when started with run sdboot. SD card is rock stable with modified kernel (2.6.37) I am using.
Would you give me a hint where u-boot enables eMMC? I will disable code which enables and will check how is the siuation. Having in mind that one of the major differences between your and stskeeps' u-boot is internal memory being enabled by yours, I am almost sure your u-boot leaves eMMC in a state from which kernels cannot recover. And while it is definitely a bug in the kernel, I think we should do our best to workaround it in u-boot. |
Re: U-Boot for Nokia RX-51 with BootMenu
Enabling eMMC is done in board/nokia/rx51.c in function misc_init_r.
It call functions: twl4030_pmrecv_vsel_cfg, twl4030_i2c_write_u8 and twl4030_regulator_set_mode |
Re: U-Boot for Nokia RX-51 with BootMenu
@freemangordon
Did you compile the Kernel yourself or do you use the one I posted? Because if you use the posted one, it could be my fault because I didn't investigate the eMMC and can't say for sure I included everything. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
You'll see when you copy Nemo to eMMC partition 4 and use swap on SD. Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
dto 14 patch mmc_restore-power-mode.patch forwar port some logic from 2.6.28 kernel - disable off mode for 16GB cards. once (and if) everything is ok I will publish a full set of patches. But anyway fixing u-boot is my primary goal. @Pali: are you aware of some (weak) "misc_fini_r" function in u-boot code, i.e. the one similar to misc_init_r, but called just before the control is passed to kernel? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
@Pali - the garbadge on u-boot boot options select screen is still not fixed. EDIT: @Hurrian and by saying "just fine" I really mean it, my SD card is 16 GB class 10 AData :) |
Re: U-Boot for Nokia RX-51 with BootMenu
This is great, can't wait to test the new u-boot builds.
|
Re: U-Boot for Nokia RX-51 with BootMenu
Can't install for some reason, it sais the package is not compatible (any of the packages)
|
Re: U-Boot for Nokia RX-51 with BootMenu
Very informative.
... .. . what You're waiting for... More details, please? |
Re: U-Boot for Nokia RX-51 with BootMenu
oh well, not too much details to give but first tried while using KP50 (uninstalled bootimg first) and then with stock kernel, also downloaded all packages again few times to see if that worked but nope, app manager just sais the package is not compatible, might try reflashing tomorrow and see if it helps.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I published new version, see first post. There are some incompatible changes which previous version. Also now I pushed source code of debian control files to gitorious u-boot-shr project, branch pali.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Hi there,
pali have you tested the new package? I stuck in a reboot loop when loading internal flash and loading omap-1-fb stucks at white screen with "Booting from (mtdblock4 jffs2)..." and that's it. Reflashed kernel, didn't help... tried to flash -fb kernel to see if it's kernel panic again, but console entry is there. Still got the reboot loop but Boot Menu is there again but no matter what entry I pick. It won't boot. -Internal Flash: just reboot loop -omap1: mount: mounting /dev/mtdblock4 on /mnt/new_root failed: No such device Command exited with non-zero status 255 -same for omap1-fb Any ideas what happen here? :( Regards, J4ZZ |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Do you mean new u-boot or new fanoush bootmenu?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Built the new u-boot from git, slapped it onto kernel-power and it works funderfully. Thanks, pali!
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I probably did something wrong and here is the output of my mess:
BusyBox v1.20.0 (Debian 1.20.0power1) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo u-boot-update-bootmenu Adding bootmenu entry for: Maemo 5 (Internal Nand) Configuration file: /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item Generating u-boot image for kernel 'zImage-2.6.28.10-power50'... /usr/bin/mkimage: line 1: syntax error: unexpected word (expecting ")") ~ $ any hints what to do now? |
All times are GMT. The time now is 08:11. |
vBulletin® Version 3.8.8