OSD32MP1-RED MMC0 boot

Forums Devices OSD32MP15x OSD32MP1-RED MMC0 boot

Viewing 1 reply thread
  • Author
    Posts
    • #12607
      Emanuel KaspereitEmmaKa
      Participant

        we are working on a new board based on the OSD32MP1-RED with minor changes LEDs buttons etc..

        When I create an SD card with from the file “osd32mp1-red-trusted-openstlinux-sdcard-v1_2.raw” the system boots.

        If I create an SD card with the “osd32mp1-red-trusted-openstlinux-sdcard-v3.0.raw” image, I get the following message:

         

        U-Boot 2020.10-stm32mp-r1 (Oct 05 2020 - 15:15:32 +0000)
        CPU: STM32MP157C?? Rev.Z
        Model: Octavo OSD32MP1 RED board
        Board: stm32mp1 in trusted mode (st,stm32mp157c-osd32mp1-red)
        DRAM:  512 MiB
        Clocks:
        - MPU : 650 MHz
        - MCU : 187.500 MHz
        - AXI : 266.500 MHz
        - PER : 24 MHz
        - DDR : 533 MHz
        WDT:   Started with servicing (32s timeout)
        NAND:  0 MiB
        MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
        Loading Environment from MMC... MMC: no card present
        *** Warning - No block device, using default environment
        In:    serial
        Out:   serial
        Err:   serial
        
        invalid MAC address in OTP 00:00:00:00:00:00
        Net:   
        Error: ethernet@5800a000 address not set.
        No ethernet found.
        
        
        Hit any key to stop autoboot:  0 
        Boot over mmc0!
        Saving Environment to MMC... MMC: no card present
        No block device
        Failed (1)
        MMC: no card present

        I Don’t know anymore – what could be the reason?

      • #12609
        Neeraj Dantu
        Moderator

          EmmaKa,

           

          Please take a look at your circuit for SD card Detect pin. Card detect pin was not polled in v1.2 image. In v3 image, card detect pin is defined here: https://github.com/octavosystems/meta-octavo-osd32mp1/blob/dunfell/recipes-bsp/u-boot/files/0008-Add-OSD32MP1-RED-Device-tree-support.patch#L1526. GPIOE 7 must be pulled LOW or you can disable card detection in u-boot device tree.

          See README for https://github.com/octavosystems/meta-octavo-osd32mp1.

          Best,

          Neeraj

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.
      chatsimple