Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active December 21, 2021 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertCNelson/67eca1f66659614d08a8a291203785f3 to your computer and use it in GitHub Desktop.
Save RobertCNelson/67eca1f66659614d08a8a291203785f3 to your computer and use it in GitHub Desktop.
BBB Ethernet
https://github.com/RobertCNelson/bb-kernel/commit/97f5ce8ecc682d56faa38a85f9f773d33e4dab95
root@BeagleBone:~# uname -r ; dmesg | grep -i mdio ; dmesg | grep -i cpsw
5.15.10-bone15.1
[ 1.266868] libphy: Fixed MDIO Bus: probed
[ 1.557184] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.557242] libphy: 4a101000.mdio: probed
[ 1.559332] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 23.079372] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[ 1.559785] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[ 1.559813] cpsw-switch 4a100000.switch: ALE Table size 1024
[ 1.559931] cpsw-switch 4a100000.switch: cpts: overflow check period 1250 (jiffies)
[ 1.559952] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[ 1.560064] cpsw-switch 4a100000.switch: Detected MACID = 14:42:fc:c5:bc:89
[ 1.561651] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[ 22.957509] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
[ 26.210153] cpsw-switch 4a100000.switch eth0: Link is Up - 100Mbps/Full - flow control off
https://github.com/RobertCNelson/bb-kernel/commit/23f1364b6b686d1ec60ef179521b6e819f5da7b2
root@BeagleBone:~# dmesg | grep -i mdio
[ 1.380451] libphy: Fixed MDIO Bus: probed
[ 1.696870] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.696922] libphy: 4a101000.mdio: probed
[ 1.699077] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 38.251130] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
root@BeagleBone:~# [ 68.722819] Adding 1011708k swap on /var/swap. Priority:-2 extents:2 across:1282044k SSFS
root@BeagleBone:~# dmesg | grep -i cpsw
[ 1.699531] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[ 1.699560] cpsw-switch 4a100000.switch: ALE Table size 1024
[ 1.699672] cpsw-switch 4a100000.switch: cpts: overflow check period 1250 (jiffies)
[ 1.699693] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[ 1.699806] cpsw-switch 4a100000.switch: Detected MACID = 14:42:fc:c5:bc:89
[ 1.701395] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[ 38.069268] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
[ 41.377864] cpsw-switch 4a100000.switch eth0: Link is Up - 100Mbps/Full - flow control off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment