raspi-config nonint do_i2c 1 hangs “forever”

While developing PiCockpit, and trying to allow the user to turn I2C off from the webinterface, I have run into crashes and problems. I am using raspi-config in non-interactive mode (I’ve written about this before) to control I2C from the PiCockpit client. While debugging the issue, I noted that – if something was busy accessing…

Weiterlesen

Lite version of PCCB

The PCCB is a carrier board for the Raspberry Pi Compute Module 1 – 3 B+. We are able to remove any parts of the full PCCB you do not need, thereby cutting your BOM cost & time to market significantly: For this particular customers only the following features remained: 10 / 100 Mbit/s LAN…

Weiterlesen

Controlling LEDs on Alpine Linux using the command line

We have developed an embedded Raspberry Pi Compute Module carrier board for industrial use: the PCCB. As you can see, there are three (directly) user programmable LEDs on the PCCB: USER / INFO / ACT. These are defined in the device tree. For example, we can define the following in our device tree overlay: //LEDs…

Weiterlesen

Entscheidung für Raspberry Pi als Embedded Development-Plattform

Als einer der approved Raspberry Pi Reseller, und einem offiziellen Reseller der Pi Zero Serie (wir waren übrigens der erste auf dem europäischen Festland) mit starken technischen Kompetenzen rund um die Raspberry Pi Plattform möchten wir Sie bei Ihrer Entscheidung für oder gegen die Plattform unterstützen, und einige immer wieder kehrende Fragen beantworten. Die Abbildung…

Weiterlesen

TermiShell: a web-based shell for the Raspberry Pi (development notes)

Introduction In the course of development of PiCockpit, I am going to add a web-based Terminal called TermiShell. TermiShell icon, by: Stephanie Harvey via unsplash.com TermiShell is going to allow you to log into your Raspberry Pi using PiCockpit.com (and the picockpit-client) – no additional application required on either side. This should be very comfortable,…

Weiterlesen

Booting Alpine Linux on the Raspberry Pi Compute Module

In our project for a client we are using the Raspberry Pi Compute Module, along with a custom compute module carrier board (called the PCCB – Pi Control Carrier Board) which provides RS485, CAN, RS232, LAN, USB and a step-down for input voltages of 6 – 24 V. (If you are interested in customized hardware…

Weiterlesen

Packaging Python projects for Debian / Raspbian with dh-virtualenv

This article aims to explain some things to developers which don’t use Python a lot, and might struggle with some of the concepts otherwise. I highly recommend the lecture of the following article as an introduction to the concepts discussed here: https://www.dabapps.com/blog/introduction-to-pip-and-virtualenv-python/ pypi.org pypi.org is an official repository of software for the Python programming language.…

Weiterlesen

Alpine 3.9.0 initramfs init changes

Alpine 3.9.0 ships a new version of the init script in it’s initramfs. left: Alpine 3.9.0, right: Alpine 3.8.2 There are a number of interesting changes: better and earlier networking support for the boot process, with an additional kernel parameter for cmdline.txt: BOOTIF, allowing you to specify the device interface you want to use for…

Weiterlesen