Commit Graph

78 Commits

Author SHA1 Message Date
CN_SZTL
3cd4b8b12d
Merge Mainline 2020-07-25 19:59:18 +08:00
CN_SZTL
288ca1b338
base-files: add soft link to resolv file 2020-07-25 19:58:53 +08:00
CN_SZTL
42eb37e191
Merge Mainline 2020-07-25 19:48:56 +08:00
CN_SZTL
6d170db961
treewide: switch to /tmp/resolv.conf.d/resolv.conf.auto 2020-07-25 19:47:13 +08:00
CN_SZTL
b4bedd7ef9
Merge Mainline 2020-07-25 19:04:37 +08:00
CN_SZTL
653bcd8a07
kmod-sched-cake-oot: fix depends 2020-07-25 11:32:14 +08:00
David Bauer
f11241f0fc
base-files: add function for generating random MAC
This adds a function for generating a valid random MAC address (unset MC
bit / set locally administered bit).

It is necessary for devices which do not have a MAC address programmed
by the manufacturer.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-18 13:25:37 +08:00
CN_SZTL
dc78a80d9f
Merge Upstream 2020-07-16 20:36:17 +08:00
Adrian Schmutzler
587c46d0d2
base-files: replace backticks in lib/upgrade/nand.sh
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 20:16:39 +08:00
AmadeusGhost
c3991c204a Merge Mainline 2020-07-12 18:15:13 +08:00
Rosen Penev
09c716e76a base-files/functions.sh: use command -v instead of which
which must be executed. command -v is a shell builtin.

https://github.com/koalaman/shellcheck/wiki/SC2230

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-12 12:25:13 +08:00
Kuan-Yi Li
87980872d2 base-files: gpio switch: add named GPIO support
Previously, gpio_switch only accepts GPIO pin number as input. Once a
GPIO pin is exported and named by device tree, its pin state cannot be
configured and saved across reboots by UCI.

This patch adds support for named GPIO pins. Thus GPIO pin can be
exported by device tree with active high/low correctly configured,
having human-readable name in /sys/class/gpio/ is also now possible.

More importantly, GPIO pins which are referenced by name will be immune
from pin mapping breakage while unintentional pin number changes are
introduced by kernel or driver updates.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2020-06-19 11:58:15 +08:00
Adrian Schmutzler
29c42508bf base-files: remove shebang from uci-defaults files
uci-defaults are sourced and non-executable, so they do not require
a shebang.

While at it, apply consistent naming scheme.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-17 12:02:04 +08:00
Thomas Albers
2d4a8204a4 base-files: fix LED IDE trigger
This changes the ide-disk LED trigger to the generic disk-activity as
ide-disk trigger was removed in upstream commit eb25cb9956cc ("leds:
convert IDE trigger to common disk trigger").

Signed-off-by: Thomas Albers <thomas.gameiro@googlemail.com>
[split into separate commit, commit description facelift]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-06-04 12:16:00 +08:00
Álvaro Fernández Rojas
ce076f1f2a base-files: switch_to_ramfs: add nand-utils
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-05-20 11:45:42 +08:00
AmadeusGhost
aac401fc39 lantiq: sync official source code 2020-04-25 18:29:43 +08:00
AmadeusGhost
014283bc8b hostapd: reduce to a single instance per service 2020-04-22 18:09:30 +08:00
AmadeusGhost
7c28f81c70 hostapd: reduce to a single instance per service 2020-04-22 17:26:39 +08:00
CN_SZTL
800441b632
Merge Upstream 2020-04-21 09:22:13 +08:00
Alexander Couzens
e91175b592
base-files: ensure VERBOSE is set
If not set, it shows the following error
sh: out of range

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2020-04-21 09:18:15 +08:00
AmadeusGhost
6577d6ae05 bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
AmadeusGhost
caf22aa4ce apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
CN_SZTL
c5f34946fa
base-files: profile: easy to use 2020-03-30 01:05:29 +08:00
CN_SZTL
a225a908b2
Merge Lean's source 2020-03-22 19:07:54 +08:00
lean
aadf217f55 dropbear: bump to 2019.78 2020-03-22 18:35:41 +08:00
CN_SZTL
41a633fc4f
base-files: Add /etc/shinit for non-login shell init 2020-03-08 01:34:56 +08:00
AmadeusGhost
9f1b8f1812 ipq40xx: sync source code
This commit sync ipq40xx from openwrt and x-wrt.

1. ac58u: use ath10k-ct-smallbuffers instead of ath10k, avoid memory
explosion.
2. hugo-ac1200: It seems that only one device, so move the content of
dtsi to dts.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

ipq40xx: add support for ASUS RT-ACRH17/RT-AC82U/RT-AC42U

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

ipq40xx: easy install for ASUS RT-AC58U/RT-ACRH13

This patch make it easy to flash via web upgrade from factory firmware.

idea from 981213

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-02-25 17:26:06 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
CN_SZTL
6029b1ac46
Merge AmadeusGhost's source 2020-02-06 19:51:47 +08:00
AmadeusGhost
1d26d45a48 kernel: bump to 4.14.169, 4.19.101 2020-02-06 12:00:10 +08:00
CN_SZTL
5893c0d03c
Merge Lean's source 2020-02-03 14:13:23 +08:00
coolsnowwolf
ecea39f109 Revert "files: sync from openwrt v19.07 (#2690)"
This reverts commit 2289184a62.
2020-02-03 12:33:25 +08:00
coolsnowwolf
4f81d5b082 Revert "OpenWrt v19.07.1: adjust config defaults"
This reverts commit b7007324c0.
2020-02-03 12:33:12 +08:00
CN_SZTL
3ebdd17203
base-files: add empty bench.log file to avoid error info caused by coremark 2020-02-01 23:30:12 +08:00
CN_SZTL
4de61217a3
Revert "OpenWrt v19.07.1: adjust config defaults"
This reverts commit b7007324c0.
2020-02-01 20:06:28 +08:00
CN_SZTL
2e213cc242
Merge Lean's source 2020-02-01 20:06:04 +08:00
coolsnowwolf
b7007324c0 OpenWrt v19.07.1: adjust config defaults 2020-02-01 19:25:36 +08:00
CN_SZTL
fb220578c6
Merge Lean's source 2020-02-01 19:01:52 +08:00
coolsnowwolf
bffe4e4f82 import urandom-seed and urngd for v19.07 2020-02-01 18:35:27 +08:00
CN_SZTL
e6abd4e3ba
Merge Lean's source 2020-02-01 17:10:56 +08:00
AmadeusGhost
2289184a62
files: sync from openwrt v19.07 (#2690) 2020-02-01 16:50:37 +08:00
CN_SZTL
af589c345a
Merge Lean's source 2019-12-09 13:13:14 +08:00
LEAN-ESX
7655ad367f fstool: mount/umount fs without reboot 2019-12-08 09:30:10 -08:00
CN_SZTL
2cf7e47956
Merge Lean's source 2019-11-24 12:32:26 +08:00
LEAN-ESX
7983beada3 base-files: add 'wifi reconf' 2019-11-23 19:03:29 -08:00
CN_SZTL
92e3440682
Revert "base-files: update"
This reverts commit 468c38afbf.
2019-11-24 01:27:26 +08:00
CN_SZTL
d4b3c05201
base-files: group: add tty 2019-11-23 18:35:13 +08:00
CN_SZTL
468c38afbf
base-files: update 2019-11-23 18:21:44 +08:00
CN_SZTL
38864eaeb6
Revert "base-files: update"
This reverts commit d88d3ca89a.
2019-11-07 11:43:47 +08:00
CN_SZTL
d88d3ca89a
base-files: update 2019-11-07 11:41:06 +08:00