Commit Graph

17372 Commits

Author SHA1 Message Date
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
Christian Wang
f785a6d9fd Added SM8550 Patches from ROCKNIX and also kernel config from ROCKNIX
https://github.com/ROCKNIX/distribution

From ROCKNIX/devices/SM8550/linux/linux.aarch64.conf

From ROCKNIX/devices/SM8550/patches/linux/
- 0001-msm-adreno-enable-A32.patch
- 0002-qcom-dispcc-sm8550-Fix-disp_cc_mdss_mdp_clk_src.patch
- 0003_drm-msm-dpu-Set-vsync-source-irrespective-of-mdp-.patch
- 0030-input-rmi4-add-reset-gpio.patch
- 0031_input--Add-driver-for-RSInput-Gamepad.patch
- 0033_leds--Add-driver-for-HEROIC-HTR3212.patch
- 0036_ASoC--qcom--sc8280xp-Add-support-for-Primary-I2S.patch
- 0042_mmc--sdhci-msm--Toggle-the-FIFO-write-clock-after-.patch
- 0047_ASoC--codecs--aw88166--AYN-Odin2-Specific-modifica.patch
- 0050_pmk8550-pwm.patch
- 0051-gpu-panel-add-Pocket-ACE-panel-driver.patch
- 0052-gpu-panel-add-Pocket-DMG-panel-driver.patch
- 0053-add-hynitron-touchscreen.patch
- 0053-edt-ft5x06-add-no_regmap_bulk_read-option.patch
- 0053-gpu-panel-add-Pocket-DS-lower-panel-driver.patch
- 0054_sn3112-pwm-driver.patch
- 0055_Synaptics-TD4328-LCD-panel.patch
- 0056_Xm-Plus-XM91080G-panel.patch
- 0057_Chipone-ICNA35XX-panel.patch
- 0057_DDIC-CH13726A-panel.patch
- 0058_AYN-Odin2-Mini--backlight.patch
- 0059_AYN-Odin2-Mini--hynitron--cstxxx.patch
- 0060-Add-Silergy-SY7758-backlight-driver.patch
- 0061-regulator-add-sgm3804-i2c-regulator-for-panel-power-.patch
- 0062_rsinput--regulator.patch
- 0070-drm-msm-remove-DRIVER_SYNCOBJ_TIMELINE.patch
- 0071-HACK-fix-usb-boot-hang.patch
- 0100-SM8550-Fix-L2-cache-for-CPU2-and-add-cache-sizes.patch
- 0101-SM8550-Add-DDR-LLCC-L3-CPU-bandwidth-scaling.patch
- 0102-20240424_wuxilin123_ayn_odin_2_support.patch
- 0103_arm64--dts--qcom--sm8550--add-UART15.patch
- 0104-drm-panel-Add-Retroid-Pocket-6-panel.patch
- 0120-20250728_konradybcio_gpu_cc_power_requirements_reality_check.patch
- 0122-interconnect__qcom__sm8550__Enable_QoS_configuration.patch
- 0154-dts-qcom-sm8550-add-opp-acd-level.patch
- 0200_arm64--dts--qcom--Add-AYN-QCS8550-Common.patch
- 0201_arm64--dts--qcom--Add-AYN-Odin2.patch
- 0202_arm64--dts--qcom--Add-AYN-Odin2-Mini.patch
- 0203_arm64--dts--qcom--Add-AYN-Odin2-Portal.patch
- 0204_arm64--dts--qcom--Add-AYN-Thor.patch
- 0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch
- 0211_arm64--dts--qcom--Add-AYANEO-Pocket-ACE.patch
- 0212_arm64--dts--qcom--Add-AYANEO-Pocket-DMG.patch
- 0213_arm64--dts--qcom--Add-AYANEO-Pocket-EVO.patch
- 0214_arm64--dts--qcom--Add-AYANEO-Pocket-DS.patch
- 0500-ROCKNIX-set-boot-fanspeed.patch
- 0501-ROCKNIX-fix-wifi-and-bt-mac.patch
- 0503-ROCKNIX-battery-name.patch
- v5_20251120_quic_utiwari_crypto_qce_add_runtime_pm_and_interconnect_bandwidth_scaling_support.patch
2026-03-04 19:57:23 +01:00
Christian Wang
234d650748 Added odin2-preset-firstrun.sh extension to set user accounts and also download helper script folder from github 2026-03-04 19:57:23 +01:00
Christian Wang
9298ab108a Added sm8550-6.13 patches and changed sm8550 config to support 6.13 as current and 6.12 as old 2026-03-04 19:57:23 +01:00
Gennro
516b12db8f Added folder for Odin2portal Linuxloader ABL to have the correct DTB 2026-03-04 19:57:23 +01:00