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.

PROCESSOR-SDK-J721E: Can I use Enable Quad-Port Eth Expansion Board in Uboot?

Part Number: PROCESSOR-SDK-J721E

I have the quad port eth expansion board connected to my processor and am booting from SD card. When I stop uboot and run $ mii device I can only see one port. Is there a way to enable the quad ports so I see all of them in uboot and be able to ping?

  • Hi Emily,

    If you are running ethfw and you just want to use the quad-port SGMII card, you can load the mcu2_0 core with remoteproc from u-boot. That way you will be able to have CPSW running with mcu2_0 controlling it.

    But if now you want to send ethernet traffic to A72, you will have to boot into linux kernel for the same. That, unfortunately, is not present on u-boot.

    Can you let me know your use-case here so that I can provide you a proper solution.

    Regards,
    Tanmay

  • Thank you, we would like to be able to test the connection (quad-port SGMII) with u-boot, doing it from the MCU is ok.

    Emily
  • Does the SDK provide support for this?

  • Hi Emily,

    I reiterate that you wouldn't be able to communicate with A72, which is running the u-boot, if you use the Ethfw based solution.

    To load the firmware from u-boot, halt the boot at u-boot and runt the following commands :

    • run init_main_cpsw0_qsgmii_phy
    • rproc init
    • load mmc 0:2 0x90000000 /lib/firmware/j721e-main-r5f0_0-fw
    • rproc load 2 0x90000000 0x${filesize}
    • rproc start 2

    The ethfw will be loaded on mcu2_0.

    Regards,
    Tanmay