I had to create a base Docker image from OrangePI 5 OS so that some applications which are dependant on system libraries (libmali and platform gstreamer hw accelerator libs) could be built and ran on OS. First we need to... Read more
ARM64 For this architecture functions arguments are passed via registers x0-x7. x0 is also a return value register. Read more
Pulling image for different platforms Dockerizing binary Pruning Docker resources Docker by default does not remove stopped container without –rm flag. The same is true for unused images. This starts becoming a problem after some time as disk space is... Read more
In this document I’ll try to document learning process of Bitbake build system. Initial steps Checkout the yocto build Run the build for x86-64 build This will download and run all relevant commands to build final runnable image. High-Level process... Read more
Single File C Recipe meta-newlayer/recipes-example/example/example_0.1.bb: meta-newlayer/recipes-example/example/files/example.c: Setting-up New Recipe using devtool DevTool is a tool shipped by Yocto used to help with many operations. One of such operations is creating a Recipe from git repository. To register a repository we... Read more
Crosstool-ng is a project that simplifies building of c/c++ toolchains for many hosts/targets. For this particular project vendor only provided cygwin build, but I had to run the compiler on linux. As toolchain was build using crosstool-ng-1.13.1, I simply check-outed... Read more