
Hi Fabio!
happy new year! Hope you are fine?
I just builded the newest mainline U-Boot code for the wandboard, and I get:
U-Boot SPL 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100) Trying to boot from MMC1
U-Boot 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100)
CPU: Freescale i.MX6DL rev1.3 at 792 MHz Reset cause: WDOG DRAM: 1 GiB PMIC: pmic_get() ret -19 MMC: FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0 Loading Environment from MMC... OK In: serial Out: serial Err: serial Model: Wandboard i.MX6 Dual Lite Board rev B1 Board: Wandboard rev B1 Net: Could not get PHY for FEC0: addr 1 Could not get PHY for FEC0: addr 1 No ethernet found.
Hit any key to stop autoboot: 0 =>
Ethernet does not work, also pmic setup seems buggy... Hmm pmic is not detected, and later board revision is B1 instead D1... I think thats the root cause of the problem...
Attached a bootlog from an older, working version [1].
Ok, I tried to bisect it, but bisecting does not work, as there are commits, which does not build for wandboard :-(
Looking into git history, there is a commit from you:
commit 5b858582512883b8a85d74e108873f9beed1e954 Author: Fabio Estevam festevam@gmail.com Date: Wed Jun 12 12:34:40 2019 -0300
wandboard: Add FIT image support
After the transition to DM, only the mx6dl/solo wandboard is supported.
Add FIT image support so that all the wandboard variants can be supported, like it was prior to the DM conversion.
Successfully booted Linux on mx6q/solo/qp wandboards.
So it worked for you? I flashed the u-boot-fit-dtb.bin instead of u-boot-dtb.bin, but this leads to:
resetting ...
U-Boot SPL 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:25:09 +0100) Trying to boot from MMC1 mmc_load_image_raw_sector: mmc block read error spl: ext4fs_open failed spl_load_image_ext: error reading image u-boot-dtb.img, err - -1 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
Same with u-boot-with-spl.imx flashed.
I am sure I make here something wrong... any ideas?
Attached also a working bootlog with an older version [1].
Thanks!
bye, Heiko
[1] working U-Boot bootlog: U-Boot SPL 2019.04-rc4-tbot-00111-gab8fc41 (Jan 08 2020 - 06:18:50 +0100) Trying to boot from MMC1
U-Boot 2019.04-rc4-tbot-00111-gab8fc41 (Jan 08 2020 - 06:18:50 +0100)
CPU: Freescale i.MX6DL rev1.3 at 792 MHz Reset cause: WDOG I2C: ready DRAM: 1 GiB PMIC: PFUZE100 ID=0x10 MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... OK No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Board: Wandboard rev D1 Net: FEC [PRIME] Hit any key to stop autoboot: 0 =>