Commit Graph

16934 Commits

Author SHA1 Message Date
EvilOlaf
c0e8ba8423 meson64: remove upstreamed patch 2026-01-14 13:24:10 +01:00
EvilOlaf
e145d689c2 mainline: bump to rc5 2026-01-14 13:24:10 +01:00
Ricardo Pardini
1d91ae2ebb mixtile-core3588e: u-boot: v2026.01: add patch for debugging fdt_fixup_ethernet()
- a bit verbose but confirms missing `ethernet0`/`1` alias was the cause of random MACs for at least a few boards
- there's quite a few boards to fix, so we might want to pull this one level up later
2026-01-13 20:39:37 +01:00
Ricardo Pardini
0a0889501b mixtile-core3588e: alias ethernet0 to gmac0 for stable MAC address
- phew. this was all it takes. u-boot does the rest of the magic
2026-01-13 20:39:37 +01:00
Ricardo Pardini
746a3ec5b5 mixtile-core3588e: u-boot: enable ramboot, add usb471/2 to targets 2026-01-13 20:39:37 +01:00
Ricardo Pardini
6a1cfbc613 rockchip64-6.19: arm64: dts: rockchip: describe pcie ethernets on FriendlyElec NanoPC-T6
- By fully describing the pcie hardware for the RTL8125s (rtl8169) present on the
  board, we get to alias them to ethernet0/1. In return, (mainline) u-boot will by
  default patch the runtime FDT though it's fdt_fixup_ethernet() implementation,
  hopefully resulting in fully stable MAC addresses without the need to program
  the RTL NIC's EEPROM; as an added benefit, u-boot MAC & kernel MAC would match,
  facilitating network-boot setups.
2026-01-13 20:39:22 +01:00
Jianfeng Liu
73aab5ff66 rockchip64-edge: enable Verisilicon IOMMU for Rockchip RK3588 2026-01-13 20:39:02 +01:00
Jianfeng Liu
801b4c9e0f rockchip64-6.19: add patches for verisilicon av1 decoder 2026-01-13 20:39:02 +01:00
Jianfeng Liu
9eb346830d rockchip64-current: enable Verisilicon IOMMU for Rockchip RK3588 2026-01-13 20:39:02 +01:00
Jianfeng Liu
2499a2b446 rockchip64-6.18: add patches for verisilicon av1 decoder 2026-01-13 20:39:02 +01:00
igorpecovnik
3295cebe48 Automatic board configs status synchronise 2026-01-13 20:38:51 +01:00
EvilOlaf
fe7b8eee12 orangepizero2: fix bluetooth in edge kernel 2026-01-13 20:38:30 +01:00
Viacheslav Bocharov
43a786c327 JetHub: Update JetHub D2 uboot to 2025.04
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2026-01-13 09:00:36 +03:00
Viacheslav Bocharov
b24a33b917 jethub d2: update device tree files 2026-01-13 09:00:36 +03:00
Patrick Yavitz
3e40fe954b Meson64: Delete patches that are not required
general-input-touchscreen-Add-D-WAV-Multitouch.patch (not enabled)
general-memory-marked-nomap.patch (not required)

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-12 19:38:40 -05:00
igorpecovnik
25f6eec773 Automatic board configs status synchronise 2026-01-13 00:05:27 +01:00
Ricardo Pardini
001c65df07 u-boot: run binwalk on all the produced u-boot bins (always)
- optionally, if UBOOT_BINS_TO_OUTPUT=yes, copy them out to output/
- this might reveal differences in binwalk itself more than u-boot
- but better than nothing
2026-01-12 23:37:03 +01:00
Igor Velkov
18848f530d rockchip64: Helios64: fix Type-C PHY and TCPM registration
Problem:
On Helios64 boot, the Type-C PHY (ff7c0000.phy) gets stuck in
"deferred probe" state with unknown reason. This causes:
- USB 3.0 SuperSpeed via Type-C port not working
- DisplayPort via Type-C (Alt Mode) not working

The following messages appear in dmesg:
  platform ff7c0000.phy: deferred probe pending: (reason unknown)
  platform fe800000.usb: deferred probe pending: wait for supplier /phy@ff7c0000/usb3-port
  platform fec00000.dp: deferred probe pending: wait for supplier /phy@ff7c0000/dp-port

Along with dependency cycle warnings:
  /phy@ff7c0000/dp-port: Fixed dependency cycle(s) with /i2c@ff3d0000/typec-portc@22/connector

Root cause:
The Helios64 DTS uses a legacy Type-C connection method:

  &tcphy0 {
      extcon = <&fusb0>;  // Expects extcon from fusb302
  };

However:
1. The FUSB302 driver with TCPM support (since kernel ~4.14) does NOT
   create extcon devices
2. Instead, it uses the Type-C connector class (/sys/class/typec/)
3. The phy-rockchip-typec driver calls extcon_get_edev_by_phandle(),
   fails to find an extcon device at the specified phandle, and
   returns -EPROBE_DEFER
4. The PHY remains in deferred probe indefinitely

The extcon-cables property is present in the DTS, but without a
typec_extcon_bridge node it serves no purpose.

This bug has existed since Type-C support was added to Helios64
(at least since kernel 6.6). It likely worked with older fusb302
driver versions, but broke after the transition to TCPM.

Solution:
Use the typec-extcon-bridge driver (Armbian patch from Ondrej Jirman/megi)
which translates Type-C connector class events to the extcon interface.

The Pinebook Pro patch (board-pbp-add-dp-alt-mode.patch) implements this
correctly: it has a typec_extcon_bridge node, and all extcon references
point to it rather than directly to fusb0.

Changes:
1. Add typec_extcon_bridge node with compatible = "linux,typec-extcon-bridge"
2. Change extcon = <&fusb0> to extcon = <&typec_extcon_bridge> in
   tcphy0, cdn_dp, u2phy0, usbdrd_dwc3_0 nodes
3. Add usb-role-switch, mode-switch, orientation-switch properties
   to fusb0 connector for integration with the bridge
4. Update PDO definitions with DUAL_ROLE and DATA_SWAP flags
5. Convert typec-altmodes property to modern altmodes subnode format
   (required for TCPM port registration)
6. Add extcon,ignore-usb to u2phy0 (following Pinebook Pro pattern)
7. Add snps,usb3-phy-reset-quirk to usbdrd_dwc3_0

After this fix:
- Type-C PHY (ff7c0000.phy) no longer stuck in deferred probe
- USB 3.0 SuperSpeed via Type-C port should work
- DisplayPort via Type-C (Alt Mode) should work
- Correct cable orientation detection
- USB role switching (host/device)

Known remaining issues:
- FUSB302 fails to register TCPM port with error:
    4-0022    typec_fusb302: cannot register tcpm port
  This prevents USB Power Delivery negotiation. The root cause
  appears to be in the connector configuration and requires
  further investigation.
2026-01-12 23:36:43 +01:00
EvilOlaf
b6da7a9b4c rewrite everything 2026-01-12 23:34:35 +01:00
EvilOlaf
3e5da30cc7 rename already independent patch 2026-01-12 23:34:35 +01:00
EvilOlaf
29da31a00d cb1: combine patches 2026-01-12 23:34:35 +01:00
EvilOlaf
892bf74638 ac200: split hunks to combine 3 into 2 logical patches removing cross patch dependency 2026-01-12 23:34:35 +01:00
EvilOlaf
2e63422c7f combine drm sun4i hdmi patches 2026-01-12 23:34:35 +01:00
EvilOlaf
3d947f6108 re-add Makefile entries 2026-01-12 23:34:23 +01:00
EvilOlaf
77dc5f7154 sunxi: switch current and edge back to auto bumping 2026-01-12 19:19:14 +01:00
Ricardo Pardini
f9a1e52aeb genio: u-boot: patch: include pxefile_addr_r == scriptaddr at 0x40000000
- include pxefile_addr_r == scriptaddr at 0x40000000 so PXE works OOB
  - before this, would need to be set in env manually

Fixes: 431f53df3e
2026-01-12 19:18:57 +01:00
Ricardo Pardini
1b1e24e4d7 genio: add alsa-ucm-conf + ucm2 config for working audio in userspace
- from Collabora's Debian 13 impl
2026-01-12 19:18:57 +01:00
Ricardo Pardini
22f72c064b linux-genio-collabora: built-in boot-essential; add crypto & squashfs stuff
- modules -> built-in: essential stuff for accessing UFS/eMMC storage, regulators, i2c, spi
- add in-kernel crypto modules (for wifi) & squashfs compression
- somehow `CONFIG_PCI_MESON` was left enabled here, disable
2026-01-12 19:18:57 +01:00
TuAFBogey
b954ad893f Fix copyright year to 2026 2026-01-12 13:18:53 +01:00
TuAFBogey
9b12e0b978 Address final review: declare -g consistency, function keyword, move compile_optee inside hook, use echo in write_uboot_platform 2026-01-12 13:18:53 +01:00
TuAFBogey
60650cf015 Address rpardini review round 2: major cleanup
- Use SERIALCON instead of systemd override for serial console
- Remove fdtfile from bootenv (use BOOT_FDT_FILE instead)
- Remove ATF_COMPILER (arm64 default)
- Inline OPTEE variables into fetch_sources_tools hook
- Remove empty family_tweaks() and family_tweaks_bsp()
- Use only debug mode for ATF build
- Build fiptool in atf_custom_postprocess
- Move header creation inline into uboot_custom_postprocess
- Use <<- heredoc for Python script
2026-01-12 13:18:53 +01:00
TuAFBogey
e5752ad9ee Run rewrite-kernel-config for proper defconfig format 2026-01-12 13:18:53 +01:00
TuAFBogey
c9f8f3caef Address rpardini review: remove BTF patches, use full kernel config, use fetch_from_repo for OP-TEE 2026-01-12 13:18:53 +01:00
TuAFBogey
f24801893c Use EXTRA_BUILD_DEPS for OP-TEE dependencies instead of runtime apt-get 2026-01-12 13:18:53 +01:00
TuAFBogey
9ecd83082e fix: address review comments
- Rename board config to .csc (no maintainer)
- Remove duplicate board name from comment
- Change verbosity from 7 to 1 (default)
- Remove ATF patch, use ATF_SKIP_LDFLAGS_WL instead
- Move CONFIG_RD_* to kernel config (fix artifact caching)
- Fix networking comment (chrony -> NetworkManager)
- Replace -j12 with -j8
- Add fdt addr/resize after DTB reload on overlay error
2026-01-12 13:18:53 +01:00
TuAFBogey
c6e8c5b680 board: add Nuvoton MA35D1 NuMaker IoT board support
Add support for Nuvoton MA35D1 SoC family:
- ARM Cortex-A35 dual-core @ 800MHz + Cortex-M4 heterogeneous
- NuMaker IoT MA35D16F90 board (512MB DDR)
- Vendor kernel 5.10.140 from Nuvoton GitHub
- TF-A (BL2/BL31) + OP-TEE (BL32) + U-Boot (BL33) boot chain
- SD card boot support

Vendor kernel modules (pending):
Nuvoton provides closed-source Verisilicon licensed drivers:
- dcultrafb.ko (DCUltra display controller)
- ma35d1-vc8000.ko (H.264 video codec)
- galcore.ko (GPU driver)

These modules require exact kernel vermagic match:
  5.10.140-vendor-nuvoton-ma35d1 SMP mod_unload aarch64

Nuvoton is preparing custom builds of these modules for Armbian.

Signed-off-by: TuAFBogey <uguvenen@gmail.com>
2026-01-12 13:18:53 +01:00
Werner
19446b0d1f
sunxi: bump current and edge to latest minor (#9229) 2026-01-12 08:30:24 +01:00
Alex Ling
02475685e7 rockchip64: Automatic fan speed and USB 3.0 fix for station-m3
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-11 23:19:24 +01:00
EvilOlaf
324a4f5418 sunxi: Add CONFIG_TTY_OVERY_SDIO to edge kernel config 2026-01-11 23:13:22 +01:00
Werner
d79582dd76
sunxi: refactor full patchset 2026-01-11 19:54:48 +01:00
Igor Pecovnik
09ce370e55 feat: implement parallel repository management workflow
This commit implements a complete parallel repository management system
that allows building and publishing Debian repositories in parallel,
significantly reducing build time for multiple distributions.

- `update-main`: Builds common/main component once for all releases
- `update -R <release>`: Builds release-specific components in isolated DBs
- `merge`: Combines common + release-specific components into final repos

- Isolated databases (aptly-isolated-<release>) avoid locking during parallel builds
- Common component built once, not duplicated per release
- Release-specific components (utils, desktop) built independently
- Final merge combines all components with proper GPG signing

- Fixed GPG signing to target top-level Release files (dists/{release}/Release)
- Pool cleanup before publishing avoids "file already exists" errors
- Smart package import skips duplicates during merge
- Proper handling of empty repositories and missing components
- Improved error handling and logging throughout

1. update-main: Build common component (once)
2. update -R <release>: Parallel workers build release-specific components
3. merge: Combine all components and publish with GPG signatures

This enables GitHub Actions to run multiple release builders in parallel,
reducing total repository build time from hours to minutes.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-11 00:37:46 +01:00
Ricardo Pardini
9e7f6dc264 rockchip64: patch ATF 2.13 to build on gcc-14+ (ref rk3399's m0)
- move patches into version folder (`atf-rockchip` -> `atf-rockchip/v2.13`)
- also prepares patches for v2.14 since I had them anyway
- keeps using v2.13 for now, someone can test v2.14 later and bump; I've no rk3399
- new patches:
  - add `-no-pie` to rk3399's m0 build LDFLAGS (since upstream doesn't honor M0_LDFLAGS)
  - bump PMSURAM_RSIZE from 8k to 16k to avoid overflows - confirmed working by Amazingfate
- build tested OK on jammy/bookworm/trixie/noble/resolute
  - resolute's gcc 15 and it still builds
2026-01-10 11:13:47 +01:00
EvilOlaf
3874bc250b fix patching config
`overlay-directories:` has been commented by accident
2026-01-10 11:10:27 +01:00
EvilOlaf
6d7c35e244 rewrite 2026-01-10 11:10:27 +01:00
EvilOlaf
c4975eed99 sunxi64: move whole device trees out of patches
adjust patches which modify the dts afterwards
adjust series
2026-01-10 11:10:27 +01:00
EvilOlaf
5d007ab5bc sunxi: move whole new device tree out of patches 2026-01-10 11:10:27 +01:00
EvilOlaf
6881a93e06 sunxi: cleanup old patchsets
leave 6.15 for reference
2026-01-10 09:50:11 +01:00
Ricardo Pardini
cbfbfb680e sunxi-6.18: rename patch that does fixups for clarity 2026-01-09 20:49:21 +01:00
EvilOlaf
ffcc7b713e adjust series 2026-01-09 20:34:24 +01:00
EvilOlaf
857c6edb1a adjust patching_config, remove overlays from patches 2026-01-09 20:34:24 +01:00