This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
After boot (u-boot and kernel) i have no ethernet device available (eth0 and eth1).
On my custom board i have no eeprom with name of evm then i follow SDK documentation 06.03.00.106 (§ 6.4.1 U-boot Board Port) for modified the files (board.c, mux.c, board.h etc.).
I have log with U-BOOT :
U-Boot 2019.01-g49b59ab68a-dirty (Jan 12 2021 - 13:43:08 +0100)
CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM
DRAM: 256 MiB
ETH0, PRU
ETH1, PRU
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
Loading Environment from FAT... OK
Net: Could not get PHY for ethernet@4a100000: addr 0
Warning: ethernet@4a100000 MAC addresses don't match:
Address in ROM is 00:35:ff:78:db:cd
Address in environment is c4:f3:12:f8:ad:83
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is de:ad:be:ef:00:01
Address in environment is c4:f3:12:f8:ad:85
, eth1: usb_ether
Hit any key to stop autoboot: 0
** Unable to read file uEnv.txt **
4215296 bytes read in 356 ms (11.3 MiB/s)
37518 bytes read in 5 ms (7.2 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8df2c000, end 8df3828d ... OK
When I use command : ifconfig -a i have :
root@am335x-evm:~# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
When I use command : ifconfig eth0 i have :
fconfig: eth0: error fetching interface information: Device not found
Do you have any idea ?
Hello Mehdi,
Please take a look at the CPSW Ethernet Triage Checklist. Are your PHYs connected to CPSW ports or PRU Ethernet ports?
Regards,
Nick
Please attach your boot log as a text file. Please attach the applicable parts of your device tree.
Hy Nick,
I resolved my problem.
The adresse configuration of PHY component (DP83848) with resistors is not good (the adresse was 5 instead of 3).
I have a resistor at bad place (on RXD1 instead of RXD0).
Best regard.
mehdi boukili said:Hy Nick,
I resolved my problem.
The adresse configuration of PHY component (DP83848) with resistors is not good (the adresse was 5 instead of 3).
I have a resistor at bad place (on RXD1 instead of RXD0).
Best regard.