From 094a408635fe9a61dc072d3fcc2dfbddb69bd26b Mon Sep 17 00:00:00 2001 From: jebba Date: Tue, 27 Jul 2021 17:31:30 -0600 Subject: [PATCH] pull in openwrt files, configure kernel --- docs/BUILD.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/BUILD.md b/docs/BUILD.md index ba15b0b..c8d8767 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -98,10 +98,17 @@ 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: +Pull in more needful things: ``` cd openwrt +./scripts/feeds update -a +./scripts/feeds install -a +``` + +Add Maxwell source code, around ~5 megs, to `openwrt` directory: + +``` git clone https://github.com/drandyhaas/haasmesh.git ``` @@ -163,6 +170,29 @@ Once it is configured, run the menuconfig: make menuconfig ``` +In there, there are a few options needed to select: + +``` +network -> alfred (with auto bat-hosts) batctl-full iperf3 +network/wirelessAPD -> remove wpad-basic, install wpad-mesh-openssl +network/filetransfer -> wget +network/ssh -> openssh-client-utils +utilities/compression -> unzip +utilities/editors -> nano +utilities/bootloader -> uboot-envtools +kernel/network support-> kmod-batman-adv +kernel/wireless drivers -> kmod-rt2800-usb (for alfa r36a) +firmware -> ath10k non-ct drivers and kmod-ath10k non-ct (for wave-1 devices only, like archer) +firmware -> ath10k-firmware-qca9888-ct (for ea8300) +development -> diffutils +luci, luci-app-commands +for luma also add: + utilities -> i2c-tools, nand-utils, usbutils + kernel/filesystems -> kmod-fs-exfat, kmod-fs-ext4, kmod-fs-vfat, kmod-usb-storage +``` + +TODO: Make `defconfig` for different hardware. + Hit `` to get to `EXIT`, then `` to select `Yes` to save the configuration. ## Build Source