diff --git a/Makefile b/Makefile index 4e12ebd..f8ab189 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ ifneq ("$(LC_ALL)","en_US.UTF-8") endif # Note: individual stages have not been configured with pre-requisites. Run them in the correct order manually! -.DEFAULT_GOAL := pi-image-kompaan +.DEFAULT_GOAL := pi-image-racebian pi-stage1 : locale_check rm -f ${PIGEN_DIR}/stage0/SKIP rm -f ${PIGEN_DIR}/stage1/SKIP @@ -43,7 +43,7 @@ pi-image-lite : locale_check $(MAKE) -f $(THIS_FILE) pi-stage1 $(MAKE) -f $(THIS_FILE) pi-stage2 -pi-image-kompaan : pi-image-lite locale_check +pi-image-racebian : pi-image-lite locale_check $(MAKE) -f $(THIS_FILE) pi-stageK pi-flash : diff --git a/README.md b/README.md index 9279e5c..5e24e71 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pi-kompaan +# racebian Pi-Zero Companion Computer for Betaflight @@ -14,9 +14,9 @@ Then clone this repo, and install the custom commands and services: sudo make install-pi-tools ``` -1. Flash a `Racebian` image from `https://github.com/tblaha/pi-kompaan/releases` or build yourself (see below). +1. Flash a `Racebian` image from `https://github.com/tblaha/racebian/releases` or build yourself (see below). 2. Power the PI and connect to the WIFI network it hosts - - SSID is `kompaan` by default, password `betaflight`. + - SSID is `racebian` by default, password `betaflight`. - Can be configured in `/etc/hostapd/hostapd.conf` if you mount the flashed SD card (or in `./config` of this repo, if you build the image yourself) - you can now connect via `ssh pi@10.0.0.1` with password `pi` 3. ~~To expose the Pi zero's USB port to your local laptop, just start the service~~ Version 0.4.0: we are now using `ser2net` to tunnel the serial USB via TCP which doesn't need client configuration and is more stable @@ -81,7 +81,7 @@ sudo locale-gen en_US.UTF-8 Then clone this repo *in an ext2 or ext4 filesystem, NOT NTFS*: ```bash -git clone --recurse-submodules git@github.com:tblaha/pi-kompaan.git +git clone --recurse-submodules git@github.com:tblaha/racebian.git ``` ### Building @@ -89,7 +89,7 @@ git clone --recurse-submodules git@github.com:tblaha/pi-kompaan.git Build the image *with a stable Ethernet connection* (it didnt find some packages when I tried via wifi and quit). The build script uses change-root. Do not interrupt it with CTRL-C or else you may have to reboot your system. ```bash # sudo make clean # optional -LC_ALL=en_US.UTF-8 sudo make pi-image-kompaan +LC_ALL=en_US.UTF-8 sudo make pi-image-racebian ``` ### Flashing diff --git a/config b/config index 8ff8adf..24737f8 100644 --- a/config +++ b/config @@ -12,7 +12,7 @@ DEPLOY_DIR="$(realpath "$BASE_DIR/../../imgs/")" DEPLOY_COMPRESSION=none LOCALE_DEFAULT="en_US.UTF-8" -TARGET_HOSTNAME="kompaan" +TARGET_HOSTNAME="racebian" KEYBOARD_KEYMAP="us" KEYBOARD_LAYPOUT="English (US)" TIMEZONE_DEFAULT="Europe/Amsterdam" @@ -29,7 +29,7 @@ ENABLE_SSH=1 #STAGE_LIST="stage0 stage1" # only compile up to stage1 for now (minimal system). bash variables now, see Makefile #### CUSTOM OPTIONS #### -export WIFI_AP_SSID=kompaan +export WIFI_AP_SSID=racebian export WIFI_AP_PASSPHRASE=betaflight export ROUTE_THROUGH_CLIENTS=1 diff --git a/pi-gen-extra/stageK/08-dfu-util/00-packages b/pi-gen-extra/stageK/08-dfu-util/00-packages new file mode 100644 index 0000000..a7195a6 --- /dev/null +++ b/pi-gen-extra/stageK/08-dfu-util/00-packages @@ -0,0 +1 @@ +dfu-util