2075161_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2075161_en-US

2075161_en-US

Migrating console from LPUART1 to LPUART8 in imx93

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:

  1. Enabled LPUART8 node in u-boot & linux-imx(kernel).
  2. Added node in imx93-11x11-evk-uboot.dtsi file.
  3. Added lines related to uart8 in imx93_evk.c(const uart_pads)
  4. changed default base address in platform_def.h file.

Please guide me any more changes need be done apart from above.

Thanks 

Robbi.

Re: Migrating console from LPUART1 to LPUART8 in imx93Is this correct approach for SD changes making DAT3 as cd.Re: Migrating console from LPUART1 to LPUART8 in imx93

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 = <&reg_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
Re: Migrating console from LPUART1 to LPUART8 in imx93

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.

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 09:37 PM
更新人: