Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync061024 #170

Merged
merged 69 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
a9540a4
mac80211: do not pass a stopped vif to the driver on get_txpower
nbd168 Oct 2, 2024
8344ff8
mediatek: change the the default SUBTARGET to filogic
blogic Sep 17, 2024
52e8aea
iwinfo: update to latest HEAD
blogic Sep 21, 2024
92e6b84
ucode: update to latest HEAD
blogic Sep 22, 2024
b1d6068
hostapd: add CONFIG_DRIVER_11BE_SUPPORT
januszdziedzic Aug 20, 2024
d1fc8c3
hostapd: fix build when 80211BE enabled
januszdziedzic Aug 20, 2024
42185bf
wifi-scripts: mac80211.sh: allow EHT* sets
januszdziedzic Sep 1, 2024
c201905
wifi-scripts: mac80211.sh: enable EHT320
januszdziedzic Sep 1, 2024
7ebd906
mt76: mark mt7996e 11BE capable
januszdziedzic Sep 6, 2024
b478b7b
wifi-scripts: detect and configure EHT
januszdziedzic Sep 20, 2024
8bfea41
umdns: update to latest HEAD
blogic Sep 17, 2024
dc48732
hostapd: add the ifname to ubus events
blogic Sep 18, 2024
711885a
hostapd: add ifname and vlan_id to sta-authorized notifications
blogic Sep 18, 2024
dd62f76
hostapd: add ifname to generic ubus notify code
blogic Sep 18, 2024
3ed5f64
hostapd: send a notification via ubus when CSA completed
blogic Sep 18, 2024
b9eadcf
base-files: uci-defaults: allow setting wireless defaults
dangowrt Nov 20, 2021
a8271b0
base-files: uci-defaults: allow setting default credentials and ssh keys
blogic Sep 14, 2024
fa53a73
base-files: uci-defaults: allow setting default timezone
blogic Sep 21, 2024
e7c7a3c
base-files: uci-defaults: allow setting the number of MACs a radio ca…
blogic Sep 22, 2024
7a120ee
base-files: execute uboot-env script before calling config_generate
blogic Sep 22, 2024
84577e4
uboot-envtools: add fw_loadenv tool
blogic Sep 17, 2024
b89b19b
uboot-envtools: add a board.d script to load defaults from the enviro…
blogic Sep 17, 2024
b506a30
wifi-scripts: populate default wifi credentials and country code from…
blogic Sep 17, 2024
e428d79
dropbear: add a uci-defaults script for loading authorized keys
blogic Sep 17, 2024
5071e84
base-files: add timezone to UCI during config_generate
blogic Sep 21, 2024
859bb4d
base-files: set root password if present inside board.json
blogic Sep 21, 2024
c1e43c3
wifi-scripts: add better defaults for 6 GHz interop
nbd168 Oct 2, 2024
d03f3dc
realtek: add support for Linksys LGS310C
plappermaul Sep 14, 2024
f9a0485
generic: backport upstream r8169 patches
Noltari Oct 2, 2024
3280f9e
mac80211: mark ath12k 80211BE capable
januszdziedzic Sep 23, 2024
b5ffbe7
mt76: mark mt7925 11BE capable
Sep 25, 2024
71da761
kernel: packages: kmod-pstore: remove deprecated Kconfig options
innovara Oct 2, 2024
a8018f3
wifi-scripts: Fix typo in EHT320 name
hauke Oct 3, 2024
4705398
ramips: rename interfaces for tplink er605v2
mar-kolya Jul 4, 2024
f09d973
kernel: ubnt-ledbar: use dev_err_probe
neheb Sep 22, 2024
d3e5a4d
kernel: ubnt-ledbar: return directly
neheb Sep 25, 2024
d115709
ramips: modernize ralink i2c driver
neheb Sep 27, 2024
c38f04a
x86: generic: config-6.6: refresh config
graysky2 Sep 27, 2024
dedeb28
ath79: rb91x-key: use more devm
neheb Aug 15, 2024
8c36040
ath79: rb91x-key: replace fwnode with pdev
neheb Sep 22, 2024
0668537
meta: VS Code: add "Git: Always Sign Off" setting
bam80 Sep 28, 2024
b22ba12
audit: update to 3.1.5
zpc0 Sep 14, 2024
664b8ff
base-files: /etc/sysctl.conf: clarity in comment
graysky2 Sep 29, 2024
511e8f8
base-files: configure LED when added
dangowrt Oct 3, 2024
abe020a
mt76: add missing eeprom file for mt7992
nbd168 Oct 4, 2024
b9e8013
mac80211: update to version 6.11.2
nbd168 Oct 4, 2024
758f320
mt7621: enable CONFIG_MTD_UBI_NVMEM, CONFIG_NVMEM_LAYOUT_U_BOOT_ENV
msandber Oct 2, 2024
c1c2b61
ramips: dts: DNA EX400 has redundant type u-boot environment
msandber Sep 24, 2024
ec61ccc
mac80211: backport upstream DFS fixes
nbd168 Oct 5, 2024
1a55d90
valgrind: Update to version 3.23
hauke Oct 3, 2024
d104edc
strace: Update to version 6.11
hauke Oct 3, 2024
12f067a
libjson-c: update to 0.18
hauke Oct 3, 2024
2710971
libxml2: update to 2.12.9
hauke Oct 3, 2024
6c00a46
libxml2: update to 2.13.4
hauke Oct 3, 2024
08dc269
libnl: update to 3.10.0
hauke Oct 3, 2024
8c2dcd1
ethtool: update to 6.10
hauke Sep 29, 2024
6262366
iproute2: update to 6.11.0
hauke Oct 3, 2024
1288852
utils: mtd-utils: update to 2.2.1
hauke Oct 3, 2024
32024db
tools: mtd-utils: update to 2.2.1
hauke Oct 3, 2024
51db334
kernel: bump 6.6 to 6.6.54
graysky2 Oct 4, 2024
3a168e3
rockchip: config-6.6: remove CONFIG_FORTIFY_SOURCE
leobsky Oct 5, 2024
685fa05
iproute2: fix tc-tiny build failure
rsalvaterra Oct 5, 2024
0852d81
gemini: Use absolute paths for tools
hauke Oct 5, 2024
ca325ee
gemini: apm821xx: Ignore return value of e2fsck
hauke Oct 5, 2024
63a9218
kernel: leds-ws2812b: use devm functions
neheb Aug 2, 2024
e15aab2
kernel: leds-ws2812b: remove sub 6.6 support
neheb Sep 26, 2024
5ee75b6
kernel: ws2812b: use devm for mutex_init
neheb Oct 3, 2024
7ada5ab
kernel-build.mk: Fix multi-core build warning.
zxlhhyccc Oct 4, 2024
ac840d7
ath10k-ct: switch to version 6.10
DragonBluep Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"git.alwaysSignOff": true
}
4 changes: 2 additions & 2 deletions include/kernel-6.6
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINUX_VERSION-6.6 = .53
LINUX_KERNEL_HASH-6.6.53 = 285d181d1b252b0bf905f040d094215cf183ac98c31a17f9cce9f3537ef4d779
LINUX_VERSION-6.6 = .54
LINUX_KERNEL_HASH-6.6.54 = 5fae869d6a24055c16ffc2d92669e3fb2b258e34d36c850bb8cf9def417ecfa0
2 changes: 1 addition & 1 deletion include/kernel-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ define BuildKernel
download: $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE))
prepare: $(STAMP_PREPARED)
compile: $(LINUX_DIR)/.modules
$(MAKE) -C image compile TARGET_BUILD=
+$(MAKE) -C image compile TARGET_BUILD=

dtb: $(STAMP_CONFIGURED)
$(_SINGLE)$(KERNEL_MAKE) scripts_dtc
Expand Down
5 changes: 5 additions & 0 deletions package/base-files/files/bin/config_generate
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,11 @@ generate_static_system() {
uci -q set "system.@system[-1].compat_version=1.0"
fi

local timezone
if json_get_var timezone timezone; then
uci -q set "system.@system[-1].timezone=$timezone"
fi

if json_is_a ntpserver array; then
local keys key
json_get_keys keys ntpserver
Expand Down
3 changes: 3 additions & 0 deletions package/base-files/files/etc/hotplug.d/leds/00-init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

[ "$ACTION" = "add" ] && /etc/init.d/led start "$DEVICENAME"
3 changes: 2 additions & 1 deletion package/base-files/files/etc/init.d/boot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ uci_apply_defaults() {
cd /etc/uci-defaults || return 0
files="$(ls)"
[ -z "$files" ] && return 0
mkdir -p /tmp/.uci
for file in $files; do
( . "./$(basename $file)" ) && rm -f "$file"
done
Expand Down Expand Up @@ -47,6 +46,8 @@ boot() {
sleep 1
}

mkdir -p /tmp/.uci
[ -f /etc/uci-defaults/30_uboot-envtools ] && (. /etc/uci-defaults/30_uboot-envtools)
/bin/config_generate
rm -f /tmp/.config_pending
/sbin/wifi config
Expand Down
7 changes: 5 additions & 2 deletions package/base-files/files/etc/init.d/led
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ load_led() {
config_get gpio $1 gpio "0"
config_get_bool inverted $1 inverted "0"

[ "$2" ] && [ "$sysfs" != "$2" ] && return

# execute application led trigger
[ -f "/usr/libexec/led-trigger/${trigger}" ] && {
. "/usr/libexec/led-trigger/${trigger}"
Expand Down Expand Up @@ -121,7 +123,7 @@ load_led() {
[ -e "/sys/class/leds/${sysfs}/$m" ] && \
echo 1 > /sys/class/leds/${sysfs}/$m
done
echo $interval > /sys/class/leds/${sysfs}/interval
echo $interval > /sys/class/leds/${sysfs}/interval 2>/dev/null
}
;;

Expand Down Expand Up @@ -171,6 +173,7 @@ start() {
[ -s /var/run/led.state ] && {
local led trigger brightness color
while read led trigger brightness color; do
[ "$1" ] && [ "$1" != "$led" ] && continue
[ -e "/sys/class/leds/$led/trigger" ] && \
echo "$trigger" > "/sys/class/leds/$led/trigger"

Expand All @@ -185,6 +188,6 @@ start() {
}

config_load system
config_foreach load_led led
config_foreach load_led led "$1"
}
}
3 changes: 2 additions & 1 deletion package/base-files/files/etc/sysctl.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Defaults are configured in /etc/sysctl.d/* and can be customized in this file
# User defined entries should be added to this file not to /etc/sysctl.d/* as
# that directory is not backed-up by default and will not survive a reimage
12 changes: 12 additions & 0 deletions package/base-files/files/etc/uci-defaults/50-root-passwd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
. /usr/share/libubox/jshn.sh

json_init
json_load "$(cat /etc/board.json)"

json_select credentials
json_get_vars root_password_hash root_password_hash
[ -z "$root_password_hash" ] || sed -i "s|^root:[^:]*|root:$root_password_hash|g" /etc/shadow

json_get_vars root_password_plain root_password_plain
[ -z "$root_password_plain" ] || { (echo "$root_password_plain"; sleep 1; echo "$root_password_plain") | passwd root }
json_select ..
86 changes: 86 additions & 0 deletions package/base-files/files/lib/functions/uci-defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,92 @@ ucidef_set_hostname() {
json_select ..
}

ucidef_set_timezone() {
local timezone="$1"
json_select_object system
json_add_string timezone "$timezone"
json_select ..
}

ucidef_set_wireless() {
local band="$1"
local ssid="$2"
local encryption="$3"
local key="$4"

case "$band" in
all|2g|5g|6g) ;;
*) return;;
esac
[ -z "$ssid" ] && return

json_select_object wlan
json_select_object defaults
json_select_object ssids
json_select_object "$band"
json_add_string ssid "$ssid"
[ -n "$encryption" ] && json_add_string encryption "$encryption"
[ -n "$key" ] && json_add_string key "$key"
json_select ..
json_select ..
json_select ..
json_select ..
}

ucidef_set_country() {
local country="$1"

json_select_object wlan
json_select_object defaults
json_add_string country "$country"
json_select ..
json_select ..
}

ucidef_set_wireless_mac_count() {
local band="$1"
local mac_count="$2"

case "$band" in
2g|5g|6g) ;;
*) return;;
esac
[ -z "$mac_count" ] && return

json_select_object wlan
json_select_object defaults
json_select_object ssids
json_select_object "$band"
json_add_string mac_count "$mac_count"
json_select ..
json_select ..
json_select ..
json_select ..
}

ucidef_set_root_password_plain() {
local passwd="$1"
json_select_object credentials
json_add_string root_password_plain "$passwd"
json_select ..
}

ucidef_set_root_password_hash() {
local passwd="$1"
json_select_object credentials
json_add_string root_password_hash "$passwd"
json_select ..
}

ucidef_set_ssh_authorized_key() {
local ssh_key="$1"
json_select_object credentials
json_select_array ssh_authorized_keys
json_add_string "" "$ssh_key"
json_select ..
json_select ..
}

ucidef_set_ntpserver() {
local server

Expand Down
3 changes: 3 additions & 0 deletions package/boot/uboot-envtools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ define Package/uboot-envtools/install
$(LN) fw_printenv $(1)/usr/sbin/fw_setenv
$(INSTALL_BIN) ./files/fw_printsys $(1)/usr/sbin
$(INSTALL_BIN) ./files/fw_setsys $(1)/usr/sbin
$(INSTALL_BIN) ./files/fw_loadenv $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/board.d
$(INSTALL_DATA) ./files/fw_defaults $(1)/etc/board.d/05_fw_defaults
$(INSTALL_DIR) $(1)/lib
$(INSTALL_DATA) ./files/uboot-envtools.sh $(1)/lib
$(INSTALL_DIR) $(1)/etc/uci-defaults
Expand Down
17 changes: 17 additions & 0 deletions package/boot/uboot-envtools/files/fw_defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
. /lib/functions/uci-defaults.sh

fw_loadenv

board_config_update

[ -f /var/run/uboot-env/owrt_ssid -a -f /var/run/uboot-env/owrt_wifi_key ] &&
ucidef_set_wireless all "$(cat /var/run/uboot-env/owrt_ssid)" sae-mixed "$(cat /var/run/uboot-env/owrt_wifi_key)"
[ -f /var/run/uboot-env/owrt_country ] && ucidef_set_country "$(cat /var/run/uboot-env/owrt_country)"
[ -f /var/run/uboot-env/owrt_ssh_auth_key ] && ucidef_set_ssh_authorized_key "$(cat /var/run/uboot-env/owrt_ssh_auth_key)"
[ -f /var/run/uboot-env/owrt_root_password_plain ] && ucidef_set_root_password_plain "$(cat /var/run/uboot-env/owrt_root_password_plain)"
[ -f /var/run/uboot-env/owrt_root_password_hash ] && ucidef_set_root_password_hash "$(cat /var/run/uboot-env/owrt_root_password_hash)"
[ -f /var/run/uboot-env/owrt_timezone ] && ucidef_set_timezone "$(cat /var/run/uboot-env/owrt_timezone)"

board_config_flush

exit 0
26 changes: 26 additions & 0 deletions package/boot/uboot-envtools/files/fw_loadenv
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/ucode

'use strict';

const path = '/var/run/uboot-env/';

import * as fs from 'fs';

if (fs.lsdir(path)) {
warn(`env has already been loaded to ${path}\n`);
exit(0);
}

let fp = fs.popen('fw_printenv');
let raw = fp.read('all');
fp.close();

if (!length(raw))
exit(0);

fs.mkdir(path);
for (let line in split(raw, '\n')) {
let vals = split(line, '=');
if (vals[0] && vals[1])
fs.writefile(path + vals[0], vals[1]);
}
4 changes: 2 additions & 2 deletions package/devel/strace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=strace
PKG_VERSION:=6.7
PKG_VERSION:=6.11
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://strace.io/files/$(PKG_VERSION)
PKG_HASH:=2090201e1a3ff32846f4fe421c1163b15f440bb38e31355d09f82d3949922af7
PKG_HASH:=83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5

PKG_MAINTAINER:=Felix Fietkau <[email protected]>
PKG_LICENSE:=LGPL-2.1-or-later
Expand Down
4 changes: 2 additions & 2 deletions package/devel/valgrind/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=valgrind
PKG_VERSION:=3.22.0
PKG_VERSION:=3.23.0
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://sourceware.org/pub/valgrind/
PKG_HASH:=c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c
PKG_HASH:=c5c34a3380457b9b75606df890102e7df2c702b9420c2ebef9540f8b5d56264d

PKG_MAINTAINER:=Felix Fietkau <[email protected]>
PKG_LICENSE:=GPL-2.0+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
From 7214886886bce9029f325214156c02dcfff760d5 Mon Sep 17 00:00:00 2001
From: Paul Floyd <[email protected]>
Date: Sat, 27 Apr 2024 13:07:07 +0200
Subject: 486180 - [Valgrind][MIPS] 'VexGuestArchState' has no member named
'guest_IP_AT_SYSCALL'

---
NEWS | 34 ++++++++++++++++++++++++++++++++++
VEX/priv/guest_mips_helpers.c | 4 ++++
VEX/pub/libvex_guest_mips32.h | 6 +++---
VEX/pub/libvex_guest_mips64.h | 2 ++
configure.ac | 6 +++---
5 files changed, 46 insertions(+), 6 deletions(-)

--- a/VEX/priv/guest_mips_helpers.c
+++ b/VEX/priv/guest_mips_helpers.c
@@ -187,6 +187,8 @@ void LibVEX_GuestMIPS32_initialise( /*OU
vex_state->guest_w1.w64[1] = 0;
vex_state->guest_w2.w64[0] = 0;
vex_state->guest_w2.w64[1] = 0;
+
+ vex_state->guest_IP_AT_SYSCALL = 0;
}

void LibVEX_GuestMIPS64_initialise ( /*OUT*/ VexGuestMIPS64State * vex_state )
@@ -294,6 +296,8 @@ void LibVEX_GuestMIPS64_initialise ( /*O
vex_state->guest_LLaddr = 0xFFFFFFFFFFFFFFFFULL;
vex_state->guest_LLdata = 0;

+ vex_state->guest_IP_AT_SYSCALL = 0;
+
vex_state->guest_MSACSR = 0;
}

--- a/VEX/pub/libvex_guest_mips32.h
+++ b/VEX/pub/libvex_guest_mips32.h
@@ -188,10 +188,10 @@ typedef

/* 1016 */ UInt guest_MSACSR;

- /* 1020 */ UInt _padding3;
+ /* 1020 */ UInt guest_IP_AT_SYSCALL;

- /* 1020 */ ULong guest_LLdata64;
- /* 1028 */ ULong _padding4;
+ /* 1024 */ ULong guest_LLdata64;
+ /* 1032 */ ULong _padding3;
} VexGuestMIPS32State;
/*---------------------------------------------------------------*/
/*--- Utility functions for MIPS32 guest stuff. ---*/
--- a/VEX/pub/libvex_guest_mips64.h
+++ b/VEX/pub/libvex_guest_mips64.h
@@ -184,6 +184,8 @@ typedef
/* 1144 */ UInt guest_MSACSR;

/* 1148 */ UInt _padding2;
+ /* 1152 */ ULong guest_IP_AT_SYSCALL;
+ /* 1160 */ ULong _padding3;

} VexGuestMIPS64State;

Loading