cancel
Showing results for 
Search instead for 
Did you mean: 

Building latest stm32mp linux for stm32mp157c-dk2 board

MNoor.1
Associate II

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.

2 REPLIES 2
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
MNoor.1
Associate II

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