Commit Graph

408 Commits

Author SHA1 Message Date
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 2025-06-28 15:20:16 +02:00
Werner
fa9302f162 rockchip64: bump edge to 6.16-rc3 (#8328)
* 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
Ayush Singh
c0da65087a compilation: armbian-kernel: Do not make built-in drivers modules
The current script can overwrite drivers which are set as built-in in
the board-specific config. This is not desirable.

Add a check to ensure we do not convert built-in stuff into modules.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-08 18:08:33 +02: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
39fef63e73 kernel-debs: if make clean fails (logs to bitbucket), do it again, but show the logs 2025-05-29 18:32:47 +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
Werner
204c646cc6 rockchip64: fix atf build, bump ATF to latest tag 2025-04-19 13:18:55 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
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 6b74df6f2c.
2025-03-31 21:37:24 +02:00
Igor Pecovnik
9c206d0175 Drop examples as they are not needed for hooks 2025-03-31 20:50:39 +02:00
coderabbitai[bot]
bd5bf38593 📝 Add docstrings to netkit
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8036#issuecomment-2766658224

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik
f029ab11c4 Enable NETKIT feature for all armbian-kernels => 6.7 2025-03-31 20:50:39 +02:00
coderabbitai[bot]
e4c7d24229 📝 Add docstrings to armbiankernel
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8014#issuecomment-2755642576

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik
eb62028fa0 Armbian kernel: add ZRAM and DOCKER configurations
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
Paolo Sabatino
7c55b4fce9 bump rockchip 32bit edge kernel to v6.14 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
94949aec8a kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change 2025-02-22 23:19:31 +08:00
Ricardo Pardini
51b300ebdf armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
amazingfate
d4b5c30e09 wifi drivers: update commit id of rtl8811cu and rtl88x2bu 2025-01-22 10:01:37 +01:00
amazingfate
1f92b07c38 wireless: fix build with kernel 6.13 2025-01-21 19:35:49 +01:00
Ricardo Pardini
2f2c81744a kernel: call oldconfig _after_ kernel config hooks; add hook for CONFIG_CFG80211=m and CONFIG_MAC80211=m on 6.13+
- we need to run the hooks _before_ running oldconfig, otherwise it is too late
- drop `kernel_config_check_and_repair()` since it won't ever detect anything now
2025-01-21 13:25:11 +01:00
amazingfate
611746bfc2 Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
This reverts commit b17e9e5db1.
2025-01-21 13:24:58 +01:00
Igor
4e33412ec2 Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +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
amazingfate
b17e9e5db1 armbian-kernel: skip enabling BTF for rk35xx vendor kernel
fix minor typo by @EvilOlaf
2025-01-14 19:43:44 +08: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
Ricardo Pardini
fdde912ebf uboot: debug u-boot directory contents before/after patching
- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
2025-01-05 16:38:43 +01:00
Ricardo Pardini
79db9984f1 uboot: completely clean before building each target; slower but correct
- with this, every u-boot build will be a full rebuild.
  - still, building u-boot is pretty fast
  - and it is better to be a bit slower and actually produce correct results
2025-01-05 16:38:43 +01:00
Ricardo Pardini
7aeb48f172 u-boot: add per-target and general metadata files to u-boot package
- incl some indicative fdt/extlinux/gpt info
- include full config and defconfig for each target
- mark the old .config file as legacy (it was always the last-target's config)
- fix: savedefconfig after build, not before (as target_map might change it)
- fix: some very old u-boots (2011, odroidc1) do not have `savedefconfig` at all, so make it optional
- fix: same for `.config` -- very old u-boots worked different (`boards.cfg`?)
2025-01-05 16:38:43 +01:00
Tim Surber
7c5f95ef8c bump arm trusted firmware to 2.12 for rockchip64 2025-01-05 10:29:54 +01:00
Ricardo Pardini
87ceaaf635 kernel-debs: headers: postinst: switch from oldconfig to olddefconfig for less messy output; better logging 2025-01-05 10:24:30 +01:00
Paolo Sabatino
54628d7d3e rockchip: bump edge kernel to 6.13-rc5 2025-01-01 19:38:55 +01:00
Patrick Yavitz
8e621baeb9 RTW88: Add RTL88XXAU support to 6.12.y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
Ricardo Pardini
de6b967e47 cli: kernel-dtb: don't output preprocessed dts unless BOOT_FDT_FILE is in <vendor>/<board>.dtb format
- so the .deb can be produced sans-errors for some armhf boards
- some better logging, curb the warnings a bit
2024-12-31 11:52:30 +01:00
Ricardo Pardini
6f0afc150c kernel-config: switch to exporting defconfig's for all .config files
- this affects `rewrite-kernel-config` and `kernel-config` CLIs
- this does not actually change the .config's we have, that will happen later / gradually as configs are rewritten
- no more `.defconfig` files are produced (they were in gitignore)
2024-12-31 11:50:59 +01:00
Ricardo Pardini
12f9318373 armbian-kernel: enforce arm64 kernels use 48-bit PA/VA 2024-12-31 11:50:48 +01:00
Ricardo Pardini
cafdca0cc4 armbian-kernel: enable BTF (and CO-RE) for all kernels 2024-12-31 11:50:48 +01:00
Ricardo Pardini
bcc13132ad armbian-kernel: disable module signatures, harder 2024-12-31 11:50:48 +01:00
The-going
d0ec958162 kernel_package_callback_linux_headers: Fix the cleaning process for tools.
In order for the cleanup to be correct for tools, we need to pass
the VMLINUX_BTF variable, which contains the real path to the vmlinux
file we just compiled.

The vmlinux file itself is not involved in cleaning,
but the Makefile checks for its presence and cleaning
is aborted if it is not found.
2024-12-30 20:33:45 +01:00