Commit Graph

4298 Commits

Author SHA1 Message Date
Patrick Yavitz
bea8a7cde9 patch: misc: rtw88: temporary workarounds
Review patches for information on the subject.
Tested on: BPI-CM4, X96-AIR and Tinkerboard R2

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Patrick Yavitz
61aee9857c patch: misc: rtw88: 6.1 / 6.2 / 6.3 / 6.4: backport updates
Patch set includes a complete backport of RTW88 as it currently stands, along with extras

Extra:
Patch: RTL8723DS (SDIO)
Patch: _rtw_download_firmware()  warn: missing unwind goto?

Hack: SDIO RX Aggregation Limiting
I only have two units available to me with an 8822CS module and in my testing this is only required on the BPI-CM4IO. With out LIMITING the unit will either kernel panic or not be able to send or receive.

This is currently being looked into:
https://lore.kernel.org/linux-wireless/CAFBinCBaXtebixKbjkWKW_WXc5k=NdGNaGUjVE8NCPNxOhsb2g@mail.gmail.com/T/#u

It may be possible to just set LIMITING across all builds, but that to me seems like a poor choice. This requires testing.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Michał Dziekoński
b4adb07ced sunxi-6.2 h616 orangepi-zero2: Enable expansion board USB ports 2023-06-19 22:03:40 +02:00
Michal Dziekonski (mdz)
66ba90eade
sunxi-6.1 h616 orangepi-zero2: Enable expansion board USB ports (#5345) 2023-06-19 22:03:18 +02:00
Elias Bakken
2aec6c23e6
Add support for Recore (#5351)
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
2023-06-19 22:02:56 +02:00
Bochun Bai
2c9dbc66c8 Add pwm-fan support to nanopi r4s 2023-06-18 11:56:34 +02:00
Igor
8755d232ff Adjust CB1 u-boot config due to uboot bump 2023-06-15 15:29:59 +02:00
Igor
f6a51cb39a Remove deprecated patches 2023-06-15 13:22:47 +02:00
Igor
b0857b70fd Fix remaining u-boot patch problems
Signed-off-by: Igor <igor@armbian.com>
2023-06-15 13:22:47 +02:00
Igor
d5034b1f1a Fix media kernels from breaking the build 2023-06-15 12:00:17 +02:00
Ricardo Pardini
5ebbe5c4f6 kernel: drop dead code & patches from long-disabled kernel-drivers.sh/drivers_network.sh stuff
- this has been dead code (never called) for some 6 months now
- having it there makes it hard to find the actual/real callpoints of non-dead code
2023-06-14 15:55:27 +02:00
Igor
791715ce74 Update Nanopi Duo patch, tested for booting 2023-06-14 15:31:33 +02:00
Igor
044445d189 Update Core2, k1plus, opi3lts
3lts tested - does not boot!
2023-06-14 15:31:33 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Gunjan Gupta
e7f715091c allwinner: bump current to 6.1.33 2023-06-14 05:36:26 +02:00
Ricardo Pardini
1383724e44 rockchip64 legacy: rebase+archeology all patches against ayufan's refs/tags/4.4.202-1237-rockchip-ayufan 2023-06-14 05:36:15 +02:00
Ricardo Pardini
fcddac6cab rockchip64 legacy: drop duplicated patch 2023-06-14 05:36:15 +02:00
Gunjan Gupta
bc46fd509a allwinner: bump u-boot to v2022.10 2023-06-13 20:19:36 +02:00
Ricardo Pardini
fbd169afb3 u-boot espressobin v23.01: fix defconfig patch so it applies 2023-06-13 19:32:35 +02:00
Igor
0b6d57e7d8 u-boot bpi r2 fixing broken u-boot patch
CSC target, not tested on hardware
2023-06-13 19:32:21 +02:00
Ricardo Pardini
210da22fb0 u-boot-rockchip64-v2022.04 nanopi-r4s: fix patches so they actually apply
- those were clearly/unfortunately meant to be applied "after" the common patches, so add a `zzz-` prefix
- how did this _ever_ work before? unclear...
2023-06-13 19:31:40 +02:00
Ricardo Pardini
165c55377b u-boot-rockchip64-v2022.04: rebase/archeology patches against 22.04 2023-06-13 19:31:40 +02:00
Ricardo Pardini
6d7467fc68 uboot: introduce u-boot-sunxi-v2023.04 for Allwinner boards using 23.04 u-boot (eg orangepiplus2e)
- drop `allwinner-fix-nand-spl.patch` which has been mainlined
- hammer `allwinner-boot-splash.patch` since Kconfig changed a bit upstream
2023-06-13 19:31:40 +02:00
Ricardo Pardini
dfb199ebe6 uboot: introduce u-boot-sunxi-v2022.04 for Allwinner boards using 22.04 u-boot (eg nanopineo)
- `sunxi_common`: don't overwrite `BOOTPATCHDIR` if it is set by the board (default, but do not overwrite)
- hammer `allwinner-h616-GPU-enable-hack.patch`
2023-06-13 19:31:40 +02:00
Ricardo Pardini
97fe214268 u-boot-sunxi: sunvell-r69: fix Makefile patching so it works against 22.07
- + archeology
2023-06-13 19:31:40 +02:00
Ricardo Pardini
19d532b13c rockchip64 edge 6.3: rename most remaining "add-board" patches to "board" (all "add-board"s are now bare .dts in dt/ folder)
- keep helios64 as a reminder that it was overwritten once and probably should be dropped, together with other helios64 patches
2023-06-13 12:33:59 +02:00
Ricardo Pardini
39fa226b95 rockchip64 edge 6.3: drop need_checking and disabled patches
- let git have the history
2023-06-13 12:33:59 +02:00
Ricardo Pardini
028281f0d6 rockchip64 edge 6.3: drop null-patched DTS files, add them bare in dt/ folder
- remove double/triple-patching of nanopi-m4v2 (everything is in the bare .dts now)
2023-06-13 12:33:59 +02:00
Ricardo Pardini
696831e945 rockchip64 edge 6.3: replace DT-symlink patches with bare .dts with #include 2023-06-13 12:33:59 +02:00
Ricardo Pardini
716d3ae221 rockchip64 edge 6.3: drop overlay patches in favor of bare overlays in specific folder 2023-06-13 12:33:59 +02:00
Ricardo Pardini
0646a15647 rockchip64 edge 6.3: rebase v6.3.6 + drop DT Makefile patches 2023-06-13 12:33:59 +02:00
Ricardo Pardini
22017357cd rockchip64 edge 6.3: add 0000.patching_config.yaml for rockchip64 2023-06-13 12:33:59 +02:00
Ricardo Pardini
a58621686e rockchip64 edge 6.3: drop add-boards-to-dts-makefile.patch 2023-06-13 12:33:59 +02:00
Ricardo Pardini
42fef1907b meson64 edge 6.4: drop null-patched DTS files, add them bare in dt/ folder
- convert `add-board-t95z.patch` to `board-t95z-add-rc-remote-keymap.patch` since that's all that's left
- `-spinor` DTS really should be overlays, but keep them as alternate .dtbs for now
2023-06-13 12:33:47 +02:00
Ricardo Pardini
c2540dc40f meson64 edge 6.4: drop overlay patches in favor of bare overlays in specific folder 2023-06-13 12:33:47 +02:00
Ricardo Pardini
21a3dbe269 meson64 edge 6.4: rework general-meson-mmc-3-arm64-dts-docs-Update-mmc-meson-gx-documentation-for.patch into YAML 2023-06-13 12:33:47 +02:00
Ricardo Pardini
69393464b0 meson64 edge 6.4: drop general-meson-gx-mmc-fix-deferred-probing.patch -- upstreamed
- https://lore.kernel.org/linux-arm-kernel/16b74882-d65b-93c9-f72b-1d53bfefa22f@omp.ru/T/#t
2023-06-13 12:33:47 +02:00
Ricardo Pardini
ef137b43c7 meson64 edge 6.4: hammer general-gpu-drm-add-new-display-resolution-2560x1440.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
e430fb090f meson64 edge 6.4: simple fix for drv-spi-spidev-remove-warnings.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
93fb615c3e meson64 edge 6.4: drop ODROID-N2+'s gpio fan patches, something similar landed upstream 2023-06-13 12:33:47 +02:00
Ricardo Pardini
ef87eb4a71 meson64 edge 6.4: rework board-bananapim5-sd-use-270-mmc-clock-phase-via-dt.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
632b6f0740 meson64 edge 6.4: drop patches for boards that landed; change BPICM4 from add to board with pyavitz's fixes 2023-06-13 12:33:47 +02:00
Ricardo Pardini
30ea65b68e meson64 edge 6.4: rebase to 6.4-rc5; 7 are failing to apply 2023-06-13 12:33:47 +02:00
Ricardo Pardini
069324a120 meson64 edge 6.4: drop patches that landed upstream and backports 2023-06-13 12:33:47 +02:00
Ricardo Pardini
447b0b8276 meson64 edge 6.4: add 0000.patching_config.yaml for meson64 2023-06-13 12:33:47 +02:00
Ricardo Pardini
359a766056 meson64 edge: bump from 6.2 to 6.4 (family file + symlink) 2023-06-13 12:33:47 +02:00
Ricardo Pardini
38d34e5269 meson64 edge 6.4: initial copy (as-is) of 6.2 patches 2023-06-13 12:33:47 +02:00
Ricardo Pardini
1c9030c73c meson64 edge 6.2: rebase v6.2.16, drop Makefile patches, archeology, mbox'ing
- drop empty doc patch add-board-bananapi-cm4-cm4io.patch
2023-06-13 12:33:47 +02:00
Julian Sikorski
bb91ddf5ad Update odroidxu4-current to 5.4.246 2023-06-12 13:43:10 +02:00
schwar3kat
b342bb0395 AR-1774 orangepi-r1plus-lts device tree fix
Modify Orange Pi R1 Plus LTS device tree for upstream driver in kernel >= 6.3 yt8531
2023-06-07 20:35:19 +02:00
Paolo Sabatino
66671dd661 remove the motorcomm legacy driver patch 2023-06-07 20:35:19 +02:00
Paolo Sabatino
43fcf160ff rk3399: use mainline yt8531c driver on rockchip64-6.3 2023-06-07 20:35:19 +02:00
Paolo Sabatino
f66f71c300 rk3399: fix orange pi 4 lts sdcard boot on kernel 6.3 2023-06-07 20:35:19 +02:00
Julian Sikorski
4d68d17f11 Update odroidxu4-current to 5.4.245 2023-06-07 20:34:20 +02:00
Igor
4219634bfe Remove sunxi 5.16 and 5.19, no need for them too
Signed-off-by: Igor <igor@armbian.com>
2023-06-02 21:16:20 +02:00
Igor
315c15f892 Update config, remove readme patch, adjust series 2023-06-02 21:16:20 +02:00
The-going
4be023c271 sunxi-5.15: Delete unused ones, fix the necessary patches 2023-06-02 21:16:20 +02:00
The-going
1d61f1d26e sunxi-5.15: re-extract the megous series fixes from above v5.15.113 2023-06-02 21:16:20 +02:00
The-going
f283926317 sunxi-5.15: remove old extract megous patches 2023-06-02 21:16:20 +02:00
The-going
465f038fbf sunxi-5.15: remove unused patches 2023-06-02 21:16:20 +02:00
The-going
3f3213b3aa sunxi: remove 5.4, 5.11, 5.12, 5.13, 5.14, 5.17, 5.18, 6.0 2023-06-02 21:16:20 +02:00
Patrick Yavitz
e5b6fbe573 BPI-CM4: BT: changed enable-gpios from GPIOX_17 to GPIOX_19
As discussed here: https://github.com/armbian/build/pull/5273
REVERTS: e2171ca737

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-02 19:38:14 +02:00
Patrick Yavitz
032db0522d AGAIN: RTW88: SDIO driver via patches for Linux 6.1/6.2/6.3
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-02 19:38:14 +02:00
Patrick Yavitz
e2171ca737 BPI-CM4 IO: Use the sdio-pwrseq to reset GPIOX_19
This will reset bluetooth `host-wake-gpios`, enabling it to come back upon reboots.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 11:30:10 +02:00
Paolo Sabatino
0dd171ba5a rk322x: update esp8089 driver to allow unloading 2023-06-01 08:11:55 +02:00
Paolo Sabatino
5d40d67b82 fix rockchip 32 bit families patches for kernel 6.3 2023-06-01 08:11:45 +02:00
Vyacheslav Bocharov
0758dfa6bd This add support for RTW88 SDIO driver via patches for 6.1/6.3 kernel
Additional driver support:
    Realtek 8822BS SDIO wireless network adapter
    Realtek 8822BU USB wireless network adapter
    Realtek 8822CS SDIO wireless network adapter
    Realtek 8822CU USB wireless network adapter
    Realtek 8821CS SDIO wireless network adapter
    Realtek 8821CU USB wireless network adapter

Revert "Revert "BPI-CM4 IO: RTW88: `Realtek 8822CS SDIO` `Wireless Support`"":

This reverts commit 672bd5393a.
This restore commit 3f169bcae2.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2023-06-01 08:10:45 +02:00
AGM1968
98d5f0af22 LED-green_power_on-red_status_heartbeat 2023-06-01 08:10:34 +02:00
Patrick Yavitz
eafd8bd49a DRIVER POWER MESON64 RESET: maintenance
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Patrick Yavitz
bb48f6080c Improve Meson64 Support
BPI-CM4:
In accordance with the BSP DTS, set LED gpio to GPIO_ACTIVE_LOW.
Added default-on trigger to led-green
Board now powers off, added reboot node 'meson64-reboot'.

CONFIG_POWER_RESET_MESON64
Isolated RESET ODROID driver and renamed to MESON64 as it can be used in more than ODROIDS.

MESON UART
Series improves support for UART attached Bluetooth modules on Amlogic Meson G12A and newer SoCs. These SoCs also support the "divide XTAL by 2" bit which (greatly) reduces jitter when generating baud rates such as 1500000 (which is used by the Bluetooth part of the RTL8822CS SDIO WiFi and UART Bluetooth combo chip).

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Alan
9d69bb1da6 Patches: add current(6.1) & edge(6.2) patch for BigTreeTech CB1
Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
2023-05-30 17:36:29 +08:00
boyi
ce002b2240 bananapim5/bananapim2s: adding patches to boards for nvme/scsi, but not USB 2023-05-27 12:15:04 +02:00
Vyacheslav Bocharov
672bd5393a Revert "BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support"
This reverts commit 3f169bcae2.
2023-05-26 14:07:04 +02:00
Patrick Yavitz
3f169bcae2 BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support
Additional driver support:
Realtek 8822BS SDIO wireless network adapter
Realtek 8822BU USB wireless network adapter
Realtek 8822CS SDIO wireless network adapter
Realtek 8822CU USB wireless network adapter
Realtek 8821CS SDIO wireless network adapter
Realtek 8821CU USB wireless network adapter

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-05-26 07:37:28 +02:00
Ricardo Pardini
9d90dcd3d4 drivers_network: uwe5622: park-link-v6.2-only.patch only for 6.2.y 2023-05-26 07:35:05 +02:00
Ricardo Pardini
930e363990 starfive/edge: bump 6.1.23 to 6.1.y; rebase to v6.1.30; hammer dma,pwm patches; update .config 2023-05-26 07:25:29 +02:00
AGM1968
e08645740b arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2 2023-05-26 07:22:51 +02:00
Ricardo Pardini
10855677e5 rockchip64/edge 6.3.y: fix broadcom bt serdev hack for 6.3.4 2023-05-25 05:09:49 +02:00
Ricardo Pardini
38bda3ac57 drivers_network: wireless-driver-for-uwe5622-park-link-v6.1-post: fix for 6.1.30 2023-05-25 05:09:49 +02:00
Ricardo Pardini
848f176a52 rockchip64/current 6.1.y: fix broadcom bt serdev hack for 6.1.30 2023-05-25 05:09:49 +02:00
Paolo Sabatino
bff4dfee52 fix rk322x and rockchip 32bit patches for kernel 6.1 2023-05-25 00:48:38 +02:00
Ricardo Pardini
0cf457b2ef kernel: drivers: wireless-rtl8723du-6.3.patch: don't patch the same thing twice 2023-05-24 19:21:42 +02:00
Ricardo Pardini
1cdab8b1cf rockchip64/edge 6.3.y: rebase against v6.3.3, do archeology for missing mbox'es 2023-05-24 19:21:31 +02:00
Ricardo Pardini
fde9ca206e rockchip64/edge 6.3.y: manually fix Radxa E25/CM3 patches 2023-05-24 19:21:31 +02:00
Ricardo Pardini
fa21a75d00 rockchip64/current 6.1.y: fix broken Radxa E25 patch from #5165
- drop the common dtsi changes
2023-05-24 19:21:09 +02:00
Ricardo Pardini
03810833ef sunxi 6.1 and 6.2: disable broken ov5640 patches (some kind of camera?)
- most of those were already disabled on 6.2, now some more patches on top also broke.
- it works up to 6.1.15, but 6.1.16 broke it; `megi`'s tree is still sitting at 6.1.12.
2023-05-24 19:20:48 +02:00
Paolo Sabatino
59363d5a0f rk3399: fix again OrangePi 4 LTS sdcard detection 2023-05-21 19:29:28 +02:00
Ricardo Pardini
09e82fe25e meson64-edge (6.2.y): rebase & update .config to 6.2.16 (EOL); pick chewitt (add t95z+fixes); rework SPI-NOR dtbs
- `meson64`-`edge` (6.2.y): drop old/unused/pre-armbian-next builddeb patch that was leftover
- `meson64`-`edge` (6.2.y): pick & squash from chewitt's tree; new t95z board and its tm1628 driver, fixes for odroidc2, vim3, gxl/gxm SDIO
- `meson64`-`edge` (6.2.y): reword the `-spi` extra DTBs for the N2(+) into more generic for g12; add VIM3/VIM3L which also have same SPI NOR scheme
- `meson64`-`edge` (6.2.y): update .config to 6.2.16; enable `CONFIG_TM1628`
- `meson64`-`edge` (6.2.y): rebase to 6.2.16 after picking chewitt
2023-05-21 14:01:11 +02:00
Ricardo Pardini
eb4320f424 odroidm1 / rk3568-odroid: recover overlays from 6.1; update .config; fix patch dir name 2023-05-21 13:58:31 +02:00
Patrick Yavitz
80e4d37315 patch: kernel: meson64-6.1: add-board-bananapi-cm4-cm4io
Backport: BPI-CM4 CM4IO dts/dtsi

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-05-21 11:11:25 +02:00
Alan
8eeb9379d1 Move rtl8189-disable-debug patch from kernel to misc(drivers_network.sh) 2023-05-19 23:35:49 +02:00
amazingfate
afa8775f3e delete upstream merged patches of rk35xx-5.10 2023-05-19 23:34:49 +02:00
igorpecovnik
c7fc14a7b8
Remove deprecated patches (#5187) 2023-05-18 19:52:36 +02:00
Julian Sikorski
5b3aba795b
Update odroidxu4-current to 5.4.243 (#5191) 2023-05-18 19:52:16 +02:00
Jianfeng Liu
97983de408
clean patches for rockchip-rk3588-legacy (#5189) 2023-05-18 11:38:27 +02:00
krachlatte
45c8587861
Improve SD card compatibility on Radxa E25 (#5165) 2023-05-17 00:55:30 +02:00
tdleiyao
211ce5ede5 rockchip-rk3566:add new board Panther X2 2023-05-16 19:50:14 +02:00
Ricardo Pardini
88cc3a061f drivers: uwe5622 for 6.3.y, by @paolosabatino 2023-05-16 08:55:33 +02:00
Ricardo Pardini
906ca66430 rockchip64/edge/6.3: rebase/rewrite patches against v6.3.1; do archeology for mbox-less patches; materialize overwrites
- materialized overwrites:
  - `add-board-helios64.patch`
  - `add-board-orangepi-r1-plus.patch`
  - `add-driver-for-Motorcomm-YT85xx+PHYs.patch`
  - `add-board-rk3328-roc-pc.patch`
- not touched: wifi patches, those still require work before rebase is consistent.
  - `wifi-4003-uwe5622-adjust-for-rockchip.patch`
    - this patch is done on top of the wifi drivers patches exclusively, and fails to apply out of tree.
    - we should probably consider moving this into the wifi drivers patch harness, not in the rockchip tree.
2023-05-16 08:55:33 +02:00
Igor
35d5ae75ff Add to EDGE to and enable EDGE kernel in board config
Tested for building.
2023-05-15 17:33:03 +02:00