Migrating console from LPUART1 to LPUART8 in imx93

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Migrating console from LPUART1 to LPUART8 in imx93

ソリューションへジャンプ
852件の閲覧回数
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 件の賞賛
返信
1 解決策
806件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
807件の閲覧回数
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 件の賞賛
返信
781件の閲覧回数
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 件の賞賛
返信
747件の閲覧回数
Robbi
Contributor II
Is this correct approach for SD changes making DAT3 as cd.
0 件の賞賛
返信