
Hi Jagan,
On Thu, May 16, 2019 at 2:37 PM Jagan Teki jagan@amarulasolutions.com wrote:
On Thu, May 16, 2019 at 11:02 PM Fabio Estevam festevam@gmail.com wrote:
Hi,
I get the following error when trying to boot mx6q sabresd with 2019.07-rc2:
U-Boot SPL 2019.07-rc2 (May 16 2019 - 14:28:55 -0300) Trying to boot from MMC1 spl: could not find mmc device 0. error: -19
No device.
Is it DM-SPL-enabled? check with u-boot,dm-spl on associated nodes?
Yes, configs/mx6sabresd_defconfig has CONFIG_SPL_DM=y.
arch/arm/dts/imx6qp-sabresd-u-boot.dtsi passes u-boot,dm-spl to usdhc3.
usdhc3 is for sabresd, seems like gpio2 missing to add u-boot,dm-spl
I tried:
--- a/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi +++ b/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi @@ -12,3 +12,7 @@ &pinctrl_usdhc3 { u-boot,dm-spl; }; + +&gpio2 { + u-boot,dm-spl; +};
but still not booting.