[U-Boot] fsl_esdhc driver is broken with DM

2017-09-30 Thread Fabio Estevam
Hi, I noticed that fsl_esdhc is broken on 2017.09 for mx6slevk, when CONFIG_DM_MMC is selected: U-Boot 2017.09 (Sep 30 2017 - 12:31:17 -0300) CPU: Freescale i.MX6SL rev1.0 792 MHz (running at 396 MHz) CPU: Commercial temperature grade (0C to 95C) at 35C Reset cause: WDOG Model: Freescale i.

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
On Sat, Sep 30, 2017 at 12:35 PM, Fabio Estevam wrote: > Hi, > > I noticed that fsl_esdhc is broken on 2017.09 for mx6slevk, when > CONFIG_DM_MMC is selected: > > U-Boot 2017.09 (Sep 30 2017 - 12:31:17 -0300) > > CPU: Freescale i.MX6SL rev1.0 792 MHz (running at 396 MHz) > CPU: Commercial tem

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Tom Rini
On Sun, Oct 01, 2017 at 11:29:58AM -0300, Fabio Estevam wrote: > On Sat, Sep 30, 2017 at 12:35 PM, Fabio Estevam wrote: > > Hi, > > > > I noticed that fsl_esdhc is broken on 2017.09 for mx6slevk, when > > CONFIG_DM_MMC is selected: > > > > U-Boot 2017.09 (Sep 30 2017 - 12:31:17 -0300) > > > > CPU

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
Hi Tom, On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: >> Same regression is observed with mx7dsabresd board as well. > > It's likely to be all i.MX :( Only the i.MX configs with CONFIG_DM_MMC=y. > Have all of the changes gone in such that an i.MX platform with SPL can > be non-interactively

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Ɓukasz Majewski
Hi Fabio, Hi Tom, On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: Same regression is observed with mx7dsabresd board as well. It's likely to be all i.MX :( Only the i.MX configs with CONFIG_DM_MMC=y. Yes, I can confirm this. I'm using SPL + imx_usb (and boot to eMMC) on my imx6q boar

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
On Sun, Oct 1, 2017 at 12:50 PM, Fabio Estevam wrote: > Hi Tom, > > On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: > >>> Same regression is observed with mx7dsabresd board as well. >> >> It's likely to be all i.MX :( > > Only the i.MX configs with CONFIG_DM_MMC=y. mx6slevk_spl_defconfig does n

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-02 Thread Jagan Teki
On Sun, Oct 1, 2017 at 9:20 PM, Fabio Estevam wrote: > Hi Tom, > > On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: > >>> Same regression is observed with mx7dsabresd board as well. >> >> It's likely to be all i.MX :( > > Only the i.MX configs with CONFIG_DM_MMC=y. > >> Have all of the changes go

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-02 Thread Fabio Estevam
Hi Jagan, On Mon, Oct 2, 2017 at 7:23 AM, Jagan Teki wrote: > Yes, currently I'm using DM_MMC for U-Boot proper and recently I've > moved SPL as well [1]. But I've seen an issue with i.MX6UL while > moving to OF_SPL What exactly is the MX6UL issue you see? Thanks _

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-09 Thread Jagan Teki
On Mon, Oct 2, 2017 at 4:36 PM, Fabio Estevam wrote: > Hi Jagan, > > On Mon, Oct 2, 2017 at 7:23 AM, Jagan Teki wrote: > >> Yes, currently I'm using DM_MMC for U-Boot proper and recently I've >> moved SPL as well [1]. But I've seen an issue with i.MX6UL while >> moving to OF_SPL > > What exactly

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-10 Thread Fabio Estevam
Hi Jagan, On Mon, Oct 9, 2017 at 3:05 PM, Jagan Teki wrote: > I didn't dig much, but the i.MX6UL case has rebooting with DM_MMC for > both SPL and U-Boot proper. Looks like the same issue I saw with mx6q, which has been fixed by this commit: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=3ea05

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Jagan Teki
On Tue, Oct 10, 2017 at 5:18 PM, Fabio Estevam wrote: > Hi Jagan, > > On Mon, Oct 9, 2017 at 3:05 PM, Jagan Teki wrote: > >> I didn't dig much, but the i.MX6UL case has rebooting with DM_MMC for >> both SPL and U-Boot proper. > > Looks like the same issue I saw with mx6q, which has been fixed by

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Fabio Estevam
Hi Jagan, On Wed, Oct 11, 2017 at 7:17 AM, Jagan Teki wrote: > Still looping for i.MX6UL. Can you test it again removing CONFIG_DM_MMC support? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Jagan Teki
Hi Fabio, On Wed, Oct 11, 2017 at 9:19 PM, Fabio Estevam wrote: > Hi Jagan, > > On Wed, Oct 11, 2017 at 7:17 AM, Jagan Teki wrote: > >> Still looping for i.MX6UL. > > Can you test it again removing CONFIG_DM_MMC support? I've observed here, u-boot is unable to relocate. So when I build U-Boot w

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Fabio Estevam
On Wed, Oct 11, 2017 at 1:06 PM, Jagan Teki wrote: > I've observed here, u-boot is unable to relocate. So when I build > U-Boot with removing u-boot,dm-spl from dts it works fine, but idea > here I need to use SPL_OF_CONTROL and it is not related to DM_MMC I > suppose. Ok, a different bug then.

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Jagan Teki
+ Stefano On Wed, Oct 11, 2017 at 9:39 PM, Fabio Estevam wrote: > On Wed, Oct 11, 2017 at 1:06 PM, Jagan Teki wrote: > >> I've observed here, u-boot is unable to relocate. So when I build >> U-Boot with removing u-boot,dm-spl from dts it works fine, but idea >> here I need to use SPL_OF_CONTROL

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-11 Thread Tom Rini
On Wed, Oct 11, 2017 at 01:09:04PM -0300, Fabio Estevam wrote: > On Wed, Oct 11, 2017 at 1:06 PM, Jagan Teki wrote: > > > I've observed here, u-boot is unable to relocate. So when I build > > U-Boot with removing u-boot,dm-spl from dts it works fine, but idea > > here I need to use SPL_OF_CONTROL

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-13 Thread Lukasz Majewski
On Wed, 11 Oct 2017 14:41:38 -0400 Tom Rini wrote: > On Wed, Oct 11, 2017 at 01:09:04PM -0300, Fabio Estevam wrote: > > On Wed, Oct 11, 2017 at 1:06 PM, Jagan Teki > > wrote: > > > > > I've observed here, u-boot is unable to relocate. So when I build > > > U-Boot with removing u-boot,dm-spl fro

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-13 Thread Fabio Estevam
Hi Lukasz, On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: > There is some ongoing work to provide such facility. for imx6 > boards. I will keep you informed. That's good news! Please keep me in the loop as well. Thanks ___ U-Boot mailing

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-16 Thread Jagan Teki
On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: > Hi Lukasz, > > On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: > >> There is some ongoing work to provide such facility. for imx6 >> boards. I will keep you informed. > > That's good news! Please keep me in the loop as well. Wou

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-16 Thread Fabio Estevam
On Mon, Oct 16, 2017 at 6:51 PM, Jagan Teki wrote: > On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: >> Hi Lukasz, >> >> On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: >> >>> There is some ongoing work to provide such facility. for imx6 >>> boards. I will keep you informed. >>

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-19 Thread Adam Ford
On Mon, Oct 16, 2017 at 4:52 PM, Fabio Estevam wrote: > On Mon, Oct 16, 2017 at 6:51 PM, Jagan Teki wrote: >> On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: >>> Hi Lukasz, >>> >>> On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: >>> There is some ongoing work to provide such

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-19 Thread Fabio Estevam
On Thu, Oct 19, 2017 at 7:52 PM, Adam Ford wrote: > The Logic PD board is also broken as well. When I did a git bisect on > mine, it shows: Does this help? --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig @@ -28,7 +28,6 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-19 Thread Adam Ford
On Thu, Oct 19, 2017 at 5:44 PM, Fabio Estevam wrote: > On Thu, Oct 19, 2017 at 7:52 PM, Adam Ford wrote: > >> The Logic PD board is also broken as well. When I did a git bisect on >> mine, it shows: > > Does this help? Yes it did. Thank you I'll submit a patch. Should I indicate it 'fixes' t

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-20 Thread Fabio Estevam
On Fri, Oct 20, 2017 at 12:18 AM, Adam Ford wrote: > Yes it did. Thank you > > I'll submit a patch. Should I indicate it 'fixes' that commit I > referenced, or is there some other commit that I should reference? I have just sent a patch that fixes the issue for all imx boards.

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-24 Thread Jagan Teki
To all guys @ELCE, Can we setup a formal meeting to discuss about ' U-Boot regression and test suit setup' Do you think? On 16-Oct-2017 10:51 PM, "Jagan Teki" wrote: On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: > Hi Lukasz, > > On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: