Hi there,
We have a DRA7 customed board, design of which refers EVMX777G-01-40-00 (the evm board). However, there is no output clock in EMAC[0].TXC, when booting to uboot.
# HwEnv
- DRA7 is connected to Marvell Switch 88EA6321 port 2. Switch chip is controlled by a MCU running bare-metal code without IP stack
- This local network is not connect to external network. For controlling switch, only port forwarding is achieved between port 5 and port 6.
- Due to network issue in DRA7 side, port forwarding function is still being verified between port 2 and port 5.
- MCU powers on at frist and configure switch. Then MCU powers on DRA7
# SwEnv
- ubuntu 14
- ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01
# Porting process
- change mux_data.h file with TI pinmux tool generation
- bypass eeprom board detection in board_detection and manually set board_name as dra74x_evm
- change dts
# Verified part
- work normally : serial port, GPIO, LED, emmc, power, CAN
- under varied emac0 speed, emac registers seem not configured
- Under different emac speed 10 100 1000Mbps, {0x48484D84, 0x48485288, 0x4A002554} are identical and equal to {0x00000000, 0x00000000, 0x00003302}
- uboot dts is below
# Problem locating
- Compared with the evm board, after executing uboot/driver/net/cpsw.c -> cpsw_gmii_sel_dra7xx -> writel(reg, priv->data.gmii_sel), EMAC[0]_TXC is able to output clock. But for out customed board, there is no clock at all when running over the same location.
Hope someone able to share insights. Thanks very much !
Best Regards,
Daniel