Raspberry Pi Embedded Development

//Raspberry Pi Embedded Development

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

IntroductionIn 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, especially when [...]

By | Mai 5th, 2020|Development, Python, Raspberry Pi Blog, Raspberry Pi Embedded Development|Kommentare deaktiviert für TermiShell: a web-based shell for the Raspberry Pi (development notes)

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 [...]

By | Juli 7th, 2019|Alpine Linux, Raspberry Pi Embedded Development|Kommentare deaktiviert für Booting Alpine Linux on the Raspberry Pi Compute Module

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.orgpypi.org is an official repository of software for the Python programming language. It includes libraries we [...]

By | April 19th, 2019|Development, Raspberry Pi Embedded Development|Kommentare deaktiviert für Packaging Python projects for Debian / Raspbian with dh-virtualenv

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.2There 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 boot purposesnetworking is [...]

By | Februar 2nd, 2019|Alpine Linux|Kommentare deaktiviert für Alpine 3.9.0 initramfs init changes

Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)

Motivationpidoctor is written in Python (as there was no easy way to get Crystal to work on ARMHF / musl). This means a dependency on Python – which adds overhead. I suspect that this overhead is the reason that pidoctor will not run on 256 MB Raspberry Pi’s – because the RAM is exhausted by [...]

By | Januar 31st, 2019|Alpine Linux, Development|Kommentare deaktiviert für Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)

Debugging the Alpine boot process

As discussed in my previous post, Alpine Linux goes through several stages when it boots. Just after mounting the boot media, and scanning it for apkovl’s (with nlplug-findfs), there is an option for you to get a console, by setting $SINGLEMODE to yes. Setting SINGLEMODE to yes is easy, you simply add the word “single” [...]

By | Januar 22nd, 2019|Alpine Linux|Kommentare deaktiviert für Debugging the Alpine boot process

Alpine boot process on the Raspberry Pi

Today we will have a look at the Alpine Linux boot process on a Raspberry Pi in some detail.The picture shows the contents of a "virgin" SD card with the Alpine image, which has not been booted yet.This picture shows the contents of the boot folder.Initial boot Stages on the Raspberry Pi Refer to this [...]

By | Januar 10th, 2019|Alpine Linux|Kommentare deaktiviert für Alpine boot process on the Raspberry Pi

nlplug-findfs documentation

nlplugfs-findfsusage: %s [options] DEVICEoptions:-a OUTFILE add paths to found apkovls to OUTFILE-b OUTFILE add found boot repositories to OUTFILE-c CRYPTDEVICE run cryptsetup luksOpen when CRYPTDEVICE is found-h show this help-H HEADERDEVICE use HEADERDEVICE as the LUKS header-k CRYPTKEY path to keyfile-m CRYPTNAME use CRYPTNAME name for crypto device mapping-o OFFSET cryptsetup payload offset-D allow discards [...]

By | Januar 9th, 2019|Alpine Linux, Raspberry Pi Embedded Development|Kommentare deaktiviert für nlplug-findfs documentation

Crystal & Alpine on the Raspberry Pi

Bringing together two interesting technologies:Alpine Linux – a small-size and security oriented Linux distributionCrystal – a compiled language with a nice syntax (similar to Ruby)on the Raspberry Pi (armhf / ARMv6, which would also support the Pi Zero W)is not possible currently, as of 21.12.2018.There is no (at least no easy) way to cross-compile Crystal [...]

By | Dezember 21st, 2018|Alpine Linux, Crystal Language, Raspberry Pi Embedded Development|Kommentare deaktiviert für Crystal & Alpine on the Raspberry Pi

Alpine Linux first steps

Here’s a short primer to Alpine Linux, specifically for the Raspberry Pi platformWhy Alpine Linux?it’s smallit can be installed by copying files on the FAT partition of the SDit can run from RAM, the filesystem will remain read-only (persisting changes is of course possible)this is very good for embedded systems where power can be cut [...]

By | Oktober 24th, 2018|Alpine Linux, Raspberry Pi Embedded Development|Kommentare deaktiviert für Alpine Linux first steps