Category Archives: linux

Accessing GPIO from Qt5

Qt5 is has many useful classes for handling the filesystem, but I didn’t find anything for handling the GPIOs in an embedded system. You need to handle the GPIO configuration by opening a standard file descriptor and reading/writing from/to with the standard QFile methods. This is just a snippet that shows briefly how to change… Read More »

Skipping incompatible /lib/ when searching for /lib/

This normally happens when compiling for an arch, say ARM, and try to execute the binary in an x86_64 arch. But in this case, it was not this problem, I was sure that I was compiling and executing for the right places for the right archs. The error was the following: /opt/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /lib/… Read More »

Adding a splashscreen in U-Boot in an Atmel based custom board

Normally, when you start an embedded Linux project you have an evaluation kit that comes with an LCD with a splashscreen in U-Boot. Then, when you have your custom board based on that evaluation board and if you’re lucky enough to use an LCD with the same characteristics, changing the splashscreen is an easy task.… Read More »