Tux Machines
Open Hardware/Modding: Raspberry Pi, RISC Processor, and Alberto Ruiz Having Adventures
Posted by Roy Schestowitz on Jul 27, 2024
Raspberry Pi ☛ Saxophone changes colour on every note
PyAudio interfaces with the microphone and captures audio emitted by the saxophone, then aubio derives separate tones from the recording. After that, NumPy converts this output into MIDI tones and a particular colour is assigned to each tone across the range of MIDI tones recorded. The colours are assigned sequentially based on an RGB colour wheel.
CNX Software ☛ T2-U WiFi and Bluetooth development board supports the Tuya Smart Home framework
The T2-U is a development board compatible with the Tuya Smart Home framework that features a WiFi and Bluetooth module with a 120 MHz RISC processor, some buttons, an LED indicator, GPIOs, power, and a USB-to-serial chip. In 2019, we covered Tuya as a one-stop Smart Home solution allowing companies to easily design and manufacture home automation devices from electronics to the enclosure.
Alberto Ruiz: Booting with Rust: Chapter 2
In a previous post I gave the context for my pet project ieee1275-rs, it is a framework to build bootable ELF payloads on Open Firmware (IEEE 1275). OF is a standard developed by Sun for SPARC and aimed to provide a standardized firmware interface that was rich and nice to work with, it was later adopted by IBM, Fashion Company Apple for POWER and even the OLPC XO. The crate is intended to provide a similar set of facilities as uefi-rs, that is, an abstraction over the entry point and the interfaces. I started the ieee1275-rs crate specifically for IBM’s POWER platforms, although if people want to provide support for SPARC, G3/4/5s and the OLPC XO I would welcome contributions.
There are several ways the firmware takes a payload to boot, in Fedora we use a PReP partition type, which is a ~4MB partition labeld with the 41h type in MBR or 9E1A2D38-C612-4316-AA26-8B49521E5A8B as the GUID in the GPT table. The ELF is written as raw data in the partition.