Skip to content

Raspberry Pi

Arash Abadpour edited this page Aug 1, 2022 · 19 revisions
  1. [Headless] Download the latest Rapian Buster Lite.

  2. [With UI] Download 2020-02-13-raspbian-buster.zip.

  3. Open Raspberry Pi Imager and select Operating System -> Use custom and select the image. Then press Shift+Ctrl+X to open Advanced options, select Set hostname, and enter a unique host name. Now select Enable SSH and Set password for the pi user to abcli2025 and press Save. Proceed to write the SD Card.

  4. After the write is complete, reinsert the SD card and run cp ~/git/awesome-bash-cli/assets/rpi/wpa_supplicant.conf /Volumes/boot/. Then, eject the SD card, insert it into the Raspberry Pi, and turn the motherboard on, and wait for the motherboard to boot.

  5. [Headless] run abcli ssh rpi <host-name>. Then, in another terminal, run abcli seed headless_rpi clipboard and paste it into the ssh window.

  6. [With UI] insert a seed usb key, open a terminal, and run bash /media/pi/SEED/bolt/rpi.sh.

  7. [With UI] If this is a Raspberry Pi Zero, run sudo apt install python3-opencv.

  8. Run sudo nano /boot/config.txt and uncomment the line that reads #hdmi_force_hotplug=1, if it exists. If you wish to rotate the screen, add one of the following to the end of this file and then reboot:

display_rotate=0
display_rotate=1
display_rotate=2
display_rotate=3
  1. [Headless] Run sudo raspi-config -> Interfacing Options -> enable Camera and other interface as needed, then go to System Options -> Boot / Auto Login and select Console Autologin.

  2. [With UI] go to Preferences -> Raspberry Pi Configuration -> Interfaces and change the following to Enabled: Camera:, I2C, and SSH, as needed.


Known issue: on rpi4b headless install raises ERROR: Wheel 'tensorflow' located at /home/pi/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl is invalid.

Clone this wiki locally