No description
Find a file
Evan Benn 9c0c52cd70 ramips: mt7621: (APP-3302, PR #286) Move PWM LED from kmod to kernel builtin
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
2025-03-04 00:25:49 +11:00
.github ci: add workflow for automated GitHub release 2023-11-02 14:44:49 +00:00
boards boards: (APP-608, PR #325) remove mmnlspy 2025-03-04 00:25:48 +11:00
config Kconfig: (APP-3120) Add KERNEL_DYNAMIC_DEBUG_CORE 2024-11-26 10:03:33 +11:00
include build: make git sub-modules to fetch configurable 2024-11-26 10:03:34 +11:00
LICENSES LICENSES: include all used licenses in LICENSES directory 2021-02-14 19:21:38 +01:00
package uboot-envtools: add Morse Micro HaLowLink1 ubootenv definitions 2025-03-04 00:25:03 +11:00
patches patches: gst1-plugins-bad: (APP-1421) patch gst1-plugins-bad to add videoparsersbad 2024-11-26 10:03:34 +11:00
scripts scripts: (APP-3731, PR #327) support particular board targets 2025-03-04 00:25:48 +11:00
target ramips: mt7621: (APP-3302, PR #286) Move PWM LED from kmod to kernel builtin 2025-03-04 00:25:49 +11:00
toolchain toolchain: (APP-455) add symlink for external toolchain include dir 2024-11-26 03:41:08 +11:00
tools firmware-utils: bump to latest openwrt-23.05 2024-09-22 16:47:19 +02:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore .gitignore: ignore link if target is included from feed 2024-04-17 05:04:46 +00:00
BSDmakefile build: use SPDX license tags 2021-02-05 14:54:47 +01:00
Config.in build: scripts/config - update to kconfig-v5.14 2022-02-19 13:10:01 +01:00
COPYING COPYING: add COPYING file to specify project licenses 2021-02-14 19:21:38 +01:00
feeds.conf.default feeds: add prpl feed to feeds 2025-03-04 00:25:03 +11:00
Makefile build: include tests/Makefile if available 2024-07-16 00:14:18 +02:00
README.md readme: add the Morse Micro readme 2024-11-26 10:03:35 +11:00
README.OPENWRT.md readme: move the OpenWrt README 2024-11-26 10:03:35 +11:00
rules.mk treewide: add ORIG_PATH variable 2023-06-12 22:10:20 +02:00

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>/