Migrating console from LPUART1 to LPUART8 in imx93

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Migrating console from LPUART1 to LPUART8 in imx93

Jump to solution
847 Views
Robbi
Contributor II

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.

0 Kudos
Reply
1 Solution
801 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

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.

View solution in original post

0 Kudos
Reply
3 Replies
802 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply
776 Views
Robbi
Contributor II

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
0 Kudos
Reply
742 Views
Robbi
Contributor II
Is this correct approach for SD changes making DAT3 as cd.
0 Kudos
Reply