Introducing Local File As Block Device

Here we show how to inspect images presented as files with .img extension. As ‘img’ extension does not always dictate type of file it may not always work. One good indicator that it’s usable as shown here is that if... Read more

Installing NodeJS

Snap Installation on Ubuntu Read more

Configuring WireGuard Server

Installing WireGuard Configuring WireGuard Create WireGuard private key Create WireGuard configuration Start WireGuard server Things to Understand Both client and server configurations have [Interface] section defined, but only server has ListenPort.Server has list of [Peer] sections for each client and... Read more

Android WIFI Debugging

To set-up Android WIFI debugging, perform the following steps. Connect Android and PC to same WIFI network. Then, in Android go to developer tools and enable wifi debugging. Then in debugging menu, select pair device, where you’ll get an IP... Read more

Gstreamer pipeline examples

Following 2 tests were done on OrangePI 5 Creating MP4 H264 video decoder to fakesink Render video to display Listing available plugins To list all available system plugins do: To inspect individual plugin arguments Using capsfilter Enabling debug logs https://gstreamer.freedesktop.org/documentation/coretracers/log.html?gi-language=c Read more

Removing all unused files from Docker image

I had a situation where I had to build an app from SDCard image (block device) and containerize it. Since image was over 7 GiB I had to somehow remove all unused files from it to keep it as slim... Read more

Debian Package tips&tricks

List Trusted Keys Preparing Debian for minimal docker image Read more

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