Part Number: AM4377
The AM4377 uses the RMII interface to connect to the DP83848 and connects to the computer via a network cable (the network card is the Intel(R) PRO/1000 MT Dual Port Server Adapter).
Uboot network port is not available, please help us to see if the hardware pin connection and pinmux configuration is normal? Thank youchematic reference annex:
Serial port printing reference attachment:(uboot use ti-processor-sdk-linux-am437x-evm-03.02.00.05-Linux-x86-Install.bin)
Pinmux settings:
static struct module_pin_mux rmii2_pin_mux[] = {
{OFFSET(gpmc_a0), MODE(3)| SLEWCTRL}, /* RMII2_TXEN:*/
{OFFSET(gpmc_a4), MODE(3)| SLEWCTRL}, /* RMII2_TXD1:*/
{OFFSET(gpmc_a5), MODE(3)| SLEWCTRL}, /* RMII2_TXD0:*/
{OFFSET(gpmc_a10), MODE(3) | SLEWCTRL | RXACTIVE}, /* RMII2_RXD1:*/
{OFFSET(gpmc_a11), MODE(3) | SLEWCTRL | RXACTIVE}, /* RMII2_RXD0:*/
{OFFSET(gpmc_wait0), MODE(3) | PULLUP_EN | RXACTIVE}, /* RMII2_CRS_DV:*/
{OFFSET(gpmc_wpn), MODE(3) | SLEWCTRL | RXACTIVE}, /* RMII2_RXER:*/
{OFFSET(mii1_col), MODE(1) | RXACTIVE}, /* RMII2_refclk:*/
{-1},
};
other setting:
1)auto negotiation enabled on both ends of the link,The PC's Network card has also been set to auto-negotiation mode.
2)the link speeds is 100 Mbps.The PC's Network card rate query is also 100M.
3)Full Duplex mode is correct.
CRSC># mdio read 0-7 (----when uboot)
Reading from bus cpsw
PHY at address 1:
0 - 0x3100 --ok
1 - 0x786d
2 - 0x2000
3 - 0x5c90
4 - 0x1e1
5 - 0xc1e1 --1 = Link Partner desires Next Page Transfer.
6 - 0xf --1 = Link Partner does support Next Page
7 - 0x2801
CRSC># md 4a100900
4a100900: 00000000 00000000 00000000 00000000 ................
4a100910: 00000000 00000000 00000000 00000000 ................
4a100920: 00000000 00000000 00000000 00000000 ................
4a100930: 00000000 00000000 00000000 00000000 ................
4a100940: 00000000 00000000 00000000 00000000 ................
4a100950: 00000000 00000000 00000000 00000000 ................
4a100960: 00000000 00000000 00000000 00000000 ................
4a100970: 00000000 00000000 00000000 00000000 ................
4a100980: 00000000 00000000 00000000 00000000 ................
uboot code modified:
thank you!