Commit Graph

4322 Commits

Author SHA1 Message Date
Ricardo Pardini
ea30a06236 mekotronics: refactor vendor conf/hooks; vendor uboot with new patches; new blobs
- meko: don't use Radxa's Rock-5A u-boot anymore, switch to rockchip vendor next-dev branch
- meko: my own (horrible) patches for MAC address stability / defconfig
- meko: cherry picked a few patches for getting rid of BL32/read Bl31 from env and other fixes from Radxa
- meko: add OTP node to 3588 dtsi (so we don't need kern-dtb in ITS for working OTP)
- meko: refactor common code across 3 (soon to be 4) board files into vendor conf and hooks
- meko: bump DDR/BL31 blobs for all Meko boards
2023-07-01 14:53:34 +02:00
Gunjan Gupta
d404b7e805 allwinner: edge: Bump kernel to v6.4 2023-07-01 14:40:08 +02:00
Gunjan Gupta
35dddeab31 patch: kernel: allwinner: add patches for 6.4 kernel 2023-07-01 14:40:08 +02:00
Gunjan Gupta
2ccc26b657 kernel: sunxi: bump edge kernel to 6.3 2023-06-29 13:02:26 +02:00
Gunjan Gupta
8505c3c434 Make a copy of sunxi-6.2 patches for 6.3 kernel 2023-06-29 13:02:26 +02:00
Tony
45f6ca540c
rockchip-rk3588-edge bump to 6.4 add nanopc-t6 dts (#5407) 2023-06-29 10:51:09 +02:00
Ricardo Pardini
859ecea496 meson64 current 6.1.y: drop patch that landed upstream in 6.1.36: mmc: meson-gx: fix deferred probing 2023-06-28 21:27:19 +02:00
Ricardo Pardini
81125507f9 meson64 edge 6.4: bump from 6.4-rc5 tag to linux-6.4.y branch
- rebase one patch
2023-06-27 07:10:28 +02:00
Gunjan Gupta
d63d08f375 NanoPi Duo2: enable ethernet and powerbutton 2023-06-27 07:09:57 +02:00
Ricardo Pardini
4456572267 khadas-vim3l: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- symlink in patch/u-boot/v2023.07 from `board_khadas-vim3` to `board_khadas-vim3l` since KBI is the same for both
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Ricardo Pardini
9aca4e549a khadas-vim3: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- this introduces the `v2023.07` u-boot patch directory, with the boot-usb-nvme-scsi-first patch rebased
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Gunjan Gupta
748eba0031 Allwinner: Bump u-boot to v2023.07-rc4 2023-06-26 20:54:19 +02:00
Gunjan Gupta
e4f9f637a6 Allwinner: Bump u-boot to 2023.04 2023-06-26 20:54:19 +02:00
Gunjan Gupta
9525b2d16c Allwinner: Bump u-boot to 2023.01 2023-06-26 20:54:19 +02:00
Jannis
ef0598a88e
helios4: Fix pwm patch (#5392) 2023-06-26 20:52:58 +02:00
AGM1968
a2628bea9e
sunxi-6.2 Series Fixes (#5379) 2023-06-26 20:40:47 +02:00
Patrick Yavitz
da0f7467a4 patch/misc/rtw88: wireless-next 2023-06-22
This brings the patch set up to 2023-06-22 wireless-next

Drivers tested;
8822CS. 8821CU and 8723DS

Notables;
Not seeing random dmesg spam `rtw_8822cs failed to get tx report from firmware` which I would see on both the CS and CU from time to time.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-26 13:46:40 +02:00
Igor
8356063d05 Remove deprecated patches 2023-06-22 18:12:03 +02:00
Gunjan Gupta
fddd8d1de4 allwinner: add u-boot patches to enable crust on H3 2023-06-20 21:36:31 +02:00
Michał Dziekoński
ff15205fe8 sunxi-6.1 h616 orangepi-zero2: rename cpu scaling patch filename
(reflect kernel this patch applies to)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
b89089ee88 sunxi-6.1 h616 orangepi-zero2: port over LED changes
(see https://github.com/armbian/build/pull/5270)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
51158ffa73 sunxi-6.1 h616 orangepi-zero2: port over cpu scaling
(see https://github.com/armbian/build/pull/5247)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
Patrick Yavitz
988c5f762b patch: misc: rtw88: fix action frame transmission fail before association
For combo chips, antennas were controlled by bluetooth only during power on. If WiFi wish to do transmission, notification to the coexistence module are required. Previously we only do this before authentication. To allow transmission before auth, such as management TX, now we start the initiation of coexistence earlier so antennas are shared between WiFi and bluetooth after set_channel(), and frames could then be sent.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Patrick Yavitz
7c4874a70b patch: misc: rtw88: backport updates v2
Linux 6.1.34 / 6.3.8
Bits of code from upstream creeped down into LTS and Stable, creating fails and false skips. The offending code has been removed from the patch set.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
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