Home › Forums › Reference, Evaluation, and Development Boards › OSD32MP1-RED › Getting started with OSD32MP1-RED v1.2 board

Viewing 2 reply threads
  • Author
    Posts
    • #13457
      Rob Barris
      Participant

      Board is happy out of box booting Debian from the EMMC.  Ethernet works, can SSH in and out.

      Then I download the OpenSTLinux starter image from

      https://octavosystems.com/files/osd32mp1-red-openstlinux-v3-0/

      and dd’d it onto SD card.  Changed the switches to SD boot mode, and it boots the STlinux.  However the ethernet is not working.

      Is there more info I can provide ?

      Is this a known issue with this starter image and the 1.2 RED board ?

      Is there a newer image to try?

      I have been able to build an OpenSTlinux distribution image using Yocto/Poky with success for the STM32MP157-DK2 board, should I try to build something more recent ?  Host machine is running Ubuntu 22.04 LTS.

      boot log text:

      [    2.941383] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
      [    2.946214] stm32-dwmac 5800a000.ethernet: PTP uses main clock
      [    2.951873] stm32-dwmac 5800a000.ethernet: no reset control found
      [    2.958634] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
      [    2.964823] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
      [    2.969876] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
      [    2.977077] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
      [    2.984478] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
      [    2.991283] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
      [    2.997651] stm32-dwmac 5800a000.ethernet: TSO supported
      [    3.002823] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
      [    3.010689] stm32-dwmac 5800a000.ethernet: device MAC address ae:8d:3c:14:78:b9
      [    3.017987] stm32-dwmac 5800a000.ethernet: Enabled Flow TC (entries=2)
      [    3.024476] stm32-dwmac 5800a000.ethernet: TSO feature enabled
      [    3.030331] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width
      
      .... other stuff ...
      
      [   20.961466] stm32-dwmac 5800a000.ethernet eth0: no phy at addr -1
      [   20.966129] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
      
      at prompt:
      
      root@osd32mp1-red:~# ping 192.168.2.5
      ping: connect: Network is unreachable
      root@osd32mp1-red:~# ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host 
             valid_lft forever preferred_lft forever
      2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
          link/can 
      3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
          link/ether 8e:83:fc:a4:30:e6 brd ff:ff:ff:ff:ff:ff
      4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
          link/ether d0:17:69:ea:f1:f0 brd ff:ff:ff:ff:ff:ff
      5: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
          link/ether 22:63:28:76:2b:ad brd ff:ff:ff:ff:ff:ff
      
      

       

    • #13459
      Rob Barris
      Participant

      I flipped the switches back to EMMC boot (Debian).  Paying closer attention to the startup text, it has the exact same OTP 00:00:00 etc complaint early on, but it does arrive at live ethernet.

      invalid MAC address in OTP 00:00:00:00:00:00
      Net:   
      Error: ethernet@5800a000 address not set.
      No ethernet found.
      
      
      ......
      
      
      Linux localhost 5.10.10 #2 SMP PREEMPT Thu Feb 2 23:50:56 UTC 2023 armv7l
      
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Sun Mar 12 05:04:01 UTC 2023 on tty7
      root@localhost:~# ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host 
             valid_lft forever preferred_lft forever
      2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
          link/can 
      3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
          link/ether 82:21:95:96:72:ee brd ff:ff:ff:ff:ff:ff
          inet 192.168.2.9/24 brd 192.168.2.255 scope global dynamic eth0
             valid_lft 85521sec preferred_lft 85521sec
          inet6 fe80::8021:95ff:fe96:72ee/64 scope link 
             valid_lft forever preferred_lft forever
      4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
          link/ether d0:17:69:ea:f1:f0 brd ff:ff:ff:ff:ff:ff
      5: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
          link/ether aa:59:de:3b:3b:fc brd ff:ff:ff:ff:ff:ff
          inet 192.168.7.1/24 brd 192.168.7.255 scope global usb0
             valid_lft forever preferred_lft forever
      

       

    • #13471

      Rob,

      OSD32MP1-RED V1.2 board has a different Ethernet PHY than V1.1. You will need to use the upgraded v1.2 image available in the software section of the board webpage: https://octavosystems.com/octavo_products/osd32mp1-red/#Software.

      Please see https://github.com/octavosystems/meta-octavo-osd32mp1 and https://github.com/octavosystems/osd32mp1-debian for the source code and methods to build images.

      Best,

      Neeraj

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