U-boot Deployment
5.4.13
eTSEC & BCM5482
COMX-P2020 provides three enhanced three-speed Ethernet controllers (eTSECs) which
interface to 10Mbps, 100Mbps, and 1Gbps Ethernet/IEEE 802.3 networks. Two BCM5482
was used to connect with eTSECs through RGMII. Each BCM5482 can provide two
Ethernet transceivers designed for 1000Mbps, 100Mbps and 10Mbps application. The Phy
Address for the eTSECs are list below:
eTSEC0 : phyID = 0
eTSEC1 : phyID = 2
eTSEC2 : phyID = 1
The U-boot provides standard command "mii" to probe, read and write BCM5482 register.
This part is not included in this document.
=> help mii
mii - MII utility commands
Usage:
mii device
mii device <devname>
mii info
mii read
mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>
mii dump
Addr and/or reg may be ranges, e.g. 2-7.
=>
5.5
Configure U-boot Environment
5.5.1
Default U-boot environment
When the COMX-P2020 U-boot comes up, it creates the following environment by default:
=> printenv
ramboot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr
$tftppath/$ramdiskfile;tftp $loadaddr $tftppath/$bootfile;tftp $fdtaddr
$tftppath/$fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
64
<addr>
<addr> <reg>
<addr> <reg>
- list available devices
- set current device
- display MII PHY info
- read MII PHY <addr> register <reg>
- pretty-print <addr> <reg> (0-5 only)
COMX-P2020 BSP User Guide (6806800L84C)
U-boot Deployment
Need help?
Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?