Commit Graph

6301 Commits

Author SHA1 Message Date
Ricardo Pardini
37c5cf652b mekotronics-r58x-4g: u-boot: create -u-boot.dtsi via hook
- saves one .dtsi file in patch/.../dt_uboot
- I had the wrong name (missing `-u-boot` suffix) too so this fixes it too
2026-02-19 09:00:15 -03:00
Ricardo Pardini
576c709fb4 mekotronics-r58x-4g: u-boot: enable tpcm/fusb302 support
- also `tcpm` cmd for debugging
2026-02-19 09:00:15 -03:00
Ricardo Pardini
f5e17cfd26 rockchip64-6.19: mekotronics-r58x-4g: add fusb302
- works as far as I can tell
- both orientations
- also wired DP, but can't test (I've no USB-DP hw)
2026-02-19 09:00:15 -03:00
Ricardo Pardini
7ef9f60bf6 mekotronics-r58x-4g: u-boot: bump to v2026.04-rc2 with symlink-shared DT
- u-boot v2026.04-rcX has bumped dt-rebasing to v6.18, thus it knows about
  NPU nodes now and we can simply symlink to kernel DT, reducing duplication by a lot
2026-02-19 09:00:15 -03:00
Ricardo Pardini
c4fb17ca03 u-boot: v2026.04: prepare patching dir for v2026.04
- fileenv patch (same as v2026.01)
- fdt_fixup_ethernet logging patch (same as v2026.01)
- 0000.patching_config.yaml: defconfig/dt_upstream_rockchip/dt_uboot
- notable in v2026.04:
  - dt-rebasing bumped up to v6.18 (which has NPU nodes)
    - this allows us to share complete DTs between kernel and u-boot via symlinks
  - Kwiboo had a go at LWIP which should be usable now; Kwiboo rocks.
2026-02-19 09:00:15 -03:00
Ricardo Pardini
d3cb6458b0 rockchip64-6.19: mekotronics-r58x-4g: add analog sound es8388
- also: drop old modem (4G) to-do, as modem already works without it
2026-02-19 09:00:15 -03:00
Ricardo Pardini
a13e185e8d rockchip64-6.19: mekotronics-r58x-4g: fix type-A USB ports
- this gets the 3 usb type-A ports in the front working
2026-02-19 09:00:15 -03:00
Ricardo Pardini
3295ab61a2 rockchip64-6.19: mekotronics-r58x-4g: add vcc5v0_otg regulator (gpio4_PA7)
- probably type-c stuff, but we never know with Meko
2026-02-19 09:00:15 -03:00
Ricardo Pardini
9053c71deb rockchip64-6.19: mekotronics-r58x-4g: drop invalid hdmi enable-gpios
- drop invalid and useless enable-gpios on hdmi0 node
  - was from vendor kernel
  - does nothing in mainline
  - is not required in mainline for working HDMI
2026-02-19 09:00:15 -03:00
Ian Leung
c184eda283 rk3566-orangepi-3b: Specify target-supply for sata2
Fixes SATA SSD not working when pcie2x1 is disabled.
2026-02-18 09:21:49 +01:00
Ian Leung
6e97eb5d78 Revert change to rockchip-rk3566-sata2.dtso‎
This reverts a change stemming from commit 7d241e3.
2026-02-18 09:21:49 +01:00
Brent Roman
b2ef84c202 adjust rk3308 vendor acodec for kernel 6.19 2026-02-17 21:39:16 -08:00
Brent Roman
3f6209be83 revert 32f3b7c693
and 8002936aac
because:
The ...fix-10mbit-ethernet patch is still necessary
Without it, the RK3308 does not connect via DHCP to 10-mbit Ethernets

The ...pinctl-slow-mux patch still compiles without error
It is <100 bytes and helps debugging GPIO issues.

I don't understand why above patches were flagged as "broken"
2026-02-17 21:39:16 -08:00
Ricardo Pardini
99df7c5760 mekotronics-r58x-4g: mainline u-boot v2026.01; mainline 6.19 kernel (edge)
- rockchip64-6.19: mainline kernel (edge/6.19):
  - most stuff works, incl 4G modem, NPU, RS-485, RS-232, HDMI-RX
  - except:
    - type-c (fusb302, I've no schematics nor will to reverse)
    - DisplayPort (I don't have test hardware)
    - Analog Audio (ditto)
- keep vendor u-boot for vendor branch
- mainline u-boot v2026.01:
  - same DT as edge kernel, save for NPU nodes
  - boot order: NVMe -> SATA -> USB -> eMMC -> Ethernet/PXE
  - stable MAC addresses for GMAC0/1 via DT aliases (confirm with logging patch)
2026-02-15 20:18:44 +01:00
Ricardo Pardini
2681a3a682 mekotronics-r58x-4g: mainline: add i2s7_8ch (hdmirx sound) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
a4ecd2cc82 mekotronics-r58x-4g: mainline: fix hdmi0 enable-gpios
- there is no hdmi1 (only DP)
2026-02-15 20:18:44 +01:00
Ricardo Pardini
eab7f9d2a8 mekotronics-r58x-4g: mainline: add rs-485 (uart0) and rs-232 (uart3) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
c17fee5aca mekotronics-r58x-4g: mainline: add sata0 (SATA port on the board) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
fa98e609cd mekotronics-r58x-4g: mainline: add i2c5
- not really wired to anything, found on vendor kernel, added due to i2c5m3_xfer
2026-02-15 20:18:44 +01:00
Ricardo Pardini
bcdc3e9871 mekotronics-r58x-4g: mainline: clean up a bit
- otg pin thing is for fusb302 related type-c thing (I ignore for now)
- drop dup combphy0
2026-02-15 20:18:44 +01:00
Ricardo Pardini
1d0eccda66 mekotronics-r58x-4g: mainline: fix hdmirx pinctrl-0 2026-02-15 20:18:44 +01:00
Ricardo Pardini
1d90918330 mekotronics-r58x-4g: mainline: fix hdmirx hpd pin 2026-02-15 20:18:44 +01:00
Ricardo Pardini
d31a336ee3 mekotronics-r58x-4g: mainline: fix vcc5v0_host gpio+pinctrl 2026-02-15 20:18:44 +01:00
Ricardo Pardini
3d780aeff5 mekotronics-r58x-4g: mainline: gmac0/gmac1 mdio0/mdio1 (v2)
- drop rx delay, add snps stuff
2026-02-15 20:18:44 +01:00
Ricardo Pardini
29e97b5502 mekotronics-r58x-4g: mainline: gmac0/gmac1 mdio0/mdio1 (v1)
- very similar/identical to firefly-itx
2026-02-15 20:18:44 +01:00
Ricardo Pardini
9c10b84013 mekotronics-r58x-4g: mainline: LEDs (v2)
- what vendor calls "hdd" LED is simply not there
- "power" LED is actually 2 leds
- missing: "WIFI" led, which pin?
2026-02-15 20:18:44 +01:00
Ricardo Pardini
1b53372e5b mekotronics-r58x-4g: mainline: LEDs (v1) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
1772efc16e mekotronics-r58x-4g: mainline: drop &pcie2x1l1 2026-02-15 20:18:44 +01:00
Ricardo Pardini
c05bfd707f mekotronics-r58x-4g: mainline: mark TODO's - waaaay too many 2026-02-15 20:18:44 +01:00
Ricardo Pardini
51a8b02a7e mekotronics-r58x-4g: begin mainline kernel
- begin by copying meko4x4's which is based on the same reference "Rockchip NVR" design
2026-02-15 20:18:44 +01:00
Ian Leung
f1f9918752 Orange Pi 3B: Generate alternate SPI image for booting from SATA
This commit enables generation of `u-boot-rockchip-spi-sata.bin`.
Flashing this to SPI flash enables U-Boot to communicate with an
attached SATA m.2 SSD, thereby allowing booting directly from SPI flash
to SATA SSD.
2026-02-15 20:17:20 +01:00
Austin Lane
396ccb439c rockchip: Add CSC board ForLinx OK3506-S12 (RK3506J) 2026-02-12 19:35:49 +01:00
Austin Lane
e2421ab485 RK3506: Pin U-Boot to known-working commit
Kwiboo's `rk3506` branch is WIP / rebased often. Pin to commit hash while upstreaming work is underway.

Also revert (broken) changes that attempted to keep up with this branch.
2026-02-12 01:30:43 +01:00
EvilOlaf
c3e34150e2 rockchip64: rewrite kernel patches 2026-02-09 23:59:10 +01:00
EvilOlaf
df7994be78 meson64: rewrite kernel patches 2026-02-09 23:59:10 +01:00
Ian Leung
a792906065 Orange Pi 3B: Update config
Changes:
- Bump U-Boot to v2026.01
- Add "current" option to kernel target
- Simplify U-Boot processes
2026-02-09 00:27:51 +01:00
Patrick Yavitz
9a9adf1cb7 OrangePi 3 LTS: Use pine_h64 crust defconfig
It is identical to the one that was being created via patch.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-08 06:22:47 -05:00
Patrick Yavitz
e778848389 OrangePi 3 LTS: Update u-boot defconfig
Source of defconfig additions and mmc patch:
https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Allwinner/patches/u-boot

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-08 06:22:47 -05:00
okrc
09b7895004 Radxa-E52C: normalize u-boot patches
Signed-off-by: okrc <okrc@hexo.dev>
2026-02-07 09:12:37 -06:00
okrc
b31f093eb0 Radxa E52C: add mainline U-Boot support and kernel target configuration
Signed-off-by: okrc <okrc@hexo.dev>
2026-02-07 09:12:37 -06:00
Timothy Parys
3dc8e865e2 Remove general-gpio-driver-no-sleep from Rockchip (32 bit) patch series 2026-02-07 00:10:45 +01:00
Timothy Parys
72b61b90d7 Remove Rockchip gpio patch, already applied upstream 2026-02-07 00:10:45 +01:00
Patrick Yavitz
d984ed1649 OrangePi 3 LTS: Add ethernet support to u-boot defconfig
Consolidate all defconfig patches to one patch.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-06 08:27:47 -05:00
Patrick Yavitz
2fb7dc90f6 OrangePi 3 LTS: By default downclock to 1608MHz
To run at 1800MHz:
echo "1" > /sys/devices/system/cpu/cpufreq/boost

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-06 05:59:38 -05:00
Milivoje Legenovic
1890d7f656 Odroid-M2: update uboot to v2025.10
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
2026-02-05 10:53:09 +01:00
Patrick Yavitz
5e8cca7279 OrangePi 3 LTS: Fixup u-boot LED nodes
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-05 01:04:23 +01:00
JohnTheCoolingFan
3f635a890f Rock 5B Plus: Add GPIO names to dts 2026-02-04 15:41:23 +03:00
Patrick Yavitz
1e5512da7d OrangePi 3 LTS: Remove property kaslr-seed from chosen node
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-04 06:50:27 -05:00
Patrick Yavitz
1df4c30aaa OrangePi 3 LTS: Add DTS and DEFCONFIG to u-boot v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-04 06:50:27 -05:00
Patrick Yavitz
7998491d80 KickPi K2B: Fixup typo in u-boot patch
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
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