Scorpi Pi installation

From Rsewiki

Back to Scorpi


Raspberry Pi packages

  • enable serial IO hardware (GPIO pin 14,15) - but it doesn't seem to work on pi-5, can't read or write.

Install packages:

libreadline-dev
libopencv-dev
libgpiod-dev
gpiod
cmake
subversion
aptitude
ntp
ntpdate
nmap
lsof
swig
dhcpcd
libpaho-mqtt-dev 
libpaho-mqttpp-dev 
mosquitto
mosquitto-dev 
mosquitto-clients
libcli11-dev
sudo apt install libreadline-dev libopencv-dev libgpiod-dev gpiod cmake subversion aptitude nmap lsof swig dhcpcd libpaho-mqtt-dev libpaho-mqttpp-dev mosquitto-dev mosquitto-clients mosquitto libcli11-dev


Install m.2 SSD

Assemble the hat, and insert the SSD and cable. Note that not all m.2 SSD cards are supported.

  • Running from an SD-card, update OS.
sudo apt update
sudo apt dist-upgrade
  • update the eeprom (boot driver or something)
sudo rpi-eeprom-update -a
  • Select the newest bootloader version in raspi-config
sudo raspi-config
-> advanced options
-> Bootloader version
-> Use the latest version
-> Save and possibly reboot
  • After reboot, from the desktop menu
-> Accessories
-> Raspberry Pi Images
  • In Raspberry Pi Imager, select:
-> Device: Raspberry Pi 5 (or whatever you use)
-> Operating system: 64-bit
-> Storage: This should now show the new SSD hard disk.
  • Press next and:
-> Edit settings to create used, Wifi, SSH enable, keyboard, ...
  • Say 'yes' to apply settings
  • OS should now be installing.
  • If successful, then the SD card can be removed and the Pi rebooted from the SSD.

The first reboot takes time, such as setting the disk, etc.