Commit Graph

6301 Commits

Author SHA1 Message Date
Patrick Yavitz
d855d83c88 KickPI K2b: Fixup linux DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
Patrick Yavitz
7e38101ed6 BPI-M4-Zero / KickPi K2B: Update u-boot to v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
Igor Pecovnik
9b1e571d43 File was removed while it remained in series control file. Removing it from there too. 2026-02-02 15:18:08 +01:00
Ricardo Pardini
293dbfa540 rockchip64-6.19: rewrite against 6.19-rc8 2026-02-02 06:41:07 +01:00
Ricardo Pardini
111bcd59b6 rockchip(64)-6.19: drop upstreamed patch in -rc8 2026-02-02 06:41:07 +01:00
Ricardo Pardini
5eabdce18a rockchip64-6.19: odroidm1: ethernet TXD timing 0x4f -> 0x35 for much better performance
- See https://lore.kernel.org/r/20250819075522.2238643-1-tobetter@gmail.com which never landed
2026-02-02 06:40:40 +01:00
Paolo Sabatino
b499b45368 rockchip/64: import mainline patch to fix gpio can_sleep issue 2026-02-01 21:15:29 +01:00
Igor Pecovnik
956b70340d forge1: switch to RK3506J variant and add OPTEE support
- Change BOOTCONFIG from rk3506b to rk3506j variant
- Update btrfs patch to target correct defconfig
- Add OPTEE image support for secure boot functionality
2026-02-01 17:46:14 +01:00
Marvin Wewer
7bf6574e18 Resolving boot issues 2026-02-01 17:45:45 +01:00
EvilOlaf
a01887d50d rewrite kernel patches 2026-01-31 23:02:50 +01:00
EvilOlaf
589a7d0b91 sun55i: rewrite recent uboot patches 2026-01-31 23:02:50 +01:00
EvilOlaf
f5789c2eb2 sun55i: adjust patch filenames and subjects where valuable 2026-01-31 23:02:50 +01:00
EvilOlaf
3c4855433c sun55i: migrate recent patches to standard uboot patch tree 2026-01-31 23:02:50 +01:00
EvilOlaf
85901d98f4 fix patch order 2026-01-31 23:02:50 +01:00
Patrick Yavitz
2b72aeb113 OrangePi 3 LTS: Re-Add mmc-hs200-1_8v; to &mmc2 node
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Patrick Yavitz
288f545c90 OrangePi 3 LTS: Fixup reg_aldo2 node
Remove regulator-enable-ramp-delay = <100000>;

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Patrick Yavitz
317831dbf6 Add OrangePi 3 LTS u-boot-v2026.01 patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Patrick Yavitz
688644d238 Update OrangePi 3 LTS linux DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Julian Sikorski
2c4b43bf73 Update odroidxu4-current to 6.6.122 2026-01-31 17:07:46 +01:00
EvilOlaf
b463f4f877 rockchip64-current: rewrite patches due to upstream changes 2026-01-31 13:52:11 +01:00
Igor Velkov
e9f1902134
uwe5622: fix compilation with clang on Linux 6.19 (#9314)
In Linux 6.19, net_device->dev_addr is const unsigned char *.
Clang with -Werror,-Wincompatible-pointer-types-discards-qualifiers
rejects passing dev_addr to non-const parameters and memcpy into it.

Fix by:
- Replacing memcpy(dev->dev_addr, ...) with dev_addr_set()
- Using local buffer + ether_addr_copy for sprdwl_set_mac_addr call
  that needs mutable addr (the function modifies it in-place)
- Changing u8 *mac pointer to u8 mac[ETH_ALEN] array in cfg80211.c
  where dev_addr was assigned to a non-const pointer

Relates to #9049
2026-01-31 13:51:07 +01:00
Paolo Sabatino
6d84ec9928 rockchip: fix memory controller voltage excursion for a sensitive board 2026-01-31 11:55:57 +01:00
Paolo Sabatino
8eae228718 rockchip: declare rockchip gpio driver back as non-sleeping
* this fixes huge load of WARN_ON() messages when gpio-ir-recv
   driver receives input. see the patch commit message for other
   details
2026-01-31 11:55:57 +01:00
Marvin Wewer
6afba3a119
sunxi a523: add support for PCIe, SPI Flash and Iommu (#9280) 2026-01-31 06:52:26 +01:00
Igor Pecovnik
e05e27bc6f rockchip64-6.18: fix helios64 pcie patch
Remove ep-gpios property and max-link-speed, set status to okay for pcie0.
2026-01-30 15:55:29 +01:00
EvilOlaf
6dfbbc6f5b rockchip64-current: rewrite patches 2026-01-30 12:34:00 +01:00
Werner
42c75f41e9
sunxi: drop unneeded patches (#9312)
* sunxi-edge: remove unneeded patches

* remove more unneeded patches
2026-01-30 07:32:40 +01:00
Igor Pecovnik
170ebf2733 Rockchip 6.19: drop upstreamed patches 2026-01-28 01:21:11 +01:00
EvilOlaf
c817f70a17 rockchip64: rewrite patches 2026-01-27 23:46:33 +01:00
EvilOlaf
a6d1719859 rockchip64: adjust patches due to upstream changes in 6.19-rc7 2026-01-27 23:46:33 +01:00
Jianfeng Liu
138da1c47f qcs6490: fix patched dtb not compiled 2026-01-27 23:45:29 +01:00
Paolo Sabatino
a621bdcfff rockchip64: fix clang build error 2026-01-27 23:44:34 +01:00
retro98boy
f5650639d9 SMART AM40: Fix typo in dts 2026-01-27 23:40:43 +01:00
retro98boy
4ca40d63f2 SMART AM40: Bump U-Boot to v2026.01 2026-01-27 23:40:43 +01:00
Igor Pecovnik
f4f91860b4 Odroid XU4: remove upstreamed patches 2026-01-27 23:39:39 +01:00
retro98boy
3bda2f5260 BesTV R3300-L: Bump U-Boot to v2026.01 2026-01-27 23:36:38 +01:00
retro98boy
40de50f93b CAINIAO CNIoT-CORE: Bump U-Boot to v2026.01 2026-01-27 23:36:17 +01:00
Jiali Chen
9aa6e1e29e patch: sm8250: current: some reasonable modifications were made
Based on the AI review

Co-authored-by: retro98boy <retro98boy@qq.com>
Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
446fdd8bfa patch: sm8250: current: add Retroid Pocket SM8250 Patch series
Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
7a2b090888 patch: sm8250: current: add a patche
From https://lore.kernel.org/all/20251230-ncm-refactor-v1-0-793e347bc7a7@google.com/

To fix slow startup, and the issue where the system fails
to release ncm devices when shutting down after plugging
or unplugging a usb hub, which references a null pointer

This is important for devices without serial ports,
such as the Elixir, because they enable NCM
by default for headless debugging,
making it easy to trigger related bugs.

Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
e46899dff3 patch: sm8250: current: add some patches
From https://gitlab.postmarketos.org/soc/qualcomm-sm8250/linux/-/commits/6.17.0?ref_type=HEADS

Made some modifications to be compatible with the latest kernel.

Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
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
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
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
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
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
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
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
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
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
4fb20f36db meson64-6.18: de-bork PCIe for 6.18.5, again, again
- Fixes: 4eac206ecf which over-dropped
- meanwhile for increased insanity, patch changed name as it went upstream:
  - ML was `PCI: meson: Remove meson_pcie_link_up() timeout, message, speed check`
  - torvalds got `PCI: meson: Report that link is up while in ASPM L0s and L1 states`
- Greg KH has already queued for 6.18.6 (coming from 6.19-rc5, so torvalds name), so remove this when that is released
2026-01-14 23:58:01 +01:00
sicxnull
0e2fec109e Fix PantherX2 2026-01-14 20:07:49 +01:00
Jianfeng Liu
8ced9d8a62 rockchip64-6.18: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
Jianfeng Liu
a345becef5 rockchip64-6.19: update rk3399 typec alt mode patch 2026-01-14 17:03:02 +01:00
Jianfeng Liu
30fba6f1b1 rockchip64-6.19: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
EvilOlaf
c0e8ba8423 meson64: remove upstreamed patch 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
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
801b4c9e0f rockchip64-6.19: add patches for verisilicon av1 decoder 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
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
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
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
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
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
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
Werner
d79582dd76
sunxi: refactor full patchset 2026-01-11 19:54:48 +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
EvilOlaf
00ca186341 actually copy everything and adjust do not commit regex 2026-01-09 20:34:24 +01:00
EvilOlaf
e082431348 copy arm64 overlays 2026-01-09 20:34:24 +01:00
EvilOlaf
e8a8754a04 copy armhf overlays 2026-01-09 20:34:24 +01:00
EvilOlaf
9dec3a39af rewrite for cleanup, disable dt patch which was moved for testing beforehand, enable overlay autopatcher 2026-01-09 20:34:24 +01:00
Ricardo Pardini
c02a76b1dd sunxi/sunxi64-6.18: rework patching config for 32/64; extract one DT from null-patch to bare
- now each arch has its own dt folder, with its own Makefile auto-patched
- simple Makefile autopatching with `add-only: true`
- as example convert 01 null-patch to bare-dt in `dt_32/` (drop from series too)
2026-01-09 20:29:08 +01:00
Ricardo Pardini
0770f880ea genio-6.19: switch to add-only DT Makefile AutoPatcher 2026-01-09 20:29:08 +01:00
Ricardo Pardini
d03b9a924a rockchip64-6.19: switch to add-only DT Makefile AutoPatcher 2026-01-09 20:29:08 +01:00
Patrick Yavitz
a61ff239af NanoPi R3S LTS: Update to u-boot-v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-09 13:18:14 -05:00
Igor Pecovnik
d7a4c1b3ab Fix broken patch due to upstream changes, drop edge kernel as its not used 2026-01-08 21:38:09 +01:00
Igor Pecovnik
4eac206ecf Fix rootfs compilation (dropping deprecated gtk2 engines), broken patch on meson64, series update 2026-01-08 19:27:48 +01:00
EvilOlaf
ee4c79b19a rewrite everything
except patches adding overlays for sunxi and sunxi64
2026-01-08 17:58:43 +01:00
EvilOlaf
45aac305ac fix broken patch 2026-01-08 17:58:43 +01:00
EvilOlaf
881e231ba5 rewrite all patches 2026-01-08 15:38:23 +01:00
EvilOlaf
ee06d8cdd7 fix borked tz data 2026-01-08 15:38:23 +01:00
EvilOlaf
40173173cf fix broken patch 2026-01-08 15:38:23 +01:00
Igor Pecovnik
63cf880b6e Rockchip maint: drop upstreamed patch 2026-01-08 15:36:51 +01:00
Ricardo Pardini
431f53df3e genio: u-boot: patch: fdt_addr_r/kernel_addr_r/ramdisk_addr_r for large kernels/initrds
- this patches u-boot default addresses with the same values used in the boot-genio bootscript
- this enables booting extlinux with large kernels and initrd (eg: `EXT=u-boot-menu`)
2026-01-08 12:30:24 +01:00
Ricardo Pardini
324d1ed403 genio: u-boot: patch: UFS 4k UMS fixes + BTRFS fixes/enablement
- backport fixes from upstream u-boot for
  - BTRFS (plus enable BTRFS and BZIP2 support for radxa-nio-12l)
    - tested with `CARD_DEVICE=/dev/mmcblk1 ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zstd` (no UFS!)
    - also with `EXT=ufs CARD_DEVICE=/dev/sdc ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zstd` (UFS!)
  - 4k block size UFS for UMS: fixes block size issue (USB issues unhandled)
- Enable "bind" command for the Mediatek-standard USB Gadget Ethernet
2026-01-08 12:30:24 +01:00
Ricardo Pardini
872863b95a genio: u-boot: patch: mt8195: boot order: SD -> UFS -> eMMC -> USB -> Network
- this way, one doesn't need to cripple UFS to be able to boot from SD
- USB didn't get the same treatment as it's slow and **not working**...
  - ...and beyond me to fix; both OTG and Host mode are funky in u-boot...
  - ...but seem to work fine in kernel
- IMPORTANT: keep in mind: "SDcard is NOT UFS (4k block)" and don't fall for traps!
- Network note:
    - `setenv ethaddr xx:xx:xx:xx:xx:xx` & `saveenv` & `reset`
    - required for network booting; mtk doesn't use random/cpu# MAC
    - required for stable MAC in kernel (keep IP from changing, etc)
2026-01-08 12:30:24 +01:00
Ricardo Pardini
a03b88841c genio: u-boot: patch: mt8195: adjust memory size at runtime and fixup fdt
- Use TFA + libdram to obtain and set the actual memory size.
- Overwrite the memory size in the devicetree that is passed to the kernel with the actual size detected.
- All credit to Bartosz Bilas' work for the mt8188/mt8370.
- This doesn't really "use" TF-A/libdram though, those call bl33 with magic arguments which we read here.
- That is implemented by a patch in TF-A for the mt8195 platform.
2026-01-08 12:30:24 +01:00
Ricardo Pardini
5911f02880 genio: mt8195: atf: patch: add TF-A RAM size autodetection pass to bl33
- With this, bl2 will pass down the DRAM size it gets from libdram
  down to bl33 (u-boot proper) via a magic location
- This is a rework of the implementation for another MTK plat (GRINN)
2026-01-08 12:30:24 +01:00
Ricardo Pardini
48237dda3f genio: u-boot: patches: rewrite Collabora patches 2026-01-08 12:30:24 +01:00
Ricardo Pardini
d6b1aedb52 genio: u-boot: patches: cosmetic formatting fixes on top of Collabora
- small hack to get around stupid "From xx" parsing in Armbian patcher
- also: fix attribution in `0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to`
2026-01-08 12:30:24 +01:00
Ricardo Pardini
8794a26af3 genio: u-boot: patches: ATF patches from Collabora (pristine)
- From https://gitlab.collabora.com/mediatek/aiot/boot/-/tree/main/patches/trusted-firmware-a at bc779c20dd5ea72a9f3edd248eb08460e3c837b6
2026-01-08 12:30:24 +01:00
Ricardo Pardini
121c89763a genio: u-boot: patches: vendor u-boot patches from Collabora (pristine)
- from https://gitlab.collabora.com/mediatek/aiot/boot/-/tree/main/patches/u-boot at 2db9a7b3f8c9c2141af6a01dd9372dbba809cf95
- I can see atleast one is a bit malformed so commit separately
2026-01-08 12:30:24 +01:00
Igor Velkov
94dd1fef1f fix for uninitialized variable 2026-01-08 12:29:01 +01:00
Igor Velkov
6bc25ea2c2 feeding rabbit 2026-01-08 12:29:01 +01:00
Igor Velkov
c60f78e0ec Helios64: update uBoot to v2026-01-rc5
- Switched to the binman-atf-mainline scenario with the same rkbin DDR blob
    rk3399_ddr_933MHz_v1.25.bin (TPL blob, as in the old working loader). DRAM init is correct, full
    4 GB visible, Linux boots.
  - U-Boot and DTS updated to v2026.01-rc5. Added MDIO/PHY node and phy-handle in rk3399-kobol-
    helios64.dts, fixing “mdio node is missing”. Disabled i2s2 in the U-Boot DT to avoid rockchip-
    i2s ... Could not register PCM.
  - boot_targets in U-Boot config shortened (mmc1, scsi0, usb0, pxe, dhcp) to avoid env_buf ... too
    small; however, the last built binary still shows the warning (needs rebuild with the shortened
    list or enlarging the buffer).
  - Boot flow: bootstd scans SD (mmc0) and eMMC (mmc1); SD boot works even without mmc0 in
    boot_targets.
  - Other changes: defconfig has CONFIG_ROCKCHIP_EXTERNAL_TPL=y to use the external DDR blob.

Boots.
2026-01-08 12:29:01 +01:00
Ricardo Pardini
55b14505dd genio-6.19: add patching config, -extra DT for Radxa NIO-12L
- this prepares everything for the more boards in the family
  - which will need `dt/` folder to avoid null-patches
- label & make LEDs useful
- alias mmc0/mmc1 so they match u-boot
- expose i2c3 which is exposed in the 40-pin 27:SCL3 28:SDA3 (blue pins)
  - shows up at i2c1 to userspace; why would Collabora alias an undescribed bus?
2026-01-08 12:09:02 +01:00
Ricardo Pardini
3be9a59c8d uefi-loong64-6.19: rewrite against 6.19-rc4 2026-01-08 12:08:49 +01:00
Ricardo Pardini
7e2a0b362f rockchip-6.19: rewrite against 6.19-rc4 2026-01-08 12:08:49 +01:00
Ricardo Pardini
d8830d5c20 mixtile-blade3: edge: u-boot: bump to v2026.01; boot order; symlinked DT
- fix bootorder (SD -> NVMe -> eMMC); USB disabled as nonworking with mainline still
- use the DT from rockchip64-6.18 so a single source for both u-boot and kernel
- note: the first (and only) RTL8169 used by u-boot is the port closest to board edge
2026-01-08 12:06:59 +01:00
Ricardo Pardini
9c4f8fa339 mixtile-blade3: mainline: updates to mainline DT with "working" RTL8169's
- For 6.18 + 6.19
- mixtile-blade3: add 4-pin header fan at 40c
- mixtile-blade3: add gpu nodes
- mixtile-blade3: add vcc5v0-host-en "usb" pinctrl
  - somehow results in 2 working RTL8169's behind the ASM1182e on pcie2x1l0
  - which just means the _schematics lie_
- mixtile-blade3: drop rst pinctrl from  pcie2x1l0 and pcie2x1l1
  - this is me probably being stupid, but also required for working ASM1182e/RTL8169
- Status of this mainline port:
  - Initially started by Joshua Riek (2023?)
  - I then added some PCIe3x4 stuff, but never got around to finishing it
  - Specifically, the 2 FUSB302's are beyond me for now
    - One of them _powers_ the board. To use with mainline, power the board some other way with 12V, otherwise kaboom.
      - See sre's talk on this issue; Blade3 should be similar to Rock-5b in this aspect.
  - A challenge has been the PCI2x1 lanes to the miniPCIe and ASM1182e switch
    - Which by themselves seem to work, but the devices behind them (Switch + RTL8169 NICs) do not get powered
    - Until one day I tried to describe a (in theory) USB-related power pin, and suddenly both PCIe NICs started working!
  - All that said, the board is really not stable with this; end-users are much better off with vendor kernel for now.
  - Any and all help is appreciated. Those boards are nice, they've 2 FUSB302, and fancy PCIe Endpoint mode stuff.
  - Schematics we have access to are in https://damwold5pt25n.cloudfront.net/blade3/file/Schematic_Blade_3_v1.1.0.pdf
    - Those clearly lie.
2026-01-08 12:06:59 +01:00
Paolo Sabatino
707025f422 rtl8723cs: stop including proprietary driver for kernel 6.19 onwards
* rtw88 mainline driver has good enough support for rtl8723cs
   so stop patching the kernel with this ancient driver
 * fixes rtl8703b (same chip as 8723cs) bluetooth firmware name file
2026-01-07 09:50:08 +01:00
Ricardo Pardini
63192a5e21 rockchip64-6.19: rewrite against 6.19-rc4 2026-01-06 21:47:54 +01:00
Ricardo Pardini
a16da53a5f rockchip64-6.19: drop mainline-overwriting DT rk3568-9tripod-x3568-v4
- as confirmed in https://github.com/armbian/build/pull/9067#issuecomment-3698058523
2026-01-06 21:47:54 +01:00
Ricardo Pardini
6a8e3f20d5 rockchip64-6.19: Enable audio for HDMI0 on station-m3 (repick from 6.18)
- from 545b6e28bb
2026-01-06 21:47:54 +01:00
Ricardo Pardini
2b9699c601 rockchip64-6.19: update rk3588 NPU patches; remove always-on from NPU regulator
- I've submitted upstream, and got feedback ref the always-on.
- See https://lore.kernel.org/linux-rockchip/20260101-arm64-dts-rockchip-rk3588-npu-enablements-v2-0-013cf5d5c39d@pardini.net
- update: merged to linux-rockchip for-next, should land in 6.20/7.0
2026-01-06 21:47:54 +01:00
Ricardo Pardini
a086111128 rockchip64-6.19: rewrite against 6.19-rc3 2026-01-06 21:47:54 +01:00
Ricardo Pardini
7cfb5732ef rockchip64-6.19: re-copy patches added to 6.18 since 6.19 bump started
- hopefully I got them all
- not `rk3528-01-arm64-dts-rockchip-Add-PCIe-Gen2x1-controller-for-RK` as that was a 6.19 backport
2026-01-06 21:47:54 +01:00
Ricardo Pardini
7033048722 rockchip64-6.19: re-copy overlay/ changed from 6.18 since 6.19 bump started
- hopefully I got them all
2026-01-06 21:47:54 +01:00
Ricardo Pardini
204dc67823 rockchip64-6.19: re-copy dt/ changed from 6.18 since 6.19 bump started
- hopefully I got them all
2026-01-06 21:47:54 +01:00
Jianfeng Liu
fa5ac4cdc8 rockchip64-6.19: add rkvdec v7 patches
- The deleted patch is not necessary because rkvdec patch v7 has removed
h264 sps check at start. And future version of chromium can also get rid
of the issue that patch has fixed.
- rpardini: squash with removal of v5
2026-01-06 21:47:54 +01:00
Fabian Wolter
793f53297a rockchip64-6.19: fix general-v4l2-iep-driver (IEP driver) 2026-01-06 21:47:54 +01:00
EvilOlaf
d9b72ab3c9 rockchip64-6.19: fix net-ethernet-realtek-add-r8169-LED-configuration-from-OF 2026-01-06 21:47:54 +01:00
EvilOlaf
76d2e86cb6 rockchip64-6.19: fix general-rt5651-add-mclk 2026-01-06 21:47:54 +01:00
EvilOlaf
83b0263622 rockchip64-6.19: disable broken rk3308-acodec-vendor-driver 2026-01-06 21:47:54 +01:00
EvilOlaf
32f3b7c693 rockchip64-6.19: disable broken rk3308-fix-10mbit-ethernet 2026-01-06 21:47:54 +01:00
EvilOlaf
8002936aac rockchip64-6.19: disable broken rk3308-0001-pinctrl-slew-mux 2026-01-06 21:47:54 +01:00
EvilOlaf
760ee0dcca rockchip64-6.19: disable broken rk3399-usbc-usb-typec-altmodes-displayport-Respect-DP_CAP_RECEPT 2026-01-06 21:47:54 +01:00
EvilOlaf
a5f02aa850 rockchip64-6.19: disable broken general-add-panel-simple-dsi 2026-01-06 21:47:54 +01:00