2025-03-28 2:19 AM
Hi,
I'm trying to download SDK version 5.10 to build the version of Linux kernel used in our product after some years, i understand the file we need is
en.SDK-x86_64-stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17.tar.xz
unfortunately I get V6.x regardless of what I select on the download page. Would someone have a link to this file? (it's almost a gig)
Thanks
Simon Fisher
2025-03-28 2:30 AM
Selecting version 3.1.0 I get the proper SDK
Maybe confusion between kernel version and openstlinuxversion ?
Olivier
2025-03-28 2:34 AM
Hello @SimonJFisherMB ,
On the following link: https://www.st.com/en/embedded-software/stm32mp1dev.html
Do you well try to download this, with choosing version 3.1.0 (that corresponds to the OpenSTLinux version with Linux kernel 5.10):
It seems to work on my side.
Kind regards,
Erwan.
2025-03-28 2:41 AM
yes I was mixing up the versions. My apologies guys thanks for looking into it.
2025-03-28 3:23 AM
Sorry one other thing, I'm hitting this error when tryna build kernel on Ubuntu 24, should i be using an older version of ubuntu also?
lenovo@lenovo:~/kernel5/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/linux-5.10.61$ make -B ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config
make[1]: Entering directory '/home/lenovo/kernel5/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/build'
GEN Makefile
HOSTCC scripts/basic/fixdep
/home/lenovo/kernel5/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/bin/ld: /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so: error loading plugin: /home/lenovo/kernel5/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so)
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[2]: *** [/home/lenovo/kernel5/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/linux-5.10.61/Makefile:536: scripts_basic] Error 2
make[1]: *** [/home/lenovo/kernel5/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/linux-5.10.61/Makefile:336: __build_one_by_one] Error 2
make[1]: Leaving directory '/home/lenovo/kernel5/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/build'
make: *** [Makefile:185: __sub-make] Error 2
2025-03-28 3:27 AM
Hello @SimonJFisherMB ,
Yes I have some doubt that this SDK version can be used with Ubuntu 24 environment. I think the last supported version for it is Ubuntu 20.04. I do not know if you try a build from a Virtual Machine or in a native machine, but if this is a VM, you should try with Ubuntu 20.04. If this is a native machine, a Docker could work.
Kind regards,
Erwan.
2025-04-01 5:52 AM - edited 2025-04-02 3:41 AM
ECO 5.0.0, Ubuntu 24.10, All works fine, even running the latest kernel 6.14. I just ran the build for all of these again right now. (April 2nd 2025) (U-boot, TF-a, optee, kernel). Would almost bet that ECO 3.0 and even 1.0 works fine as well on 24.10 (I could try...) as never experienced an issue due to kernel/Ubuntu version (except when using Yocto). Use ECO 5.0 every day. Trying to migrate build script for custom board to ECO 6.0 but still not able due to facing many challenges due to changes in the build process and structure :)