Raspberry Pi Embedded Development
Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)
Motivation pidoctor 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…
WeiterlesenDebugging 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”…
WeiterlesenAlpine 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…
Weiterlesennlplug-findfs documentation
nlplugfs-findfs usage: %s [options] DEVICE options: -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…
WeiterlesenCrystal & Alpine on the Raspberry Pi
Bringing together two interesting technologies: Alpine Linux – a small-size and security oriented Linux distribution Crystal – 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…
WeiterlesenAlpine Linux first steps
Here’s a short primer to Alpine Linux, specifically for the Raspberry Pi platform Why Alpine Linux? it’s small it can be installed by copying files on the FAT partition of the SD it can run from RAM, the filesystem will remain read-only (persisting changes is of course possible) this is very good for embedded systems…
WeiterlesenWiFi Channel 13 & 14 on Alpine Linux aka I can’t connect to my router aka crda configuration
Summary While developing an embedded, read-only test system for a Pi Zero W WLAN port modification we have done for a customer, I ran into an interesting issue. The Pi Zero W suddenly stopped connecting to our router. After some investigation, I managed to find the reason, and fix. The reason: WLAN regulatory domains In…
Weiterlesen