Skip to content

Raspberry Pi

Raspberry Pi

https://github.com/garyexplains/examples/blob/master/How%20to%20network%20boot%20a%20Pi%204.md network boot

Hardware Hacking with a Raspberry Pi

Pico Pi 2

https://thejpster.org.uk/blog/blog-2024-08-08/
https://kittenlabs.de/blog/2024/09/01/extreme-pi-boot-optimization/ optimizations

Pico Pi

https://vanhunteradams.com/Pico/Bootloader/Boot_sequence.html

Install Build Tools:

yay -S arm-none-eabi-gcc arm-none-eabi-newlib arm-none-eabi-binutils

Build Product:

git clone https://github.com/raspberrypi/pico-sdk /tmp/pico-sdk
cd /tmp/pico-sdk
git submodule update --init
export PICO_SDK_PATH=/tmp/pico-sdk
cmake .
make

Note

To install copy the *.uf2 file to the Pico. Hold the BOOTSEL button when plugging it in to enable the File system.

Watchdogs

sudo su
echo 'dtparam=watchdog=on' >> /boot/config.txt
reboot
sudo apt-get update
sudo apt-get install watchdog

#Configure Survices
sudo su
echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf
echo 'watchdog-timeout = 15' >> /etc/watchdog.conf
echo 'max-load-1 = 24' >> /etc/watchdog.conf
echo 'interface = wlan0' >> /etc/watchdog.conf

#Enable the Service
sudo systemctl enable watchdog
sudo systemctl start watchdog
sudo systemctl status watchdog

Python Libraries

Micro Python

Multi processed

Circuit Python

Single processed

Kernel

Writing a Kernel with access to the GPIO Pins