ETH2 on Verdin AM62 with Ivy Carrier Board

Hi ! I am newbie in Torizon OS and linux. I need to do port fordwarding between two NIC. I have successfully done with TI AM62 development board and now move to Verdin AM62 with Ivy board as production run.

I download Torizon OS 7.3.0 for Verdin AM62 and flash it with Toradex Easy Installer. It works fine with ETH1 connection but not ETH2. nmcli shows it is unavailable for ETH2

Checking with uboot logs, it shows the machine is Verdin AM62 on Verdin Development Board.

Question,

  1. Is the mis-match machine type cause the issue ?
  2. I found different dtb in folder /boot/ostree/tori…/dtb

How can I know which device tree is currently using ? And how can I change to other device tree ?

Thanks very much.

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Device Tree Configuration for Verdin AM62 on Ivy Carrier Board

The issue you’re experiencing with ETH2 not being available is likely related to the device tree configuration. The mismatch between the U-Boot detection (“Verdin Development Board”) and your actual hardware (Ivy Carrier Board) indicates that the system is loading the wrong device tree.

Understanding the Issue

The Verdin AM62 supports multiple carrier boards, and each requires specific device tree configurations to enable all interfaces properly (1). When the wrong device tree is loaded, certain peripherals like the second Ethernet interface may not be initialized correctly.

Checking Currently Used Device Tree

To check which device tree is currently being used, you can examine the applied overlays (2):

# ls /proc/device-tree/chosen/overlays/

(2)

For each overlay that was applied successfully, you’ll see files with .dtbo extensions, and their values should be 0 if applied correctly (2):

# cat /proc/device-tree/chosen/overlays/<overlay_name>.dtbo

(2)

Networking Interface Configuration

Torizon OS uses NetworkManager for network configuration, and Ethernet interfaces are named ethernet0, ethernet1, etc. (3). You can check the status of your network devices with:

# nmcli device

(3)

To show available connections and devices:

# nmcli connection show

(3)

Device Tree Customization Options

Since you need the correct device tree for the Ivy Carrier Board, you have two main approaches (1):

  1. Using Device Tree Overlays: This is the recommended approach for simple modifications and when readily-available overlays exist for your hardware configuration (1).

  2. Custom Device Tree: For more complex modifications or when specific overlays aren’t available (1).

Enabling the Second Ethernet Interface

The Verdin AM62 features dual Gigabit Ethernet - one with an integrated PHY and another with RGMII interface (4). The second Ethernet interface may require specific device tree configuration or overlays to be properly enabled on the Ivy Carrier Board.

Recommended Next Steps

  1. Verify Hardware Configuration: Ensure your Ivy Carrier Board has the second Ethernet interface properly connected and configured.

  2. Check Available Overlays: Look for Ivy-specific device tree overlays in the /boot/ostree/tori.../dtb/ directory.

  3. Apply Correct Device Tree: You may need to use TorizonCore Builder to create a custom image with the appropriate device tree configuration for the Ivy Carrier Board.

  4. Network Interface Configuration: Once the correct device tree is loaded, configure both Ethernet interfaces using NetworkManager commands (3).

The key is ensuring that the system loads the device tree configuration specific to your Ivy Carrier Board rather than the default Verdin Development Board configuration.

Best regards,
Toradex AI Assistant.

Answer my own question.

Add line fdtfile=k3-am625-verdin-wifi-ivy.dtb to /etc/loader/uEnv.txt and reboot the system.

After that setup the ethernet1 with nmcli

Hey, @Chiu,

I’m glad you managed to solve the issue!

The fdtfile was set to k3-am625-verdin-wifi-ivy.dtb because the module has no way of detecting what board it’s connected to. Thus we set it to the Development Board device tree for each family, and setting it to the specific carrier board has to be done manually.

I recommend checking out our documentation on U-Boot Environment Variables, and about deploying Device Trees specifically.

Let me know if you find any further issues.

Best regards,