Commit Graph

17376 Commits

Author SHA1 Message Date
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
FantasyGmm
e2c817abd3 Added ayn-odin2-grub.csc, ayn-odin2-portal-grub.csc, modified Mesa PPA dependency on existing ayn-odin2.csc
Co-authored-by: Squishy123 <christian.gnaw@gmail.com>
2026-03-04 19:57:23 +01:00
EvilOlaf
70ec868367 rockchip64: remove patches upstreamed with 6.18.16 2026-03-04 18:59:36 +01:00
EvilOlaf
9ba4563ad9 rockchip64: remove patches upstreamed in 6.19.6 2026-03-04 18:59:36 +01:00
EvilOlaf
5f24a55eb8 rockchip64: fix broken patch for 6.19.6 2026-03-04 18:59:36 +01:00
TheSnowfield
89fc605d55
Fix: SakuraPi RK3308B WLAN broken (#9478)
* SakuraPi RK3308B: Move to official support

* Sakura Pi RK3308B: Use mainline dts instead

* Sakura Pi RK3308B: Fix brcm wlan broken due to sdio freq was set too high

* Sakura Pi RK3308B: Fix vop panel outpout and spidev
2026-03-04 21:12:42 +08:00
Werner
c146cc7680 bump 7.0 to rc2 2026-03-04 13:39:52 +01:00
EvilOlaf
76c67329a4 meson64: rewrite kernel config to 7.0 2026-03-04 05:28:00 +01:00
EvilOlaf
7d81bf9ac0 meson64: rewrite patches against 7.0-rc1 2026-03-04 05:28:00 +01:00
EvilOlaf
60475536b8 meson64: disable broken wifi driver
just like with rockchip64-7.0
2026-03-04 05:28:00 +01:00
EvilOlaf
a8a9e28950 meson64: fix patch causing build failure 2026-03-04 05:28:00 +01:00
EvilOlaf
74d0bf7f5d meson64: adjust patch to work with 7.0 2026-03-04 05:28:00 +01:00
EvilOlaf
1c6b281af4 meson64: remove two upstreamed patches 2026-03-04 05:28:00 +01:00
EvilOlaf
af43ef0c5c meson64: bump edge to 7.0 2026-03-04 05:28:00 +01:00
EvilOlaf
07903fa62f meson64: move patchset to 7.0 2026-03-04 05:28:00 +01:00
kskshaf
ca016e89b7 rockchip-rk3566-spi3-m0-cs0-spidev: fix spidev driver binding
* Use "armbian,spi-dev" compatible string instead of "rockchip,spidev"
as it is already registered in the spidev driver's OF match-table,
ensuring the driver binds correctly at runtime.
2026-03-04 05:27:21 +01:00
kskshaf
ff481f855e OrangePi 3B: Add device tree overlay files for OrangePi 3B
* Including support for I2C, PWM, SPI, and UART devices.
* Since UART2 is reserved by default for serial console debugging, the uart2-m0 overlay is not added.
* See more overlays: [orangepi-xunlong/linux-orangepi](https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.10-rk35xx/arch/arm64/boot/dts/rockchip/overlay)
2026-03-04 05:27:21 +01:00
igorpecovnik
f5228551a0 Automatic board configs status synchronise 2026-03-04 05:24:57 +01:00
dependabot[bot]
22aba89677 build(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 05:21:42 +01:00
dependabot[bot]
c1721bf017 build(deps): bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 05:21:14 +01:00
dependabot[bot]
8e4a313b1b build(deps): bump crazy-max/ghaction-import-gpg from 6 to 7
Bumps [crazy-max/ghaction-import-gpg](https://github.com/crazy-max/ghaction-import-gpg) from 6 to 7.
- [Release notes](https://github.com/crazy-max/ghaction-import-gpg/releases)
- [Commits](https://github.com/crazy-max/ghaction-import-gpg/compare/v6...v7)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-import-gpg
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 05:20:37 +01:00
dependabot[bot]
369109c407 build(deps): bump crazy-max/ghaction-github-labeler from 5 to 6
Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 5 to 6.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Commits](https://github.com/crazy-max/ghaction-github-labeler/compare/v5...v6)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 05:03:31 +01:00
Shlomi Marco
495d1ba388 rockchip64: nanopi-zero2: fix patch authorship and add 6.19 PCIe patch
- Replace generic Armbian authorship with proper From/Signed-off-by
- Add PCIe enablement patch for 6.19 (edge) kernel
2026-03-02 17:03:00 +01:00
Shlomi Marco
1a18887cb5 rockchip64-6.19: nanopi-zero2: enable PCIe for M.2 WiFi slot
Copy the PCIe enablement patch to the 6.19 (edge) kernel archive so
M.2 WiFi works on both current and edge branches.
2026-03-02 17:03:00 +01:00
Shlomi Marco
8babf18aac rockchip64-6.18: nanopi-zero2: enable PCIe for M.2 WiFi slot
Enable the PCIe Gen2x1 controller and combo PHY on the NanoPi Zero2
to support the M.2 Key-E 2230 slot used for WiFi/BT cards (e.g. Intel
AX210).

The reset GPIO (gpio1 RK_PA2) and pinctrl (pciem1_pins) match the
vendor kernel device tree.

Note: Intel AX210 requires iwlwifi firmware >= v89
(iwlwifi-ty-a0-gf-a0-89.ucode) which may not be included in minimal
images. Install linux-firmware or armbian-firmware-full if needed.
Firmware available at:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/

Tested on hardware with Intel AX210 on kernel 6.18 (current branch).
2026-03-02 17:03:00 +01:00
Shlomi Marco
7fb01ef6f6 nanopi-zero2: enable current and edge kernel support
Enable mainline kernel (current/edge) for the NanoPi Zero2 (RK3528):

- Add current,edge to KERNEL_TARGET
- Override BOOT_FDT_FILE to rk3528-nanopi-zero2.dtb for mainline branches
  (vendor kernel uses rk3528-nanopi-rev01.dtb)
- Set SERIALCON=ttyS0 and patch boot script for mainline, as RK3528 debug
  UART is UART0 (ttyS0), not UART2 (ttyS2) like other RK35xx SoCs

Tested on hardware with kernel 6.18 (current branch).
2026-03-02 17:03:00 +01:00
Patrick Yavitz
8b23c940e8 OrangePi RV2: Fixup SDIO case BRANCH target.
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Patrick Yavitz
7ff007c24f OrangePi R2S/RV2: Change KERNEL_TARGET to legacy and current
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Patrick Yavitz
15174efc6d SpacemiT: Add linux-7.0.y patch set
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Patrick Yavitz
56a90c4256 SpacemiT: Add new edge "mainline" defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Patrick Yavitz
c77277124d SpacemiT: Add legacy to KERNEL_TARGET var
BananaPi BPI-F3
SpacemiT MusePi Pro

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Patrick Yavitz
5d9b81cf18 SpacemiT: Update branch options "edge will now pull mainline."
Legacy, 6.6.y.
Current, 6.18.y.
Edge, 7.0.y.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Igor Pecovnik
f15c115b1e meson: freeze current kernel at 6.12.28 and fix HDMI PHY frequency limit
- Freeze KERNELBRANCH at v6.12.28 for current branch
- Fix max_hdmi_phy_freq value from 1650000000 to 1650000 Hz

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-02 17:01:34 +01:00
EvilOlaf
2653bd6f5b orangepi5: rewrite uboot patches against v2026.04-rc3 2026-03-02 16:15:15 +01:00
Nikita Maslo
9c10f33525 unset QEMU_CPU for aml_image_packer 2026-03-02 13:12:07 +03:00
Igor Pecovnik
2c1fe4b20e rock-5b-plus: add current kernel to build targets 2026-03-02 09:45:27 +01:00
Igor Pecovnik
bf95e791b7 rock-5t: add current kernel to build targets 2026-03-02 08:55:15 +01:00
EvilOlaf
b212a70592 rewrite kernel config
for the sake of completeness
2026-03-02 05:38:17 +01:00
EvilOlaf
6868e1c971 orangepi5: fix slow boot on current kernel
https://paste.armbian.com/uhomuwajos (didn't have a 'before' log for 6.18.y handy but the issue is the same).
https://paste.armbian.com/ocarimopey after the change. Interestingly this seem to be an issue for quite a while since the change was introduced in Jan 2024: https://github.com/armbian/build/pull/6202
2026-03-02 05:38:17 +01:00
Mecid
efb4c684c6 Rename linux-genio-collabora.config to linux-genio-edge.config 2026-03-01 10:16:16 +01:00
Mecid Urganci
210e40b404 Genio: Rename collabora branch to edge for alignment 2026-03-01 10:16:16 +01:00
Igor
7972ddbc4c
Fix kernel 6.18/6.19 patch compilation and cleanup upstreamed patches (#9447)
* uefi-arm64-6.18: fix stmmac Phytium driver compilation

Remove obsolete 'has_gmac' member assignment from struct plat_stmmacenet_data.
The field was removed in newer kernels as MAC version detection is now
handled automatically from hardware registers.

Fixes compilation error:
  error: 'struct plat_stmmacenet_data' has no member named 'has_gmac'

* meson64-6.19: drop upstreamed odroid regulator boot-on patch

The Odroid HC4 regulator-boot-on fix has been upstreamed in kernel 6.19.

Original patch:
  Fixes: 164147f094ec ("arm64: dts: meson-sm1-odroid-hc4: add regulators")
  Fixes: 45d736ab17b4 ("arm64: dts: meson-sm1-odroid: add 5v regulator gpio")
  Fixes: 1f80a5cf74a6 ("arm64: dts: meson-sm1-odroid: add missing enable gpio")
  Fixes: 88d537bc92ca ("arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi")

* meson64-6.18: update meson-axg mmc phase configuration

Add amlogic,mmc-phase properties to sd_emmc_b and sd_emmc_c nodes
for proper MMC timing configuration on Amlogic AXG SoCs.

* Disable Pythium onboard nic driver
2026-03-01 01:19:43 +01:00
Igor Velkov
1b74748622
Extension: ccache-remote — shared compilation cache via Redis/HTTP (#9369)
* add hook to allow customizing before kernel make env creation
* Hook runs in docker_cli_prepare_launch() just before DOCKER_EXTRA_ARGS
is processed, allowing extensions to add Docker arguments with a more
descriptive hook name than add_host_dependencies.
* Extension: ccache-remote

Enables ccache with remote Redis storage for sharing compilation cache across build hosts.

Features:
- Auto-discovery via Avahi/mDNS (ccache.local hostname)
- Explicit Redis server configuration via CCACHE_REMOTE_STORAGE
- Build statistics display at end of build (hit/miss/error rates)
- Support for both Docker and native builds
- Hooks for kernel and u-boot compilation environments

Documentation includes server setup instructions with security warnings,
client mDNS configuration, and cache sharing requirements.


* uboot: fix ccache environment and add extension hook

U-Boot build uses `env -i` which clears all environment variables.
CCACHE_DIR and CCACHE_TEMPDIR were not explicitly passed to make,
unlike kernel build (kernel-make.sh). This caused ccache to use
default directory instead of configured Armbian one, breaking
cache statistics and shared cache functionality.

Changes:
- Add CCACHE_DIR and CCACHE_TEMPDIR to uboot_make_envs
- Add uboot_make_config hook for extensions (similar to kernel_make_config),
  allowing modification of environment variables before compilation

* add long list of allowed ccache-related env vars
* set permissions to ccache files RW for everyone if cache not private
* ccache: add ccache_post_compilation hook for extensions
* ccache-remote: use ccache_post_compilation hook instead of cleanup handler

Show remote ccache stats after each compilation (kernel, uboot) via hook,
instead of once at the end via cleanup handler. Stats now shown even on
build failure.

* ccache: show stats with safe arithmetic
* ccache/uboot: improve code comments per review feedback

- uboot.sh: clarify ARMBIAN=foe workaround for dual-compiler scenario
- ccache-remote.sh: document that CCACHE_REDIS_CONNECT_TIMEOUT must be
  set before extension loads

* ccache-remote: mask storage URLs in logs

Mask CCACHE_REMOTE_STORAGE when emitting Docker env debug logs.

* ccache-remote: extract ccache_inject_envs() helper to deduplicate passthrough loops

Extract ccache_inject_envs() helper to deduplicate identical passthrough
loops in kernel and uboot make config hooks.

ccache-remote: rename functions to follow project naming conventions

Rename get_redis_stats and mask_storage_url to ccache_get_redis_stats
and ccache_mask_storage_url to follow project naming conventions.

ccache-remote: mask credentials in debug log output for passthrough loops

Mask CCACHE_REMOTE_STORAGE value through ccache_mask_storage_url() before
logging in both Docker env and make env passthrough loops to avoid leaking
credentials into build logs.

* ccache-remote: add HTTP/WebDAV backend and DNS discovery
* ccache-remote: move extension script into directory layout
* ccache-remote: add server setup docs and config files
* ccache-remote: validate Redis credentials in URLs
* ccache-remote: document Redis auth options and safe passwords

Add separate insecure config example for trusted networks.

Recommend URL-safe hex passwords and update setup docs.

* ccache-remote: improve Docker loopback handling and IPv6 host parsing
2026-03-01 01:18:35 +01:00
Mecid Urganci
3f22500237 qcs6490: Use 6.18.2 from radxa 2026-03-01 01:16:55 +01:00
Igor Velkov
986f77495b drop deprecated KERNEL_UPGRADE_FREEZE feature
Was only used once (orangepi5pro.csc) and has been deprecated.
Remove the implementation, the board config, and the README entry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 01:15:10 +01:00
Igor Velkov
ac9d08cc97 (#9400 P3c) armbian-bsp-cli-deb: safe array assignment from word splitting
Replace unquoted array assignment `arr=(${var})` with
`IFS=' ' read -ra arr <<< "${var}"` to prevent glob expansion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 01:15:10 +01:00
Igor Velkov
cb3bedf527 (#9400 P3b) patching: add missing -r flag to read
Other read calls in the same file already use -r.
Without -r, backslashes in user input are interpreted as escape characters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 01:15:10 +01:00