2025-12-04 3:48 AM
Hi,
I am new at STM32MP2. I have a stm32mp25f-ev1 board and I was able to build the distribution package and to run it on the board.
My next step is to build an image for my own board that was designed using the eval board as a reference, but with many changes in pins (except the eMMC and SDCARD).
I am strugling for 2 weeks now to get this working. I tried to follow the instructions from the wiki but could not get it up and running. Then I started to improvise (chat gpt, google, ...)...
What I did was to create a new layer under layers. This layer should be based on the meta-st-stm32mp layer and have no additions. So I thought it would use the same devicetree as the meta-st-stm32mp layer. Then I created a machine in this layer. The machine is just with a new name but no devicetree changes. After that I built a new configuration using this layer.
The idea was to get to somthing working on the eval board before I start adjusting it to my board.
While building I got these warnings:
WARNING: sk-daq-image-1.0-r0 do_image_complete: Missing 'EULA_FILE_ST' var : no image license copied...
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/images/sk-daq/sk-daq-image-openstlinux-weston-sk-daq.rootfs.license
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/sk-daq-image-openstlinux-weston-sk-daq.rootfs-20251204110736/image_license.manifest
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/st-image-bootfs-openstlinux-weston-sk-daq.bootfs-20251204093640/package.manifest
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/st-image-vendorfs-openstlinux-weston-sk-daq.vendorfs-20251204093640/package.manifest
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/sk-daq-image-openstlinux-weston-sk-daq.rootfs-20251204110736/package.manifest
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/st-image-userfs-openstlinux-weston-sk-daq.userfs-20251204093640/package.manifest
WARNING: sk-daq-image-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/ubuntu/dev/sk_daq/STM32MPU-Ecosystem-v6.6.0/Distribution-Package/build-openstlinuxweston-sk-daq/tmp-glibc/deploy/licenses/sk-daq/st-image-resize-initrd-openstlinux-weston-sk-daq.rootfs-20251204093640/package.manifest
And when I tried to use it on the evaluation board I got these issues:
[ OK ] Finished Load/Save OS Random Seed.
[ 13.555367] CAN device driver interface
[ 13.572365] mc: Linux media interface: v0.10
[ 13.574310] m_can_platform 402d0000.can: m_can device registered (irq=81, version=32)
[ 13.596450] m_can_platform 402f0000.can: m_can device registered (irq=82, version=32)
[ 13.604068] videodev: Linux video capture interface: v2.00
[ 13.608899] stm32-cryp 42030000.crypto: will run requests pump with realtime priority
[ 13.625439] stm32-cryp 42030000.crypto: Initialized
[ 13.669402] stm32-csi 48020000.csi: Probed CSI with 2 lanes
[ 13.713889] dcmipp 48030000.dcmipp: Probe done
[ 13.719132] etnaviv etnaviv: bound 48280000.gpu (ops gpu_ops [etnaviv])
E/TC:1 0 Panic at /usr/src/debug/optee-os-stm32mp/4.0.0-stm32mp-r1/core/drivers/clk/clk-stm32mp25.c:1976 <clk_stm32_pll_init>
E/TC:1 0 TEE load address @ 0x82000000
E/TC:1 0 Call stack:
E/TC:1 0 0x82007ed8
E/TC:1 0 0x82041b44
E/TC:1 0 0x820344a8
E/TC:1 0 0x82034774
E/TC:1 0 0x82030ae0
E/TC:1 0 0x82030abc
E/TC:1 0 0x82031030
E/TC:1 0 0x82073594
E/TC:1 0 0x82069a08
E/TC:1 0 0x8206f494
E/TC:1 0 0x820675b4
E/TC:1 0 0x82065760
E/TC:1 0 0x820646c0
E/TC:1 0 0x8204faf8
E/TC:1 0 0x820485b0
E/TC:1 0 0x820430f8
E/TC:1 0 0x820546dc
E/TC:1 0 0x82006070
E/TC:1 0 0x820064b0
I/TC: Halting CPU 0
I would appreciate any help.
Thanks!