cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp135 yocto build process

Subhashzimetrics
Associate II

 i have download prebuild image 

en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz

it working fine on my stm32mp135f-dk EVK. 

i want to add docker in it so need the build process of yocto image.

Kindly guide me how to do it.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @Subhashzimetrics ,

 

Please have a look to our wiki documentation STM32MP135x-DK - software distributions - stm32mpu

 

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.

View solution in original post

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @Subhashzimetrics ,

 

Please have a look to our wiki documentation STM32MP135x-DK - software distributions - stm32mpu

 

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.

 

@Olivier GALLIEN  thanks for support.

During build process we need to remove "seccomp" this

 just remove `REQUIRED_DISTRO_FEATURES = "seccomp"` from `meta/recipes-support/libseccomp/libseccomp_2.5.4.bb

Is any process to enable "seccomp" in docker

Hi @Subhashzimetrics 

 

What do you mean by "we need to remove "seccomp"" 

Should i understand this recipes generate an error in docker ? 

If yes please attached error log. 

Thx

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.

@Olivier GALLIEN  please find the logs

pc-lab@pclab-NUC11PAHi7:~/stm32mp1_distribution_package/build-openstlinuxweston-stm32mp13-disco$ bitbake st-image-weston
NOTE: Started PRServer with DBfile: /home/pc-lab/stm32mp1_distribution_package/build-openstlinuxweston-stm32mp13-disco/cache/prserv.sqlite3, Address: 127.0.0.1:44547, PID: 3529147
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 5052 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:00
Parsing of 3212 .bb files complete (3211 cached, 1 parsed). 5052 targets, 593 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libseccomp' (but /home/pc-lab/stm32mp1_distribution_package/layers/meta-virtualization/recipes-containers/docker/docker-ce_git.bb DEPENDS on or otherwise requires it)
libseccomp was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
NOTE: Runtime target 'docker' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['docker', 'libseccomp']
ERROR: Required build target 'st-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['st-image-weston', 'docker', 'libseccomp']