we are trying to build the custom minimal os for the apalis board to support our { application os needs }…
we are new to openembedded how we can achieve this …
need your guidance , so that we can take next step in our project…
There are various ways to accomplish this, the one i followed is
Find Angstrom-LXDE-Image.bb in your layers directory and copy it for yourself.
In your copy, modify the items that are going to be built
bitbake -k your_copy_of_angstrom_lxde
Another way:
Find core-image-minimal.bb in the layers and make a copy of it
Add the packages you want for your image
bitbake
This approach has some things u need to pay attention to. You need to add to the requirements the tdx-image-fstype or else you won’t be getting the tar bz2
1 ) the tar bz2 file is the output file that contains image that you want to flash into apalis afterwards
2 ) bitbake -k the_name_of_your_copied_file.bb; that’s what i meant
3 ) i don’t know your requirements, but yes i did suggest that image (no gui no lxde)
If you built an alternative image target like core-image-minimal one can just replaced the rootfs from e.g. our Colibri_T20_LinuxImageV2.7Beta1_20170112.tar.bz2 tarball with the one from your core-image-minimal build and update your module as usual. Note however that Toradex images newer than 03.2013 determine the module type from the rootfs/etc/issue file. On newer images use ‘update.sh -h’ and then ‘-m’ parameter to force a module type. For older images add a line so that our update.sh script can determine the correct module type e.g.:
sudo sh -c ‘echo “” >> etc/issue’
sudo sh -c ‘echo “Colibri_T20” >> etc/issue’
explain this step clearly … i cant understand it …
after creating core-image-minimal … how i can add SSH package to minimal image …
Did you complete the OpenEmbedded setup as outlined by this article? After this, building the minimal image would be done with this command
MACHINE=apalis-imx6 bitbake console-tdx-image
ssh support is already enabled by default. Please see clarifications for your questions below.
couldn’t get proper output/didn’t get tar.bz2 file
Did you give the build command? It is clarified here where the different outputs of build resides. Did you get any errors? What was the output on console?
bitbake -k image_target_name { i cant understand the following command }
That command will initiate the build of the target image specified. For your case, console-tdx-image.
support mysql , php7.0
MySQL support is not available in OpenEmbedded. The drop in replacement mariadb can be used. We currently use the morty branch of OpenEmbedded. PHP version supported in this branch is 5.6.26. All of this was also communicated to your engineer who visited our office a while ago.
To add support for mariadb and PHP, add the following line to your local.conf file before initiating the build.