Other Parts Discussed in Thread: DP83869, SYSCONFIG
Tool/software:
The two Ethernet Ports on SK-AM64x are connected to two separate Gigabit Ethernet PHY Transceivers DP83867.
On enabling MAC Port 2 in SK-AM64x networking examples, the auto-generated ti_board_config.c file contains Port 2 board configuration of AM64x-evm (DP83869 extended configuration) which is incorrect.
{ /* "CPSW3G" */
.enetType = ENET_CPSW_3G,
.instId = 0U,
.macPort = ENET_MAC_PORT_2,
.mii = { ENET_MAC_LAYER_GMII, ENET_MAC_SUBLAYER_REDUCED },
.phyCfg =
{
.phyAddr = 3,
.isStrapped = false,
.skipExtendedCfg = false,
.extendedCfg = &gEnetCpbBoard_dp83869PhyCfg,
.extendedCfgSize = sizeof(gEnetCpbBoard_dp83869PhyCfg),
},
.flags = 0U,
},
Any changes to the auto-generated file gets overwritten on rebuilding the example, how to fix this in a clean way?


