[U-Boot] Issues with mx6 (cubox/wandboard) with 2017.09

Hi Fabio,
I'm seeing some issues with some of the i.MX6 devices with the latest stable release. It loads the SPL and then just seems to loop:
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
This is built on Fedora with latest gcc7 so I'm not sure if that's a possible issue. Is this something people are aware of and I've missed the fix.
Thanks, Peter

Hi Peter,
On Mon, Sep 25, 2017 at 3:54 PM, Peter Robinson pbrobinson@gmail.com wrote:
Hi Fabio,
I'm seeing some issues with some of the i.MX6 devices with the latest stable release. It loads the SPL and then just seems to loop:
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
This is built on Fedora with latest gcc7 so I'm not sure if that's a possible issue. Is this something people are aware of and I've missed the fix.
I haven't tested it with gcc7 yet, but if I use gcc6 I do not see the problem:
U-Boot SPL 2017.09 (Sep 25 2017 - 15:55:59) Trying to boot from MMC1
U-Boot 2017.09 (Sep 25 2017 - 15:55:59 -0300)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: Wandboard rev B1 I2C: ready DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 =>
So maybe this issue could be related to gcc7?

Hi Peter,
2017-09-25 16:00 GMT-03:00 Fabio Estevam festevam@gmail.com:
Hi Peter,
On Mon, Sep 25, 2017 at 3:54 PM, Peter Robinson pbrobinson@gmail.com wrote:
Hi Fabio,
I'm seeing some issues with some of the i.MX6 devices with the latest stable release. It loads the SPL and then just seems to loop:
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
This is built on Fedora with latest gcc7 so I'm not sure if that's a possible issue. Is this something people are aware of and I've missed the fix.
I haven't tested it with gcc7 yet, but if I use gcc6 I do not see the problem:
U-Boot SPL 2017.09 (Sep 25 2017 - 15:55:59) Trying to boot from MMC1
U-Boot 2017.09 (Sep 25 2017 - 15:55:59 -0300)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: Wandboard rev B1 I2C: ready DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 =>
So maybe this issue could be related to gcc7?
I've tested building U-Boot for Wandboard using GCC 7 from linaro.org: https://releases.linaro.org/components/toolchain/binaries/
I've used this package: gcc-linaro-7.1.1-2017.08-x86_64_arm-linux-gnueabi.tar.xz
I could not reproduce your error. It seems to work on my board, here is the log:
U-Boot SPL 2017.09-00342-ge35454b (Sep 26 2017 - 14:08:10) Trying to boot from MMC1
U-Boot 2017.09-00342-ge35454b (Sep 26 2017 - 14:08:10 -0300)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: WDOG Board: Wandboard rev B1 I2C: ready DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Thanks, Diego

I'm seeing some issues with some of the i.MX6 devices with the latest stable release. It loads the SPL and then just seems to loop:
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1
This is built on Fedora with latest gcc7 so I'm not sure if that's a possible issue. Is this something people are aware of and I've missed the fix.
I haven't tested it with gcc7 yet, but if I use gcc6 I do not see the problem:
U-Boot SPL 2017.09 (Sep 25 2017 - 15:55:59) Trying to boot from MMC1
U-Boot 2017.09 (Sep 25 2017 - 15:55:59 -0300)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: Wandboard rev B1 I2C: ready DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 =>
So maybe this issue could be related to gcc7?
I've tested building U-Boot for Wandboard using GCC 7 from linaro.org: https://releases.linaro.org/components/toolchain/binaries/
I tested a build with 6.4 from Fedora 25 and I saw the same issue so I'm not sure where the problem is coming from but I'm also travelling/meetings so haven't had time to dig further into the issue

On Tue, Sep 26, 2017 at 2:50 PM, Peter Robinson pbrobinson@gmail.com wrote:
I tested a build with 6.4 from Fedora 25 and I saw the same issue so I'm not sure where the problem is coming from but I'm also travelling/meetings so haven't had time to dig further into the issue
In the meantime I have also built U-Boot 2017.09 for wandboard with gcc7.2 from Buildroot and it boots fine.
If you find out more about the problem, just let us know.
participants (3)
-
Diego Dorta
-
Fabio Estevam
-
Peter Robinson