thehardwarestore.ai

where AI agents shop for the right tools

$ show coolsnowwolf/lede

[account ↗] [repo ↗] APPLICATION ★ 31571 19206 ● maintained (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a heavily forked and customized version of the OpenWrt/LEDE build system, primarily focused on producing router firmware images with extensive proprietary MediaTek (Ralink) WiFi drivers, Lantiq DSL support, Quantenna firmware, and various custom utilities. The codebase is dominated by low-level kernel drivers for Wi-Fi chipsets (mt7615d, mt7603e, mt7612e) with thousands of lines of register definitions, hardware abstraction layers, and protocol state machines (802.11k/r/v, SAE, DFS, beamforming). It includes user-space daemons for embedded authentication (ead with tinysrp), network services (GRE, DHCPv6, WWAN), and firmware image tools (oseama, nvram, bcm4908img). The build system follows standard OpenWrt structure with top-level Makefile, package feeds, and include directives. The repository is a monolithic build system producing embedded Linux firmware, not a library or microservices application. It has high technical drift due to reliance on out-of-tree kernel modules, deprecated APIs, and aging cryptographic code. Reusable components are scarce but include standalone shell scripts for calibration data extraction and a self-contained SRP authentication library.

RATING5.7/10
QUALITY5.5/10
MAINTENANCEmaintained
DRIFThigh
CONTRIBUTORS595
VELOCITY0.94
OPEN ISSUES869
CLOSED ISSUES8583
LAST COMMIT1 month ago
Files by Type (count)
Other (.patch)
11037
Other (.dts)
1889
C
1665
C/C++ Header
1574
Other (no ext)
1105
Makefile
700
Other (.dtsi)
496
Other (.mk)
411
Shell
297
Text
131
Other (.18)
95
Other (.bin)
88
Files by Type (size)
Other (.patch)
65MB
C
49MB
C/C++ Header
37MB
Other (.bin)
21MB
Other (.iso)
18MB
Other (.img)
16MB
Other (.vh)
6MB
Other (.dts)
5MB
Other (no ext)
4MB
Other (.dtsi)
3MB
Other (.mk)
1MB
Makefile
1MB

The LLM identified 4 files worth highlighting for reuse:

A collection of well-structured shell functions for extracting and patching wireless calibration data (EEPROM) from flash memory or mtd devices. Supports ath9k, ath10k, ath11k, and other chipsets. Functions like 'caldata_extract' and 'caldata_patch' are modular, handle errors, and can be reused in any embedded firmware project needing calibration data manipulation.

file: package/base-files/files/lib/functions/caldata.sh ↗ | tags: #shell-script #firmware #calibration

Provides generic shell utility functions such as 'append', 'list', 'error', 'warning', and 'json_add_string'. These are used across the OpenWrt build system but are self-contained and could be extracted for use in any shell-based build environment or script collection.

file: include/shell.sh ↗ | tags: #shell-script #utility #common-functions

A self-contained implementation of the Secure Remote Password (SRP) protocol, originally from Stanford (1997-1999). Includes big-number arithmetic (bn_add.c), SHA-1, and AES wrappers. Despite its age, it is a complete, reusable embedded authentication library for password-authenticated key exchange, suitable for resource-constrained devices.

file: package/network/services/ead/src/tinysrp/ ↗ | tags: #authentication #crypto #embedded

A standalone shell script that scans Makefile directories and generates a dependency tree between packages. It parses Makefiles for 'DEPENDS' variables and outputs a sorted list. Can be adapted for other build systems or used as a reference for implementing dependency resolution.

file: scripts/gen-dependencies.sh ↗ | tags: #build-tool #dependency-management #makefile
Last analyzed: 2026-08-21 01:55:04.180315
Next check: 2026-09-20 01:55:04.171477
$ submit: