OSD32MP1-RED Ethernet Issue

Forums Reference, Evaluation, and Development Boards OSD32MP1-RED OSD32MP1-RED Ethernet Issue

Viewing 2 reply threads
  • Author
    Posts
    • #11618
      Arian SuarezArian Suarez
      Participant

        Hello,

        We are building a custom OpenSTLinux image for the OSD32MP1-RED. As a base, we started with the OSD32MP15x_MinimalConfig STM32CubeMX project which did work and boots correctly. When we try to add in the Ethernet port on the red board using the OSD32MP1-RED Device Tree as a guide we get the following errors:

        From uboot:

         

        From dmesg:

         

         

        I’ve attached the STM32CubeMx project, the kernel device tree, and the tf-a device tree.

        The version of software we are using:

        – openstlinux-5.4-dunfell-mp1-20-06-24

        – en.stm32cubemx-lin_v6-2-1

        – STM32CubeMP1 Firmware Package V1.2.0

         

        I don’t know what we are missing, has anyone seen this issue before?

         

      • #11619
        Arian SuarezArian Suarez
        Participant

          STM32CubeMx config for reference.

          • This reply was modified 3 years, 6 months ago by Arian SuarezArian Suarez.
          • This reply was modified 3 years, 6 months ago by Arian SuarezArian Suarez.
        • #11632
          Neeraj Dantu
          Moderator

            Arian,

            Please take a look at https://community.st.com/s/question/0D50X0000B8iBSB/stm32mp157-ethernet-problem for more information and solution on this issue. Essentially, the RED board does not implement a 125MHz clock connection between the PHY and STM32MP1. So, this reference clock needs to be generated internally.

            Along with  https://github.com/octavosystems/OSD32MP1-RED-Device-tree/blob/main/linux-v4.19/stm32mp157c-osd32mp1-red.dtsi#L1808, You will also need to make changes to TF-A device tree like here: https://github.com/octavosystems/OSD32MP1-RED-Device-tree/blob/main/tf-a-v2.0/osd32mp1-red.dts#L164 and U-Boot device tree like here: https://github.com/octavosystems/OSD32MP1-RED-Device-tree/blob/main/u-boot-v2018.11/osd32mp1-red-u-boot.dtsi#L96.

             

            For more information, please take a look at https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RGMII_with_Crystal_on_PHY-2C_no_125Mhz_from_PHY.

            Best,

            Neeraj

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.