Git Product home page Git Product logo

stm32mp1-ubuntu's Issues

Cannot boot on stm32157 dk2

Hi I've build image using build.sh script, flash SD card and then I'me getting this:

NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE:  Board: MB1272 Var2.0 Rev.C-01
NOTICE:  BL2: v2.4-r2.0(release):v2.4-stm32mp-r2
NOTICE:  BL2: Built : 09:13:36, Nov 19 2022
NOTICE:  BL2: Booting BL32
NOTICE:  SP_MIN: v2.4-r2.0(release):v2.4-stm32mp-r2
NOTICE:  SP_MIN: Built : 09:13:36, Nov 19 2022


U-Boot 2021.10 (Nov 19 2022 - 09:13:32 +0100)

CPU: STM32MP157CAC Rev.B
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted - stm32image mode (st,stm32mp157c-dk2)
Board: MB1272 Var2.0 Rev.C-01
DRAM:  512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
stpmic1_pmic stpmic@33: stpmic1_read: failed to read register 0x25 : -110stpmic1_pmic stpmic@33: stpmic0
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0
Loading Environment from MMC... stpmic1_pmic stpmic@33: stpmic1_read: failed to read register 0x23 : -10
stpmic1_pmic stpmic@33: stpmic1_read: failed to read register 0x23 : -110stpmic1_pmic stpmic@33: stpmic0
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial

Any ideas please or do you have some pre-build images I can try? Thanks.

STM32MP157F-DK Build Failing

Hello, I'm building with the STM32MP157F-DK as the target, but the latest commit references the U-Boot submodule which doesn't include DTS files for STM32MP147F (only earlier silicon versions). I see in your latest actions you have successfully built for the xx157F target, but I can't manually update the U-Boot commit version successfully.

Can you provide any insight in how you successfully targeted xx157F?

supporting remoteproc?

I am not very experienced, but I think a major feature of the mp1 series is the MCU which can communicate fast with host. It seems this is not supported by these images? Would you mind to hint to me how should I solve this problem / add this support?

Running chromium?

Hello, I've used precompiled image for STm32mp157-dk2 board and installed chromium-browser (ubuntu 22.04) but I cannot make it working. Installed Xserver but this report

(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices

I saw on youtube that you can run weston? Did you try maybe some browser? Thanks.

WiFi not working with Ubuntu 20.04 image on STM32MP157F-DK2

Interestingly enough the wifi device isn't showing up on the STM32MP157F-DK2, with the Ubuntu20.04 release, even though it's the same chip as on the STM32MP157C-DK2. I tried running the activate_wifi.sh script but still no joy.
dmesg error shows the following:

[ 24.500978] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.st,stm32mp157c-dk2.bin failed with error -2
Looks like the bluetooth firmware file and wifi cyfmac43430-sdio.bin file was missing from the release and placing it the lib/firmware/brcm folder didn't help.

with Firmware copied now the dmesg reads as follows:


 dmesg |grep brcm
[   21.883320] Bluetooth: hci0: BCM: 'brcm/BCM43430A1.hcd'
[   21.883337] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[   22.481306] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   22.484646] usbcore: registered new interface driver brcmfmac
[   23.550437] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   24.570581] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
root@arm:~# rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
root@arm:~# rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

STM32MP157A-DK1 manual build failed

I've tried on a brand new LMDE installation, just in case.
compilation fails when trying to cross-compile arm-trusted-firmware against STM32MP157A-DK1.

albirew@VDS-FUSR9:~/arm-trusted-firmware$ make CROSS_COMPILE=${CC} PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 STM32MP_EMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dk1.dtb BL33_CFG=../u-boot/u-boot.dtb BL33=../u-boot/u-boot-nodtb.bin all fip
Including bl32/sp_min/sp_min.mk
  AS      stm32mp1.S
  LDS     /home/albirew/arm-trusted-firmware/build/stm32mp1/release/stm32mp1-stm32mp157a-dk1.o

Built /home/albirew/arm-trusted-firmware/build/stm32mp1/release/tf-a-stm32mp157a-dk1.bin successfully


Generate /home/albirew/arm-trusted-firmware/build/stm32mp1/release/tf-a-stm32mp157a-dk1.stm32
Image Type   : ST Microelectronics STM32 V1.0
Image Size   : 212945 bytes
Image Load   : 0x2ffc2500
Entry Point  : 0x2ffe9000
Checksum     : 0x005cdd59
Option     : 0x00000001
Version    : 0x00000000

Building stm32mp1

Building tools/fiptool/fiptool
  HOSTCC  fiptool.c
In file included from fiptool.h:16,
                 from fiptool.c:19:
fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
   19 | # include <openssl/sha.h>
      |           ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:50: fiptool.o] Error 1
make: *** [Makefile:1272: tools/fiptool/fiptool] Error 2
rm /home/albirew/arm-trusted-firmware/build/stm32mp1/release/stm32mp1-stm32mp157a-dk1.o /home/albirew/arm-trusted-firmware/build/stm32mp1/release/tf-a-stm32mp157a-dk1.elf /home/albirew/arm-trusted-firmware/build/stm32mp1/release/tf-a-stm32mp157a-dk1.bin
albirew@VDS-FUSR9:~/arm-trusted-firmware$

github-actions ubuntu artifact is working fine but there's no debian artifact for 157A-DK1, hence my attempt at manual build.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.