diff options
author | Wig Cheng | 2020-07-31 14:15:37 +0800 |
---|---|---|
committer | Stefano Babic | 2020-08-18 10:10:25 +0200 |
commit | 4992090ed4d6ca0b2aedb3e135f804ebfe06c431 (patch) | |
tree | 64d30813d98dddb085a59d616e573f2d052c6cc2 /arch | |
parent | d9d77a52098fc352011224263f4f4ffbdb1eceab (diff) |
pico-imx6ul: convert ethernet function to DM_ETH
- Remove pinmux definition from pico-imx6ul.c
- Enable NET_RANDOM_ETHADDR for temporary solution, because micrel_ksz8xxx
driver does not support DM_ETH yet, so cannot read MAC address directly.
Before enable DM_ETH:
Net: FEC [PRIME]
After enable DM_ETH:
Net:
Warning: using random MAC address - ca:3f:43:8f:67:d4
eth1: ethernet@20b4000
Here is the test commands:
=> dhcp
BOOTP broadcast 1
DHCP client bound to address 10.88.88.94 (139 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=> ping 8.8.8.8
Using ethernet@20b4000 device
host 8.8.8.8 is alive
Signed-off-by: Wig Cheng <wig.cheng@technexion.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions