JP6.1 ethernet LED

Hi, nvidia teams.
We use AGX ORIN with custom board JETPACK 6.1(rel36.4).

We use the same AQR113C ethernet chip as AGX ORIN DEVKIT.
I flash the official image jetpack 6.1 but the LED doesn’t turn on.
I read the values of the register related to the LED operation of devkit using phytool.

I program the LED status in aquantia_main.c in kernel driver myself.

After that, I compile kernel and build, and I flash again.
However, the LED is still not working.

If I write directly to the register using phytool, the LED works.
$ sudo phytool write eth0/0:0x1e/0xc430 0xc0ef
$ sudo phytool write eth0/0:0x1e/0xc431 0x0080
$ sudo phytool write eth0/0:0x1e/0xc432 0xc040

Thanks for supporting all the time.

reference forum topic:

Hi,

If you are designing a custom base board, then it means some adaptation configurations are needed.
Otherwise, your board may not work fine.

For Orin AGX series, you could refer to below document
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal%20serial%20bus#jetson-agx-orin-platform-adaptation-and-bring-up
(please be aware that above link is for rel-36.3/jetpack6.0)

This document includes below configuration

  1. pinmux change & GPIO configuration
  2. EEPROM change as most custom boards do not have an EEPROM on it.
  3. Kernel porting
  4. PCIe configuration
  5. USB configuration
  6. MGBE configuration
  7. RGMII configuration

Thanks!

Hi, carolyuu

I read the MGBE configuration section, but I couldn’t find anything about LED control.
And, I read Jetson AGX Orin Platform Adaptation and Bring-Up Document, but I couldn’t find anything about LED control too.

Thanks.

Are you sure the code you added there really got executed?

Hi Wayne,

I think its no.
I compile kernel and flash again, LED is still not working.
When I read 3 registers(1E.C430, 1E.C431, 1E.C432) with phytool, the values were still 0x0000.

I don’t know how to write a value to registers in the kernel drive.

We use “AQR-G4_v5.6.7-AQR_Marvell_NoSwap_XFI_ID44834_VER1922.cld” firmware.

The PHY driver is a ko file but not kernel image. Make sure you update the correct file.

If you are lacking of some Linux kernel knowledge, please go to learn it first.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.