-
Notifications
You must be signed in to change notification settings - Fork 19
Advanced: Build Moabian v3 from source with a blank microSD card (step 1)
Turn a blank Raspberry Pi OS Lite image into the Moabian image developer machine (in about 25 minutes).
-
Download the Raspberry Pi Imager (v1.7.2 as of this time)
-
For the OS, choose "Raspberry Pi OS (other)" and select Raspberry Pi OS Lite (Legacy). Debian "Buster" 2022-04-04. This is tested with release 2020-08-20 (Linux Kernel 5.10).
-
You'll need an 8GB microSD card or greater. Insert and choose that storage device.
-
Click the GEAR icon, enable SSH, and set the password for the
pi
user. Typicallyraspberry
has been used, but you can change it here. Leave the default usernamepi
.
It's at this point, you may pre-configure your Wi-Fi:
Install the Raspberry Pi OS Lite chip into your Moab and boot it. Then from your host machine:
ssh [email protected]
password: raspberry
sudo apt update -y && sudo apt upgrade -y
sudo apt install -y git
git clone --depth=1 https://github.com/microsoft/moabian moab
sudo moab/os/setup # takes 12 minutes: it will fail on step 8 by design
sudo reboot now # log back in
# after 2nd login:
sudo moab/os/flash # second pass now has the HAT wired up to the Pi for flashing
sudo reboot now
# after 3rd login:
splash
diagnose
brains
cd
wget https://github.com/microsoft/moabian/releases/download/v.2.4.0/brain.77b0.tar.gz
docker load < brain.77b0.tar.gz
docker tag 77b0 moab/brain:latest
rm brain.77b0.tar.gz
docker images
sudo moab/bin/flash moab/fw/v3.bin
sudo reboot 0
diagnose
The command line utilities splash
, diagnose
and brains
are useful for quick tests.
Calibrate your Moab. Then run Joystick, PID and Brain mode.