Commit Graph

17022 Commits

Author SHA1 Message Date
Igor Velkov
ecd55f4ba5 atf: rk3399: fix PL330 DMA controller initialization
Mainline TF-A doesn't initialize SGRF_SOC_CON8-CON15 which control
DMAC0 and DMAC1 configuration. Without this, the PL330 DMA controllers
cannot be accessed from Linux and PERIPH_ID reads as 0x0.

The fix configures SGRF registers to set DMAC manager threads to
running state and non-secure mode, then pulses DMAC reset to apply
the new configuration.

Based on community reverse-engineering:
- https://lists.denx.de/pipermail/u-boot/2023-April/514267.html
- https://gist.github.com/CrystalGamma/a68333fa4c9fda7eb6c09d30ad4937fe

Tested on Helios64 (RK3399).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 11:36:06 +01:00
Igor Pecovnik
95c6eed29a sm8550: enable EDGE kernel option on Odin2 2026-01-25 11:35:47 +01:00
Alex Ling
602129c7b6 sm8550: Added edge branch with kernel 6.18.y
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-25 11:35:47 +01:00
Alex Ling
b9b5fb8b0c sm8550: Add patches for 6.18
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-25 11:35:47 +01:00
Igor Pecovnik
6b1f235243 Rockchip EDGE: drop upstreamed patches 2026-01-25 11:33:23 +01:00
okrc
8de93dbda3 Delete patch/u-boot/v2026.01/board_nanopi-r5c/nanopi-r5c_kaslrseed.patch 2026-01-25 11:33:12 +01:00
okrc
dede3f2a50 NanoPi R5C: Update to v2026.01; enable BTRFS support
Signed-off-by: okrc <okrc@hexo.dev>
2026-01-25 11:33:12 +01:00
Igor Pecovnik
3993783628 Rockchip 6.18.y: drop upstreamed patches 2026-01-23 12:00:06 +01:00
Ricardo Pardini
4392af1ae9 orangepi5-plus: u-boot: restore vendor uboot with blobs
- mainline AT-F only for non-vendor BRANCH
- vendor branch uses vendor u-boot with rkbin blobs
- sorry for the confusion; I overlooked the conditional here
- Fixes: f45765e510
2026-01-23 11:25:03 +01:00
Igor Pecovnik
97f91102c1 rootfs: enable loong64 in qemu binfmt registration
Add loong64 to the list of architectures prepared by prepare_host_binfmt_qemu_cross().
This allows automatic registration and use of qemu-user emulation for LoongArch64
guests, enabling rootfs bootstrap and CI workflows targeting loong64.

This aligns Armbian with Debian’s upcoming native loong64 support (Forky) and allows
testing already via debian-ports and qemu-system-loongarch64.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-22 14:32:05 +01:00
igorpecovnik
539a239462 Automatic board configs status synchronise 2026-01-22 14:31:48 +01:00
Jianfeng Liu
e159691349 extension: grub: deploy qemu binary when doing cross build 2026-01-22 13:19:24 +01:00
Ricardo Pardini
f45765e510 orangepi5-plus: u-boot: use mainline ATF; bump to v2026.01; drop funky CE config options
- also drop BOOT_SUPPORT_SPI & BOOT_SPI_RKSPI_LOADER as those are for vendor u-boot, not used here
2026-01-22 13:19:06 +01:00
Igor Velkov
e9885c71af Fix "modpost not foud" error since error in rust coreutils uutils/coreutils#8924 2026-01-22 12:25:08 +01:00
schwar3kat
2cd63afadf
radxa-e54c: board config: replace hacky Wayland fix (#9281)
enable_extension "wayland-sessions-mask" instead
2026-01-22 22:10:34 +13:00
schwar3kat
968464532c Add board-level extension to mask Wayland desktop sessions 2026-01-21 19:25:26 +01:00
Alex Ling
7e0cd3bf40 rockchip64: station-m3: Enable USB type-C port
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-21 01:40:34 +01:00
Igor Velkov
ccfe604902 memoize: add user feedback and configurable timeout for flock
When the memoize cache lock is held by another process (e.g., a stale
Docker container from a previous interrupted build), the build would
hang indefinitely without any feedback to the user.

This change:
- First tries non-blocking flock, acquiring immediately if available
- If lock is busy, informs user and waits with periodic status messages
- Adds MEMOIZE_FLOCK_WAIT_INTERVAL (default 10s) for message frequency
- Adds MEMOIZE_FLOCK_MAX_WAIT (default 0=infinite) for optional timeout
- Allows user to interrupt with Ctrl+C
- Suggests checking for stale containers: docker ps -a | grep armbian

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:40:21 +01:00
Ricardo Pardini
3b25162398 change-tracking: also track UBOOT_COMPILER & KERNEL_COMPILER 2026-01-21 01:39:50 +01:00
Ricardo Pardini
304457c993 config: arch: amd64: fix building kernel amd64 target with on arm64 host
- oops, this was pretty hard to find
- Fixes: dde721c3ea
2026-01-21 01:39:50 +01:00
Ricardo Pardini
dee80ba959 radxa-zero2/khadas-vim3l: u-boot: disable LWIP
- LWIP has issues with TFTP (serverip/tftpserverip) on v2026.01
- Kwiboo is already sending fixes, few separate series; check v2026.04 one day
- for now just disable the 2 boards I had enabled it for and use the legacy network stack again
- Fixes: 332e43bc8c
- Fixes: d88d32b248
2026-01-21 01:39:38 +01:00
Igor Velkov
40e8c03730 Framework: Add "Repeat Build Options" string at the end in case of error or break 2026-01-21 01:39:23 +01:00
EvilOlaf
45f96e7bf6 uefi-x86: rewrite against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
1f09c649ec uefi-arm64: rewrite against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
b78b28a47f meson64: rewrite patches against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
58a7ec95cb rockchip64: rewrite patches against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
ac46a2b965 mainline: bump to 6.19-rc6 2026-01-21 01:39:09 +01:00
Ricardo Pardini
c4b7488fa6 odroidhc4: u-boot: add regulator-boot-on also for u-boot
- Same as https://lore.kernel.org/linux-amlogic/20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me/ but for u-boot
- u-boot ARCH_MESON uses OF_UPSTREAM; post-v2026.01 u-boot might eventually get this via dt-rebasing, but it might take a while
- All credit to Eric for the find and fix
2026-01-20 10:12:17 +03:00
Ricardo Pardini
ee69f53cb9 meson64-6.18: board-odroid-sm1-regulators-boot-on.patch from 6.19 2026-01-20 10:12:17 +03:00
EAN
e1618f9a8d meson64-6.19: odroid-sm1: regulator-boot-on patch: update from lore & rewrite
- Eric submitted upstream, thanks!
- Neil RB'ed it
- `b4 am -o- --add-link --check-newer-revisions  "https://lore.kernel.org/all/20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me/" > patch/kernel/archive/meson64-6.19/board-odroid-sm1-regulators-boot-on.patch`
  - Armbian's patching.py chokes on b4's "cover-below-the-fold" style, small manual fix needed before rewrite
2026-01-20 10:12:17 +03:00
EAN
243f5f2bfb meson64-6.19: Add regulator-boot-on to meson-sm1-odroid and -hc4 to fix power cycle during boot
Fix power cycle glitch to SD, USB, HDMI, and especially SATA during
 boot handoff from U-Boot to kernel (causing HDDs emergency head retract, etc.)
2026-01-20 10:12:17 +03:00
dependabot[bot]
00b6e17abf build(deps): bump yamllint from 1.37.1 to 1.38.0
Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/adrienverge/yamllint/releases)
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.37.1...v1.38.0)

---
updated-dependencies:
- dependency-name: yamllint
  dependency-version: 1.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-20 00:11:28 +01:00
Igor Pecovnik
6ae81d5ea2 arm64: enable AMD DC display controller for RDNA2 GPU support
Enable CONFIG_DRM_AMD_DC, CONFIG_DRM_AMD_DC_DCN, and
CONFIG_DRM_AMD_DC_DSC_SUPPORT for all arm64 UEFI kernel configs.

This enables proper display support for modern AMD GPUs including
Radeon RX 6000 series (RDNA2 architecture) such as the Radeon 6400.

The Display Controller (DC) is required for display output on modern
AMD GPUs, while DCN (Display Core Next) provides support for newer
architectures. DSC (Display Stream Compression) enables better
bandwidth utilization for high-resolution displays.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-19 19:38:01 +01:00
Werner
62458070f9
rpi4b: fix build and boot issues (#9267)
* rpi4b: rename kernel configs

* rewrite kernel configs
2026-01-18 12:42:30 +01:00
EvilOlaf
339bbeeb1f meson64: rewrite current patches 2026-01-18 11:44:17 +01:00
EvilOlaf
007754793f meson64: remove upstreamed patched 2026-01-18 11:44:17 +01:00
igorpecovnik
5ccee8c9d5 Automatic board configs status synchronise 2026-01-16 15:59:05 +01:00
Igor Pecovnik
7a58d69b7d ci: organize GitHub Actions into meaningful categories
Reorganize workflow files and names into 3 main categories:
- Data: Data collection and synchronization workflows
- Infrastructure: Infrastructure tasks (mirroring, forking)
- Maintenance: All PR checks, labels, notifications, and maintenance tasks

All workflows now have capitalized category prefixes for consistency.

Also update internal workflow references to reflect new names.
2026-01-16 15:55:01 +01:00
Ricardo Pardini
160688703e meson64-6.19: radxa-zero2: fusb302 (minimal by me + full impl by Neil/Christian)
- I submitted the basic enablement, got feedback on ML, reworked it to the minimal, valid, description
- Picked and rebased Neil/Christian's original full implementation from 2024 on top of it
  - See https://gitlab.com/superna9999/linux/-/tree/topic/amlogic/radxa-zero2/fusb302
  - This includes a driver for the CH482D chip (under `CONFIG_TYPEC_MUX_GPIO_SWITCH`, enabled here)
  - Quick search revealed two CH482D's are also present `rockchip/rk3566-radxa-cm3-io.dts` but thus far undescribed
    - see https://dl.radxa.com/cm3/io_board/radxa_cm3_io_board_v1.32_schematic.pdf pages 7 and 13
    - maybe we can work with them to help test driver and bindings?
- See https://lore.kernel.org/linux-amlogic/20260114-arm64-dts-amlogic-radxa-zero2-additions-v1-0-8b5cdf328fde@pardini.net/
- See https://lore.kernel.org/linux-amlogic/20260115-arm64-dts-amlogic-radxa-zero2-additions-v2-1-948bb0479a45@pardini.net/
2026-01-16 14:51:39 +01:00
Ricardo Pardini
332e43bc8c radxa-zero2: u-boot: bump to v2026.01; make fancy 2026-01-16 14:51:39 +01:00
Patrick Yavitz
3c845c46a9 BananaPi CM4/M2S: Update $board.conf to u-boot-v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-16 08:12:04 -05:00
Patrick Yavitz
2ca6da15e4 BananaPi CM4/M2S: Update u-boot to v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-16 08:12:04 -05:00
Igor Velkov
0a52e654ad Disable APA for sid too
(https://github.com/armbian/build/pull/9164#issuecomment-3756552792)
2026-01-16 08:10:03 -05:00
Igor Velkov
976b7ae524 Revert "lib / main-config.sh: enable APA extension for questing and resolute builds. Closes: #8966"
This reverts commit ca73176bd9.
2026-01-16 08:10:03 -05:00
Igor Velkov
614738ccda create generic config/dir for ubuntu questing to allow boot questing images 2026-01-16 08:10:03 -05:00
Igor Velkov
2ba07662b7 enable ubuntu Resolute image config dirs as copy of Noble 2026-01-16 08:10:03 -05:00
Igor Velkov
3066ea9652 rockchip64: Helios64: fix Type-C PD negotiation
Remove usb-role-switch property from fusb302 node and replace with
extcon property. The usb-role-switch property breaks PD negotiation
and DP alt mode on kernel 6.18+.

Fix based on PR #9245 (Pinebook Pro) by amazingfate.

Apply Helios64: fix Type-C PHY registration #9158 to 6.19.
2026-01-16 09:25:33 +01:00
Ricardo Pardini
d88d32b248 khadas-vim3l: u-boot: update v2026.01 u-boot fanciness
- use LWIP for networking
- enable some USB network drivers
- drop (now-default) kaslrseed as it was redundant
- add gpio expander support (for "red" LED)
- flash leds once on preboot (incl red one)
2026-01-16 08:15:10 +01:00
Ricardo Pardini
c90b6e31d8 rockchip64_common: emit log at the start of prepare_boot_configuration()
- different families/boards call this method at different times, this
  helps debug/understand what is going on and when
2026-01-16 08:13:01 +01:00
Ricardo Pardini
1b5bf375b1 config: arch: simplify code; always set ATF_COMPILER if unset
- if we get to arch code without an ATF_COMPILER, default it, no matter
  what the value of ATF_COMPILE is (yes/no/?)
2026-01-16 08:13:01 +01:00