
Hi Lukasz,
On Thu, May 16, 2019 at 6:49 PM Lukasz Majewski lukma@denx.de wrote:
Please find following repository with DM/DTS conversion for TPC70 imx6q board (it also has SPL DM conversion working - board boots from SD card and eMMC):
https://github.com/lmajewski/u-boot-dfu/commits/DM-SPL-TPC70
My guess is that you need the pinctrl DM support in SPL, to make the card detect pin working.
&pinctrl_usdhc4 { u-boot,dm-spl; };
&pinctrl_usdhc2 { u-boot,dm-spl; };
&gpio2 { u-boot,dm-spl; };
And also the pinctrl-imx6q.c fix to:
static struct imx_pinctrl_soc_info imx6_pinctrl_soc_info __section(".data");
I tried your suggestions and now it dies even earlier:
U-Boot SPL 2019.07-rc1-00427-g504bf790da-dirty (May 16 2019 - 23:17:43 -0300) ### ERROR ### Please RESET the board ###
Thanks