Active Topics

 


Reply
Thread Tools
Posts: 323 | Thanked: 180 times | Joined on Oct 2009 @ Gent, Belgium
#111
ok, thanks, that's ruled out then.

A bit deeper now...

As per the Ubuntu ARM bug, the commit below was introduced in 2.6.34rc1 so is surely not included in our 2.6.28. It got removed later by the Ubuntu Arm team to fix their (and our identical) issue. I checked the code in the Nemo 2.6.37 N900 Adaptation kernel in OBS and an evolved version from this commit is STILL in the code.

Also the modification we have in our kernel for the Class 10 cards (setting DTO to 14, iirc), in the same source file, is also NOT in the Nemo kernel.

I suppose, when patched (and that commit rebased/reverted) the same way as our kernel-power, it would have more chance of working but it needs a more experienced kernel programmer than me to create the correct patch and create a new kernel for testing


6da20c89af64b75302399369a90b9d50c1a87665
drivers/mmc/host/omap_hsmmc.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index cb94044..d2fad58 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -296,11 +296,8 @@ static int omap_hsmmc_23_set_power(struct device *dev, int slot, int power_on,
ret = mmc_regulator_set_ocr(host->vcc, 0);
}
} else {
- if (host->vcc_aux) {
- ret = regulator_is_enabled(host->vcc_aux);
- if (ret > 0)
- ret = regulator_disable(host->vcc_aux);
- }
+ if (host->vcc_aux)
+ ret = regulator_disable(host->vcc_aux);
if (ret == 0)
ret = mmc_regulator_set_ocr(host->vcc, 0);
}
@@ -1975,7 +1972,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
host->slot_id = 0;
host->mapbase = res->start;
host->base = ioremap(host->mapbase, SZ_4K);
- host->power_mode = -1;
+ host->power_mode = MMC_POWER_OFF;

platform_set_drvdata(pdev, host);
INIT_WORK(&host->mmc_carddetect_work, omap_hsmmc_detect);
 

The Following 3 Users Say Thank You to Netweaver For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#112
Originally Posted by Netweaver View Post
Also the modification we have in our kernel for the Class 10 cards (setting DTO to 14, iirc), in the same source file, is also NOT in the Nemo kernel.
Submit a bug for Nemo kernel - they may be interested in including this fix as well. No much sense, in doing this work by our kernel-team, and then, to make Nemo's guys to do same work again, or harvest our work at best. I have nothing against collaboration, but I think that our kernel-specialist are overprojected enough

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#113
Originally Posted by Netweaver View Post
Also Fabry, if you say it was working fine with the previous one, is that a previous Pali version (with the battery drain) or the 'official' uboot-pr13 version ? Just to narrow down where the differences can be looked for.
It is Matan's version
 

The Following User Says Thank You to Fabry For This Useful Post:
Posts: 323 | Thanked: 180 times | Joined on Oct 2009 @ Gent, Belgium
#114
ok, some progress, as I did have some time

I made 2 patches on top of the latest Nemo kernel. Now I'm waiting for my OBS account, then I can branch off the kernel and compile my own version. I'll create combinations, looking which of the 2 patches fixes the issue (or both or none ...).

It's weekend and FOSDEM in Brussels, I guess people will be busy/having a party tonight (I would if I was there ...). So if I don't get that account soon, then I'll try the local compilation method and do the proper admin/patch workflow in OBS later,

Fun times ahead, tackling the OBS beast!
Ultimate goal, a Nemo kernel working with the Pali u-boot.
Win odds? ... tbd
 

The Following 5 Users Say Thank You to Netweaver For This Useful Post:
Posts: 78 | Thanked: 24 times | Joined on Mar 2010
#115
@pali

I installed uboot in the repos and nemo works just fine with it, maybe you should check your u-boot?
 
Posts: 1,746 | Thanked: 1,832 times | Joined on Dec 2010
#116
Originally Posted by hermes040 View Post
@pali

I installed uboot in the repos and nemo works just fine with it, maybe you should check your u-boot?
same issue, not sure why though
 
Posts: 20 | Thanked: 14 times | Joined on Oct 2011
#117
Hi, pali, ppl.
1. Plz apply this:
sed -i 's|test -f "\$BOOTMENU_BOOT_DIR|test -s "$BOOTMENU_BOOT_DIR|' u-boot-update-bootmenu
This will allow processing kernel images which are symlinks.
2. BTW where's the public repo with u-boot-update-bootmenu? Guthub?
3. Would be very nice having ability to change the default boot item through /etc/bootmenu.d/ items.
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#118
Confirming bug. Installed on external microSD partition 3.
SD Card is a Sandisk 32GB class 2.

Note that the mmc problems also occur with the internal mmc1. MMC init is therefore to blame for message flooding.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Posts: 20 | Thanked: 14 times | Joined on Oct 2011
#119
anyone tried to boot the kernel with kexec? Maybe that would separate loader problems from kernel problems?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#120
Originally Posted by ildar View Post
Hi, pali, ppl.
1. Plz apply this:
sed -i 's|test -f "\$BOOTMENU_BOOT_DIR|test -s "$BOOTMENU_BOOT_DIR|' u-boot-update-bootmenu
This will allow processing kernel images which are symlinks.
2. BTW where's the public repo with u-boot-update-bootmenu? Guthub?
3. Would be very nice having ability to change the default boot item through /etc/bootmenu.d/ items.
1. Ok, I will apply it
2. Not yet. If I have correct debian/* packaging I will create new branch on gitorious u-boot-shr project
3. Why? I think that the best is to have one place with one format for all multiboot programs...
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Reply

Tags
bootmenu, u-boot


 
Forum Jump


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