40 lines
991 B
Markdown
40 lines
991 B
Markdown
# Compulab RPI4-IOTG configuration
|
|
|
|
## Install OS
|
|
|
|
|
|
|
|
1. install rpiboot `sudo apt install rpiboot`
|
|
2. start `sudo rpiboot`
|
|
3. connect rpi to programming usb port, power on.
|
|
|
|
The device should become available as removable drive (`lsblk`)
|
|
|
|
|
|
*flash with imager*
|
|
|
|
use rpiimager to flash an image. Note: may hang for a long time on 99%. be patient.
|
|
|
|
*flash with cli*
|
|
|
|
Download image from https://downloads.raspberrypi.com/raspios_arm64/images/
|
|
|
|
`wget https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2026-04-21/2026-04-21-raspios-trixie-arm64.img.xz`
|
|
|
|
Flash
|
|
|
|
`xzcat raspios.img.xz | sudo dd of=/dev/sda bs=4M status=progress conv=fsync`
|
|
|
|
|
|
|
|
compulab guide: [OS installation](https://mediawiki.compulab.com/w/index.php?title=IOT-GATE-RPI4:_Raspberry_Pi_OS_image_installation)
|
|
|
|
|
|
## Add layers
|
|
|
|
```bash
|
|
sudo ./install.sh
|
|
```
|
|
|
|
Copies `firmware/config.txt` (backing up the original as `config.bak`) and the `iotg-rpi4` device tree overlays to `/boot/firmware/`. Reboot afterwards.
|