![]() |
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? |
All times are GMT. The time now is 12:08. |
vBulletin® Version 3.8.8