U-boot: stm32mp157c-dk2 on osd32mp157c-brk

Forums Devices OSD32MP15x U-boot: stm32mp157c-dk2 on osd32mp157c-brk

Viewing 1 reply thread
  • Author
    Posts
    • #10711
      Christer Erikssonekorre
      Participant

        Hello,
        As the title says I want to run a U-boot example with DFU that runs fine on stm32mp157c-dk2, but not on the BRK. My setup is ATF as FSBL and U-boot as SSBL. I am unable to get the USB to work properly on the BRK board in U-boot. The major board difference is USB-C compare to micro USB on the BRK board. For U-boot I replace the DK2 device tree with the one found on https://github.com/octavosystems/osd32mp1-brk-device-tree. The BRK board boots fine with the log below, but no success connecting to a host PC.

        U-Boot 2018.11-stm32mp-r2.1 (Sep 07 2020 – 17:40:33 +0200)

        CPU: STM32MP157C?? Rev.?
        Model: Octavo Systems OSD32MP1-BRK Board
        Board: stm32mp1 in trusted mode (st,stm32mp157c-brk)
        DRAM: 512 MiB
        Clocks:
        – MPU : 650 MHz
        – MCU : 208.878 MHz
        – AXI : 266.500 MHz
        – PER : 24 MHz
        – DDR : 533 MHz
        NAND: 0 MiB
        MMC: STM32 SDMMC2: 0
        In: serial
        Out: serial
        Err: serial
        invalid MAC address in OTP 00:00:00:00:00:00Net: No ethernet found.
        Hit any key to stop autoboot: 0
        Boot over usb0!
        partitions : done
        DFU alt info setting: done

        However on the PC host I get the below in the kernel log

        usb 1-5.7.1.3.2: new high-speed USB device number 84 using xhci_hcd
        usb 1-5.7.1.3.2: device descriptor read/64, error -110

        How would get the USB on the BRK board show up as a gadget like on the DK2 board?

        BR

      • #10714
        Neeraj Kumar Reddy DantuNeeraj Dantu
        Moderator

          BR,

          Support for Cube Programmer support for BRK is in the works. Please see attached patch(https://github.com/neerajdantu/BRK_Uboot_patch) that implements this function. Please update your Developer Package to the latest version(v2.0) as well as Cube Programmer(2.5) for this to work.

          Best,

          Neeraj

          • This reply was modified 4 years, 1 month ago by Neeraj Kumar Reddy DantuNeeraj Dantu.
      Viewing 1 reply thread
      • You must be logged in to reply to this topic.