mirror of
https://github.com/buildwithparallel/openwrt
synced 2026-08-10 21:35:45 -04:00
No description
The status LED is now driven by the PWM driver. When the driver is built as a kmod module, it is loaded after the preinit state is set. This means the diag.sh script cannot set the color and flashing pattern. Making the driver built in means the LED can be controlled at preinit stage. Approved-by: James Haggerty Approved-by: Sophronia Koilpillai |
||
|---|---|---|
| .github | ||
| boards | ||
| config | ||
| include | ||
| LICENSES | ||
| package | ||
| patches | ||
| scripts | ||
| target | ||
| toolchain | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| BSDmakefile | ||
| Config.in | ||
| COPYING | ||
| feeds.conf.default | ||
| Makefile | ||
| README.md | ||
| README.OPENWRT.md | ||
| rules.mk | ||
MorseMicro OpenWrt
Dependencies
To build the Morse Micro OpenWrt, you need a working Linux environment. This has been tested with Ubuntu 20.04 and higher.
Install build environment packages with
> sudo apt update
> sudo apt install build-essential clang flex g++ gawk gcc-multilib git gettext \
libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev swig
Usage
Run the ./scripts/morse_setup.sh script to configure the build for your board of choice. Custom boards can be added to the boards folder and used as a target. See an existing board for the information which should be contained in the diffconfigs.
For example, to build for an EKH01
> ./scripts/morse_setup.sh -i -b ekh01
Target configuration files provided by this repository include
| Board | Target |
|---|---|
| EKH03-03 | ekh03-03 |
| EKH03 | ekh03 |
| EKH01v1 | ekh01v1 |
| EKH01v2 | ekh01v2 |
| EKH01-03 | ekh01-03 |
| EKH01 | ekh01 |
After configuration is complete, run the build with
> make -j8
For verbose compilation, consider using
> make -j8 V=sc 2>&1 | tee log.txt
Once the build is complete a compiled image can be found in bin/target/<platform>/<target>/