2020-08-25 07:36 AM
Hi,
I'm using your wiki
to add some device threes that belongs to a different board using stm32mp1, the other board is
https://wiki.seeedstudio.com/ODYSSEY-STM32MP157C/
and here are the device tree source I want to use:
https://github.com/Seeed-Studio/seeed-linux-dtoverlays/tree/master/overlays/stm32mp1
so I just copy these files inside
/home/developer/STM32MPU_workspace/STM32MP15-Ecosystem-v2.0.0/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0/linux-5.4.31/arch/arm/boot/dts
compiling the kernel using:
make ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040
do not create the dtb files for seed dts.
I've also added a row to the makefile:
dtb-$(CONFIG_ARCH_STM32) += \
...
stm32mp157a-avenger96.dtb \
stm32mp1-seeed-i2c4-overlay \
...
but the result is the following error:
make ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
Kernel: arch/arm/boot/uImage is ready
make: 'vmlinux' is up to date.
make[1]: *** No rule to make target 'arch/arm/boot/dts/stm32mp1-seeed-i2c4-overlay', needed by '__build'. Stop.
Makefile:1242: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
can you suggest me how to compile such DTS? I woud be happy to use CubeMX but the
ODYSSEY-STM32MP157C
is not recognized.
Thanks,
Antonio
2020-08-25 08:00 AM
Hi @EtAntonio EtAntonio
Seeed company looks to provide their ODYSSEY board with integrated software solution.
Seems they use few tuning on top of our delivery I'm not mastering.
I guess it could be more efficient to ask some support from this company about the proper way to move on new kernel.
Olivier
2020-08-25 08:36 AM
I'm using STM32MP1-DK2 but there's a big problem with it concerning our project, it is not provided an on-board emmc.
It is just available with EV1 that is completely another price, sorry about this.