This tutorial assumes:
- a single computer (like a Raspberry Pi)
- MQTT broker (like Mosquitto) running
- the
mosquitto_pub
andmosquitto_sub
commands are available.
import gi | |
gi.require_version('Gst', '1.0') | |
from gi.repository import GObject, Gst | |
Gst.debug_set_active(True) | |
Gst.debug_set_default_threshold(3) | |
GObject.threads_init() | |
Gst.init(None) |
#!/usr/bin/env node | |
import fs from 'fs' | |
import jose from 'node-jose' | |
import pem from 'pem' | |
async function run () { | |
try { | |
// keystore to stick our node-jose keys before we do signing | |
let keystore = jose.JWK.createKeyStore() |
#!/bin/bash -xe | |
# To build in 64bit mode | |
if ! command -v aarch64-linux-gnu-gcc; then | |
sudo apt-get install gcc-aarch64-linux-gnu | |
fi | |
if ! command -v mformat; then | |
sudo apt-get install mtools | |
fi |
Download and compile the following https://github.com/pftf/RPi4.git. I made the following change to edk2-platforms
to always enable 3GB RAM+ as TFTP booting this seems to cause issues with it remembering the options.
diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
index c481c35342..4b495b1fe8 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.dsc
+++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
@@ -495,7 +495,7 @@