2020-05-13 01:13 AM
Hi,
Has anyone tried to build latest stm32mp linux release (v4.19-stm32mp-r3) for stm32mp157c-dk2 board? In STM32MP15 ecosystem release v1.2.0 st provides linux v4.19-stm32mp-r0 with some r3 patches and external fragment configs. While I am trying to build latest linux release for dk2 board, usb related drivers fail to build. I have applied provided patches and fragment configs. Is there any way to build and use latest stm32mp linux release with yocto or buildroot?
Build logs are attached.
2020-05-14 04:58 AM
Hi @MNoor.1
Not sure to understand the problem.
You mention "usb related drivers fail to build" but provide a boot log with a issue to find the rootfs.
Guideline to compile linux are provided under wiki :
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Distribution_Package
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package
For buildroot based solution you can visit page from our partner bootlin:
https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/
Hope it help
Olivier
2020-05-20 04:17 AM
Hi @OlivierG
Sorry for uploading boot log instead of build logs.
I managed to compile the latest stm32mp linux release with developer package without applying patches provided under ecosystem release v1.2.0. Most of the provided patches are already applied in r3 release, but I was forcing to apply them again.
Thanks.
Mahdi