Skip to content

Raspberry Pi

Raspberry Pi

How to network boot a Pi 4
Hardware Hacking with a Raspberry Pi

Pico Pi

RP2040 Boot Sequence

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.

Pico Pi 2

RP2350 spec Information

Raspi Zero

Extreme Pi Zero 2 Boot Optimization

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