213 Commits

Author SHA1 Message Date
Igor Velkov
e9f1902134
uwe5622: fix compilation with clang on Linux 6.19 (#9314)
In Linux 6.19, net_device->dev_addr is const unsigned char *.
Clang with -Werror,-Wincompatible-pointer-types-discards-qualifiers
rejects passing dev_addr to non-const parameters and memcpy into it.

Fix by:
- Replacing memcpy(dev->dev_addr, ...) with dev_addr_set()
- Using local buffer + ether_addr_copy for sprdwl_set_mac_addr call
  that needs mutable addr (the function modifies it in-place)
- Changing u8 *mac pointer to u8 mac[ETH_ALEN] array in cfg80211.c
  where dev_addr was assigned to a non-const pointer

Relates to #9049
2026-01-31 13:51:07 +01:00
Paolo Sabatino
288b14defa apply rtl8723cs bluetooth only with kernels >= 6.1 2026-01-08 11:56:44 +01:00
Paolo Sabatino
707025f422 rtl8723cs: stop including proprietary driver for kernel 6.19 onwards
* rtw88 mainline driver has good enough support for rtl8723cs
   so stop patching the kernel with this ancient driver
 * fixes rtl8703b (same chip as 8723cs) bluetooth firmware name file
2026-01-07 09:50:08 +01:00
Igor Pecovnik
4d60ce08f2 chore: update copyright years to 2026
Update all copyright notices in shell scripts from 2025 to 2026.

## Changes

- **Igor Pecovnik**: 2013-2025 → 2013-2026 (129 files)
- **Ricardo Pardini**: 2023-2025 → 2023-2026, 2020-2025 → 2020-2026 (5 files)

## Additional Improvements

Also updated the backtitle in `lib/functions/configuration/interactive.sh`:
- Changed title from "Armbian building script" to "Armbian Linux build framework"
- Removed docs link for cleaner display
- Uses dynamic year calculation with separate declaration (fixes shellcheck SC2155)
2025-12-25 12:03:34 +01:00
Werner
3d46ef80e0
sunxi: bump edge to 6.18 (#9049)
* sunxi-6.18: make the mess even worse

* fixing one of megis patches and add sunxi 32bit to the mess

* rewrite against 6.18

* fix media-ov5640-Don-t-powerup-the-sensor-during-driver-probe.patch

* fix media-sun6i-csi-implement-vidioc_enum_framesizes.patch

* fix misc-modem-power-Power-manager-for-modems.patch

* Fix usb-gadget-Fix-dangling-pointer-in-netdev-private-data.patch, include rewrite

* fix mmc-sunxi-mmc-Remove-runtime-PM.patch, two hunks no longer apply

* re-extract all of megis patches

* remove unneeded branch

* add note to disabled patch

* auto-generated, out of date

* drop megous drm patches in favor of Jernej's work. disable broken patches

* disable patch which breaks compilation for armhf

* disable breaking patch, rewrite everything

* remove patches unrelated to sunxi family

* fix spi dev compatible patch

* fix tsc2007 patch

* drop mainlined patch, adjust x96 mate T95 eth sd card hack

* remove upstreamed patch

* re-enable no longer broken

* another rewrite to align stuff properly

* adjust various comments in series.conf

* recover lost overlays

* uew5622: fix compilation against Linux 6.18

* fix Add-sunxi-addr-driver-Used-to-fix-uwe5622-bluetooth-MAC-address.patch

* adjust patch subject to make sense

* restore fixup creation
restore overlay prefix on opiz2
this needs to be properly sorted at some point

* bump to 6.18.1
sunxi and sunxi64 build just fine

* fix and re-enable drv-mfd-axp20x-add-sysfs-interface.patch

* rewrite patches
2025-12-16 12:35:24 +01:00
SuperKali
9e1d62fbec
rtw88: Add kernel 6.18 support and clean up patch logic (#9041)
- Created patch/misc/rtw88/6.18/ directory with upstream driver patches
- Removed obsolete kernel 6.16 reference from patch conditions
- Updated comment to clarify that RF path detection fix is only needed
  for kernel 6.1.x (upstreamed in 6.18+)

This fixes RTL8822CS WiFi initialization failures on kernel 6.18 where
the driver was not being properly patched due to missing version directory.

Fixes SDIO timeout errors during chip initialization.
2025-12-08 23:58:15 +01:00
Igor
8b0f9ad1ef
Wireless driver patching: fix inconsistency in matching (#8789)
* Wireless driver patching: fix inconsistency in matching

Mathing Allwinner family via LINUXFAMILY is giving different results. sunxi doesn't cover sun5* ...

* Re-adding wireless drivers that fall out of this bug + few additional
2025-10-23 22:30:12 +02:00
Ricardo Pardini
19ab210ceb drivers_network: update rtl8723DS with amazingfate's fix for 6.18
- see https://github.com/armbian/rtl8723ds/pull/4
2025-10-19 01:43:30 +02:00
Ricardo Pardini
842e6b66f9 drivers_network: update rtl8852bs with amazingfate's fix for 6.18
- see 72c75150d7
2025-10-19 01:43:30 +02:00
Viacheslav Bocharov
e6679e6bb3 update rtl88x2cs external driver for kernel 6.18+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-10-13 23:53:15 +02:00
Igor Pecovnik
ddf1337ca4 Add Wi-Fi injection patch for Linux 6.12 kernels.
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
Update Board Lists / Send dispatch (push) Has been cancelled
2025-10-11 14:04:48 +02:00
Viacheslav Bocharov
8325404b25 Update rtl88x2cs driver commit hash for kernel 6.17+
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-10-09 17:39:24 +03:00
Ricardo Pardini
ffead65d12 drivers_network: disable 6.17+ for rtl8811_rtl8812_rtl8814_rtl8821, rtl8811CU_rtl8821C and rtl88x2bu
- two of those were already marked to be removed 6.12+
- for those in need: send fix upstream, wait for merge, update here and re-enable
- in case upstream abandoned: fork and fix, update here and re-enable
2025-10-06 23:40:09 +02:00
Paolo
35629f641e
Bump rockchip64-edge kernel to 6.17 (#8703)
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
* bump rockchip64 edge kernel to 6.17

* update rockchip64 edge kernel config to 6.17

* Fixes for wireless drivers for rockchip64-edge 6.17

Patches for:
* uwe5622
* rtl8723ds
* rtl8852bs

* update rtl8852bs and rtl8723ds repository commit hashes
2025-10-03 18:36:42 +02:00
Igor
eebef46200 Realtek 8189ES & FS compatibility with Linux 6.17.y
Closing https://github.com/armbian/build/issues/8659
2025-09-28 05:30:08 +02:00
Igor Pecovnik
859b49c32f Bump mainline edge kernels to rc7 2025-09-21 19:32:20 +02:00
Viacheslav Bocharov
a7d3bb3577 JetHome: update links and references for JetHome resources
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
Update Board Lists / Send dispatch (push) Has been cancelled
2025-09-11 12:35:39 +03:00
SuperKali
b49192b3a5
rtw88: extend SDIO RF path fix to kernel 6.16 (#8608) 2025-09-11 09:04:05 +02:00
Jianfeng Liu
c51907d0f8 rtl8852bs: update to latest main branch commit
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
2025-09-11 11:18:54 +08:00
Jianfeng Liu
0e9992526b rtl8852bs: enable build for rockchip64 2025-09-08 20:02:28 +02:00
SuperKali
fc9ba3ec3d
fix(rtw88): restrict sdio rf-path detection patch to kernel 6.1 only (#8589)
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
Limit application of 002-rtw88-sdio-rf-path-detection-fix.patch to kernel version 6.1
2025-09-08 08:40:45 +02:00
SuperKali
343bcc6e24
patch: rtw88: sdio: fix incorrect RF path detection when MAC is powered off (#8587) 2025-09-08 07:33:30 +02:00
retro98boy
2b166f37f3 meson64: bump kernel to 6.16 2025-08-31 12:42:15 +02:00
Igor Pecovnik
750d4eda7d Xradio: adjust to support kernel compilation for 6.16+
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
2025-08-07 19:40:40 +02:00
Jianfeng Liu
b3912bb03a uefi-arm64: bump to 6.16
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
2025-08-03 09:37:30 +08:00
Igor Pecovnik
67aa2d55e4 Wireless drivers: bump commit hash, add information about deprecations 2025-07-23 10:52:37 +02:00
Jianfeng Liu
c093f2e581 fix bluetooth hci_dev quirks API change since v6.16-rc7 2025-07-23 16:32:36 +08:00
amazingfate
ff941a6e2d remove wifi patches for kernel v6.16 merged upstream
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
2025-06-28 15:20:16 +02:00
Werner
fa9302f162
rockchip64: bump edge to 6.16-rc3 (#8328)
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
* Fix wifi drivers on kernel v6.16

These patches can get deleted after merged upstream.

* initial commit

* fix header

* remove ssv6051 driver

---------

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
2025-06-24 15:25:34 +00:00
The-going
b571ceb46f sunxi: xradio: Switching from del_timer_sync to timer_delete_sync
This was introduced in 6.2 but was removed from the kernel code
in 6.15.
We are currently building cores for sunxi starting from 6.6.
Therefore, a simple replacement without conditions.
2025-06-08 18:04:25 +02:00
The-going
8762476502 patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi) 2025-06-08 18:04:25 +02:00
Ricardo Pardini
53e72aae25 drivers_network: fix uwe5622 for kernel 6.15
- just a ton of hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini
76e3e203a9 drivers_network: driver_rtl8723DS: use armbian/rtl8723ds instead of domin144's fork
- there's a fork under Armbian org now for this driver
2025-05-29 09:33:29 +02:00
Dominik Wójt
96b9fad8c3 drivers_network: fix some wlan drivers compilation 6.15 kernel 2025-05-29 09:33:29 +02:00
Viacheslav Bocharov
9555f7ef62 Update Realtek RTL8822CS external driver 2025-05-16 19:01:14 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
Ricardo Pardini
4aa306c740 drivers_network: bump rtl8812au for 6.14.y
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini
454c49626d Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
This reverts commit 6b74df6f2c522f797daaff84e266ba0fed32eb83.
2025-03-31 21:37:24 +02:00
Paolo Sabatino
7c55b4fce9 bump rockchip 32bit edge kernel to v6.14
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
2025-03-26 22:23:29 +01:00
Ricardo Pardini
6b74df6f2c drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini
94bab3bb81 drivers_network: bump rtl88x2cs for 6.14.y
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini
3777676009 drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y 2025-03-26 10:05:36 +01:00
Ian Goodacre
86ea59c378 Fix patching.sh to include untracked (new) files in patch 2025-03-23 20:50:33 +01:00
amazingfate
47381df472 wireless: fix build with kernel 6.14 2025-02-26 21:40:01 +08:00
amazingfate
d4b5c30e09 wifi drivers: update commit id of rtl8811cu and rtl88x2bu
Some checks failed
Forked Helper / 📢 Run repository dispatch on fork (push) Has been cancelled
Announce PR merge to Discord / announcepush (push) Has been cancelled
Scorecards Security Scan / Scorecards analysis (push) Has been cancelled
2025-01-22 10:01:37 +01:00
amazingfate
1f92b07c38 wireless: fix build with kernel 6.13
Some checks are pending
Forked Helper / 📢 Run repository dispatch on fork (push) Waiting to run
Announce PR merge to Discord / announcepush (push) Waiting to run
Scorecards Security Scan / Scorecards analysis (push) Waiting to run
2025-01-21 19:35:49 +01:00
Igor Pecovnik
f8e1b443f1 3rd party wifi: partially revert rtl8811cu driver as it breaks on K6.6 2025-01-19 21:49:41 +01:00
Igor Pecovnik
dc558d7c01 UEFI kernels, legacy = 6.6, current & edge 6.13 2025-01-19 20:21:52 +01:00
Viacheslav Bocharov
245c74acbb update rtl8822cs driver link to latest commit (update for kernel 6.13+)
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-01-14 12:10:07 +03:00
Paolo Sabatino
54628d7d3e rockchip: bump edge kernel to 6.13-rc5 2025-01-01 19:38:55 +01:00