Igor Pecovnik
48228f1e49
Userspace: Switch armbian-config to new generation. It has very small footprint, thus it will be installed by default
2024-11-05 16:35:36 +01:00
ColorfulRhino
82aa7b3963
compilation: armbian-kernel: Change forced uncompressed modules option for kernels >=v6.12
...
The kernel option `CONFIG_MODULE_COMPRESS_NONE` was superseded by `CONFIG_MODULE_COMPRESS` in 6.12.
Adapt the kernel compilation script accordingly to force the correct kernel option.
Source: c7ff693fa2
2024-10-20 18:21:58 +02:00
Igor Pecovnik
7850d7750a
Wireless drivers: remove driver for 8822BS applicable for old kernels < 5.16
...
Git was removed and there is not need to restore it.
2024-10-18 23:03:48 +02:00
The-going
028952fe1e
sunxi-6.11: xradio: exclude driver if kernel version >= 6.11
2024-09-30 18:38:35 +02:00
Paolo Sabatino
1c79daddc0
bump rockchip64 edge kernel to v6.11
2024-09-21 14:18:19 +02:00
Ricardo Pardini
7745d2ece6
kernel-debs: show 3 levels of dirs in tree output for kernel-dtb, so overlays are shown
2024-09-14 21:41:24 +02:00
amazingfate
b156e14b9a
uwe5622: fix for rk35xx vendor kernel
2024-09-13 09:36:42 +08:00
Ricardo Pardini
b834256138
kernel-dtb: copy also the dtb binary for the board to output
2024-09-03 22:04:20 +02:00
ColorfulRhino
6e6fbac503
cli: kernel-make: Use build@armbian instead of armbian@next for KBUILD
2024-08-15 20:35:26 +00:00
ColorfulRhino
e8c4bde80f
cli: kernel-make: Add note for parallel compression for xz
...
Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
2024-08-15 20:35:26 +00:00
Evgenii Zheltonozhskii
0aa2371db5
Support kernel compilation with Clang/LLVM
2024-08-15 13:20:01 +02:00
Kevin Schmidt
08ef1a960f
Fix armbian-firmware-full package build.
...
Include symlinks from linux-firmware.
2024-08-12 10:45:27 +02:00
schwar3kat
129dd4c3aa
Fix_rtl8189fs_WiFi_driver ( #6984 )
...
Fix wrong commit being pulled for rtl8189fs WiFi driver.
Add CONFIG_RTL8189FS=m to linux-sunxi-current.config and linux-sunxi64-current.config.
2024-07-23 17:16:54 +12:00
Ricardo Pardini
f3f89a78ec
utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change)
2024-07-21 10:25:10 +02:00
ColorfulRhino
7e9adb3811
cli: uboot: Move uboot_cflags variable to before its first use
2024-07-18 11:42:16 +02:00
amazingfate
ee145942fe
wifi: rtl8852bs: add driver for family instead of board
2024-07-13 17:50:20 +08:00
ColorfulRhino
f25fc42e1e
wifi: rtl8852bs: Add some comments
2024-07-11 09:55:16 +08:00
amazingfate
9381edb69d
wifi: rtl8852bs: fix build for rockchip
2024-07-11 09:55:16 +08:00
ColorfulRhino
5bb665f965
cli: uboot: Remove HOME workaround for old tinkerboard/xt-q8l-v10 U-Boot
...
This temporary workaround was only needed for tinkerboard and xt-q8l-v10 version 2022.04 U-Boot. The version has since bumped to 2024.07 and builds fine without this.
2024-07-08 13:02:15 +02:00
Ricardo Pardini
4232661c37
u-boot: embed armbian artifact version in CONFIG_LOCALVERSION
...
- we're hacking at it anyway, so why not use it to uniquely identify the exact build
2024-07-07 13:06:56 +02:00
ColorfulRhino
63ad4d935e
cli: Improve patching logs for U-Boot and kernel
2024-07-03 14:02:29 +02:00
Ricardo Pardini
d9b67b37d5
u-boot: use pipetty in place of unbuffer
...
- unbuffer never solved anything; pipetty might
2024-07-03 06:44:16 +02:00
ColorfulRhino
e29b960649
cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching
2024-07-02 23:08:41 +02:00
ColorfulRhino
3831a72e97
cli: uboot-patching: Print BOOTBRANCH and BOOTPATCHDIR before patching
2024-07-02 23:08:41 +02:00
ColorfulRhino
b572f30472
wifi: Add new SDIO driver rtl8852bs for BananaPi F3
...
Also add for Armsom Sige5 since it has the same chip built-in.
2024-07-01 19:15:00 +02:00
Patrick Yavitz
e81998fa81
cli: uboot.sh: Copy over itb from atftempdir
...
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Ricardo Pardini
21a6b2cab3
u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions
...
- this avoids trouble building certain older versions with binman
- as it tries to `os.path.join(os.getenv('HOME'), 'bin')` and gets a `None` and dies
- naming names: `tinkerboard` & `xt-q8l-v10` (BOARDFAMILY=rockchip), which _actually use_ binman & 22.04 combo
2024-06-30 21:23:04 +02:00
ColorfulRhino
792d9d9dc3
cli: uboot: Include PYTHONPATH in env for compiling U-Boot
...
- Also group all u-boot make environment variables together for easier maintainability
- Fixes u-boot requiring `pyelftools`
- Fixes commit 04f619dc06
2024-06-30 09:22:17 +02:00
ColorfulRhino
d75b1816ff
cli: Improve formatting on dts-check scripts with shellfmt.sh
2024-06-25 18:11:43 +02:00
ColorfulRhino
de81f10b0d
cli: Add command "dts-check"
...
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
Will show warnings/errors if patches patch in some functionalities to a devicetree file without patching in the dt-bindings .yaml at the same time.
2024-06-25 07:06:21 +02:00
Igor Pecovnik
75ce67f329
Run shellfmt to complete code
2024-06-22 19:22:24 +02:00
Igor Pecovnik
d7db1cd26b
Add 6.9 compatibility fix for UWE and rewrite rockchip64 kernel config
2024-06-06 15:35:08 +02:00
Igor Pecovnik
8f0596dc8f
Wireless drivers: port 8723cs to be compatible with kernel 6.9
2024-06-06 15:35:08 +02:00
Patrick Yavitz
aa2d4696ca
RTL88X2CS: linux 6.9.y support
...
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-06-04 07:17:44 -04:00
Igor
07047176cc
Bump UEFI edge kernels with kernel config rewrite ( #6666 )
...
* Bump UEFI edge kernels with kernel config rewrite
* Update wireless drivers that breaks compilation
2024-06-01 22:35:46 +02:00
Igor Pecovnik
3406519dee
Adjust wireless drivers to build on kernel 6.9.y
2024-06-01 19:13:25 +02:00
Igor Pecovnik
3d1d9180c2
Remove reverse dependency for armbian-config
...
This utility doesn't need any build dependency and should be able to work standalone
2024-05-22 15:47:16 +02:00
Ricardo Pardini
40371934d2
lib & config: give shellcheck directions (to /dev/null for dynamic, to repo-relative path for static) for all sourced references
...
- in preparation for tightening the shellcheck severity level
- it needs to be able to follow all sources; dynamic ones are ignored, static ones need root-relative prefix
2024-05-19 19:41:35 +02:00
Ricardo Pardini
fb17a2a84f
armbian-kernel: drop DEBUG_KERNEL/DEBUG_INFO disables; force EXPERT=y and bring back CONFIG_GPIO_SYSFS=y for all kernels
...
- we had `_DEBUG=n` forced, which conflicted with `_EXPERT=y`;
- some important SBC features (like _GPIO_SYSFS) depend on _EXPERT=y
- we've plans to enable BTF/CO-RE kernels soon, so removing the non-debug enforcement makes some sense
- also, .config's will be free to determine debug config, nothing's changing in those here
- remove the `_EMBEDDED` special case handling, we can do that as well now
- add a separate hook to renable `CONFIG_GPIO_SYSFS=y`; it was a victim of `EXPERT=n` in some kernels
- this does not include rewrites of all the .configs -- those should be done in a separate batch -- either way effect is the same, hooks will always override .config's
- during rewrites, a large number of new options will show up, since `_EXPERT=y` is used as dependency for many of Kernel's experimental-ish features
2024-05-11 17:35:27 +01:00
Igor
aa9fea7797
Revert "cli: Add command "dts-check""
...
This reverts commit 54618c1bd3 .
2024-04-26 20:46:42 +08:00
ColorfulRhino
54618c1bd3
cli: Add command "dts-check"
...
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
2024-04-26 18:18:56 +08:00
Brent Roman
7343ca42f7
Restore WiFi functionality to the RockPi-S
...
Reverts the part of 7b2c985363 that deprecated the RTL8723 driver.
The RTW88 driver for the RTL8723DS **does not work**
See issue Jira AR-2121
2024-04-16 00:36:19 +08:00
Ricardo Pardini
28e1b946c9
kernel-debs: linux-libc-dev: add Conflicts: linux-libc-dev
...
- can't remember if should add `Replaces: linux-libc-dev` as well
Maybe-fixes: 22511b31cf
2024-04-07 13:21:33 +02:00
Ricardo Pardini
e83d1a0eab
kernel-debs: fix: don't try to package linux-libc-dev if only packaging dtb
...
Fixes: 22511b31cf
2024-04-03 18:31:43 +02:00
Ricardo Pardini
180b79cddc
kernel-dtbs: output a somewhat-diffable preprocessed dtc-massaged version of the DTS
...
- useful for diffs across the same kernel, much less so across
2024-04-03 18:30:37 +02:00
Patrick Yavitz
7df2f46a91
RTW88: 6.x.y fixups
...
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-03 11:59:06 -04:00
ColorfulRhino
ee8a3d9675
Kernel config hooks: Use custom_kernel_config instead of armbian_kernel_config
...
Since `armbian_kernel_config` is "NOT for user consumption. Do NOT use this hook, this is internal to Armbian."
`custom_kernel_config` is able to overwrite previously set values.
2024-03-30 21:09:12 +01:00
ColorfulRhino
3b73b5fd81
kernel-config: Fix forced option IKCONFIG
...
Also rewrite some kernel configs to reflect this fix
2024-03-29 15:57:40 +00:00
ColorfulRhino
7ded1f7d7d
kernel-config: Force-enable CONFIG_IKCONFIG_PROC=y
...
to make the kernel config available on the running machine via /proc/config.gz
2024-03-29 15:57:40 +00:00
ColorfulRhino
01be9ecbf9
kernel-config: Update forced kernel options with kernel version checks
...
This makes the process even more automatic, requiring less manual changes in the config in case of having to solve dependency chains.
2024-03-29 15:57:40 +00:00