Hi TI members:
We have one customer TDA4 board, which have three UART ports ( MAIN_UART0 / MCU_UART0 / WKUP_UART0).
Because MAIN_UART0 is used for A72 linux print log,
we would like to change the ethfw log print on MCU_UART0 or WKUP_UART0.
Right now we migrate our code to PSDKRA7.2,
I already modify below pdk code for change ethfw UART port
--- a/packages/ti/drv/enet/examples/utils/V1/enet_appboardutils_j721e_evm.c
+++ b/packages/ti/drv/enet/examples/utils/V1/enet_appboardutils_j721e_evm.cVM board pinmux
@@ -231,8 +231,10 @@ static void EnetBoard_boardInit(Board_initCfg *boardCfg)
/* mcu2_0 UART instances:83b3d9390f99ba4cf
* - J721E EVM: UART2inen.Chen@quantatw.com>
* - J7200 EVM: UART3 */21 +0000
- initParams.uartInst = ENET_UTILS_MCU2_0_UART_INSTANCE;
- initParams.uartSocDomain = BOARD_SOC_DOMAIN_MAIN;
+ //initParams.uartInst = ENET_UTILS_MCU2_0_UART_INSTANCE;es/ti/drv/enet/
+ //initParams.uartSocDomain = BOARD_SOC_DOMAIN_MAIN;packages/ti/drv/enet$ ls -l
+ initParams.uartInst = 0;
+ initParams.uartSocDomain = BOARD_SOC_DOMAIN_WKUP;
/* Use non-exclusive mode in board lib when accessing the module for clock enable
* to let Linux also access the module */fg.h
initParams.pscMode = BOARD_PSC_DEVICE_MODE_NONEXCLUSIVE;
@@ -270,7 +272,8 @@ void EnetBoard_initEthFw(void)nent.mk
uint32_t clkModuleId[] = { TISCI_DEV_DDR0,
TISCI_DEV_TIMER12,
TISCI_DEV_TIMER13,xdt
- TISCI_DEV_UART2, };
+ TISCI_DEV_WKUP_UART0, };
+ //TISCI_DEV_UART2, };
I also update the WKUP_UART0 pins pinmux in pdk/packages/ti/drv/enet/examples/utils/V1/enet_board_pinmux.c ,
and confirm it after linux login:
J28 : WKUP_UART0_TXD 00010000 (pin 41 (PIN41) 4301c0a4 00010000 pinctrl-single)
J29 : WKUP_UART0_RXD 00050000 (pin 40 (PIN40) 4301c0a0 00050000 pinctrl-single)
But now I still can't see the ethfw log print on WKUP_UART0.
Do you have any idea about this request?
BR
Sentinen Chen