Hi team,
I need to migrate console from lpuart1(default) to lpuart8 in iMX93-11x11EVK board and test from pins 32&33 in J1001. The change done in below files:
- Enabled LPUART8 node in u-boot & linux-imx(kernel).
- Added node in imx93-11x11-evk-uboot.dtsi file.
- Added lines related to uart8 in imx93_evk.c(const uart_pads)
- changed default base address in platform_def.h file.
Please guide me any more changes need be done apart from above.
Thanks
Robbi.
Thanks @Manuel_Salas ,
It is working now. And I need solution for the issue as our custom-board is having SD-CARD with slight difference from EVK. we removed GPIO for card detection. So by default DATA3 is used a card detection?.
The modifications done only in u-boot-imx:
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
//cd-gpios = <&gpio3 06 GPIO_ACTIVE_LOW>;
vmmc-supply = <®_usdhc2_vmmc>;
bus-width = <4>;
broken-cd;
status = "okay";
no-sdio;
no-mmc;
};
Removed cd-gpios by comment & added broken-cd. But after boot SPL was unable to boot from SD. Please go through the log.txt file.
Thanks
Robbi
Hello @Robbi
I hope you are doing very well.
Please try the attached patches.
Then, you should be able to run ATF and U-boot on the LPUART8.
Best regards,
Salas.