[BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread François Perrad
With 2020.07 (or 2020.04 or 2020.10), something goes wrong on this board. I think it is related to https://gitlab.denx.de/u-boot/u-boot/-/commit/6c3fbf3e456c49c2f43c0c286106a0d4b099b67b 2020.01 works fine with mmc0 (mmc0 is current device) 2020.07 fails with mmc1 both versions are built in the Bui

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread Baruch Siach
Hi François On Sat, Oct 10 2020, François Perrad wrote: > With 2020.07 (or 2020.04 or 2020.10), something goes wrong on this board. > I think it is related to > https://gitlab.denx.de/u-boot/u-boot/-/commit/6c3fbf3e456c49c2f43c0c286106a0d4b099b67b > > 2020.01 works fine with mmc0 (mmc0 is current

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread Fabio Estevam
Hi Baruch, On Sat, Oct 10, 2020 at 4:11 PM Baruch Siach wrote: > This might be the cause of the problem. The script listed above > hardcodes "mmc 0:1". Changing that to "mmc 1:1" might fix this issue. Wouldn't this break the HummingBoard variants? Or is this safe for all Cubox-i and HummingBoar

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread Baruch Siach
Hi Fabio, On Sat, Oct 10 2020, Fabio Estevam wrote: > On Sat, Oct 10, 2020 at 4:11 PM Baruch Siach wrote: > >> This might be the cause of the problem. The script listed above >> hardcodes "mmc 0:1". Changing that to "mmc 1:1" might fix this issue. > > Wouldn't this break the HummingBoard variants

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread François Perrad
Le sam. 10 oct. 2020 à 21:18, Baruch Siach a écrit : > Hi François > > On Sat, Oct 10 2020, François Perrad wrote: > > With 2020.07 (or 2020.04 or 2020.10), something goes wrong on this board. > > I think it is related to > > > https://gitlab.denx.de/u-boot/u-boot/-/commit/6c3fbf3e456c49c2f43c0c2

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread Peter Robinson
On Sat, Oct 10, 2020 at 8:48 PM Baruch Siach wrote: > > Hi Fabio, > > On Sat, Oct 10 2020, Fabio Estevam wrote: > > On Sat, Oct 10, 2020 at 4:11 PM Baruch Siach wrote: > > > >> This might be the cause of the problem. The script listed above > >> hardcodes "mmc 0:1". Changing that to "mmc 1:1" mig

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread Fabio Estevam
Hi François, On Sun, Oct 11, 2020 at 5:08 AM François Perrad wrote: > After changing the 3 occurrences of "mmc 0:1",the fdt file and kernel are not > correctly loaded. > (nothing happens after the message "Starting kernel ...") > > Here the full log : > > U-Boot SPL 2020.07 (Oct 11 2020 - 09:41

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread François Perrad
Le dim. 11 oct. 2020 à 16:18, Fabio Estevam a écrit : > Hi François, > > On Sun, Oct 11, 2020 at 5:08 AM François Perrad > wrote: > > > After changing the 3 occurrences of "mmc 0:1",the fdt file and kernel > are not correctly loaded. > > (nothing happens after the message "Starting kernel ...")

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread Fabio Estevam
Hi François, On Sun, Oct 11, 2020 at 12:27 PM François Perrad wrote: > In interactive mode, I found a mismatch with ftdfile. > Now, it works. > And I could update MX6 Cubox on Buildroot. Excellent, just saw your Buildroot fix, thanks!