1
0
Fork 0

build maxwell

master
jebba 2021-07-27 16:16:26 -06:00
parent 9af279a5ec
commit ec0166492b
1 changed files with 59 additions and 1 deletions

View File

@ -36,7 +36,9 @@ python3-distutils python3-setuptools python3-dev rsync subversion swig time \
xsltproc zlib1g-dev
```
Full docs list more dependencies for full list, that work with Debian Bullseye:
Full docs list more dependencies for full list, that work with Debian Bullseye.
Takes over 6 gigs on root filesystem
```
apt install \
asciidoc \
@ -72,3 +74,59 @@ apt install \
bcc \
sharutils
```
## Get Source
Clone OpenWRT sources, around ~300 megs:
```
git clone https://git.openwrt.org/openwrt/openwrt.git
```
Add Maxwell source code, around ~5 megs, to `openwrt` directory:
```
cd openwrt
git clone https://github.com/drandyhaas/haasmesh.git
```
## Configure Build
There are a variety of units the setup script is compatible with:
* luma
* Maxwell Indoor 3-Band: ea8300
* Maxwell Outdoor 2-Band: ew72
* c7v2
* c7v5
* jetstream
* redmi
To build, run the build script with one of these options.
```
haasmesh/script/setupnodebuild.sh [luma|ea8300|ew72|c7v2|c7v5|jetstream|redmi]
```
For example, to configure the build system for the Maxwell Outdoor 2-Band, run:
```
haasmesh/script/setupnodebuild.sh ew72
```
The configure script should run in ~1 second.
Once it is configured, run the menuconfig:
```
make menuconfig
```
Hit `<TAB>` to get to `EXIT`, then `<ENTER>` to select `Yes` to save the configuration.
## Build Source
Now, actually build it.
```
make -j`nproc`
```