- Download Latest Crankshaft version
- Burn to SD Card
- Turn on Dev_Mode, Set DEV_MODE=1 in /boot/crankshaft/crankshaft_env.sh
- Set memory split to 16MB for GPU, via raspi-config. This is needed to stop Qt compile from running out of memory
- Boot pi
- SSH into pi
- add SSH public key
mkdir .ssh
touch .ssh/authorized_keys
chmod 644 .ssh/authorized_keys
chown pi:pi .ssh/authorized_keys
- Update Buster
sudo apt update -y
sudo apt upgrade -y
sudo apt autoremove -y
- Install Pre-Reqs
sudo apt-get install -y libboost-all-dev libusb-1.0.0-dev libssl-dev cmake libprotobuf-dev protobuf-c-compiler protobuf-compiler
libtag1-dev
sudo apt-get -y install cmake build-essential git
- Setup Build Environment
mkdir ~/opencardev
git clone https://github.com/opencardev/prebuilts.git prebuilts
cd prebuilts/buildsystem
./1_prepare_build_system.sh
./2_build_aasdk.sh
./3_build_ilclient.sh
./4_build_qt_latest.sh
./5_build_openauto.sh
./6_build_gpio2kbd.sh
./7_build_camoverlay.sh
./99_copy_compiled_files.sh
cd ..
./update_binaries.sh