Skip to content

Commit 88b04f9

Browse files
authored
Merge branch 'main' into podman
2 parents 6e7e103 + 684936e commit 88b04f9

File tree

460 files changed

+84751
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

460 files changed

+84751
-7
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ config/boards/mksklipad50.conf @torte71
8686
config/boards/mkspi.csc @redrathnure
8787
config/boards/nanopct6-lts.conf @SuperKali @Tonymac32
8888
config/boards/nanopct6.conf @SuperKali @Tonymac32
89+
config/boards/nanopi-m5.conf @SuperKali
8990
config/boards/nanopi-m6.conf @efectn
9091
config/boards/nanopi-r3s-lts.conf @pyavitz
9192
config/boards/nanopi-r5s.csc @utlark

config/sources/families/include/sunxi64_common.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ case $BRANCH in
3535
;;
3636

3737
edge)
38-
declare -g KERNEL_MAJOR_MINOR="6.15" # Major and minor versions of this kernel.
39-
declare -g KERNELBRANCH="tag:v6.15.4"
38+
declare -g KERNEL_MAJOR_MINOR="6.16" # Major and minor versions of this kernel.
39+
declare -g KERNELBRANCH="tag:v6.16.8"
4040
;;
4141
esac
4242

config/sources/families/include/sunxi_common.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ case $BRANCH in
3636
;;
3737

3838
edge)
39-
declare -g KERNEL_MAJOR_MINOR="6.15" # Major and minor versions of this kernel.
40-
declare -g KERNELBRANCH="tag:v6.15.4"
39+
declare -g KERNEL_MAJOR_MINOR="6.16" # Major and minor versions of this kernel.
40+
declare -g KERNELBRANCH="tag:v6.16.8"
4141
;;
4242
esac
4343

config/sources/mainline-kernel.conf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
function mainline_kernel_decide_version__upstream_release_candidate_number() {
99
[[ -n "${KERNELBRANCH}" ]] && return 0 # if already set, don't touch it; that way other hooks can run in any order
1010
if [[ "${KERNEL_MAJOR_MINOR}" == "6.17" ]]; then # @TODO: roll over to next MAJOR.MINOR and MAJOR.MINOR-rc1 when it is released
11-
declare -g KERNELBRANCH="tag:v6.17-rc1"
11+
declare -g KERNELBRANCH="tag:v6.17-rc5"
1212
display_alert "mainline-kernel: upstream release candidate" "Using KERNELBRANCH='${KERNELBRANCH}' for KERNEL_MAJOR_MINOR='${KERNEL_MAJOR_MINOR}'" "info"
1313
fi
1414
}

lib/functions/compilation/patch/drivers_network.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ driver_rtl8189ES() {
3838

3939
# Wireless drivers for Realtek 8189ES chipsets
4040

41-
if linux-version compare "${version}" ge 3.14; then
41+
if linux-version compare "${version}" ge 3.14 && linux-version compare "${version}" le 6.16; then
4242

4343
# Attach to specific commit (was "branch:master")
4444
local rtl8189esver='commit:07f03cf721f5e0317012ece4159834327680ba8b' # Commit date: 2025-06-21 (please update when updating commit ref)
@@ -160,6 +160,9 @@ driver_rtl8192EU() {
160160

161161
process_patch_file "${SRC}/patch/misc/wireless-rtl8192eu-Fix-p2p-go-advertising.patch" "applying"
162162

163+
# fix compilation for kernels >= 6.17
164+
process_patch_file "${SRC}/patch/misc/wireless-rtl8192eu-Fix-building-on-6.16-6.17.patch" "applying"
165+
163166
# fix compilation for kernels >= 5.4
164167
process_patch_file "${SRC}/patch/misc/wireless-rtl8192eu-Fix-VFS-import.patch" "applying"
165168

lib/functions/general/extensions.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,14 @@ function enable_extensions_with_hostdeps_builtin_and_user() {
577577
578578
# Extensions are files of the format <dir>/extension_name.sh or <dir>/extension_name/extension_name.sh
579579
for ext_dir in "${ext_dirs[@]}"; do
580+
display_alert "Extension search" "Searching in directory: \"${ext_dir}\"" ""
580581
if [[ -d "${ext_dir}" ]]; then
581582
declare -a ext_list_dir=()
582-
mapfile -t ext_list_dir < <(find "${ext_dir}" -maxdepth 2 -type f -name "*.sh" -print0 | xargs -0 grep -l "${grep_args[@]}")
583+
mapfile -t ext_list_dir < <(find "${ext_dir}" -maxdepth 2 -type f -name "*.sh" -print0 | xargs -0 -r grep -l "${grep_args[@]}" 2>/dev/null || true)
584+
display_alert "Extension search result" "Found ${#ext_list_dir[@]} extensions in \"${ext_dir}\"" ""
583585
extension_list+=("${ext_list_dir[@]}")
586+
else
587+
display_alert "Extension search" "Directory does not exist: \"${ext_dir}\"" "wrn"
584588
fi
585589
done
586590
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
config:
2+
3+
# Just some info stuff; not used by the patching scripts
4+
name: sunxi-6.16
5+
kind: kernel
6+
type: mainline # or: mainline
7+
branch: linux-6.16.y
8+
last-known-good-tag: v6.7.0
9+
maintainers:
10+
- { github: pyavitz, name: Patrick Yavitz, email: [email protected], armbian-forum: c0rnelius }
11+
12+
# .dts files in these directories will be copied as-is to the build tree; later ones overwrite earlier ones.
13+
# This is meant to provide a way to "add a board DTS" without having to null-patch them in.
14+
dts-directories:
15+
# will copy patch/kernel/archive/meson64-MAJOR.MINOR/dt-boards/*.dts to arch/arm64/boot/dts/allwinner
16+
- { source: "dt", target: "arch/arm64/boot/dts/allwinner" }
17+
18+
# every file in these directories will be copied as-is to the build tree; later ones overwrite earlier ones
19+
# This is meant as a way to have overlays, bare, in a directory, without having to null-patch them in.
20+
# @TODO need a solution to auto-Makefile the overlays as well
21+
# overlay-directories:
22+
# will copy patch/kernel/archive/meson64-MAJOR.MINOR/overlay/**/* to arch/arm64/boot/dts/allwinner/overlay
23+
# - { source: "overlay", target: "arch/arm64/boot/dts/allwinner/overlay" }
24+
25+
# the Makefile in each of these directories will be magically patched to include the dts files copied
26+
# or patched-in; overlay subdir will be included "-y" if it exists.
27+
# No more Makefile patching needed, yay!
28+
auto-patch-dt-makefile:
29+
- { directory: "arch/arm64/boot/dts/allwinner", config-var: "CONFIG_ARCH_SUNXI" }
30+
31+
# configuration for when applying patches to git / auto-rewriting patches (development cycle helpers)
32+
patches-to-git:
33+
do-not-commit-files:
34+
- "MAINTAINERS" # constant churn, drop them. sorry.
35+
- "Documentation/devicetree/bindings/arm/allwinner.yaml" # constant churn, conflicts on every bump, drop it. sorry.
36+
do-not-commit-regexes: # Python-style regexes
37+
- "^arch/([a-zA-Z0-9]+)/boot/dts/([a-zA-Z0-9]+)/Makefile$" # ignore DT Makefile patches, we've an auto-patcher now
38+
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2025 Patrick Yavitz <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sun50i-h618-bananapi-m4.dtsi"
9+
10+
/ {
11+
model = "BananaPi BPI-M4-Zero";
12+
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h618";
13+
14+
aliases {
15+
ethernet0 = &emac1;
16+
i2c0 = &i2c0;
17+
i2c1 = &i2c1;
18+
i2c3 = &i2c3;
19+
i2c4 = &i2c4;
20+
serial4 = &uart4;
21+
serial5 = &uart5;
22+
spi1 = &spi1;
23+
};
24+
25+
leds {
26+
compatible = "gpio-leds";
27+
28+
led-0 {
29+
color = <LED_COLOR_ID_RED>;
30+
function = LED_FUNCTION_STATUS;
31+
gpios = <&pio 2 12 GPIO_ACTIVE_HIGH>; /* PC12 */
32+
linux,default-trigger = "heartbeat";
33+
};
34+
};
35+
};
36+
37+
/* Connected to an on-board RTL8821CU USB WiFi chip. */
38+
&ehci1 {
39+
status = "okay";
40+
};
41+
42+
&ehci2 {
43+
status = "okay";
44+
};
45+
46+
&ehci3 {
47+
status = "okay";
48+
};
49+
50+
&emac1 {
51+
status = "disabled";
52+
pinctrl-names = "default";
53+
pinctrl-0 = <&rmii_pins>;
54+
phy-mode = "rmii";
55+
phy-handle = <&rmii_phy>;
56+
phy-supply = <&reg_dldo1>;
57+
allwinner,rx-delay-ps = <3100>;
58+
allwinner,tx-delay-ps = <700>;
59+
};
60+
61+
&mdio1 {
62+
rmii_phy: ethernet-phy@1 {
63+
compatible = "ethernet-phy-ieee802.3-c22";
64+
reg = <1>;
65+
};
66+
};
67+
68+
/* SDIO */
69+
&mmc1 {
70+
status = "disabled";
71+
bus-width = <4>;
72+
max-frequency = <100000000>;
73+
74+
non-removable;
75+
disable-wp;
76+
77+
/* WiFi firmware requires power to be kept while in suspend */
78+
keep-power-in-suspend;
79+
80+
mmc-pwrseq = <&wifi_pwrseq>;
81+
82+
cd-gpios = <&pio 6 15 GPIO_ACTIVE_HIGH>; /* PG15 */
83+
vmmc-supply = <&reg_vcc3v3>;
84+
85+
sdio: wifi@1 {
86+
reg = <1>;
87+
compatible = "brcm,bcm4329-fmac";
88+
};
89+
};
90+
91+
&ohci1 {
92+
status = "okay";
93+
};
94+
95+
&ohci2 {
96+
status = "okay";
97+
};
98+
99+
&ohci3 {
100+
status = "okay";
101+
};
102+
103+
&usbotg {
104+
status = "okay";
105+
dr_mode = "peripheral";
106+
};
107+
108+
&usbphy {
109+
status = "okay";
110+
usb1_vbus-supply = <&reg_usb_vbus>;
111+
};

0 commit comments

Comments
 (0)