AM3552 SOM Ethertnet does not work

Started by taylan, May 17, 2023, 11:59:28 AM

Previous topic - Next topic

taylan

/etc/network/interface file is correct, but

ifconfig command gives only Loopback address


ifup -a  command gives

Cannot fınd "eth0"
Failed to bring eth0

Cannot fınd "eth1"
Failed to bring eth1



LubOlimex

This probably has something to do with the note at the bottom of the -EVB webpage:

"Q: I can't get the Ethernet working. What is wrong with my board?

A: The board AM3352-SOM-EVB has two Ethernet ports. LAN1 is configured with default static IP address of 192.168.1.254. LAN2 is configured as DHCP.

IMPORTANT: You need VLAN enabled to establish a proper connection to the board (as defined in IEEE 802.1Q). Make sure your hardware is compatible with IEEE 802.1Q. Make sure you have to enabled VLAN for the router/switch/bridge or the network card otherwise the Ethernet connection to the AM3352-SOM-EVB board will fail. You can find a lot guides online on how to enable VLAN (or VLAN tagging) for your specific hardware and operating system."
Technical support and documentation manager at Olimex

taylan

Operating system can not drive LAN1 and LAN2. VGA and all USB connection are working properly, but ethernet ports can not be accessed even by OS. I can reach the EVB by Monitor and keyboard.

JohnS

Quote from: LubOlimex on May 17, 2023, 03:04:15 PMIMPORTANT: You need VLAN enabled to establish a proper connection to the board (as defined in IEEE 802.1Q).
Why is that necessary at all (let alone IMPORTANT)?

John

taylan

I mean other facilities OK. Why ethernet ports can not be driven, is there any mistake on the EVM board hardware ? is there  missing any library or any code in the images ?

Actually, the ethernet ports  are necessary for this work
 

LubOlimex

QuoteWhy is that necessary at all (let alone IMPORTANT)?

Because Texas Instruments designed he chip and its support that way. That is the price you pay for the two Ethernet ports. Just Google "am3352 vlan" and look into the Texas forums.

Technical support and documentation manager at Olimex

LubOlimex

Quote from: taylan on May 17, 2023, 04:43:54 PMI mean other facilities OK. Why ethernet ports can not be driven, is there any mistake on the EVM board hardware ? is there  missing any library or any code in the images ?

Actually, the ethernet ports  are necessary for this work
 

Please notice that the Ethernet of each board gets tested here empirically and the official Linux image has been confirmed working with regards the Ethernet ports. Quite likely the issue is somewhere in the hardware setup or the settings at your side.

Are you using our EVB (AM3352-SOM-EVB)? Wheat are the LAN ports connected to? What switch exactly? Does the network equipment have vlan tagging enabled?
Technical support and documentation manager at Olimex

taylan

LAN1 is connected to VLAN with same network (192.168.1.x)
LAN2 is connected to LAN that can deliver DHCP address

I have reached to EVB with USB keyboard and VGA monitor.

EVB command line is active

When I ask ifconfig (/sbin/ifconfig exactly), the repsonse is

lo    Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      UP LOOPBACK RUNNING MTU:65536 Metric:1
      RX packets:0 errors:0 dropped:0  frame:0
      TX packets:0 errors:0 dropped:0  frame:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

olimex@AM3352_SoM:$

There is no info belongs eth0 and eth1


when use "ifup -a" for all ethernet ports

response is shown below

Internet System Consortium.
All rights reserved
For info, please visit https://www.isc.org/software/dhcp

Cannot find device "eth0"
Bind socket to interface: No such device

If you think you have received this message due to  a bug rather
.....
.....

exiting
Failed to bring up eth0
Cannot find device "eth1"
Failed to bring up eth1.

olimex@AM3352_SoM:$


LubOlimex

- What does just "ifconfig -a" return?

- Which Linux image exactly did you use? Is it release #4 (the archive is named "AM3352_debian_3_12_VGA_1024x768_preliminary_release_4.7z")?
Technical support and documentation manager at Olimex

taylan

--Firstly, the command is not "ifconfig -a", the command is "ifup -a". It means all ethernet ports must be  set up according to interface file ( is placed "/etc/network/interfaces")

-- I have used Linux image archive name "AM3352_debian_3_12_VGA_1024x768_preliminary_release_4.7z"
it is correct


LubOlimex

Quote--Firstly, the command is not "ifconfig -a", the command is "ifup -a". It means all ethernet ports must be  set up according to interface file ( is placed "/etc/network/interfaces")

What? It is different command "ifconfig -a" lists all network interfaces, please just type "ifconfig -a" and give me the results.

I ask these questions (and about "ifconfig -a") so I can test myself here in same conditions and compare and these are the things I will look myself here.

Yes. It is the proper Linux image that you used.

Technical support and documentation manager at Olimex

taylan

eth8 and eth9 has been shown. I have modified ınterface file, now it is OK