Commit Graph

17376 Commits

Author SHA1 Message Date
Sven-Ola Tuecke
4805f62eb7
spacemit: remove old and unused patch set (#9497)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-03-07 12:32:56 +01:00
Igor Pecovnik
1b38e53689 add Vulkan support and expand 3D package descriptions
- Add vulkan-tools: Vulkan utilities (vulkaninfo) for testing and debugging
- Add mesa-vulkan-drivers: Vulkan drivers for Mesa GPUs (Panfrost, Lima, Radeon, Intel)
- Expand package definitions with individual inline comments describing each package:
  - libglx-mesa0: Mesa OpenGL extension library for X11
  - mesa-utils: Mesa utilities for OpenGL information and testing
  - mesa-utils-extra: Additional Mesa demonstration programs
  - glmark2 variants: OpenGL 2.0/3.0 and ES 2.0 benchmark suite with Wayland/X11 backends
- Improves code documentation and makes package purposes clear for maintainers

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-06 07:45:51 +01:00
Igor Pecovnik
82a2a16f13 rockchip: Disable specific patches in 6.19 series
Disable several patches in the rockchip-6.19 kernel series including:
- PCI Link-Up IRQ handler patches
- USB phy patches
- ASoC and pmdomain fixes
- AV1 media codec patches

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-06 06:23:02 +01:00
Austin Lane
ed3ef9d0eb rockchip: Enable Wireguard/TUN module in vendor kernel
Allow VPN apps (wireguard, tailscale, etc) to function on rockchip armhf vendor kernel.
Includes a `rewrite-kernel-config` to fix ordering/etc.
2026-03-06 06:00:31 +01:00
Julian Sikorski
5acad3ad65 Update odroidxu4-current to 6.6.128 2026-03-05 22:02:47 +01:00
StepSecurity Bot
c27048a57d
[StepSecurity] ci: Harden GitHub Actions (#9356)
* [StepSecurity] ci: Harden GitHub Actions

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>

* imprement coderabbit recommendations

---------

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Co-authored-by: Igor Velkov <325961+iav@users.noreply.github.com>
2026-03-05 13:47:09 +01:00
Igor Velkov
ea547d6e0a (#9400 P1a) lib/functions/bsp/armbian-bsp-cli-deb.sh: convert [ ] to [[ ]]
Replace all 43 POSIX `[ ]` tests with bash `[[ ]]` across five board-side
package hook functions (preinst, postinst_base, postinst_finish,
postinst_update_uboot_bootscript, get_bootscript_info).

Normalise `=` to `==` in the `"$1" == "upgrade"` comparison.
Collapse paired `[ A ] && [ B ]` into a single `[[ A && B ]]` where possible.
Variables that were previously unquoted inside `[ ]` (e.g. ${BOOTSCRIPT_DST},
${BOOTSCRIPT_BACKUP_VERSION}) are now properly quoted.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
3c37a1618c (#9400 P1a) config/sources/families/spacemit.conf: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]`; also quote the unquoted `${2}boot0`
expansion to prevent word-splitting on the path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
fc841b6b74 (#9400 P1a) config/sources/families/rockchip.conf: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]`; also quote the unquoted `$1`
positional parameter inside the file test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
8cb897856f (#9400 P1a) extensions/gxlimg.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on two file existence checks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
1839857f8d (#9400 P1a) extensions/lowmem.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on two file existence checks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
73e69995d8 (#9400 P1a) lib/functions/compilation/kernel-debs.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one numeric argument-count check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
234f39b6ca (#9400 P1a) lib/functions/bsp/utils-bsp.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one directory existence check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
3e4de6c02b (#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one -n test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
b9bf4489a8 (#9400 P1a) lib/functions/image/initrd.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one string comparison.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
934575ee35 (#9400 P1a) lib/functions/rootfs/distro-agnostic.sh: convert [ ] to [[ ]]
Replace two chained POSIX `[ ]` with a single bash `[[ ]]` using `&&`
inside the double brackets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
956aa02bf7 (#9400 P1a) lib/functions/rootfs/distro-specific.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on four conditionals: file/path
existence checks and an array length comparison.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
2d1784eff0 (#9400 P1a) lib/functions/configuration/main-config.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on six conditionals: file existence
checks, string comparisons, and -n tests. Also normalise `=` to `==` in
the string comparison.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
7b137e0067 (#9400 P1a) lib/functions/main/config-prepare.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one array expansion check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
1cafc27959 (#9400 P1a) lib/functions/host/prepare-host.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one string comparison.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
Igor Velkov
f0201782a4 (#9400 P1a) lib/functions/image/partitioning.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on three remaining single-bracket
conditionals: two numeric comparisons on sfdisk version (lines 251, 270)
and one -z test with unquoted variable (line 485, also adds quoting).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
igorpecovnik
4654894352 Automatic board configs status synchronise 2026-03-05 10:19:04 +01:00
Igor Velkov
ae6735f470
patching: fix #9028 timestamp when multiple patches touch same file (#9489)
If patch B sorts after patch A but has an older mtime, it would
overwrite A's timestamp on the shared file, causing the kernel Makefile
to skip recompilation.

Fix: only call os.utime() when the new mtime is strictly greater than
the file's current mtime.
2026-03-05 10:13:40 +01:00
Igor Velkov
b7af31d65b fix(gitignore): ignore __pycache__ at all depths (#7863)
`/__pycache__/*` only covered the root level. Replace with `**/__pycache__/`
so that generated bytecode directories in lib/tools/ and elsewhere are ignored.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 09:53:15 +01:00
Igor Pecovnik
ae085455e3 dwc2: explicitly force host mode for USB_DR_MODE_HOST
- Add dwc2_force_mode(hsotg, true) call in USB_DR_MODE_HOST case
- Ensures proper host mode initialization for Rockchip platforms
- Applies to both 6.18 and 6.19 kernel patches
2026-03-04 21:44:10 +01:00
Christian Wang
fa61a10ddb Removed un-needed patch for SM8550-6.18; patch has already been updated directly in linux kernel source 6.18.16 2026-03-04 21:43:55 +01:00
skorobkov
40d5a9a8d6
rk3568: add 51.2MHz PLL rate for HDMI (#9477)
* rk3568: add 51.2MHz PLL rate for HDMI
* Fix From/Signed-off values
* Moved patch into 6.18 and 6.19 fodlers
---------
Co-authored-by: Serhii Korobkov <skorobkov78@gmail.com>
2026-03-04 21:20:04 +01:00
Igor Pecovnik
8168703648 i915: fix Dell XPS 13 7390 device ID in quirk patches
- Correct device ID from 0x8a12 to 0x8a52 for Dell XPS 13 7390 2-in-1
- Applies to both 6.18 and 6.19 kernel patches
2026-03-04 21:07:00 +01:00
igorpecovnik
f885c4ba98 Automatic board configs status synchronise 2026-03-04 19:59:56 +01:00
Christian Wang
6c335c78a6 Fixed initramfs hook on odin2 script 2026-03-04 19:57:23 +01:00
Christian Wang
eafa940b2f Changed initrd script firmware pointing to redundant folder 2026-03-04 19:57:23 +01:00
Christian Wang
273f88d3ac fixed the first line description for ayn board configs 2026-03-04 19:57:23 +01:00
Christian Wang
8fc15d2322 Added first line out for ayn related boards 2026-03-04 19:57:23 +01:00
Christian Wang
14fd66ee16 Fixed typo 2026-03-04 19:57:23 +01:00
Christian Wang
f9ccd71549 Changed back ayn-odin2 maintainer; reverted trixie kde-plasma-mobile package list changes; rewrote kernel config and duplicated current and edge config for sm8550 2026-03-04 19:57:23 +01:00
Christian Wang
8f31ba61d7 removed old-linux-sm8550-edge.config 2026-03-04 19:57:23 +01:00
Christian Wang
c9358b443d revert alsa related refactoring 2026-03-04 19:57:23 +01:00
Christian Wang
0be9f3e6dd Added board name, vendor and maintainers to ayn configs 2026-03-04 19:57:23 +01:00
Christian Wang
bb72cffe68 Added ayn-odin2mini board config;
Fixed WITH_GRUB flag;
2026-03-04 19:57:23 +01:00
Christian Wang
6d0e2575a2 Added configs ayn-odin2portal, ayn-thor that inherit from ayn-odin2; Added WITH_GRUB flag 2026-03-04 19:57:23 +01:00
Christian Wang
6818c6ec29 Test removal of MESA 2026-03-04 19:57:23 +01:00
Christian Wang
997f2fa6d8 Removed sm8550-6.12, sm8550-6.13 patches; updated sm8550 conf to use 6.18 as current and edge; removed redundant ayn-odin2/portal/thor configs and combined into 1 config with BOARD_VARIANT switch 2026-03-04 19:57:23 +01:00
Christian Wang
5cc8d2e86e Added kernel configs to enable android related modules to support waydroid 2026-03-04 19:57:23 +01:00
Christian Wang
87b4cb9b83 Set CONFIG_ANDROID_BINDER_IPC=y in sm8550 edge config 2026-03-04 19:57:23 +01:00
Christian Wang
b0fc8845db Added ayn thor config file 2026-03-04 19:57:23 +01:00
Christian Wang
c1f9a79b02 Added ayn-odin2-portal config 2026-03-04 19:57:23 +01:00
Christian Wang
60002ddb6b Updated odin2-preset-firstrun.sh to include odin2-scripts installer 2026-03-04 19:57:23 +01:00
Christian Wang
8517fccf21 Also install mesa drivers for trixie in ayn-odin2-grub, ayn-odin2-portal-grub, ayn-odin2 configs 2026-03-04 19:57:23 +01:00
Christian Wang
0884d1cb9e Updated odin2, odin2-portal, odin2-grub firmware config scripts 2026-03-04 19:57:23 +01:00
Christian Wang
c0f9d07e01 Added various patches carried over from sm8550-6.13:
- Battery name patch
- SDHCI Driver patch

Added patch to allow aarch64 to do 32bit syscalls (this is helpful for
emulation inputs)
2026-03-04 19:57:23 +01:00