Category: Embedded Linux

Adding user configuration to device files using STM32CubeIDE’s “Device Configuration Tool”

The STM32CubeIDE can be used to generate device tree source file (.dts) for your embedded linux image. These describe the hardware for the board on which linux will run. This is compiled into a device tree binary file (.dtb) which is included on the image and loaded by u-boot along with the Linux kernel zImage.

In this article we are going to create two STM32CubeIDE projects – a DK-2 project with all the presets and a custom project for the custom board – and compare them side-by-side.

Designing a custom STM32MP1 board for embedded Linux using Yocto and OpenSTLinux

Custom Board Design First lets discuss the hardware. There are vendor boards available: Evaluation boards are expensive due to the large number of external connectors and integrated circuitry (including FPGAs and HDMI decoders!). These are really meant for sales demos. Any development work done on these would be wasted time since your own custom design…

Read the full article

Troubleshooting Embedded Linux Pt1

Using Dynamic Debug (debugfs) Check dynamic debug option is enabled in the kernel build grep CONFIG_DYNAMIC_DEBUG= /boot/config-uname -r If this is not enabled then you will need to set this option inmake menuconfigand rebuild the kernel Working with module names If you want to work with a single module use themodulequery and the module name…

Read the full article