2021-08-11 06:29 AM
HI all,
Is it possible to just compile the kernel in yocto environment for stm32mp1 using command : bitbake -C compile virtual/kernel
This command is currently failing with below error message :
If not this , then what is the correct way to do it?
I have another thread running here , where in if try to build it stand-alone with SDK it is failing due to GLIBC issues.
Solved! Go to Solution.
2021-08-12 03:11 AM
@NPal.2
Before downgrading your own machine from Ub21 to Ub20, you might give a try by using a virtual machine running Ubuntu20.04.
About the planning for the next supported Ubuntu platforms, I am sorry but I don't have any clue. Anyway, we are relying on Yocto supported linux distributions.
Best regards,
--JM
2021-08-11 07:45 AM
Hello @NPal.2
yes, the command
bitbake -C compile virtual/kernel
will build the dedicated package linux-stm32mp. You can also achieve this by using this command
bitbake -f -c deploy linux-stm32mp
There should not be any error from these two commands.
Could you give it a try from a fresh OpenSTLinux environment please i.e. without any change brought to the kernel please?
Best regards,
--JM
2021-08-12 02:21 AM
2021-08-12 02:44 AM
Hi @NPal.2
I thank you for provindig your log file.
At first glance, I see two items:
IMHO, I think there is some incompatibilities between Ubuntu21.04 and OSTL-3.0 but I am not 100% sure.
Could it be possible to have an access to a machine or a container with Ubuntu20?
Best regards,
--JM
2021-08-12 02:52 AM
Hi @Jean-Marc B : So recently my Ubuntu got upgraded to Ubuntu 21.04. Might also be why i am running into these issues. Is there any timeline when OpenSTLinux is expected to be supported on 21.04. ? Looks like i have to go back to Ubuntu20.04. for now.
2021-08-12 03:11 AM
@NPal.2
Before downgrading your own machine from Ub21 to Ub20, you might give a try by using a virtual machine running Ubuntu20.04.
About the planning for the next supported Ubuntu platforms, I am sorry but I don't have any clue. Anyway, we are relying on Yocto supported linux distributions.
Best regards,
--JM
2021-08-16 04:34 AM
Hi @Jean-Marc B . Downgraded to UB20 . Works like a charm. Thanks for all the patience and support.