Re: SD/MMC for i.MX51

2010-10-19 Thread Nicolas Pitre
On Mon, 18 Oct 2010, John Rigby wrote: > Nicolas, > > Thanks for the info. I'll wait to see more patches/testing from Shawn > before pulling. You should be OK to pull now. Nicolas ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists

Re: SD/MMC for i.MX51

2010-10-19 Thread Nicolas Pitre
On Tue, 19 Oct 2010, Shawn Guo wrote: > I just sent out the patch (to linaro-dev) which is working on Linaro > kernel tree per my test. Thanks. I merged them and pushed out the result. Nicolas ___ linaro-dev mailing list linaro-dev@lists.linaro.org

Re: SD/MMC for i.MX51

2010-10-19 Thread Wolfram Sang
On Mon, Oct 18, 2010 at 06:47:19PM -0700, john stultz wrote: > I've tried using this tree, (as well as the pengutronix.de tree and > linus' upstream) with an older 9.04 disk image, but none of the booting > kernels could find the sd card (no mmcblk devices located in the boot > log) I didn't foll

Re: SD/MMC for i.MX51

2010-10-19 Thread Eric Bénard
Hi, Le 19/10/2010 03:47, john stultz a écrit : On Mon, 2010-10-18 at 18:58 +0800, Shawn Guo wrote: Here you go. I'm using Linaro tree below. git://git.linaro.org/kernel/linux-linaro-2.6.35.git I've tried using this tree, (as well as the pengutronix.de tree and linus' upstream) with an older

Re: SD/MMC for i.MX51

2010-10-19 Thread Loïc Minier
On Tue, Oct 19, 2010, Shawn Guo wrote: > I like the merge request way, but I'm behind a firewall. I was told > that it's tough to get bzr push through firewall. Any suggestion to > break the firewall through? You don't have outbound SSH access? That's problematic indeed; is this something you c

Re: SD/MMC for i.MX51

2010-10-19 Thread Shawn Guo
Hi Loic, I like the merge request way, but I'm behind a firewall. I was told that it's tough to get bzr push through firewall. Any suggestion to break the firewall through? On Tue, Oct 19, 2010 at 6:05 PM, Loïc Minier wrote: > On Tue, Oct 19, 2010, Shawn Guo wrote: >> https://bugs.launchpad.net

Re: SD/MMC for i.MX51

2010-10-19 Thread Loïc Minier
On Tue, Oct 19, 2010, Shawn Guo wrote: > https://bugs.launchpad.net/linux-linaro/+bug/656962 I merged this; would be awesome if you could send further code changes as bzr merge request (push your topic branch to launchpad and bzr lp-propose-merge)! Thanks -- Loïc Minier __

Re: SD/MMC for i.MX51

2010-10-19 Thread Shawn Guo
Hi John, On Tue, Oct 19, 2010 at 9:47 AM, john stultz wrote: > So sort of to echo what Nicolas said, it seems pretty difficult to > follow which set of patches (as well as what .config settings) are > needed to get upstream booting. > I just sent out the patch (to linaro-dev) which is working on

Re: SD/MMC for i.MX51

2010-10-18 Thread john stultz
On Tue, 2010-10-19 at 03:59 +0200, Wolfram Sang wrote: > On Mon, Oct 18, 2010 at 06:47:19PM -0700, john stultz wrote: > > > I've tried using this tree, (as well as the pengutronix.de tree and > > linus' upstream) with an older 9.04 disk image, but none of the booting > > kernels could find the sd

Re: SD/MMC for i.MX51

2010-10-18 Thread john stultz
On Mon, 2010-10-18 at 18:58 +0800, Shawn Guo wrote: > Here you go. I'm using Linaro tree below. > > git://git.linaro.org/kernel/linux-linaro-2.6.35.git I've tried using this tree, (as well as the pengutronix.de tree and linus' upstream) with an older 9.04 disk image, but none of the booting kern

Re: SD/MMC for i.MX51

2010-10-18 Thread John Rigby
Nicolas, Thanks for the info. I'll wait to see more patches/testing from Shawn before pulling. John On Mon, Oct 18, 2010 at 8:50 AM, Nicolas Pitre wrote: > On Mon, 18 Oct 2010, John Rigby wrote: > >> Shawn, >> >> So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have >> everything yo

Re: SD/MMC for i.MX51

2010-10-18 Thread Nicolas Pitre
On Mon, 18 Oct 2010, John Rigby wrote: > Shawn, > > So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have > everything you want in the linaro packaged kernel? I don't think so. Seems that the device registration for Babbage is missing, as well as a quirk for the timeout problem. Ho

Re: SD/MMC for i.MX51

2010-10-18 Thread John Rigby
Shawn, So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have everything you want in the linaro packaged kernel? Can you tell me what CONFIGs need to be turned on? Thanks, John On Mon, Oct 18, 2010 at 4:58 AM, Shawn Guo wrote: > Here you go.  I'm using Linaro tree below. > > git://gi

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Le 18/10/2010 12:58, Shawn Guo a écrit : Here you go. I'm using Linaro tree below. git://git.linaro.org/kernel/linux-linaro-2.6.35.git Also make sure you have the change below for /bin/auto-serial-console. line #15 of auto-serial-console: tty[A-Z]* )--> tty[a-zA-Z]* ) Thanks. Now it's

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Here you go. I'm using Linaro tree below. git://git.linaro.org/kernel/linux-linaro-2.6.35.git Also make sure you have the change below for /bin/auto-serial-console. line #15 of auto-serial-console: tty[A-Z]* )--> tty[a-zA-Z]* ) On Mon, Oct 18, 2010 at 6:42 PM, Eric Bénard wrote: > Hi S

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Hi Shawn, Le 18/10/2010 11:46, Shawn Guo a écrit : Yes, it's working. And I can get into Linaro console now. So we need the following bits to get it work. - Wolfram's esdhc driver (merged) - SDHCI_QUIRK_BROKEN_TIMEOUT_VAL patch - Babbage registration patch (based on Eric's bits) - Related ker

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
On Mon, Oct 18, 2010 at 5:34 PM, Eric Bénard wrote: > I just tested a linaro rootfs on SDCard (we have a nand flash so until now > we had our rootfs on it) and got the same errors as you. > As suggested by Richard, SDHCI_QUIRK_BROKEN_TIMEOUT_VAL seems to fix the > problem, so can you try the follo

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Hi Shawn, Le 18/10/2010 10:10, Shawn Guo a écrit : But when I try to login console, it gives a bunch of error messages like below. mmcblk0: error -110 transferring data, sector 1737392, nr 2, card status 0xe00 end_request: I/O error, dev mmcblk0, sector 1737392 mmcblk0: error -84 transferring d

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
On Tue, Oct 12, 2010 at 11:59 AM, Shawn Guo wrote: > I applied the patches on linux-linaro-2.6.35, and can mount the rootfs on mmc. > I'm sorry. This is a mis-communication. To clarify it, I tested Zhu Richard's bits other than Wolfram's at that time. As you have seen, I'm running into some pr

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Correct Richard address ... On Mon, Oct 18, 2010 at 4:10 PM, Shawn Guo wrote: > Hi Eric, > > Thanks for the links.  I was following the patches to add the babbage > registration specific bits (see patch below).  I can see following mmc > related boot log showing the card is initialized and recogn

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Hi Eric, Thanks for the links. I was following the patches to add the babbage registration specific bits (see patch below). I can see following mmc related boot log showing the card is initialized and recognized. sdhci: Copyright(c) Pierre Ossman mmc0: SDHCI controller on platform [sdhci-esdhc-

Re: SD/MMC for i.MX51

2010-10-17 Thread Eric Bénard
Hi Shawn, Le 17/10/2010 17:27, Shawn Guo a écrit : Thanks for the merging. But the bits for babbage mmc resources and driver registration are missing. I'm trying to add them for getting a bootable mmc linaro image, but running into some problem right now. Will continue digging tomorrow. you

Re: SD/MMC for i.MX51

2010-10-17 Thread Nicolas Pitre
On Sun, 17 Oct 2010, Shawn Guo wrote: > Hi Nicolas, > > Thanks for the merging. But the bits for babbage mmc resources and > driver registration are missing. I'm trying to add them for getting a > bootable mmc linaro image, but running into some problem right now. > Will continue digging tomorr

Re: SD/MMC for i.MX51

2010-10-17 Thread Shawn Guo
Hi Nicolas, Thanks for the merging. But the bits for babbage mmc resources and driver registration are missing. I'm trying to add them for getting a bootable mmc linaro image, but running into some problem right now. Will continue digging tomorrow. On Sat, Oct 16, 2010 at 10:35 AM, Nicolas Pitr

Re: SD/MMC for i.MX51

2010-10-15 Thread Nicolas Pitre
On Tue, 12 Oct 2010, Amit Kucheria wrote: > Nico, > > Yes it has been reviewed several times now. So I'm hopeful it'll go in > for the next merge window. It will. They're merged in cjb's tree now. And I've picked them up, plus a few others. Compile tested only as I don't have the hardware.

Re: SD/MMC for i.MX51

2010-10-12 Thread Amit Kucheria
Nico, Yes it has been reviewed several times now. So I'm hopeful it'll go in for the next merge window. Without it, linaro-media-create can't work since we don't support anything except SD boot for now. /Amit On Tue, Oct 12, 2010 at 6:48 AM, Nicolas Pitre wrote: > > Looks like discussion is st

Re: SD/MMC for i.MX51

2010-10-11 Thread Shawn Guo
I applied the patches on linux-linaro-2.6.35, and can mount the rootfs on mmc. On Tue, Oct 12, 2010 at 11:48 AM, Nicolas Pitre wrote: > > Looks like discussion is still happening on the mmc mailing list wrt > those patches.  How pressing is it to have them merged?  I'd like to > pick up the final

Re: SD/MMC for i.MX51

2010-10-11 Thread Nicolas Pitre
Looks like discussion is still happening on the mmc mailing list wrt those patches. How pressing is it to have them merged? I'd like to pick up the final patch versions if possible. Also I'd much prefer if someone could test those patches when applied to the linaro stable tree before actuall

Re: SD/MMC for i.MX51

2010-10-11 Thread John Rigby
This sounds ok to me. Nico, let me know when this is in your stable tree. Thanks, John On Mon, Oct 11, 2010 at 8:37 AM, Amit Kucheria wrote: > Can we merge the SD/MMC patches for i.MX MMC support into the linaro kernel? > They have been reviewed extensively and look very likely to go into the n