Creating an Docker image from image file

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

Calling Conventions

ARM64 For this architecture functions arguments are passed via registers x0-x7. x0 is also a return value register. Read more

GDB tips&tricks

Common commands Remote Debug On machine serving port To attach Read more

Rotate Linux FB terminal

Read more

Configuring WIFI with nmcli

Read more

Qemu Tips&Tricks

Running binaries from other platform Linux via Qemu supports the ability to introspect platform (arch) from the binaries and thenautomatically to run them via registered emulator. The whole process is involved, but thankfully, using the docker-images whole process is streamlined... Read more

Docker Ticks&Tips

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

Yocto Bitbake Build Process

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

Bitbake Example Recipes

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

Building crosstool-ng on CentOS-7

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