Skip to main content
The following figure shows the workflow to bring up Ethernet on the reference kits.
Ethernet bringup workflow

Ethernet bringup workflow

  • Flash the corresponding CDT on the device to ensure that the correct configuration is used for Ethernet bringup.
  • The QPS615 MAC driver and kernel configuration are enabled by default in the source code.
  • To bring up hardware configurations other than the configuration provided by Qualcomm, see Bring up alternate hardware enablement.
To bring up Ethernet functionality on RB3 Gen 2 Development Kit, do the following:
  1. The RB3 Gen 2 Development Kit comes with a preconfigured MAC address. Skip this step if you choose to use the same MAC address.
    Alternatively, to change the preconfigured MAC address on the device, perform the following steps:
    1. Bring down the interface.
      For example:
    2. Assign the MAC address.
      For example:
    3. Bring up the interface.
      For example:
      Sample output:
      This MAC address is valid only for the current boot cycle. On rebooting the device, the MAC address is updated with the address from persistent storage as described in Verify preconfigured MAC address.
  2. When the device is connected to a public network, the DHCP server connected to the network assigns an IP address automatically. If a dynamic IP address is not assigned to the device but Ethernet connectivity is required, configure a static IP address manually within the same subnet of the client.
    For example:
    Sample output:
    This IP address is valid only for the current boot cycle. On rebooting the device, the IP address isn’t retained.
  3. Configure the MTU size for the data packets over the Ethernet interface.
    For example:
    Sample output:

Bring up alternate hardware enablement

You can attach MAC/PHY components other than the hardware configuration provided by Qualcomm and bring them up. To replace QPS615 with other PCIe based MAC/PHY, see PCIe software support for QPS615 switch.
You must obtain the MAC/PHY driver and firmware from the respective vendor. Qualcomm isn’t responsible for these configuration changes.

Retain QPS615 PCIe and replace QEP8121/AQR113C

To retain QPS615 PCIe and replace QEP8121/AQR113C with other PHY components, do the following:
  1. Based on the attached PHY recommendations, update all the parameters in the arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-staging.dtso file.
  2. Compile the software. Sample code for QEP PHY:
    After flashing the modified software, the QPS615 driver scans the physical devices connected to it and matches the device tree information.
    A PHY may fail to load due to mismatch between the configuration in the .dtso file and actual recommendations for the PHY. In such cases, you must update the configuration in the .dtso file accordingly.

AQR PHY enablement

Though AQR PHY for 10 GbE is optional, it’s validated on reference RB3 Gen 2 Development Kit. When bringing up Ethernet with AQR PHY for the first time, flash the PHY firmware to the hardware once. The AQR PHY is then detected and the PHY driver is enabled by default.Qualcomm verified the following AQR PHY firmware on RB3 Gen 2 Development Kit:
  • Marvell firmware: AQR-G4_v5.6.1-QR_Marvell_NoSwap_XFI_ID44874_VER1836.cld
  • Marvell proprietary flashburn tool is recommended for flashing Marvell AQR113 PHY.
  • Contact Marvell Technology, Inc. to obtain the AQR PHY firmware.

Detect the PHY

To detect the PHY, do the following:
  1. Update the AQR PHY parameters in the arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-staging.dtso file.
  2. Compile the software. Sample code for AQR PHY:
Next steps