Skip to content

Commit

Permalink
rebrand as racebian. add dfu-util
Browse files Browse the repository at this point in the history
  • Loading branch information
tblaha committed Dec 22, 2023
1 parent 9924a19 commit 2cd7f14
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 :
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pi-kompaan
# racebian

Pi-Zero Companion Computer for Betaflight

Expand All @@ -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 [email protected]` 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
Expand Down Expand Up @@ -81,15 +81,15 @@ sudo locale-gen en_US.UTF-8

Then clone this repo *in an ext2 or ext4 filesystem, NOT NTFS*:
```bash
git clone --recurse-submodules [email protected]:tblaha/pi-kompaan.git
git clone --recurse-submodules [email protected]:tblaha/racebian.git
```

### Building

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
Expand Down
4 changes: 2 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand Down
1 change: 1 addition & 0 deletions pi-gen-extra/stageK/08-dfu-util/00-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfu-util

0 comments on commit 2cd7f14

Please sign in to comment.