Commit graph

20821 commits

Author SHA1 Message Date
Igor Velkov
2604999cff spacemit: overlays: use the &label form
Some checks are pending
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
Rewrite the 13 overlays of spacemit-6.6 and of spacemit-6.18 from
fragment@N { target = <&x>; __overlay__ { ... }; }; to &x { ... };
as in mainline.

Each .dtbo is unchanged: cpp + dtc -@, decompiled with -s, compares
equal before and after. kernel-dtb for bananapif3, legacy and current:
all 44 .dtb, .dtbo and .scr files are byte-identical to the build
before the rename.
2026-11-26 23:10:21 +02:00
Igor Velkov
9f4b813b5a spacemit: overlays: rename .dts to .dtso
Rename the 13 overlays of spacemit-6.6 and of spacemit-6.18 from .dts
to .dtso, the kernel's extension for overlay sources. kbuild then
builds them with its own %.dtbo: %.dtso rule (DTC) instead of the
dtco rule that Armbian's overlay patch adds for %.dts. Content is
unchanged.
2026-11-26 23:10:21 +02:00
igorpecovnik
4a09b693b3 Automatic board configs status synchronise 2026-11-26 22:52:21 +02:00
renovate[bot]
4177e637f0 Update dependency oras-project/oras to v1.4.0 2026-11-26 21:55:43 +02:00
renovate[bot]
a10b2e8681
renovate: migrate the config and keep its comments (#11570)
Renovate moved the Dependency Dashboard options into an object:
dependencyDashboard: true becomes { enabled: true }.

Its config migration rewrites renovate.json5 with JSON5.stringify,
which drops every comment. The file now uses that layout with the
comments kept: without the comment lines it is byte-identical to the
migrated config, so a future migration PR shows only the comments it
would drop.

Two comment fixes: the depName note drops the fork-sync remark, and
rule 6 allows the trailing "/" that lib/tools/shellfmt.sh uses.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Velkov <325961+iav@users.noreply.github.com>
2026-11-26 21:54:56 +02:00
jbuck2005
31fd6253ee cix-7.3: drop 4018, the regulator guard is now in 0033 (e1c1c72)
Some checks are pending
Data: Sync board list / Send dispatch (push) Waiting to run
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
Signed-off-by: jbuck2005 <59450931+jbuck2005@users.noreply.github.com>
2026-11-26 15:15:45 +01:00
jbuck2005
c3cf6f68f0 cix-7.3: 4016: per-line AER storm guard, stop the lines before cancelling the re-arm work
Review on #11552: one shared counter let a second storming line slip past the cut-off, and the re-arm work could be queued again after it was cancelled on suspend/remove.

Signed-off-by: jbuck2005 <59450931+jbuck2005@users.noreply.github.com>
2026-11-26 15:15:45 +01:00
jbuck2005
95b5f329d7 cix-7.3: fix NVMe on 7.3.6, PCIe AER storms and the big.LITTLE wakeup scan
- 4018: 7.3.6 made reg-fixed-voltage reject every ACPI (PRP0001) fixed regulator, so on an Orange Pi 6 the NVMe slot's power switch never binds and the root file system on NVMe is not found.
- 4016: ack the LTSSM-transition indication on the AER lines and guard against spurious AER interrupt storms.
- 4017: scan the whole asym capacity domain on wakeup (7.2+ SIS_UTIL regression, 12-19% slower multi-threaded work); stop-gap until mainline fixes it.

Signed-off-by: jbuck2005 <59450931+jbuck2005@users.noreply.github.com>
2026-11-26 15:15:45 +01:00
Igor
5848d062c1
image/loop: replace stale partition nodes in the container (#11503)
* image/loop: replace stale partition nodes in the container

A stale /dev/loopNpM node in the container can point to a partition
of another image, because the kernel reuses partition minors. A
parallel build then formats and writes the other image.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* image/loop: check only loop partition nodes

Mapped devices (LVM, LUKS) are not on the host. Keep them.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* image/loop: fail the check when a stale node stays

Signed-off-by: Igor Pecovnik <igor@armbian.com>

---------

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-11-26 11:53:33 +01:00
Igor Velkov
3c728ededd u-boot: gitee mirror moved to trusted-list
gitee.com/mirrors/u-boot.git now asks for credentials; the U-Boot
mirror is at gitee.com/trusted-list/u-boot.git. UBOOT_MIRROR=gitee is
the default for REGIONAL_MIRROR=china.
2026-11-26 11:53:12 +01:00
Igor Velkov
a4c48c4e62 meson64: odroid-n2-spi overlay: read the SPI NOR with FAST_READ
Without m25p,fast-read, spi-nor reads the flash with READ (03h). The
MX25U6435F datasheet (Rev. 1.5, Table 16) rates READ at 50 MHz and
FAST_READ at 104 MHz; the N2 DT sets 104 MHz, and spifc on an N2+
runs at clk81 (222 MHz) / 2, about 111 MHz.

On an N2+ with READ, bit 7 of the first byte of a read was wrong in
36 of 50 4 KiB blocks, and flashcp failed on every run. With this
overlay: 0 of 200 blocks, and three flashcp runs of 1 MiB with eMMC
reads running passed. XTX flashes were not tested.
2026-11-26 11:52:50 +01:00
Igor Velkov
c869c65124 odroidn2: point the SPI NOR instructions at the odroid-n2-spi overlay
The comment named a -spi.dtb that the build does not produce and kept a
TODO for an overlay that already exists. Use overlays=odroid-n2-spi and
armbian-install instead.
2026-11-26 11:52:50 +01:00
Igor Velkov
402fd60182 odroidn2: set QE in the SPI NOR before writing it
While QE is 0, pin 7 of the flash is RESET# (MX25U6435F) or HOLD#
(XTX), and on the N2/N2+ it shares eMMC D3. With the eMMC in 4-bit
mode, eMMC reads disturb the flash: on an N2+ with QE=0 and eMMC reads
running, spi-nor read the JEDEC id as ff and failed to probe.

QE=1 turns that pin function off and is non-volatile. Set it over
spidev before flashcp, using perl from perl-base.

Tested on an N2+ (MX25U6435F): with eMMC reads running, the function
set QE from 0 and spi-nor probed again; the boot ROM still boots from
the SPI NOR with QE=1. XTX flashes were not tested.
2026-11-26 11:52:50 +01:00
Igor Velkov
25848af736 odroidn2: u-boot: enable the SPI NOR flash
The N2/N2+ U-Boot has no SPI support, so the SPI NOR can only be
written from Linux, where the eMMC shares its pins. Enable spifc and
SF; the flash is touched only by an explicit "sf probe".

To update it: load the image from any device, then sf probe,
sf update and reset; do not access the eMMC after sf probe.
2026-11-26 11:52:50 +01:00
Ivan Podogov
e1c1c72d3d cix-7.3: let ACPI fixed regulators probe on 7.3.6
Stable commit 8eb49d677 rejects platform devices without an OF node.
This also rejects the ACPI PCIe slot regulators. Three PCIe
controllers then defer forever, so Ethernet and Wi-Fi are missing.
Accept devices with an ACPI companion in the 0033 patch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 11:47:48 +01:00
SuperKali
d647fa44fb kernel/sc8280xp: drop the Q8B Iris IOVA reservation on edge
v7.3.6 brought the stable fix that makes the iris driver reserve the
low 600 MB of IOVA itself. The Q8B DTS still reserved the same range
through iommu-addresses, so the driver could not get it and the probe
failed with -ENOMEM. Leave the reservation to the driver.

Signed-off-by: SuperKali <hello@superkali.me>
2026-11-26 11:10:10 +01:00
Igor Velkov
ef47b4b4fe meson64-6.12: drop the ODROID-HC4 SPI NOR patches now in 6.12.119
Some checks are pending
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
Both changes are in v6.12.119: afaddf7e668d (HOLD# and WP# pins) and
d59af34b1925 (40 MHz). The copies no longer apply on top of it.
2026-11-26 02:04:51 +02:00
Igor Velkov
2600c63e43 meson64: 6.18, 7.3: drop the meson-gx busy timeout patch now in stable
7.3.7 and 6.18.66 bring the upstream version of this patch, split in
three (mmc: meson-gx: name the limit of the CMD_CFG timeout field,
honour the busy timeout for R1b commands, report the longest busy wait
the controller can do), and with it mmc: meson-gx: report busy from
DAT0 alone. The copy fails to apply on 7.3.7-rc1 and 6.18.66-rc1.
2026-11-26 02:03:37 +02:00
Igor Velkov
f5f6745ae9 meson64: overlays: use the &label form instead of fragment@N
Rewrite the overlays of meson64-6.18, 7.3 and 7.4 from
fragment@N { target = <&x>; __overlay__ { ... }; }; to &x { ... };
and target-path = "/p" to &{/p}, as in mainline.

Each .dtbo is unchanged: cpp + dtc -@, decompiled with -s, compares
equal before and after for all 33 overlays of each version; dtc prints
the same warnings.

Left as they are: meson-g12-pwm-gpiox-5-fan and
meson-g12b-bananapi-cm4-pwm-gpioh-5-fan (polling-delay sits in the
fragment, outside __overlay__), and in 6.18 meson-i2cA, i2cB, uartA,
uartC (no /plugin/).
2026-11-26 02:00:14 +02:00
igorpecovnik
4b74b48e27 Automatic board configs status synchronise
Some checks are pending
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
2026-11-25 20:37:02 +02:00
Igor Pecovnik
0bf4c8e966 rootfs: bump the cache version to 014
Force a rebuild of all rootfs caches.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-11-25 16:14:58 +01:00
Tomaz Zaman
545459be50 gateway-dk-ask: clear the upgrade restart marker on removal
Some checks are pending
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Data: Sync board list / Send dispatch (push) Waiting to run
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
prerm leaves /run/gateway-dk-ask.restart for postinst to start the
service again after an upgrade. If the upgrade fails between the two and
the package is then removed, the marker stays, and a fresh install later
in the same boot would start the service instead of only enabling it.
Clear it in postrm on remove and purge; an upgrade still keeps it.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
db833ec11e gateway-dk-ask: keep admin module entries and restart the service on upgrade
- Upgrading from the pre-flowtable package removed the old
  /etc/modules-load.d/ask-modules.conf outright, losing any entry an
  administrator had added. Drop only the obsolete fci and auto_bridge
  lines, and remove the file only when nothing but the stock list is
  left, which ask.conf now loads.
- prerm stops ask-flowtable on every upgrade, but postinst only enabled
  it for the next boot, so an upgrade left hardware offload off. prerm
  now records that the service was running and postinst starts it
  again. Nothing is started on a fresh install or in the image build.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
fd31efe36f gateway-dk-ask: match the SDK dtsi by full path
The check that every file in ASK's SDK copy is installed accepted a
dtsi by basename alone, so a same-named file in another directory
passed it and was then left out of the overlay without notice. Compare
against the exact freescale/<name> path the overlay copies from.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
52f65f3c11 gateway-dk-ask: depend on the installed linux-image version
gateway-dk-ask declared "linux-image (>= ${kernel_ver})", where
kernel_ver is the module directory name (6.12.118-current-ls1046a-ask).
The linux-image package is versioned in Armbian's own namespace
(26.x), so the constraint always held and required nothing.

Depend on the installed linux-image package version instead, still
with >=: the daemon needs the flowtable-capable modules of the kernel it
was built with or newer, but does not link them. The dpkg-query lookup
gateway-dk-wifi already used becomes one helper shared by both packages.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
385671a3c0 gateway-dk-ask: clean up after the pre-flowtable package on upgrade
A unit upgrading from the ASK 1.0.0 package by apt would keep two
leftovers:
- cmm.service stays enabled while the upgrade removes its unit file,
  leaving a dangling enablement link. Disable it in preinst, while the
  file still exists.
- /etc/modules-load.d/ask-modules.conf, which the image carried
  unowned, names fci and auto_bridge, which no longer exist, so
  systemd-modules-load fails on every boot. Remove it in postinst when
  it is that file; ask.conf replaces it.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
7ea09187e1 gateway-dk: take the mwifiex driver patches from ASK
ASK now carries the NXP mwifiex fixes for each kernel line next to its
Yocto recipe: the cfg80211 set_monitor_channel compat fix this tree
kept a copy of, plus fixes for skb ownership, ralist locking, A-MSDU
aggregation and scan teardown. Apply them in order from the pinned ASK
tree, failing if there are none for the kernel line, and drop the local
copy of the first one.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
992d4febc8 gateway-dk-ask: enable DPAA jumbo frames
Set FSL_FM_MAX_FRAME_SIZE=9600 and FSL_DPAA_ETH_JUMBO_FRAME=y, as ASK's
kernel config does. FMan then accepts 9.6K frames and DPAA sizes its Rx
buffers to hold one whole, so the offload paths that re-inject or
transform a frame (SEC, fragmenter, Wi-Fi) get it in one buffer.
JUMBO_FRAME requires the 9600-byte frame size; the default is 1522.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
b48e5e50d0 gateway-dk: drive the status LED as one multicolor device
The board device tree (from ASK 1.6.0) now describes the LP5812 status
LED as a single multicolor LED class device, status:rgbw, instead of
four single-colour LEDs. The boot indicator still wrote to
status:green/status:white, which no longer exist; under set -e its
final failed test made the unit fail on every boot.

Light the white channel through multi_intensity, picking its position
from multi_index rather than assuming the channel order.
2026-11-25 15:26:07 +01:00
Tomaz Zaman
fcc351b116 gateway-dk-ask: move to ASK 1.6.1 and kernel 6.12.118
ASK replaced its offload model after 1.0.0. The data plane is now an
nftables flowtable driven into CDX hardware, so the whole pre-flowtable
userspace is gone: fmlib, fmc, libfci, libcli, dpa-app, cmm, the patched
libnetfilter-conntrack/libnfnetlink, the QOSMARK/QOSCONNMARK xtables
extensions and the FMan PCD XMLs. The PCD is built in-kernel instead.

Kernel side:
- Pin ASK mono-1.6.1 and the mainline base it targets, v6.12.118.
- The NXP DPAA/FMan/QBMan SDK is ASK's own copy now (sdk/linux, NXP's
  drivers with ASK's fixes made in place), so it comes with the ASK pin
  and nothing is fetched from NXP. The overlay installs the path set
  ASK names and refuses an SDK copy holding a file outside it.
- The patch series lives per kernel line (patches/kernel/6.12); the
  extension refuses an ASK release whose RELEASED_LINES omits 6.12.
- cdx/ builds both cdx.ko and ask_flowtable.ko from CONFIG_ASK_CDX;
  the separate fci and auto_bridge modules are gone, and with them
  ask-kconfig-board-modules.patch (folded into the parent Kconfig).
- Enable NF_FLOW_TABLE_INET: the offload table is an inet flowtable.

Userspace is one libc-only daemon, ask-flowtable, shipped in
gateway-dk-ask with its config, module autoload list and systemd unit.
It depends on nftables and iproute2, which it runs.
2026-11-25 15:26:07 +01:00
Igor
9c7df8c000
firstlogin: keyboard presets, and work with the graphical wizard (#11350)
* firstlogin: keyboard presets, and wait for the graphical wizard

PRESET_KEYBOARD_LAYOUT and PRESET_KEYBOARD_VARIANT set
/etc/default/keyboard. While armbian-firstrun-gui runs on the screen,
a console or SSH login does not start a second setup.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* firstlogin: set the keyboard before the passwords, ask on the console

Apply the keyboard preset before the password prompts, so that the
console login uses the same layout. Without a preset, ask the layout on
a local virtual console when setupcon can apply it at once.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* firstlogin: keep the keyboard step after the locales with preset passwords

The graphical wizard shows its progress from the firstlogin output. Set
the keymap early only when a password is typed at the console.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* firstlogin: let another login take the setup over from the wizard

A login on SSH, a serial console or another text console can stop the
graphical wizard and continue the setup there, for example when no one
is at the screen. The firstlogin lock stops this while the wizard
applies its answers.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* firstlogin: review fixes for the wizard guard and the keyboard

- Without a terminal, the guard does not read input.
- A console that does not take the setup over logs out when the setup
  is complete, as armbian-firstlogin does. If the wizard stops without
  a result, the setup continues on that console.
- Report a setupcon failure. Refresh the udev input properties, so that
  X uses the new layout without a reboot.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

* firstlogin: stop the wizard when a setup starts on another console

A serial console can log in before the wizard starts and run the text
setup. When that setup takes the lock, stop the wizard, so that two
setups do not run. Not in the run of the wizard itself.

The guard ignores Ctrl-C while a console waits for the wizard, so that
no root shell stays open.

Signed-off-by: Igor Pecovnik <igor@armbian.com>

---------

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-11-25 13:10:16 +01:00
藍+85CD
14b6a71f7c
board: add OnePlus 10 Pro (SM8450) (#11475)
* board: add OnePlus 10 Pro (SM8450)

Add oneplus-negroni as a community board on edge.
The stock ABL boots a boot v4 image from boot_b and an ext4 root in userdata.
The kernel replaces the ABL device tree with its built-in mainline DTB.

Tested on NE2210 with ColorOS J.94 and Debian trixie minimal.

Assisted-by: Claude:claude-opus-5-5

* chore: update board name
2026-11-25 11:09:41 +01:00
Arun Iyengar
40d7bd3780 orangepizero2: ship U-Boot's default environment for fw_setenv
On a blank environment sector fw_printenv and fw_setenv (libubootenv)
stop with "Cannot read default environment from file". Generate
u-boot-initial-env in the U-Boot build and ship it in the U-Boot package
as /etc/u-boot-initial-env.

Assisted-by: Claude
Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
2026-11-25 10:49:35 +01:00
Arun Iyengar
7bca691314 orangepizero2: fw_env.config for the SPI NOR env, bootloader size guard
The U-Boot environment is in the SPI NOR at 0xf0000. Ship
/etc/fw_env.config for it in the BSP package (with libubootenv-tool), so
fw_printenv and fw_setenv work from Linux, and stop the U-Boot build if
u-boot-sunxi-with-spl.bin reaches past the environment offset.

Assisted-by: Claude
Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
2026-11-25 10:49:35 +01:00
Arun Iyengar
b2feb08fd9 u-boot: sunxi64: orangepizero2: keep the environment in the SPI NOR
On SD boots the environment is the upstream FAT default, but Armbian
images are one ext4 partition, so U-Boot only prints "Unable to use
mmc 0:1" and saveenv fails; U-Boot cannot write Armbian's ext4
(metadata_csum) either. Keep the environment in the SPI NOR at 0xf0000
for SD and SPI boots: FAT env off for the board, and a sunxi fallback to
the SPI flash env when neither FAT nor UBI is enabled (otherwise a
non-SPI boot finds no env location and hangs before the console is up).
Both patches are in board_orangepizero2/, so no other board's U-Boot
changes.

Assisted-by: Claude
Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
2026-11-25 10:49:35 +01:00
juanesf
9d86490dbf
Add DRAM validation and fixes for Cubie A5E and A523 (#11494)
* Add Cubie A5E DRAM validation and fixes

Validate A523 DRAM with a wide SPL test and retry the 1 GiB fallback.
Use exported 2 GiB TPR values first on the 2 GiB board.
Include memtester in Cubie A5E images.
Limit aic8800 DKMS builds to one job.
Number board patches to fix apply order.

* Reject all DRAM validation readback failures

Remove the final-site exception so any mismatch triggers fallback.

* Preserve original DRAM timings as second retry

Keep the previous primary TPR set available for boards that need it.

* Drop aic8800 DKMS job limit

Keep the extension unchanged.

* Update DRAM_SUNXI_TPR_ORIG_PARAMETERS dependency

Modify DRAM_SUNXI_TPR_ORIG_PARAMETERS dependency to include DRAM_SUNXI_TPR_ALT_PARAMETERS.

* Retry DRAM training failures with next TPR set

Return rank-width training failure instead of panicking.

* Add vendor boot0 DRAM timings as third retry

Board: Radxa Cubie A5E v1.2 with 2 GiB DRAM.

Source: vendor BOOT0 log from that board.

BOOT0 commit: 33d8db429a-dirty.

U-Boot 2018.07-17-boot-aw2501-gf7d519a3b8d-dirty.

dram_para[26]=0x3a000000, [27]=0x802f3333, [28]=0xc0c0bbbf, [29]=0x35352f31.
2026-11-25 10:41:57 +01:00
gahingwoo
fc2e8cfd4e lckfb-taishanpi-3m: edge: find the ES8388 UCM profile by card name
UCM looks up a simple-audio-card first as
conf.d/simple-card/<card long name>.conf, then as
conf.d/simple-card/simple-card.conf. The profile was keyed on the long
name, which is the card name "rockchip-es8388" on a U-Boot boot. When
the kernel gets SMBIOS tables from UEFI firmware, ASoC builds the long
name from the DMI strings instead ("LCKFB-TaishanPi3M-0" with
edk2-rk3576), the file no longer matched, and PipeWire fell back to a
generic profile without the headphone jack and the microphone routing.
The DMI name is also the same for every simple-audio-card on the board,
HDMI and DP included, so a file named after it would apply the ES8388
profile to those cards too.

Ship the profile as simple-card.conf and select it by the card name,
which DMI does not change. Other simple-audio-cards on the board find no
use case in it and keep the generic profile, as before. The verb,
devices and values are unchanged; only the card name condition around
them is new.

Signed-off-by: gahingwoo <gahing@gahingwoo.com>
2026-11-25 10:40:22 +01:00
gahingwoo
1d2a788447 lckfb-taishanpi-3m: skip the screen detection on UEFI boots
The screen detection picks the dsi-* overlay in /boot/armbianEnv.txt and
reboots when that changes. Only Armbian's U-Boot boot script applies
those overlays. When the board boots through UEFI firmware instead (for
example edk2-rk3576 with GRUB), the device tree comes from the firmware
and armbianEnv.txt is not read, so the service rewrote the file and
rebooted for nothing. On a UEFI install it had to be masked on the
kernel command line.

Do nothing when /sys/firmware/efi exists, both as a unit condition and
in the script. Armbian's boot script starts the kernel with booti, so
U-Boot boots are not affected.

Signed-off-by: gahingwoo <gahing@gahingwoo.com>
2026-11-25 10:40:22 +01:00
Ricardo Pardini
d909db3f5e rockchip64-7.4: rk3576: DP sound card in rk3576.dtsi
- rk3576.dtsi: dp0-sound simple-audio-card (spdif_tx3 → dp 1, mclk-fs 512, disabled by default) and dp `#sound-dai-cells = <1>` (Sebastian Reichel, not on lore): 665d5e9f9d
- uses the dw-dp audio support from dw-dp v12, already in this tree: https://lore.kernel.org/all/20261114-synopsys-dw-dp-improvements-v12-1-d42d3dc5bdd4@collabora.com/

Assisted-by: Claude:claude-opus-5-5
2026-11-25 10:37:40 +01:00
Ricardo Pardini
16ea30f029 rockchip64-7.4: rk3576 clk platform device, vop2 clock rate check
- clk: rockchip: rk3576: create proper platform device (v1, applied upstream): https://lore.kernel.org/all/20261112-rk3576-clk-platform-device-v1-1-2f3ac9f09403@collabora.com/
- drm/rockchip: vop2: clock rate mode check: Collabora rockchip-devel version (5db9201af4) of the RFC v2: https://lore.kernel.org/all/20260409-vop2-clk-rate-check-v2-1-b207cfc427d7@collabora.com/

Assisted-by: Claude:claude-opus-5-5
2026-11-25 10:37:40 +01:00
Ricardo Pardini
b28d16c9cb rockchip64-7.4: realtek PHY reset after clock enable, re-init after reset
- net: phy: realtek: reset after clock enable (Sebastian Reichel, not on lore): f8b1e58aff
- net: phy: realtek: re-init after reset (Sebastian Reichel, not on lore): 2fa49d2edb

Assisted-by: Claude:claude-opus-5-5
2026-11-25 10:37:40 +01:00
Ricardo Pardini
2a9332d133 rockchip64-7.4: USB-C fusb302/tcpm/typec fixes
- fusb302: drain the RX FIFO on each PD interrupt (Alexey Charkov, v1): https://lore.kernel.org/all/20261102-fusb302-drain-rxfifo-v1-1-bd9b232ab345@flipper.net/
- drop the old 912 fusb302 "drain RX FIFO on TX_SUCCESS/GCRCSENT" patch: same problem, superseded by the fix above (they conflict)
- fusb302: send PD messages longer than one SMBus block (Alexey Charkov, v1): https://lore.kernel.org/all/20261102-fusb302-long-tx-v1-1-0d2719488c3b@flipper.net/
- tcpm: record the partner's Product Type VDOs (Alexey Charkov, v1): https://lore.kernel.org/all/20261102-tcpm-product-type-vdo-v1-1-02e90dadbc2d@flipper.net/
- SOP' cable communication for tcpm/tcpci/rt1711h/fusb302 (Alexey Charkov, v1, 5 patches): https://lore.kernel.org/all/20261103-husb311-cable-comm-v1-1-6217dabc1a85@flipper.net/
- tcpm: advance vdm_discovery_state on Discover Identity Not_Supported (Xu Yang): https://lore.kernel.org/all/20260916043957.3362995-1-xu.yang_2@oss.nxp.com/
- typec mux: initialize the orientation switch array: https://lore.kernel.org/all/20260804083434.20885-1-i@4t.pw/
- typec mux: initialize the mux switch array (Sebastian Reichel, not on lore): c28c98098a
- tcpm: also use SNK_WAIT_CAPABILITIES_TIMEOUT for vbus_never_low (Sebastian Reichel, not on lore): 12415b27f8

Assisted-by: Claude:claude-opus-5-5
2026-11-25 10:37:40 +01:00
Igor Velkov
7da02450e0 rockchip64-7.4: update dw-rockchip system suspend to v9 as applied
Take Sebastian Reichel's v9 as Manivannan Sadhasivam applied it to
pci/next. Against v8, rockchip_pcie_rc_reset_root_port() uses the
controller mode helper, the DLL unmask helper becomes
rockchip_pcie_unmask_dll_interrupts() with a flag for the link up/down
event, and rockchip_pcie_suspend() caches the INTx mask after
dw_pcie_suspend_noirq() and drops the pci->suspended check.

Link: https://lore.kernel.org/r/20261105-rockchip-pcie-system-suspend-v9-0-a2e55846649e@collabora.com
2026-11-25 10:36:39 +01:00
Igor Velkov
ef7b482250 rockchip64-7.3: update dw-rockchip system suspend to v9 as applied
Take Sebastian Reichel's v9 as Manivannan Sadhasivam applied it to
pci/next. Against v8, rockchip_pcie_rc_reset_root_port() uses the
controller mode helper, the DLL unmask helper becomes
rockchip_pcie_unmask_dll_interrupts() with a flag for the link up/down
event, and rockchip_pcie_suspend() caches the INTx mask after
dw_pcie_suspend_noirq() and drops the pci->suspended check.

v9-00, the backport of f845c1e2d2d4, is unchanged.

Link: https://lore.kernel.org/r/20261105-rockchip-pcie-system-suspend-v9-0-a2e55846649e@collabora.com
2026-11-25 10:36:39 +01:00
Igor Velkov
08ef43aced rockchip64: rename dw-rockchip system suspend patches to v9
Rename only in rockchip64-7.3 and rockchip64-7.4; the content moves to
v9 in the next commits.
2026-11-25 10:36:39 +01:00
thekelvinliu
2e0e441f3a turing-rk1: early exit on ROOTFS_TYPE=nfs
Signed-off-by: thekelvinliu <kelvin@thekelvinliu.com>
2026-11-25 10:33:24 +01:00
thekelvinliu
d14f5e52b0 turing-rk1: validate boot.cmd console patterns before patching
Signed-off-by: thekelvinliu <kelvin@thekelvinliu.com>
2026-11-25 10:33:24 +01:00
thekelvinliu
881c66144b turing-rk1: fix serial console configuration for rk35xx bootscript
The rk35xx bootscript was changed in 9e58e253 to use a configurable
${serialcon} variable instead of a hardcoded ttyS2 console.

The turing-rk1 board configuration still replaces the previous hardcoded
console=ttyS2,1500000 string. Consequently, the replacement no longer
matches the updated bootscript, and vendor images boot with the generic
UART2 console instead of the RK1's UART9.

Update the board-specific bootscript modification to set serialcon to
ttyS9 and use the correct 115200 baud rate for vendor builds.

This restores serial console output on the Turing RK1 vendor builds.

Signed-off-by: thekelvinliu <kelvin@thekelvinliu.com>
2026-11-25 10:33:24 +01:00
Igor Pecovnik
376b34b5d6 grub: wallpaper with the current Armbian logo
Same blurred image as the desktop login (configng #1083).

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-11-25 10:32:12 +01:00
Igor Pecovnik
b7c9ed981f image-output-iso: empty crypttab in the live squashfs
Some checks are pending
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run
A crypt ISO waits 90s at boot for the installed LUKS root.
armbian-initramfs-dep also fails on the live overlay root.
Expected result: the live ISO boots without the wait and without a failed unit.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-11-25 06:12:01 +01:00