Commit Graph

4380 Commits

Author SHA1 Message Date
Gunjan Gupta
7d73409014 Allwinner: Remove 6.3 kernel patches as its no longer used 2023-09-02 03:46:28 +05:30
Gunjan Gupta
8562428877 Allwinner: Kernel patches for 6.5-rc7 kernel 2023-09-02 03:46:28 +05:30
Lane Jennison
ea17706f47 nanopir5s: add friendly interface names in udev, add device tree overlay for front leds 2023-08-26 13:39:22 +02:00
Ricardo Pardini
2ef13b4e8b rockchip64/edge (6.4): rebase patches to 6.4.12, some archeology 2023-08-23 21:35:37 +02:00
Igor Pecovnik
a564bccda5 Remove deprecated patches 2023-08-23 21:22:24 +02:00
c0rnelius
e3798c21ed
dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios (#5634)
* dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
enable-gpios.  This is also required by bindings:

  meson-g12b-bananapi-cm4-cm4io.dtb: regulator-vddio-c: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* board-bananapi-cm4-switch-to-enable-gpios: `text formatting correction`

Apparently the builder did care for the original.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-23 12:16:55 -04:00
Ricardo Pardini
c35adb37c7 odroidm1: de-infest Petitboot 🔥 use Kwiboo's 2023.10 u-boot; UMS works
- using Kwiboo's `rk3568-2023.10` branch  with BINMAN-handled blobs
- patches (defconfig unless indicated):
  - boot usb first (rockchip-common)
  - blink leds & keep red one one on preboot; reset SPI env once after deinfesting from Petitboot
  - change usb_host0_xhci to otg (u-boot dtsi)
  - enable DM_GADGET, UMS 🔥 and RockUSB
- **usage instructions**:
  - build & burn image to SD card
  - insert SD card into board
  - **hold the recovery (RCY) button** and power on the board
  - watch board boot
  - **de-infest Petitboot**: use `armbian-install` to install bootloader to MTD
    - if you don't, you'll need to hold the recovery button every boot
    - optionally: use `armbian-install` to install OS to eMMC/NVMe/USB
  - power-off board
  - remove SD card (new u-boot always boots SD first!)
  - boot into your newly de-infested machine
    - boot order: USB, SD, MMC, NVME, SCSI
- de-infested machine can now boot (directly) from USB/SATA/NVMe, possibly via EFI:
  - Armbian UEFI-arm64
  - Fedora 38 aarch64
  - HASSOS for ODROID-M1
  - Talos arm64
  - others...
- extra: new u-boot by Kwiboo (with GMAC patches) gives us stable MAC address
  - although it is based on cpuid#, doesn't match the HK sticker on the board
    - run `fw_setenv ethaddr XX:XX:XX:XX:XX:XX` to change eth addr in SPI flash environment if needed
- `odroidm1`: update DDR/BL31 blobs (this depends on https://github.com/armbian/rkbin/pull/20)
2023-08-22 12:57:34 +02:00
Ricardo Pardini
6191627822 odroidm1/edge (rk3568-odroid): drop 6.3 and 6.4 patches 2023-08-22 12:57:34 +02:00
Ricardo Pardini
23e02ed8e5 odroidm1/edge (rk3568-odroid): bump to 6.5-rc6; manually fix RK808 breakage in .config; externalize overlays; use Makefile autopatcher; rebase patches 2023-08-22 12:57:34 +02:00
Ricardo Pardini
3f4da8a020 odroidm1/edge (rk3568-odroid): bump to 6.4.y, update config, rebase patches to 6.4.10 2023-08-22 12:57:34 +02:00
Gunjan Gupta
13af1b79d1 kernel: sunxi: bring back autofocus support for ov5640 camera 2023-08-21 19:51:46 +05:30
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
2023-08-20 21:11:54 +02:00
Gunjan Gupta
97983d0749 kernel: sunxi: current: drop g_parm support patch as it causes kernel oops 2023-08-20 23:54:25 +05:30
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Patrick Yavitz
b4c379e391 general: extra: meson64 overlays
meson-sm1-bananapi-rtl8822cs.dtbo

Although the exp board target is for the M5 it also works
on the BananaPi M2S. Tested on the BPI-M2S.

Add support for the RTL8822CS expansion board.
https://wiki.banana-pi.org/Banana_Pi_BPI-M5#Wifi_.26_BT_support_via_expansion_board

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-18 17:46:49 +02:00
Tony
5a19f70f9d
RK OC overlays for 6.4 update (#5602) 2023-08-17 14:43:32 -04:00
Gunjan Gupta
02051676b0 meson-s4t7: Enable dtbo support
The support is implemented by using dtbo files supplied by Khadas directly
in the linux-dtb package. The files are not compiled just copied.
2023-08-15 16:03:24 +02:00
Igor Pecovnik
b26efad047 Remove deprecated patches 2023-08-14 09:03:23 +02:00
Julian Sikorski
f0b8102718 Update odroidxu4-current to 5.4.253 2023-08-12 10:04:46 +02:00
Muhammed Efe Cetin
c6ba2283a7 rk3588: edge: update kernel to 6.5-rc5 and fix its timeout issue 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
c268d2f916 opi5-plus: add initial support for edge kernel 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
607ae37caa rk3588: edge: update patches according to kernel mailing and collabora 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
bc073ff3a5 opi5: edge: update some nodes on devicetree 2023-08-12 10:04:30 +02:00
Ricardo Pardini
eb9dc7ea5c khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
- vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
- meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
- meson-s4t7.conf: include both `u-boot.bin.sd.bin.signed` and `u-boot.bin.signed` in uboot package
- meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
- meson-s4t7.conf: set `EXTLINUX_SPECIFIC_FDT=no`, so u-boot auto-determines which DTB to use
    - don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image
2023-08-09 11:20:28 +02:00
Paolo Sabatino
1219f8decc rk3399: adjust opi4lts thermal trip points 2023-08-05 11:43:48 +02:00
c0rnelius
3261469268
arm64: dts: amlogic: meson-sm1-bananapi-m2-pro: add uart_A (#5558)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-04 12:23:31 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Igor
1febbc6c90 Adjust patch in order to compile succesfully 2023-08-04 10:37:49 +02:00
Paolo Sabatino
1e0f6d960b rk322x: add bcm43342 chip identifier 2023-08-03 23:12:21 +02:00
c0rnelius
9b04e0faf6
Improve bananapi-sm1 support (#5553)
Linux 6.1 (current) / 6.4 (edge)

Add "current" to: config/boards/bananapim2pro.csc
Add uart_AO_B and uart_B to: meson-sm1-bananapi.dtsi
Add related pins to: meson-g12-common.dtsi
add wif/bt support to: meson-sm1-bananapi-m5.dts (BT = uart_A)
Add the ability to enable via overlays

NOTE: The overlay to enable the wifi on the BPI-M5 will be added
at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-03 14:01:15 -04:00
Thomas McKahan
f9efecf6cd meson64: fix usb on odroid c2
Thanks to NicoD giving me a kick, identified/implemented fix present in 6.2+ builds to keep the hub from going to suspend.
2023-08-02 08:26:52 +02:00
Tony
3cfef5b07f
bugfix: dts: rk3328 and rk3399 oc overlays (#5542)
Mainline updated the opp table handles to match the schema, this broke the overlays.
Overlays updated with correct handle names.

reported-by: @neofeo
2023-08-01 13:39:25 -04:00
c0rnelius
0e2a7f1daf
general: extra: meson64 overlays (#5532)
* general: extra: meson64 overlays

Linux 6.1.y (current)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* general: extra: meson64 overlays

Linux 6.4.y (edge)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

As suggested by: @efectn

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* meson64-6.4: overlay: Makefile: `maintenance`

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-01 06:43:28 -04:00
Julian Sikorski
3ff14bdf14 Update odroidxu4-current to 5.4.251 2023-07-29 15:47:24 +02:00
c0rnelius
46666e1ecb
arm64: dts: amlogic: add missing cache properties (#5523)
As all level 2 and level 3 caches are unified, add required
cache-unified properties to fix warnings like:

meson-a1-ad401.dtb: l2-cache0: 'cache-unified' is a required property

https://lore.kernel.org/lkml/20230421223211.115612-1-krzysztof.kozlowski@linaro.org/T/

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 12:26:06 -04:00
Tony
6accbcf281
rk3588 collabora: dts: update nanoPC-T6 (#5518)
* rk3588 collabora: dts: update nanoPC-T6

* rk3588 collabora: dts: add gpio nanoPC-T6
2023-07-27 09:46:25 -04:00
Gunjan Gupta
1dfdff3e31 kernel:sunxi: Add tve encoder for H5 boards as well
Also as the patch was missing in edge kernel, added the same
2023-07-26 19:46:21 +02:00
Gunjan Gupta
8195919d44 Kernel: Allwinner: Bump legacy, current and edge kernel
Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
2023-07-24 17:03:30 +05:30
Patrick Yavitz
e22fa3aa35 board: bananapim2s: git format-patch remove builder warnings
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Tony
400da79efd
NanoPC-T6 Collabora: add PCIe 3 (#5497) 2023-07-21 16:33:06 -04:00
Gunjan Gupta
173bacd0ac kernel: sunxi: Fix patch failures for 6.1.39 and 6.4.4 kernel
Disabled broken patches that are upstream or not needed due to
upstream changes. Modified thermal-sun8i-Be-loud-when-probe-fails.patch
to fix patch application
2023-07-20 16:49:29 +02:00
Gunjan Gupta
8a13dae89d kernel: sun50i: h5: current: add missing gpu trips section 2023-07-19 23:15:37 +02:00
Gunjan Gupta
cb4944929b kernel: sunxi: Add resume, reboot support by pressing power button on orangepi prime 2023-07-19 23:15:37 +02:00
Muhammed Efe Cetin
9a0908f9ba update rk3588-edge to v6.5-rc1 2023-07-15 00:00:07 +02:00
Muhammed Efe Cetin
f7c410de2f Grab several patches from collabora and upstream 2023-07-15 00:00:07 +02:00
Igor Pecovnik
89a6750d78 Bump UEFI edge to 6.4.y 2023-07-11 11:15:00 +02:00
tdleiyao
66b9f60e70 Panther X2: Modify usb mode and enable GPU 2023-07-11 11:14:26 +02:00
Gunjan Gupta
ea50e971ae patch: kernel: sunxi: h3: fix OPP not supported by regulators on boards with gpio-regulator 2023-07-11 11:13:57 +02:00
Gunjan Gupta
60fd20a720 kernel: sunxi: make use of patches from driver harness 2023-07-10 08:56:18 +02:00
Paolo Sabatino
2335ef091b revert to pre-6.4 dw-hdmi patch to restore hdmi functionality 2023-07-09 11:24:10 +02:00
Paolo Sabatino
4605bcab83 bump rockchip edge kernel to 6.4 2023-07-09 11:24:10 +02:00
Paolo Sabatino
803cfe41f2 reform patches to revert to pre-6.4 working behaviour 2023-07-09 11:23:30 +02:00
Paolo Sabatino
5153821ac0 bump rk322x-edge to 6.4 2023-07-09 11:23:30 +02:00
John Williams
9ed43bdce8 Apply previous fix to rockchip64-edge and rk322x 2023-07-06 23:02:22 +02:00
John Williams
38c3d109a6 Do not set incorrect mac80211 flags 2023-07-06 23:02:22 +02:00
Thomas McKahan
bfc8271519 NanoPC-T6-collabora: dts: add pcie2 and eth 2023-07-05 21:22:58 +02:00
Thomas McKahan
23d8ce7c5c nanopc-t6-collabora: dts: enable USB2 2023-07-05 21:22:58 +02:00
hzy
c923112d72 meson: edge: refresh patches 2023-07-05 10:55:32 +02:00
hzy
12ab63f0a2 meson: edge: Bump v6.4 2023-07-05 10:55:32 +02:00
hzy
8659f4a345 meson: edge: Create meson-6.3 patches from meson-6.1 2023-07-05 10:55:32 +02:00
Thomas McKahan
1289a81543 NanoPC-T6-Collabora: add dvfs regs 2023-07-05 10:55:14 +02:00
Tony
1a84aceb65
NanoPC T6 fix PWM pinctrl, add Collabora kernel (#5431) 2023-07-04 13:04:48 -04:00
Gunjan Gupta
317ee9d4cb allwinner: patch series files cleanup 2023-07-02 23:57:13 +05:30
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
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
Igor
8356063d05 Remove deprecated patches 2023-06-22 18:12:03 +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
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
d5034b1f1a Fix media kernels from breaking the build 2023-06-15 12:00:17 +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
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
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
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
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
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
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
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
Bochun Bai
9c4f0524e0 add dts patch for kernel 6.1 2023-05-15 17:33:03 +02:00
Bochun Bai
3cb92f6204 add support for NanoPi R4SE 2023-05-15 17:33:03 +02:00
Igor
8ac568102e Switch Rockchip CURRENT to 6.1.y 2023-05-15 17:12:06 +02:00
Igor
215e3ebd27 Update edge too 2023-05-14 21:28:58 +02:00
Igor
f0236e98f6 Update RPI4 kernel config 2023-05-14 21:28:58 +02:00
Paolo Sabatino
5342449e6b rk322x: add emmc and sdmmc pwrseq 2023-05-08 11:30:19 +02:00
Paolo Sabatino
3b3e3405bc rk3399: minor rework of patches triggering warnings 2023-05-08 11:21:55 +02:00
amazingfate
495d35be49 fix unidiff warning from patches of rockchip64-6.3 2023-05-06 12:55:10 +02:00
amazingfate
85bab47bba bump rockchip64 edge to v6.3 2023-05-06 12:55:10 +02:00
Michał Dziekoński
7167d5c420 sunxi-6.2 h616: Fix thermal zones (add missing trips) 2023-05-05 12:27:14 +02:00
Michał Dziekoński
613234a75c sunxi-6.1 h616: Fix thermal zones (add missing trips) 2023-05-05 12:27:14 +02:00
Julian Sikorski
f543927a46 Update odroidxu4-current to 5.4.242 2023-05-05 12:26:58 +02:00
AGM1968
250a9c2cc0
h616 Cpu frequency scaling (#5123)
* Add-h616-efuse_xlate-cpu-freq-scaling

* series_additions_h616-cpu-freq-scaling

* series_armbian_changes_h616-cpu-freq-scaling

---------

Co-authored-by: AGM1968 <AGM1968@users.noreply.githib.com>
2023-05-03 09:35:53 +02:00
Ricardo Pardini
a84d4f079e rk3399-4.4: remove mbox-confusing long explanation from ancient patch in ancient kernel; possibly fixes #5119 2023-05-01 22:46:43 +02:00
Paolo Sabatino
9c6829bccb rk322x: patch legacy kernel makefile to compile with recent gcc 2023-04-30 15:04:08 +02:00
Paolo Sabatino
51b884a441 rk322x: fix patches for rk322x legacy kernel 4.4 2023-04-30 15:04:08 +02:00
Paolo Sabatino
7a5cd0b246 rockchip: fix dtbs_install step for overlays 2023-04-29 07:46:18 +02:00
Ricardo Pardini
64f7ff599a uefi/edge: bump to 6.3 2023-04-28 21:32:52 +02:00
Ricardo Pardini
5f2a1af219 bcm2711/edge: bump to 6.3 (rpi4b, RPi Foundation Kernel) 2023-04-28 21:32:52 +02:00
Ricardo Pardini
506189dd8b rockchip-rk3588/edge: bump to 6.3, drop 6.2 patches 2023-04-28 21:32:52 +02:00
Paolo Sabatino
da0ab48b79 rockchip: bump edge kernel to 6.3 2023-04-27 21:31:27 +02:00
Paolo Sabatino
98b6aec554 rk322x: bump edge kernel to 6.3 2023-04-27 21:30:02 +02:00
Paolo Sabatino
c7740059da rk3328: add patch to enabled pcm5102 DAC on I2S1 bus 2023-04-22 20:08:02 +02:00
Alban Browaeys
93fb7498c0 Fix helios64 vdd-log supply
vdd-log supply is pwm-supply, not vin-supply.
Fixes vdd-log supply ending up the dummy regulator.

[    1.783479] pwm-regulator vdd-log: Looking up pwm-supply from device tree
[    1.783505] pwm-regulator vdd-log: Looking up pwm-supply property in node /vdd-log failed
[    1.783556] vdd_log: supplied by regulator-dummy

Per https://lore.kernel.org/all/20211227234529.1970281-2-heiko@sntech.de/
there will be no functional change as the supplying regulator is an always-on
fixed-regulator.
2023-04-22 09:57:11 +02:00
Brent Roman
ddfdf75a17 restore RK3308 audio mistakenly removed by 588c2ec17e 2023-04-22 09:56:46 +02:00
Julian Sikorski
014bc261dd Update odroidxu4-current to 5.4.241 2023-04-20 22:31:39 +02:00
amazingfate
f81ef8ed21 fix dp alt mode error log message typo 2023-04-20 09:21:55 +02:00
Radoslav
88fe8bae61 h3 thermal sensor values fix 2023-04-15 22:47:26 +02:00
Radoslav
55d16b3d26 h3-dth 2023-04-15 22:47:26 +02:00
Radoslav
41260ac309 h3-tve (arm-dts-sun8i-h3-orangepizero-add_tve.patch) 2023-04-15 22:47:26 +02:00
Radoslav
24dcf942f5 OrangePi Zero TV Output kernel patch 2023-04-15 22:47:26 +02:00
Igor
10315c4f74 Bump sunxi and disable broken mvebu patch @heisath 2023-04-13 20:46:04 +02:00
hzy
9341455567 meson: onecloud: Enable USB0 OTG mode 2023-04-03 21:21:17 +02:00
hzy
1dfc55d74f meson: onecloud: Correct eMMC node 2023-04-03 21:21:17 +02:00
hzy
ae4a1747c1 meson: onecloud: Update GPIO descriptions 2023-04-03 21:21:17 +02:00
hzy
30566d6f96 meson: onecloud: Bugfix: Slow ethernet uplink
Not sure why but PHY's TX delay doesn't work, which cause TX
retransmission and slow uplink. So let's use MAC's TX delay.
2023-04-03 21:21:17 +02:00
hzy
689e7d2a61 meson: onecloud: Resort DTS node 2023-04-03 21:21:17 +02:00
Paolo Sabatino
4d80872e49 rk322x: fix emmc/sdio clock selection 2023-04-03 21:01:38 +02:00
Julian Sikorski
7ab8245a77 Update odroidxu4-current to 5.4.239 2023-04-01 20:51:31 +02:00
hzy
76ce4c3a3d Fix uImage build 2023-03-30 03:41:28 +08:00
hzy
b850beb50a meson8b: Reorganize patches
Move all patches out from board-special patch folders which is not
supportted now.
2023-03-26 20:54:56 +02:00
Paolo Sabatino
5930e5e536 rk322x: move edge kernel to 6.2 2023-03-24 23:14:09 +01:00
Paolo Sabatino
191f4c8b67 rk322x: fix old emmc detection on rk322x 2023-03-24 23:13:18 +01:00
Paolo Sabatino
3f704692a7 rockchip: bump edge kernel to 6.2 2023-03-24 23:12:56 +01:00
Julian Sikorski
879805a520 Update odroidxu4-current to 5.4.238 2023-03-22 21:27:16 +01:00
Igor
87b8ad6ae7 Bump sunxi to latest versions 2023-03-20 13:30:48 +01:00
SteeManMI
6dc26119c3
Cleanup: Removed two dead links (softlinks whose target doesn't exist) (#4972)
Changes to be committed:
	deleted:    config/desktop/buster/appgroups/programming/sources
	deleted:    patch/kernel/archive/sunxi-5.11/sunxi-5.12
2023-03-20 08:02:20 -04:00
SteeManMI
7b99735c44
Fix patch failures on meson64-current (6.1) (#4973)
Changes to be committed:
	deleted:    patch/kernel/archive/meson64-6.1/board-bananapim5-002-switch-VDDIO_C-pin-to-OP.patch
		- Patch upstreamed in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts?h=v6.1.20&id=58dccc65221c6465a35cb6bb2ff41f2b75b367f0
	modified:   patch/kernel/archive/meson64-6.1/board-bananapim5-003-convert-dts-to-dtsi.patcha
		- Fixed patch due to upstream change in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts?h=v6.1.20&id=e35feeb3fdbe3eeffae5e75123fa44523b5076b8
	deleted:    patch/kernel/archive/meson64-6.1/board-radxa-zero-dts-otg-fix.patch
		- Patch upstreamed in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts?h=v6.1.20&id=b556778f76f975ccf7f008729b5bc2531c58ea95
	deleted:    patch/kernel/archive/meson64-6.1/general-arm64-dts-amlogic-Make-mmc-host-controller-interrupt.patch
		- Patch upstreamed in 6.1.12:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=274d9a28527d64a95107a1e62c71632065f0924f
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=222b1070b0fa12be25f9503a503724a899c6326b
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=a01ad536becb5d4c001a7d50dc1ca9fa14ef75a8
	modified:   patch/kernel/archive/meson64-6.1/general-meson-mmc-1-arm64-amlogic-mmc-meson-gx-Add-core-tx-rx-eMMC-SD-SD.patch
		- Fixed patch due to upstream change in 6.1.13 by copying the 6.2 version which was already rebased
2023-03-20 07:59:11 -04:00
Ricardo Pardini
58f46aa5ed
meson64: edge: 6.2: fixes & rebase & naming convention, after #4941 (#4942)
* meson64: edge: drop upstreamed patches (odroidhc4 cooling map + radxa zero otg fix)

* meson64: edge: v6.2.y: adapt Neil's new BPI-CM4 patches to Armbian naming non-convention (for ordering)

* meson64: edge: v6.2.y: fix patches sensitive to patching order (amlogic.yaml, DT Makefile)

* meson64: edge: rebase against v6.2.5, no actual changes
2023-03-13 23:21:20 +01:00
Neil Armstrong
7fea781425 Add support for BPI-CM4 with BPI-CM4IO
Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The DT is imported from the submission done at [2] and applied
at [3], the u-boot support was submitted at [4].

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[4] https://lore.kernel.org/all/20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-03-13 13:55:15 -03:00
Jianfeng Liu
d3c036be10
toggle rk3588 new legacy kernel (#4888)
* toggle rk3588 new legacy kernel

* enable additional drivers from radxa

* change R8125 builtin

* fix orangepi5 uboot build target
2023-03-12 22:42:04 +01:00
Heisath
46ae5155c5
Correctly create a new mvebu-6.2 patch folder, update symlink, update/fix patches for mvebu-edge 2023-03-12 22:30:56 +01:00
Igor Pečovnik
acf5810cbe
Move Rpi kernels to 6.2, move current to legacy (#4898)
* Update Rpi4 kernels, configs and adjust broken patches

* Re-enable legacy in sources and board config
2023-03-11 19:19:13 +01:00
Jianfeng Liu
f8a272faa4
fix rockchip64 6.1 patches (#4917)
* fix rockchip64 6.1 patches

* remove LINUXFAMILY rk35xx for rk35xx edge
2023-03-11 18:31:52 +01:00
Paolo
fd022527f3
sunxi, media: Realtek rtl8723cs driver consolidation (step 2) (#4924)
* sunxi: remove rtl8723cs patches from sunxi-edge (6.2)
 * adjust minor pinephone patch
* media: remove rtl8723cs patches from media-edge
* media: remove rtl8723cs patches from media-current (6.1)
* sunxi: reinstate rtl8723cs patches for sunxi-6.1 and disable them
* sunxi: reinstate rtl8723cs patches for 6.2 and disable them
2023-03-10 19:15:10 +01:00
Paolo Sabatino
6132e2c0fd consolidation of rtl8723cs staging driver for kernel 6.1 onwards
* main source for driver and patches are sunxi64 megous patches
* move into patch/misc/wireless-rtl8723cs directory
* integrate with minor patches from rk322x/rockchip64 families
* update drivers_network.sh to apply patches in same order as before
* remove references from patches.megous and series.conf in sunxi64
* remove patches from rk322x and rockchip64 family patches
* do not touch kernel archives older than 6.1
2023-03-08 11:54:31 +01:00
Paolo Sabatino
06ff3e3f07 rockchip64: enable orange pi 4 lts DMC driver 2023-03-08 11:12:41 +01:00
Paolo Sabatino
03a00c5ce4 rockchip64: set poll rate 50ms for rk3399 dmc driver 2023-03-08 11:12:41 +01:00
Paolo Sabatino
4ea9330e51 rockchip64: enable dmc on Rock PI E board 2023-03-08 11:12:22 +01:00
Paolo Sabatino
7d2cd41dee rk322x: fix possible crash, unneeded code and remove cruft in dmc 2023-03-08 11:11:49 +01:00
Igor Pečovnik
c4d27ab073
Disable broken patch on imx6 platform (#4914)
All boards are without maintainers so not a problem if features are disabled.
2023-03-08 09:06:55 +01:00
Paolo
e91e27cc83
rockchip: remove mainlined patch (#4908) 2023-03-05 19:16:43 +01:00
Igor Pečovnik
66f09d4567
Move imx edge kernels to 6.2, current to 6.1, current to legacy (#4900) 2023-03-05 17:04:49 +01:00
Igor Pečovnik
ad827fe0a5
Move UEFI legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4896) 2023-03-05 17:02:52 +01:00
Igor Pečovnik
a27111be62
Move mvebu edge kernels to 6.2, current to 6.1, current to legacy (#4901) 2023-03-05 16:54:50 +01:00
The-going
b7ab460983
Move sunxi legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4890)
* sunxi-6.1: rebase to v6.1.14, reexport patches megous

* sunxi-6.1: rename fixes patches

* sunxi-6.1: reexport armbian patches

* sunxi-6.1: fix the series.conf file to the current state

* sunxi-6.1: switch edge to v6.1.14

* Adjust sunxi to 5.15 / 6.1 / 6.2

- change configs
- adjust broken patches
- disable patch that only changes /readme.md and it has issues

---------

Co-authored-by: Igor Pečovnik <igor@armbian.com>
2023-03-03 22:13:49 +01:00
The-going
77674a2b76
Sunxi 6.2 (#4883)
* sunxi-6.2: add megous patches

* sunxi-6.2: add series.conf

* sunxi-6.2: add armbian patches

* sunxi-6.2: mfd: sunxi-ac200: fix error initialization

* sunxi-6.2: Extract patches again after rebasing

---------

Co-authored-by: Igor Pečovnik <igor@armbian.com>
2023-03-03 19:09:22 +01:00
Julian Sikorski
e7f6405616
Update odroidxu4-current to 5.4.233 (#4894)
* Update odroidxu4-current to 5.4.233
* Add config and .234

---------

Co-authored-by: Igor <igor@armbian.com>
2023-03-03 18:59:45 +01:00
Ricardo Pardini
755479f407 meson64: edge: rebase patches onto v6.2.1; fix mbox for recently added patch (no actual changes) 2023-02-28 18:54:28 -03:00
Vyacheslav
f0af468abf
Update meson64 edge branch to linux-6.2.y (#4876)
Reallign patches
2023-02-28 09:57:01 +01:00
Julian Sikorski
1dc2cecc3f
Update odroidxu4-current to 5.4.232 (#4858) 2023-02-24 20:03:44 +01:00
hzyitc
41709dd756
meson: bump current to v6.1 and edge to v6.2 (#4843)
* meson: bump current to v6.1 and edge to v6.2
2023-02-22 09:24:41 +01:00
Igor Pečovnik
26b41a50fa
Merge branch 'main' into AR-1543 2023-02-22 08:12:57 +01:00
amazingfate
83b90b1f6a
remove mmc alias for rock3a and radxa-e25 2023-02-22 08:04:27 +01:00
amazingfate
94751ee733
fix radxa e25 uboot and kernel boot 2023-02-22 08:04:18 +01:00
amazingfate
a02bbcc155
enable serial output on rock-3a and radxa-e25 2023-02-22 08:04:03 +01:00
amazingfate
1b0d8f33d3
add radxa e25 2023-02-22 08:03:56 +01:00
amazingfate
d005dc8574
update rk35xx legacy kernel to 5.10 2023-02-22 08:03:48 +01:00
Ricardo Pardini
9e29827ad9
risc-v/starfive/starfive2/d1: all of RichNeese's Risc-V boards and families - squashed
- `risc-v`: rework RichNeese's boards, reduce families, move tweaks to boards
- `risc-v`/`starfive`: `CONFIG_MOTORCOMM_PHY=m` for the onboard Ethernet
- `risc-v`/`starfive`: use mainline kernel 6.1.y, with StarFive's rebased patches against `v6.1.5`
  - from https://github.com/starfive-tech/linux/commits/visionfive
  - contention point: `1022-soc-sifive-ccache-Add-StarFive-JH71x0-support.patch` which I merged half-assed, need review/fixes?
  - `risc-v`/`starfive`: update kernel config, sans changes
- `risc-v`/`starfive`: switch from `grub` to `extlinux`
- `risc-v`/`starfive`: new `starfive` family with their (vendor) kernel

Co-authored-by: Richard Neese <r.neese@gmail.com>
2023-02-18 07:46:43 -03:00
Ash Hughes
2b896d72fb
meson64: current + edge: bring back fixed version of odroid-reboot driver (Fix reboot on odroid C4 when using UHS-II SD cards) [cherry pick] 2023-02-18 07:46:38 -03:00
Ricardo Pardini
0f9e3f7578
meson64: edge/6.2: arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip 2023-02-18 07:46:31 -03:00
Ricardo Pardini
6ceb772a7a
v6.2-rc7: bump edge to v6.2-rc7 for UEFI / meson64 / rk3568-odroid / rockchip-rk3588 2023-02-18 07:46:29 -03:00
Ricardo Pardini
ac974ac132
rockchip64: current/5.15: fix bad unidiff/lack of mbox of wifi-hf-lps170-bl602.patch & makefile 2023-02-18 07:46:28 -03:00
Ricardo Pardini
608a5b779a
rockchip64: current/5.15: remove IPX revert patch that's already in drivers now 2023-02-18 07:46:27 -03:00
Ricardo Pardini
e914af3713
sunxi/sunxi64: disable some sunxi/sunxi64 "readme" patches that contain other patches -- for discussion 2023-02-18 07:46:25 -03:00
Ricardo Pardini
bf8934d938
media: fixes for bad mbox/unneeded patches media-edge and media-current - thanks to @schwar3kat
- fix bad mbox for same old patch
- remove builddeb/mkdebian patches which are not needed in a-n
2023-02-18 07:46:24 -03:00
Ricardo Pardini
64f9cf9b46
meson64: edge/6.2: rebase onto v6.2-rc5 2023-02-18 07:46:21 -03:00
Ricardo Pardini
ca0fa01ea9
meson64: edge/6.2: spi-nor: add support for XT25Q64 in addition to XT25F128B 2023-02-18 07:46:19 -03:00
Paolo Sabatino
38389e2e73 rockchip: fix missing bluetooth for tinkerboard, add back AUFS driver 2023-02-17 17:05:45 +01:00
Igor Pečovnik
31ee14377c
Split Bananapi M2PRO from M5 (#4826)
This is comming to 6.2 / 6.3
2023-02-12 21:51:59 +01:00
João Assunção
8652bf3d37
Adds SPI, I2C, and PWM DTS overlays for odroid-m1 (#4825)
Adds i2c3, pwm1, pwdm2, spi0 and uart1 nodes to rk3568-odroid-m1.dts.
Adds patch to remove spi-dev warning
Adds patch with support for overlay compilation
Adds DTS overlays for spi, uart0, uart1, pwm1, pwm2, pwm9, i2c0 and i2c1

Co-authored-by: jassuncao <joao.assuncao@exploitsys.com>
2023-02-12 21:20:35 +01:00
M. Efe Çetin
bf2042a175
Add AP6275P overlay for Orange Pi 5 (#4829) 2023-02-12 21:20:18 +01:00
hzyitc
c6b9135293
meson: Fix broken patches (#4795) 2023-02-02 14:08:22 +01:00
Oleg
50a1ecd2f6
fix Station P1 (#4796) 2023-02-02 14:08:11 +01:00
schwar3kat
72a505d061
Merge pull request #4778 from schwar3kat/Tweak-orangepi-r1plus-lts-LEDs-and-networking
Tweak orangepi-r1plus-lts LEDs and networking.
2023-02-02 11:29:10 +13:00
Oleg
20ee08325f
move kernel media current 6.1 and edge 6.2 (#4781)
* move kernel media current 6.1 and edge 6.2
add board quartz64b

* fix nanopc-t4
2023-02-01 20:24:20 +01:00
hzyitc
133c595539
meson: remove legacy branch (#4769) 2023-02-01 20:23:36 +01:00
schwar3kat
219bbfcf8a
add-rk3328-device-tree-overlay-uart1-i2c0 (#4776)
RK3328 UART1 and I2C0 are available on Orange Pi R1 Plus LTS 13 pin connector. Add device tree overlay files for rk3328 uart1 and i2c0.

Co-authored-by: schwar3kat <schwar3kat@armbian.com>
2023-02-01 20:22:26 +01:00
Paolo
418228fb90
rockchip64: fix rk3328 dmc driver (#4774) 2023-02-01 20:18:41 +01:00
M. Efe Çetin
86cad1f74b
Disable hardware cursor for Rock 5B and Orange Pi 5 (#4773) 2023-02-01 20:18:25 +01:00
M. Efe Çetin
d99246eceb
Add rockchip-rk3588-opp-oc-24ghz overlay for RK3588 boards (#4733) 2023-02-01 20:15:55 +01:00
The-going
ca696c2839
sunxi: switch CURRENT to 5.15.91, EDGE to 6.1.9 (#4785)
Delete previously applied
2023-02-01 20:15:37 +01:00
catalinii
95267c37b4
Fix CEC for Radxa Rock 3A (#4786)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2023-02-01 11:01:57 -08:00
schwar3kat
9cd5c76b2e
Tweak orangepi-r1plus-lts LEDs and networking.
Add sys-triggered LED's, fix LAN LEDS, and improve Debian dual network function.
2023-02-01 17:52:18 +13:00
Paolo Sabatino
66cc120dad fix SPDIF for x88pro/mxq rk3328 tvbox boards 2023-01-31 15:58:08 +01:00
Paolo
79019296d8
rockchip64: consolidation for uwe5622 driver, v6.1 kernel compatibility (#4766) 2023-01-30 17:28:37 +01:00
Tony
726023c4e2
Delete board-rk3328-roc-cc-rock64-add-usb3.patch (#4763)
already present in mainline
2023-01-29 15:29:59 +01:00
Tony
b817c37877
[ rockchip64 ] renegade patch missing nodes (#4764) 2023-01-29 15:29:48 +01:00
Jianfeng Liu
620b87fbf0
add rk3588-implicit-sync patches from icecream95 for rk3588 legacy kernel (#4762) 2023-01-28 17:02:44 +01:00
The-going
4a61f38df8
Switch sunxi: current to 5.15.90, edge to 6.1.8 (#4757)
* switch-sunxi: CURRENT to 5.15.90, EDGE to 6.1.8

* sunxi-6.1: update upstream to tag orange-pi-6.1-20230118-1327

sunxi-5.15: rebase
2023-01-27 15:25:50 +03:00
Vyacheslav
1f35491cb7
Merge pull request #4754 from jethome-ru/AR-1522-fix-sdio-port-irq-level-bug-found-in-6-0-kernel
Add SDIO irq patch to fix irq lost in new SDIO irq code (kernel 6.0+)
2023-01-26 23:21:42 +03:00
Oleg
462b3befec
correction of bpir2pro frequency control and changing the composition of images (#4753) 2023-01-26 19:08:48 +01:00
Viacheslav Bocharov
61ee32eed5
Add SDIO irq patch to fix irq lost in new SDIO irq code (kernel 6.0+) 2023-01-26 18:16:30 +03:00
Tony
06762428ff
[ rockchip64 ] move disabled patches to folder (#4751) 2023-01-26 10:04:47 +01:00
Julian Sikorski
0aa867b2d5
Update odroidxu4-current to 5.4.230 (#4741) 2023-01-25 18:32:41 +01:00
Paolo Sabatino
8aa351a999 rk322x: bump current kernel flavour to 6.1 2023-01-24 20:56:18 +01:00
Paolo Sabatino
cb3226dfa3 bump rockchip 32bit to kernel 6.1 2023-01-24 20:56:00 +01:00
Paolo Sabatino
973b3c0610 rockchip64: rework pbp patch including usb type-c extcon services 2023-01-24 20:55:38 +01:00
Igor Pečovnik
6d38906c8d
Move UWE5622 from kernel patches to misc (#4723)
Todo: Compare and unify with the driver that floats in Rockchip patches
2023-01-22 08:40:12 +01:00
The-going
fc70c73608
sunxi: switch CURRENT to v5.15.89, EDGE to v6.1.7 (#4724) 2023-01-22 08:39:59 +01:00
catalinii
fadcb7d915
Fix cec disconnecting after TV restart (#4725)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2023-01-22 08:39:48 +01:00
M. Efe Çetin
2fd67982bb
Add missing I2C, SPI, PWM, UART, LCD overlays to Orange Pi 5 (#4712) 2023-01-20 18:44:38 +01:00
Oleg
eb7b1aa1d1
fix kernel edge for Jetson Nano (#4719) 2023-01-20 18:43:42 +01:00
Julian Sikorski
0c914b32c5
Update odroidxu4-current to 5.4.229 (#4711) 2023-01-19 18:49:59 +01:00
schwar3kat
73f4776bf2
Clean_up_mbox_format_in_general-add-overlay-configfs.patch (#4705)
For rockchip64 all applicable versions. No code changes. Prevents patching errors in armbian-next.
2023-01-17 19:30:22 +01:00
Paolo
2a51ee3d77
rk322x: fix tsadc-related bootloop on some boards (#4701) 2023-01-16 10:33:01 +01:00
Hannes Braun
f13fc83465
RockPro64: add thermal fan control (#4702) 2023-01-16 10:32:48 +01:00
Paolo Sabatino
2568d8b042 adjust video4linux2 patch for rk322x and rockchip families 2023-01-11 23:19:42 +01:00
simple
f9740dbe8c
Add overlays for rockpro64 7″ lcd (#4684) 2023-01-11 19:00:44 +01:00
Ricardo Pardini
5656417c9d
mvebu64: remove dangling symlinks for both current and edge (#4679) 2023-01-10 07:03:09 +01:00
Ricardo Pardini
0ea5a3547b meson64: edge: bump to 6.2 - rebased patches against tag v6.2-rc3
- usual conflict resolution (Makefiles, mostly)
2023-01-10 00:31:41 +01:00
Ricardo Pardini
80dffbc761 meson64: edge: bump to 6.2 - copy patches as-is from 6.1 2023-01-10 00:31:35 +01:00
Igor Pečovnik
65d6891e33
Switch Meson64 CURRENT to K6.1 (#4677)
- remove older patches
2023-01-09 16:33:57 +01:00
Ricardo Pardini
952fc55acb
meson64: 6.1.y/edge: BananaPi M5: use 270 clock phase via amlogic,mmc-phase (#4674) 2023-01-09 13:36:20 +01:00
Ricardo Pardini
513e318cdb
mvebu: 6.1: fix mbox formatting for 12-net-dsa-mv88e6xxx.patch (#4670)
- `FFrom `... -> `\nFrom ` makes it mbox-valid again
- detected by armbian-next's Python patching which now matches mbox-to-magic-markers count
2023-01-09 08:25:22 +01:00
Ricardo Pardini
2eec233f52
uefi-arm64: 6.1: add patch for Phytium D2000 onboard Ethernet (#4671)
- ACPI stmmac glue, PHY hack
- there are 2 gmacs, but only eth1 has an actual PHY
- original https://gitee.com/atzlinux/atzlinux-kernel/tree/master/debian/patch
- adapted to default to =m, not require Feiteng kernel reqs, and small api change around 5.19.y (done before)
- squash and rename patch to reflect what it is
- remove numbering, let's not do numbered patches in UEFI families?
2023-01-09 08:24:53 +01:00
Ricardo Pardini
2a9b374634
meson64: 6.1.y/edge: docs: fix zero2's patch after bpim2s's addition (#4672) 2023-01-09 08:22:45 +01:00
Ricardo Pardini
321fec6f41
meson64: 6.1.y/edge: rebase patches against v6.1.4 (no actual changes) (#4673) 2023-01-09 08:22:23 +01:00
The-going
591ae55fcd
Sunxi 6.1 (#4669)
* sunxi-6.1: Remove pre-applied patches for v6.1.4
* sunxi-6.1: switch to v6.1.4 tag
2023-01-08 11:11:08 +01:00
Igor Pečovnik
adac8d4a46
Update Opi Zero 2 legacy kernel (#4642)
* Update Opi Zero 2 Legacy kernel

+ enable images back as those works decently, mainline is too fragile.

* Fix broken patch
2023-01-07 21:00:16 +01:00
Kirill
ff318b4c97
i2c: mv64xxx: Atomic i2c for 5.15 kernel (#4664) 2023-01-07 20:58:32 +01:00
Paolo
362e777f11
Rebase Nanopi patches over existing kernel source (#4665)
* rockchip64: apply nanopi-r2s patches over existing kernel source

* rockchip64: apply nanopi-r4s patch over existing kernel source
2023-01-07 20:53:40 +01:00
Daniel Pinto
b9170c2f22
Add patch to support sata on Orange Pi 5 (#4666) 2023-01-07 20:53:29 +01:00
M. Efe Çetin
8ce93a2eb3
Fix common OPi 5 HDMI issues (#4659) 2023-01-06 20:12:36 +01:00
Jannis
b619876210
[AR-1313] Move mvebu edge to 6.1 (#4652)
* Initial work on bringing mvebu to 6.0

* Switch mvebu edge to 6.1

* Remove link leftover

* Update kernel config

Co-authored-by: Igor <igor@armbian.com>
2023-01-04 18:37:42 +01:00
m][sko
1df33255c0
rock 5b edge add sd card support, remove tegra and update to Linux rc2 (#4653)
* add sdcard support, remove tegra support and update to rc2

* cleaner tegra config cleanup
2023-01-04 18:37:21 +01:00
AGM1968
8ce4bbcded Add fix all 5.19.17 updated patches megous 2023-01-03 19:11:01 +03:00
The-going
a0fbc74998 sunxi-6.1: promotion to version 6.1.2 (#4647) 2023-01-03 11:55:56 +03:00
catalinii
48e45d0c9c
Mainline support for Rock 5B (#4606)
Co-authored-by: root <catalinii@yahoo.com>
2023-01-01 10:01:16 -08:00
jeanrhum
2c58242006
Initial support for Bananapi M2S (#4597)
* Initial support for Bananapi M2S

BPI-M2S is a small form factor SBC based on the Amlogic A311D chipset (or s922x, not supported yet):

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 16GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output
- 2 Gigabit ports
- 40 pins GPIO
- 1x USB-A 2.0
- 1 USB-C (5V power)

Not working/tested:
- 2nd ethernet port
- MIPI DSI/CSI

* Edge kernel for BPI M2S

* filename fixes; call attention to sharing FIP blobs

* Adding u-boot patches for BPI M2S

* meson-g12.conf update after amlogic FIP blobs for Bananapi M2S are now part of librelec FIP repo

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-01-01 14:28:49 +01:00
M. Efe Çetin
71ac9beb28
Fix USB2 and Type C ports on Orange Pi 5 (#4634) 2022-12-31 13:37:31 -08:00
Ricardo Pardini
18198b1d7d
orangepi5.wip: initial OrangePi5 support; collab with @efectn (#4582)
* `orangepi5.wip`: initial OrangePi5 support

- OPi5's Xunlong vendor u-boot; override family in board hook
  - using original config from vendor, needs `BOOT_SOC`
- OPi5's kernel patches, all extracted from Xunlong's tree
  - Only enable the DT patch and the Motorcomm PHY patch
  - Other stuff that looks might be useful is grouped in a few other disabled patches
  - Most panel/overlays/etc from Xunlong tree not included
- everything is on top of existing `rockchip-rk3588` family,
  - thus the same crazy half-android rk kernel tree and ancient rk u-boot

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

* `linux-rockchip-rk3588-legacy`: `.config` updated to 5.10.110; no actual changes

- prepare for merging Xunlong config

* `linux-rockchip-rk3588-legacy`: `.config` Xunlong config, manually merged; preserved previous PR's

- preserved previous PR's changes:
  - 1fdbab346a
  - bf3b8a8fb7
  - 7a3ad3afb2
  - f1952f97f4
  - ab70cb247f
  - 62adba7825
  - ba10622c32
  - cd4da2a77b
  - 7b3325c95e
  - b4945d973c
  - a8473e8143

* `linux-rockchip-rk3588-legacy`: `.config` re-updated to 5.10.110 after Xunlong changes

* OPi5: `rockchip-rk3588-legacy`: add patch to remove chosen > bootargs from `rk3588-linux.dtsi`

* Opi5: add build targets (by Igor)

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Igor <igor@armbian.com>
2022-12-31 16:55:55 +01:00
Konstantin Litvinov
44c4cdf865
Fixed issue with NVMe identification in rk3399-rock-pi-4.dts (#4627)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-30 21:17:33 +01:00
Konstantin Litvinov
6d20fa48ac
This code was added to the sources, which creates a mess in rk3399-rock-pi-4.dts (#4619)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:55 +01:00
Konstantin Litvinov
68802d5c78
Disable patch breaks Bluetooth (#4620)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:19 +01:00
Konstantin Litvinov
97fae815f8
Leds was added to the sources, which creates a mess in rk3399-rock-pi-4.dts (#4621)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:27:27 +01:00
Oleg
94b921ff2b
fix build kernel media legacy\curren\edge (#4617) 2022-12-27 21:10:15 +01:00
Igor Pečovnik
bd1756ff8d
It seems this patch breaks Bluetooth on PBP (#4609) 2022-12-24 09:44:17 +01:00
simple
235d246fa1
Fix nanopct4 rt5651 sound&clean wireless,bluetooth&add general-add-panel-simple-dsi.patch (#4608)
* Fix nanopct4 rt5651 sound&clean wireless,bluetoorh

* add panel-simple-dsi.patch
2022-12-24 09:44:07 +01:00
simple
3b78b57fe3
Fix general-add-panel-simple-dsi.patch on linux6.1 (#4607) 2022-12-24 09:43:51 +01:00
brentr
588c2ec17e
Rockpis devtree mainlined (#4603)
* moved rockpro64 patch out of rockpis patch sequence

It had been misnamed

* patch new mainline devtree for Rock Pi-S instead of overwritting it.

Also restores lost bluetooth compatibility items on UART4
2022-12-23 21:57:53 +01:00
The-going
3c79a24253 Fix: patch/kernel/sunxi-edge -> archive/sunxi-6.1 2022-12-23 17:20:50 +03:00
Tony
ec5cc85467
Delete board-roc-rk3399-pc-fix-fusb302-compatible.patch (#4598)
Patch was already eliminated in 5.15, resolve "edge"

9680fc46a0
2022-12-23 00:10:50 +01:00
Julian Sikorski
8cc5b2664c
Update odroidxu4-current to 5.4.228 (#4595) 2022-12-20 12:16:09 +01:00
The-going
c30a7c0d20
Sunxi 6.1 add armbian patches (#4594)
* sunxi-6.1: add armbian patches

* sunxi-5.15: switch to v5.15.84
2022-12-20 10:36:17 +01:00
Paolo Sabatino
eba079d42e rk322x: increase to 16 stations the maximum number of ESP8089 AP clients 2022-12-19 15:21:15 +01:00
Tony
141d3d285a
Delete add-board-rk3399-roc-pc-plus.patch (#4587)
Device tree exists in mainline and is more complete.  Also likely this board is not using this kernel anyway.
2022-12-18 16:27:53 -05:00
Tony
1428d73fdb
Rename add-board-roc-pc.patch to add-board-rk3328-roc-pc.patch (#4583)
* Rename add-board-roc-pc.patch to add-board-rk3328-roc-pc.patch

there are a large number of "roc-pc" boards as firefly has adopted/misapplied the Libre Computer naming convention.  Be as specific as possible.

ALSO NOTE A DTS EXISTS IN MAINLINE.  

This patch is overwriting the mainline DTS entirely, and should be replaced with patches changing the mainline instead to avoid further deviation from the base.

* Rename add-board-roc-pc.patch to add-board-rk3328-roc-pc.patch

Specify which roc-pc it is
2022-12-18 15:29:27 -05:00
Tony
20d388b65a
Delete rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch (#4584)
This patch doesn't make any changes to the source file:

-		rockchip->ep_gpio = devm_gpiod_get_optional(dev, "ep",
-							    GPIOD_OUT_HIGH);
+		rockchip->ep_gpio = devm_gpiod_get_optional(dev, "ep", GPIOD_OUT_HIGH);
2022-12-18 13:55:04 -05:00
The-going
0a4822d2f5
Bump sunxi (#4580)
* Bump sunxi - tested for build

* Add configs

* Bump sunxi - tested for build

* Add configs

* sunxi-6.1: add series.conf file include megous patches

* Switch to initial tag=v6.1

* Add patches fixses

* Switch CURRENT to v5.15.83

Co-authored-by: Igor <igor@armbian.com>
2022-12-17 15:58:45 +01:00
Igor Pečovnik
92f1a22d76
Re-add rockchip64 6.0 patches (#4575) 2022-12-16 13:38:13 +01:00
Ricardo Pardini
5a7ae3ab76 rockchip-6.1: fix xt-q8l-v10-remote-keymap.patch mbox formatting; rebase against 6.1.0
- this patch had "half-mbox" formatting
  - first a bare patch (no mbox headers, From/Subject etc)
  - then an mbox-formatted patch
- this causes the 1st/bare patch to be lost when parsing this file with a proper mbox-enabled tool
2022-12-16 12:20:17 +01:00
Paolo
73739badd7
Fix rk322x edge kernel 6.1 compilation (#4572)
* rk322x: fix renamed constant

* rk322x: fix rtl8723cs wireless driver
2022-12-14 23:50:07 +01:00
Igor Pečovnik
b9b8912de0
Bump rockchip64 EDGE to 6.1 with disabling few drivers (#4570)
* Bump rockchip64 EDGE to 6.1 with disabling few drivers

Broken fsusb30, uwe5662, lps170, simple panel ...

* Fix Rpi4 from not generating DT
2022-12-14 16:44:53 +01:00
Oleg
276f346ee9
move kernel media to current 6.0 and edge 6.1 (#4566) 2022-12-14 10:17:09 +01:00
Igor Pečovnik
c0001d566b
Bump bcm, imx, mvebu64 and xu4 EDGE to 6.1.y (#4560)
* Bump bcm, imx, mvebu64, xu4 and rockchip to 6.1.y

* Add configs for imx6 and xu4

* Add broadcom kernel config

* Move XU4 edge to mainline kernel as hardkernel branch contain nothing for it

* Move Rockchip64 EDGE to 6.1

* Move rockchip (32 bit) edge to kernel 6.1

* Move rk322x edge kernel to 6.1

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-12-14 01:43:31 +01:00
hzyitc
e4bb1fed8f
meson: edge: bump to v6.1 (#4562)
* meson: edge: Bump v6.1
* meson: edge: refresh patches
* meson: edge: refresh config
2022-12-13 14:42:31 +01:00
Ricardo Pardini
fc19046930
uefi: bump kernel to 6.1.y; remove dangling symlinks (#4555) 2022-12-12 19:59:06 +01:00
The-going
d6dc1404a3
Sunxi 6.1 (#4561)
* sunxi-6.1: Initial state

* Add the ability to extract the source kernel version 6.1
2022-12-12 19:57:50 +01:00
Ricardo Pardini
eb7d4a0bd2
meson64: bump edge to 6.1-rc8 (#4554)
* `meson64-6.1` - rebased patches; 3 were mainlined

- JetHub device was mainlined
- ODROID's hack for pwm1_enable was re-done diffrently in mainline

* `meson64`: switch `current` to `6.0`, `edge` to `6.1-rc8`
2022-12-12 08:02:49 +01:00
Ricardo Pardini
5b46bd7273
meson64-6.0 kernel patches: mbox formatting, archeology to find lost authors/descriptions; rebase against 6.0.12; no actual changes (#4546) 2022-12-12 08:02:25 +01:00
Oleg
6762c278b8
fix buils kernel media deb (#4538) 2022-12-07 21:27:42 +01:00
amazingfate
2bc8eee1ff update legacy kernel of rk3588 to linux-5.10-gen-rkr3.4 2022-12-07 16:13:29 +08:00
Igor Pečovnik
2b9fca9117
Port meson sm1 emmc related patches from edge to current (#4523) 2022-12-06 21:52:37 +01:00
Igor Pečovnik
974c31029a
Bump sunxi to recent and adjust broken patches (#4535)
* Bump sunxi to recent

* Adjust patches for EDGE
2022-12-06 09:52:24 +03:00
Marco Nelissen
d893360377 Fix USB OTG on Radxa Zero
The USB node was accidentally set to host mode in the dtb, preventing
OTG from working.
Patch origin: https://github.com/radxa-repo/bsp/blob/main/linux/stable/0020-radxa-zero/0005-arm64-dts-radxa-zero-set-dr_mode-of-usb-node-to-otg.patch
2022-12-05 08:46:33 -08:00
The-going
215bba7dac sunxi-6.0: initial state patches armbian 2022-12-03 22:22:31 +03:00
The-going
d85c545f3b
sunxi-6.0: fix for v6.0.10 (#4514) 2022-12-01 12:11:07 +01:00
Julian Sikorski
0d018427b1
Update odroidxu4-current to 5.4.225 (#4499) 2022-11-27 21:44:06 +01:00
brentr
d8fd01bc54
Updated v4.4 HW RND driver with that from v5.10 kernel (#4485) 2022-11-25 18:02:13 +01:00
Igor Pečovnik
e43f76edc9
Remove deprecated patches for XU4 (#4488) 2022-11-25 18:01:55 +01:00
Oleg
9076d1c25e
DTB fix for Station M3 (#4465) 2022-11-20 23:00:44 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
Ricardo Pardini
834fab09d0
armbian,spi-dev hacks also for rockchip64-5.18, .19, and 6.0.y (#4450) 2022-11-16 18:39:47 +01:00
hzyitc
6328187c1f
meson: legacy: bump to 5.10.155 (#4451) 2022-11-16 18:39:36 +01:00
Ricardo Pardini
3e7789445c
odroidm1: use mainline 6.1-rc5, grab DTS only from mmind/v6.2-armsoc/dts64 as single patch; +armbian-nextify (#4452) 2022-11-16 18:39:25 +01:00
RadxaNaoki
c3db31bde2
enable es8316 audio properly (#4433)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Co-authored-by: Igor <igor@armbian.com>
2022-11-16 11:32:03 +01:00
Paolo
ed2c6d3c67
rockchip: advance edge kernel to v6.0 (#4445) 2022-11-15 20:22:47 +01:00
Paolo
c95f5157f7
rockchip64: fix broken 6.0 drivers, reshape config (#4442) 2022-11-15 20:19:30 +01:00
Paolo
35db7a3995
rk322x: bump kernel to 6.0 (#4443)
* rk322x: advance edge kernel to 6.0

 * accomodate fixes to ssv6051, esp8089 and rtl8723cs drivers, dmc
   driver, mglru patch
 * update libreelec patches to latest bits

* import fix from ssv6051 driver for 64-bit
2022-11-15 20:19:17 +01:00
Igor Pečovnik
8b4a9f3296
Bump to most recent sunxi kernel (current) (#4440)
* Bump to most recent sunxi kernel (current)

* sunxi-5.15: rework for v5.15.78 (#4444)

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-11-15 22:08:16 +03:00
Ricardo Pardini
9ad65d83eb
More updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4429)
* `meson64`: `6.0`: g12a and g12b pinmux patches from Radxa

* u-boot: `radxa-zero2`: Radxa's patches for the Zero2 on `v2022.10`

* u-boot: `radxa-zero2`: use `v2022.10` plus Radxa's patches

* `meson64` u-boot v2022.10: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and SCSI before SD, MMC, PXE, DHCP

* `radxa-zero`: include v2022.10 standard patches (eg: boot from USB first)
2022-11-14 14:59:45 +01:00
Paolo Sabatino
5cdd5cdd59 fix patch with broken hunk, update other patch from libreelec set 2022-11-14 00:19:38 +01:00
Paolo Sabatino
ae36e56171 add reset properties for rkvdec and iep nodes, minor fix to rkvdec 2022-11-14 00:19:38 +01:00
Oleg
c29e51c708
move kernel media-edge to 6.0.7 (#4405)
* move kernel media-edge to 6.0.7

* fix name
2022-11-12 10:51:25 +01:00
Oleg
738c161307
move kernel media-current to 5.19.17 (#4406)
* move kernel media-current to 5.19.17

* fix name
2022-11-12 10:11:22 +01:00
The-going
58b77e1cfd
Sunxi 6.0: update megous patches, switch to v6.0.8 (#4425)
* sunxi-6.0: update upstream megous patches to tag orange-pi-6.0-20221105-1830

* sunxi-6.0: rebase to v6.0.8

* sunxi-6.0: switch to v6.0.8
2022-11-12 10:54:18 +03:00
Ricardo Pardini
98c95c00ba
Updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4420)
* `radxa-zero` &  `radxa-zero2`: set `BOOT_FDT_FILE` explicitly; no real changes

* `radxa-zero2`: `6.0`/`edge`: update Radxa Zero 2 DTS patch with Radxa's latest

* `radxa-zero`: `6.0`/`edge`:  update USB-C patch with "fix interrupt storm from fusb302"

* `radxa-zero`: use pure mainline v2022.10 u-boot with no patches
2022-11-11 19:29:48 +01:00
Vyacheslav
8ad4114bce
Add meson-gx mmc driver patches for use phase clock settings from dts (#4408)
Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2022-11-10 21:50:09 +01:00
Julian Sikorski
b395e2aa75
Update odroidxu4-current to 5.4.223 (#4389) 2022-11-06 21:49:32 +01:00
Paolo
b5882bd596
rk322x: fix broadcast/multicast layer2 packets for ssv6051 (#4378)
* rk322x: fix layer2 broadcast/multicast packets handling

* rk322x: remove unapplicable patch
2022-11-05 07:54:34 +01:00
balbes150
4c3ad68a25 fix dts for rk3399-firefly 2022-11-03 09:19:09 +03:00
Joe Khoobyar
af24261cad
AR-1301: add edge and desktop (#4377)
* add rockpi patches to linux-6.0.y

* enable desktop test builds
2022-11-02 10:45:35 -04:00
Igor Pečovnik
9780da320e
Add Radxa ROCK Pi 4C Plus (#4129)
* Add Rockpi 4C+

* add newer patches:

- apply patches from RadxaNaoki <noaki@radxa.com>
  - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (#17)
- apply latest patches from Marcone <marco.nelissen@gmail.com>
  - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
  - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
  - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
  - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
  - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG

* default top USB3 port to host mode

* get 2nd HDMI port to work at least. :)

* revert OTG USB3.1 port back to otg mode

* [rockpi4c+] update board def.  add usb host overlay.

* remove redundant HDMI clocks and voltages

* enable test builds for Rock PI 4 C+

* [rockpi4c+] add USB host overlay

Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
2022-11-02 06:58:31 +01:00
Igor Pečovnik
224b784d6c
Revert "Add an attempt counter, which helps buggy PCIe links. (#4308)" (#4369)
This reverts commit 27bbf8bbaa.
2022-10-30 10:55:13 +01:00
Oleg
2cdfc4bf0b
fix wifi\bt and analog sound for opi800 (#4364) 2022-10-29 10:51:18 +02:00
Julian Sikorski
4e615d8ead
Update odroidxu4-current to 5.4.220 (#4362) 2022-10-28 21:53:18 +02:00
Oleg
4a563407d1
fix patch jetson nano (#4359) 2022-10-28 18:18:10 +02:00
David Manouchehri
27bbf8bbaa
Add an attempt counter, which helps buggy PCIe links. (#4308)
* Add an attempt counter, which helps buggy PCIe links.

* Adjust patches

* Add PCIe retry patch for rockchip64-6.0.

Co-authored-by: Igor <igor@armbian.com>
2022-10-26 21:32:42 +02:00
Igor Pečovnik
63fa7cb0cc
Bump sunxi to latest and remove deprecated patch (#4351) 2022-10-26 18:00:36 +02:00
hzyitc
01e5e2ca37
meson: edge: bump v6.0 (#4348)
* meson: edge: Bump v6.0

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-26 09:33:31 +02:00
Igor Pečovnik
901d699a58
Fix also patches in station patch directory (#4347) 2022-10-26 09:33:14 +02:00
Igor Pečovnik
85977f1091
Fixes for Media CURRENT and XU4 edge (#4346) 2022-10-25 21:50:42 +02:00
The-going
bd72c996b7
Bump sunxi to 6.0.y (#4282)
* sunxi-6.0: initial state: add megous patches to series

* sunxi-6.0: Switch to v6.0.1

* wifi: Limit the version 6.0 for Realtek 88x2cs chipsets

* Adjust kernel configs

* Remove not needed patches

* Adjust broken patches

Co-authored-by: Igor <igor@armbian.com>
2022-10-25 20:39:08 +02:00
Igor Pečovnik
f2c2bba069
Bump imx6 edge to 6.0.y (#4339) 2022-10-25 20:38:56 +02:00
Igor Pečovnik
5a82aea458
Bump UEFI edge kernels to 6.0.y (#4340) 2022-10-25 20:38:44 +02:00
Igor Pečovnik
1b12209ded
Bump meson64 edge to 6.0.y (#4341)
* Bump meson64 edge to 6.0.y

* meson64: drop `pwm-gpio` unused patch from 5.19

* meson64: drop `pwm-gpio` unused patch from 6.0

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-25 20:38:31 +02:00
Igor Pečovnik
32a1b1409f
Bump Rpi EDGE kernel to 6.0.y (#4338)
* Bump rpi to 6.0.y

* Add Kinetic
2022-10-25 17:53:55 +02:00
Igor Pečovnik
a6c02f5e05
Additional fixes for Rockchip64 EDGE kernel (#4343) 2022-10-25 17:53:38 +02:00
Igor Pečovnik
6765f734cc
Bump rockchip64 edge to 6.0.y (#4337)
* Bump rockchip64 edge to 6.0.y

Build test passing

* Update kernel config, enable aufs, disable broken wireless, remove deprecated patch
2022-10-25 11:26:51 +02:00
Igor Pečovnik
e2765ce892
Adjust media edge kernel compilation (#4314) 2022-10-22 00:11:03 +02:00
Igor Pečovnik
0dcb2fdf56
Remove mvebu/mvebu64 legacy kernels (#4292) 2022-10-22 00:10:52 +02:00
David Manouchehri
504c8462f1 Fix filename typo. 2022-10-21 23:19:07 +02:00
David Manouchehri
78a406d73f Add rk3399's rng to kernel dts. 2022-10-21 23:19:07 +02:00
hobbsAU
cd444a5d71
PWM fan fix for tegra (#4293)
* Fix tegra210 and other tegra PWM fan module

* Fix tegra210 and other tegra PWM fan module
2022-10-17 18:58:35 +02:00
Igor Pečovnik
3ed6c224f1
Remove deprecated kernels (#4283)
* Remove deprecated Odroid XU4 legacy 4.14.y branch

* Clean deprecated kernels from meson64 family

- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile

* Update configs
2022-10-15 19:32:53 +02:00
Julian Sikorski
a8b9799f66
Update odroidxu4-current to 5.4.218 (#4290) 2022-10-15 12:08:04 +02:00
brentr
f6f3f1b8b0
Restored Hardware Random Number Generator from legacy (4.4) kernel (#4286)
so boot no longer starves for entropy, delaying for up to 15 seconds
Advances kernel to v5.19.15
2022-10-15 10:46:04 +02:00
brentr
d3a3afe385
Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Paolo
f2ddee56a1
fix orangepi4-lts rk808 interrupt line, sdcard detection and wifi freq (#4278) 2022-10-13 18:17:46 +02:00
Werner
bdb941559a
Revert "Add-h616-cpu-frequency-scaling (#4250)" (#4279)
This reverts commit c2186a506c.
2022-10-13 18:17:35 +02:00
Paolo
e799495de9
reinstate ipx.h header file for rockchip64 current 5.15 kernel (#4268) 2022-10-12 11:22:44 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
hzyitc
f2a61e9888
meson: edge: bump v5.19 (#4272)
* meson: edge: Bump v5.19

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-12 11:22:14 +02:00
Paolo
cf8218a83a
rk322x: fix usb otg port disabled by mistake (#4274) 2022-10-12 11:22:03 +02:00
Jannis
bd3466eef2
Fix mvebu current pwm timer patch (#4275) 2022-10-12 11:21:51 +02:00
AGM1968
c2186a506c
Add-h616-cpu-frequency-scaling (#4250) 2022-10-12 11:21:25 +02:00
Julian Sikorski
27aae916f3
Update odroidxu4-current to 5.4.217 (#4265) 2022-10-07 22:16:17 +02:00
Oleg
3ff351cc52
move media current 5.19 and edge 6.0 (#4262)
* move media current 5.19 and edge 6.0

* del old patch
2022-10-06 18:07:36 +02:00
Igor Pečovnik
7c5d07d304
Bump sunxi and disable broken patch (#4261) 2022-10-06 12:54:20 +02:00
Paolo Sabatino
68140259e1 fix default sample phase for newer eMCP boards, remove unexisting leds
for led-conf6
2022-10-04 21:59:14 +02:00
Igor Pečovnik
15cab819fe
Add support for Bananapi M5 / M2P (#4251)
* Add initial support for Bananapi M5 / M2P

* Move to a branch that was tested with eMMC
2022-10-04 10:50:00 +02:00
Julian Sikorski
99642606cb
Update odroidxu4-current to 5.4.215 (#4249) 2022-10-04 06:40:04 +02:00
Paolo Sabatino
c5117ff37a rk322x: add esp8089 driver for mainline kernels 2022-10-03 14:34:13 +02:00
Paolo Sabatino
528cbb3ec2 rk322x: comment IPX code in rtl8723cs driver to avoid ipx.h complaints 2022-10-03 14:33:47 +02:00
Igor Pečovnik
31ac6383e1
Bump sunxi kernels (#4226)
* Bump sunxi kernels

* sunxi-5.19: Remove pre-applied patch, adapt for series

* sunxi-5.15: Adapt patches to the series, remove previously applied

* Bump it again

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-09-28 22:00:34 +02:00
Oleg
6f125a95c5
fix usb for nanopc t4 (#4235) 2022-09-26 18:35:17 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
unifreq
ab70cb247f
rockchip-rk3588-legacy: kernel patch up to 5.10.72 (#4195)
* scripts: fix modpost & lld-version

* rockchip-rk4588-legacy: patch-5.10.69-70

* rockchip-rk3588-legacy: patch-5.10.70-71

* rockchip-rk3588-legacy: patch-5.10.71-72

* drv: usb: gadget: legacy: fix webcam.c compilation errors

    drv: usb: gadget: legacy: fix webcam.c compilation errors
    drivers/usb/gadget/legacy/webcam.c: In function ‘webcam_bind’:
    drivers/usb/gadget/legacy/webcam.c:386:37: error: ‘UVC_NUM_REQUESTS’ undeclared (first use in this function)
      386 |         uvc_opts->uvc_num_request = UVC_NUM_REQUESTS;
          |                                     ^~~~~~~~~~~~~~~~

* Update config

Co-authored-by: Igor <igor@armbian.com>
2022-09-20 21:34:48 +02:00
aiamadeus
d7ead89cc2
sunxi: add nanopi r1s h5 support (#4201)
* sunxi: add nanopi r1s h5 support

* sunxi: also disable debug log for rtl8189es

* Add nanopi-r1s-h5 to build targets

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-20 14:53:11 +02:00
Igor Pečovnik
2f1140edb1
Re-enable Neo3 in the EDGE kernel (#4193) 2022-09-20 08:50:23 +02:00
hzyitc
1ad2e6aeb0
meson: current and legacy: Support HDMI (#4177)
* meson: current: Support HDMI
* meson: legacy: Support HDMI
2022-09-14 16:33:44 +02:00
The-going
06a5344d1c sunxi-5.19: rebase patches to v5.19.8 2022-09-10 15:24:31 +03:00
The-going
4219126c3d sunxi-5.19: Add upstrem megous patches 2022-09-10 15:24:31 +03:00
Julian Sikorski
72543056b3
Update odroidxu4-current to 5.4.212 (#4161) 2022-09-07 20:53:46 +02:00
c0rnelius
f59a78a9ff
meson64: meson g12 gxl cma pool 896MB overlay (#4151)
G12/GXL boards with memory of 1GB or lower are unable to boot because the CMA memory pool is set to high. Leaving CMA at the default and providing an overlay for those who need or want the CMA higher, makes more sense than not supporting all possible memory options provided by said SoC(s).
2022-09-05 11:11:36 +02:00
The-going
ce9e47d397
sunxi-5.19: update megous patches and switch to v5.19.5 (#4134)
* sunxi-5.19: type: Delete lines of non-existent files

* sunxi-5.19: update the upstream megous patches

* sunxi-5.19: switch EDGE to v5.19.5

* Update sunxi64_common.inc

* Update sunxi_common.inc

* Update sunxi64_common.inc

* Update sunxi_common.inc

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-09-01 23:07:32 +02:00
Paolo
cd58683a75
rk322x: device tree tidying up, add cooling maps and ir remote maps (#4126)
* tidy up rk322x dtb for edge, add cooling maps

* tidy up rk322x dtb for current, add cooling maps

* add rk322x tvbox remote keymap for current kernel
2022-09-01 23:07:00 +02:00
Igor Pečovnik
03dbd9d3a7
Move header revert patch under misc patches (#4128)
* Move header revert patch under misc patches as its only related to extra wifi drivers

* Update text
2022-08-29 08:44:21 +02:00
Igor Pečovnik
2fb3aaaf86
Add patches needed for Pi-KVM on Rpi4 (#4127)
* Add patches needed for Pi-KVM on Rpi4

* Remove patch that does not belong here

* Update config

* Update edge config
2022-08-29 08:43:24 +02:00
hzyitc
7439ebbbeb
meson: edge: bump to mainline v5.18 (#4123)
* meson: edge: switch back to mainline linux-5.18.y

* meson: edge: Upgrade config
2022-08-28 07:59:45 +02:00
Igor Pečovnik
38df56fbf3
Move to tag and remove not needed patches (#4120) 2022-08-27 08:33:30 +02:00
Igor Pečovnik
7a3ad3afb2
Enable Docker up on Rock 5 (#4058)
* Attempt to bring Docker up

* Update txt

* Add few patches
2022-08-26 00:45:10 +02:00
Igor Pečovnik
3bb12e09a6
Bump sunxi to latest version (#4115)
* Bump sunxi

* sunxi-5.19: Delete unnecessary (#4116)

* sunxi-5.15: Delete unnecessary

* sunxi-5.15: fix rebase to v5.15.63

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-26 00:44:56 +02:00
Jianfeng Liu
4b89c64129
remove a patch making rk3288 vga flicker (#4111) 2022-08-24 09:00:48 +02:00
Paolo Sabatino
39760f3020 rockchip64: remove inno usb2 phy init code causing kernel fault 2022-08-23 21:36:43 +02:00
Oleg
fd3fec26d7
fix build 5.18.19 (#4106) 2022-08-22 15:11:52 +02:00
Igor Pečovnik
9333893d74
Bump sunxi to 5.19.3 (#4100)
* Bump sunxi to 5.19.y

* Bump sunxi (#4103)

* sunxi-5.19: Empty. Patch Adaptation

* sunxi-5.19: Add multiple patches from the megous upstream

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-21 20:45:11 +02:00
hzyitc
6ba59da07a
meson: bump kernel versions (#4102)
* meson: bump version

bump edge to thirdparty linux-5.18-rc7
bump current to linux-5.15
change legacy back to LTS linux-5.10

* Upgrade kernel config

* meson: edge and current: Enable NTFS3 driver
2022-08-21 20:44:50 +02:00
Igor Pecovnik
7a9991a650 Fix the same in lps170 driver and refresh kernel config 2022-08-21 14:40:58 +02:00
Paolo Sabatino
271a3ce056 rk322x: fix AMPDU costant for ssv6051 driver 2022-08-21 14:40:58 +02:00
Igor Pečovnik
aa99cb64c3
Solve compatibility issues for some of wifi patches (#4087)
* Solve compatibility issues for some of wifi patches, disable those that needs more work

* Fix 8812au

* Update to re-enable RTL88x2CS driver for 5.19.2+

* Add 8723ds and rename others

* Following naming convention

* Name

* Adjust UWE5622 for 5.19.2

* Update UWE5622 patch for sunxi

* Enable last one

* Fixes for 8723DU

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
2022-08-20 07:44:35 +02:00
Oleg
6123307c2a
fix buid kernel 5.19.2\5.18.8 (#4088) 2022-08-19 18:10:30 +02:00
The-going
65804f4f9e
Sunxi 5.19 (#4084)
* sunxi-5.19: EDGE: switch to v5.19.2

* sunxi-5.19: fix megous patches

* sunxi-5.19: adapt armbian patches to v5.19.2

* sunxi-5.19: update upstream megous patches
2022-08-19 07:53:06 +03:00
Paolo Sabatino
5326e1061f rk322x, rockchip64: fix edge patches preventing compilation 2022-08-18 16:32:43 +02:00
Paolo Sabatino
86e456e507 rk322x,rockchip: fix rkvdec patch due to mainlined changes 2022-08-18 14:53:25 +02:00
hzyitc
8358471816
Onecloud: some update (#4073)
* Onecloud: Rename back to csc

* meson: Adjust sources config

* Onecloud: disable u-boot compilation

* Onecloud: Add armbianEnv.txt
Onecloud: Use UUID to special rootfs

* Onecloud: bootscript lint

* Onecloud: bootscript support extraargs

* Onecloud: support output boot log to HDMI

* Onecloud: tweak VCC_CORE

* Typo
2022-08-17 19:44:55 +02:00
The-going
a3786270ba
Sunxi 5.19 update megous patches (#4078)
* sunxi-5.19: Add two patches from upstream megous

* combinediff 2 patches for uwe-bsp node, remove uwe-bsp node for sun50i-h6-orangepi-3-lts.dts
2022-08-17 20:43:38 +03:00
Julian Sikorski
63ad684261
Update odroidxu4 current to 5.4.210 and edge to 5.19.0 (#4068)
* Update odroidxu4-current to 5.4.210

* Adjust kernel configs and move EDGE to 5.19.y

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-13 21:17:19 +02:00
Vyacheslav Bocharov
6a3b49859e
JetHub: add JetHub D1/D1p new revisions support in meson64-5.10/5.19 kernel patchset 2022-08-11 12:50:31 +03:00
AGM1968
a3cfbf4dcc
Update arm64-dts-Add-sun50i-h616-orangepi-zero2-device.patch (#4051)
Reboot board. Change from regulator-boot-on to always on. 

+			reg_dcdce: dcdce {
+				regulator-always-on;
2022-08-08 08:19:02 +02:00
The-going
97c6e5e9dd
sunxi-5.19: Initial state for megous patches (#4048)
* sunxi-5.19: Initial state for megous patches

* Add the ability to do 5.19

* Move to 5.19

- tested both
- removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280

* sunxi-5.19: fix tag for switch

* sunxi-5.19: Initial state for armbian patches

* sunxi-5.19: Add armbian patches to series.conf file

* sanxi-5.19: Add other 2 patches

* sunxi-5.19: Limit to use the 'wireless/xradio' module

Limit the kernel version to less than 5.19 to use
the 'wireless/xradio' module

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-05 21:23:49 +03:00
Ricardo Pardini
73691a9e24
meson64: edge: rework to kernel 5.19 (#3941)
* meson64-edge/5.19: use `tag:v5.19-rc2`, meson64 kernel config and kernel patches, by @adeepv

* meson64-edge/5.19: we don't need `CONFIG_ARCH_ROCKCHIP=y` for meson64, right?

* meson64-edge/5.19: remove `meson_drv_shutdown` revert patch, instead `CONFIG_DRM_MESON=y` and its dependencies in .config

- this allows other meson64's to shutdown properly, while allowing the N2(+) to reboot without kernel-side hangs

* meson64-edge/5.19: odroidn2(+): remove SD UHS modes patch for ODROID N2(+)

- it works when cold-booted
- but changes voltage to enable
- when rebooted, voltage persists and uboot can't read the SD anymore
- adding the "odroid,reboot" driver+dt that is supposed to fix this, doesn't
- so for now remove it

* meson64-edge/5.19: odroidn2(+): add dumb gpio fan at 30 celsius

- backport from rework in 5.10

* meson64-edge/5.19: odroidhc4: bring back `fan1_input` by adding fan details to DT

- yeah, I know; the cooling map is right there too, so empty, poor thing. for later.

* meson64-edge/5.19: bump to 5.19-rc3

* meson64-edge/5.19: radxa-zero: add patch to remove UHS mode so `wifi` works

- sent by @pyavitz: https://raw.githubusercontent.com/pyavitz/debian-image-builder/feature/patches/amlogic/radxazero/wifi/001-arm64-dts-amlogic-radxa-zero-sdio-card-speed.patch
- tested by @lanefu

* meson64-edge/5.19: bump to 5.19-rc4

* meson64-edge/5.19: bump to 5.19-rc5

* meson64-edge/5.19: bump to 5.19-rc7

* meson64-edge/5.19: bump to 5.19.y branch, which is 5.19.0 right now

* Add kernel config - tested on Odroid N2+

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-04 21:50:40 +02:00
Ricardo Pardini
43b302eff9
uefi-(arm64|x86)-edge/5.19: bump to 5.19.y (#4046)
- uefi-arm64-edge/5.19: add patch for ACPI enablement of PHYT0004 onboard network card
  - reworked 5.10 version of patch to 5.19, trivial datatype change
  - sent by Dragonbox/Pythium person via @lanefu
- uefi-(arm64|x86)-edge/5.19: split patch dir from x86, otherwise identical
2022-08-04 21:49:10 +02:00
Paolo
c87542aba2
rockchip: switch edge kernel to v5.19 (#4045) 2022-08-04 11:20:06 +02:00
Jianfeng Liu
8c6641e7b7
update rockchip64 edge to 5.19 (#4039) 2022-08-03 22:22:55 +02:00
Paolo Sabatino
d064b2dce2 rk322x: advance edge kernel to 5.19 2022-08-03 19:10:25 +02:00
Paolo Sabatino
fd6fffc943 rk322x: use backported mglru patch from 5.19 on 5.18 2022-08-03 19:10:25 +02:00
Julian Sikorski
79868e8c08
Update odroidxu4-current to 5.4.208 (#4037) 2022-07-31 16:45:43 +02:00
juanesf
0ddf255a7c
sun8i-r40-audio-codec (#4021) 2022-07-31 10:35:55 +02:00
Paolo Sabatino
6ba9883baa rockchip64: switch orangepi 4/LTS to mainline USB3 Type-C controller driver 2022-07-31 01:10:00 +02:00
Paolo
fa89975db7
rockchip64: remove inno-usb3 rk3328 driver from EDGE kernel, remove/rename affected board files (#4006) 2022-07-27 08:47:48 +02:00
Paolo
c91029dc10
rk322x: fixed minor things for device trees, fix rk322x-config script (#4020) 2022-07-27 08:46:09 +02:00
Oleg
7c00615de4
fix jetson-nano legacy and install btrfs emmc (#4024)
* fix jetson-nano legacy and install btrfs emmc

* fix initrd module
2022-07-27 08:44:43 +02:00
The-going
aaabfd3a17
fix: Change the format of the latest patch (#4019) 2022-07-27 08:41:19 +02:00
Oleg
cfc1a6a4fc
move jetson-nano to media (#4017)
* move jetson-nano to media

* fix kernel legacy jetson-nano

* fix u-boot HDMI
2022-07-25 11:38:42 +02:00
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
The-going
b2b8b8848b
Adapt patches to kernel version 5.10.130 (#3990) 2022-07-14 15:33:02 +03:00
The-going
c9df315485
Sunxi 5.15 (#3992)
* Skip applying fixes for touchscreen: goodix.

This device is not supported by armbian.
Patch fixes cannot be tested on real hardware.

* Bring the patch format to the form git-format-patch

for application by the `git am` command.
2022-07-13 21:53:24 +03:00
Tony
44ac745ae3
Rockchip64-current: fix nanoPi NEO 3 DTS makefile (#3979)
Changes to the add-board patch did not get added to the makefile patch.  Fixed.
2022-07-10 02:14:03 -04:00
schwar3kat
bbc63edae8
Merge pull request #3969 from schwar3kat/orangepi-r1-lts-refactored-dts
Refactored orangepi-r1plus-lts dts in kernel add board patch
2022-07-10 16:07:13 +12:00
Paolo
0310f95505
rockchip64: fix rk3318-box cpu voltages (#3976) 2022-07-09 16:30:16 +02:00
arnaldovalente
06a8a7cb67
Orangepi One Plus Rollback to i2c (#3964)
Co-authored-by: gleam2003 <gleam2003@msn.com>
2022-07-09 11:39:27 +02:00
brentr
3ff231d9a0
Brentr (#3966)
* This disables support for the RockPI-S "SDNAND" soldered on EMMC storage

Without it, SDNAND functions
There are no issues on boards that lack the EMMC storage option
In this case, the kernel probes the chip, quietly fails and continues without
creating the corresponding /dev/mmcblk* nodes

* This patch attempts to enable CPU operating points that are not defined.

The result is that the cpufreq-dt driver aborts when attempting to process these incompletely defined nodes.
The CPU ends up running at a constant clock rate, without cpufreq support.
Simply removing the patch restores proper cpufreq operation.
Note, however, that the CPU operating points are still overvolted for the newer RK3308B-S SOC.

See:
https://dl.radxa.com/rockpis/docs/sw/RK3308B-S&RK3308H-S_Software_Compatibility_Introduction_V1.0.0_20211016.pdf
2022-07-09 11:35:51 +02:00
Julian Sikorski
35e509a040
Update odroidxu4-current to 5.4.204 (#3970) 2022-07-09 11:35:34 +02:00
Paolo Sabatino
07775b59d4 rk322x: fix for MXQ_PRO board wifi 2022-07-09 11:12:48 +02:00
schwar3kat
a16699260f
Refactored orangepi-r1plus-lts dts in kernel add board patch
Renamed patch to match rockchip64 boards

Nanopi dependencies removed
2022-07-08 22:35:59 +12:00
Oleg
993f2e6bbf
Merge pull request #3959 from 150balbes/media-20220704
move kernel media to current 5.18 and edge 5.19
2022-07-08 09:52:24 +03:00
Tony
76192f1fa8
RK3328 cleanup (#3963)
* Rockchip64 rk3328 cleanup

* Rockchip64 remove unneeded RK3328 USB3 PHY driver
2022-07-06 10:38:09 -04:00
balbes150
5b5b6a010a fix USB BPIr2pro 2022-07-05 11:23:33 +03:00
Tony
1077af2d98
RK3328 fix USB3 5.15 (#3957) 2022-07-04 09:28:32 -04:00
balbes150
2e1b4eed73 move kernel media to current 5.18 and edge 5.19 2022-07-04 16:18:31 +03:00
Igor Pečovnik
2a1863f2f5
Bump sunxi version to latest and add upstream patches for odroid xu4 (#3954)
* Typo in packaga name

* Bump sunxi version to latest and add upstream patches for odroid xu4
2022-07-03 08:25:49 +02:00
Tony
9680fc46a0
Roc rk3399 pc enable type C (#3953)
* roc-rk3399-pc remove outdated patch

* roc-rk3399-pc enable type-c
2022-07-02 19:51:26 -04:00
The-going
7b0c873f4d
Sunxi 5.18: add megous patches: tag: orange-pi-5.18-20220627-1924 (#3946)
* sunxi-5.18: add megous patches: tag: orange-pi-5.18-20220627-1924

* tools: mk_format_patch: ignore-matching-lines git version

* sunxi-5.18: re-extracted armbian patches after being applied to 5.18.8

* sunxi-5.18: switch to version tag=v5.18.8
2022-07-01 01:02:59 +02:00
Paolo Sabatino
19d1ce656e rockchip64: fix pwm regulators that use pinctrl "active" configuration 2022-06-26 15:14:53 +02:00
Paolo Sabatino
381cc372db rockchip64: disable pwm patch because broken 2022-06-23 10:33:02 +00:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
The-going
176c05d4b0
Sunxi 5.18 (#3908)
* sunxi-5.18: add new megous patches

* switch to v5.18.5: exclude a previously applied patch

* fix: tools/mk_format_patch: numbered=false by default

* sunxi-5.18: rebasing and extraction using the mk_format_patch script
2022-06-20 15:31:38 +02:00
Paolo
c47922f71e
rockchip64: reworked PWM patch due to breakage in existing pwm dtbs (#3913) 2022-06-19 12:38:17 +02:00
EBK21
1a2800f384
workaround for orangepi 3 lts ethernet problem (#3906)
Method from uboot Odroid C2 fix, same problem same workaround.
2022-06-19 12:38:06 +02:00
Piotr Szczepanik
df2d09c8a2
Adjust rk3399-legacy patches - fixes missing NanoPi dtb files (#3912) 2022-06-18 21:07:55 +02:00
Paolo Sabatino
70bb7c48b2 rk322x: update MGLRU armhf patch for kernel v5.17 and v5.18 2022-06-18 14:13:11 +02:00
Julian Sikorski
26d0168546
Update odroidxu4-current to 5.4.199 (#3907) 2022-06-17 19:17:08 +02:00
Paolo Sabatino
8ab3567c81 rockchip64: fix orangepi4 LTS bluetooth initialization 2022-06-17 10:07:06 +02:00
Paolo Sabatino
b88a8a7dce rockchip64: orangepi4 LTS sdmmc bus pins strength increased for better stability with UHS modes 2022-06-17 10:07:06 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Paolo Sabatino
ae2f91d4ee rockchip64: fix tinkerboard 2 missing register in dts 2022-06-14 09:33:41 +02:00
Paolo Sabatino
17b4fb913c rockchip64: bump edge kernel config to 5.18, disable csgpio patch due to mainline clashing 2022-06-14 09:33:41 +02:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Igor Pečovnik
85958994b5
Adjust broken patches and move sunxi to latest tag (#3876)
* Bump sunxi kernels

* Adjust remaining patches
2022-06-11 18:01:32 +02:00
The-going
07d263283e
sunxi-5.15: Switch version to the v5.15.46 tag (#3886) 2022-06-11 19:00:06 +03:00
Oleg
7799a89f31
fix build media kernel 5.17 (#3881) 2022-06-11 08:46:27 +02:00
Paolo
cff049a92b
fix rk322x, rockchip mainlined patches for kernel v5.18, adjust xt-q8l-v10 remote makefile (#3877) 2022-06-10 21:50:57 +02:00
The-going
25e60a726b
Sunxi 5.18 (#3879)
* sunxi-5.18: rebase megous patces to v5.18.3

* sunxi-5.18: Add upstream patches - tag: orange-pi-5.18-20220609-1318

* Check applicability to version 5.18.3

* sunxi-5.18: switch to version 5.18.3
2022-06-10 21:50:37 +02:00
Igor Pečovnik
8ba7b7e214
Switching the rest to 5.18.y (#3860)
* Update kernel configs

* Switch sunxi edge to 5.18.y

* Move sunxi to 5.18.y and re-enable AUFS

* Change version - temporally to make a build from here

* Update config

* 88xx was fixed in the mean time.

* Put version back

* Fix sunxi legacy, disable aufs on 5.10.y since its broken

* Upstream changed in the mean time

* Add a patch to enable 8821cu compilation at 5.18

https://github.com/armbian/build/pull/3814

* Re-enable CONFIG_RTL8822BU in edge

* Update CONFIG_RTL8XXXU

* Bump imx6

* Bump uefi kernels to 5.18.y

* Bump mvebu64 and switch odroid xu4 to 5.18
2022-06-07 07:49:08 +02:00
Vyacheslav
f1937f83a3
Update meson64-edge/general-meson-aiu-Fix-HDMI-codec-control-selection.patch patch for Kernel 5.15.7+ (#3849) 2022-06-03 18:58:56 -04:00
Jannis
4c0cc1e778
Fix mvebu pwm patch (#3847) 2022-06-03 18:51:39 +02:00
The-going
0c438d8c56
sunxi-5.18: Add armbian patches (#3846)
* sunxi-5.18 Initial state for armbian patches

* Adapting patches to the new kernel, sort, add new megous patches

* DEBUG

* Add the latest patches

* fix: compile error

drivers/spi/spi.c:3548:3: note: in expansion of macro ‘dev_info’
   dev_info(&spi->dev, "spi_setup / gpio_is_valid(%d) ... doing gpio_request ...\n", spi->cs_gpio);
   ^~~~~~~~
drivers/spi/spi.c:3549:9: error:
 implicit declaration of function ‘gpio_request’;
 did you mean ‘gpio_to_desc’? [-Werror=implicit-function-declaration]
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
         ^~~~~~~~~~~~
         gpio_to_desc
drivers/spi/spi.c:3549:27: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
                           ^~~~~~~
                           cs_gpiod
drivers/spi/spi.c:3554:4: error:
 implicit declaration of function ‘gpio_direction_output’;
 did you mean ‘gpiod_direction_output’? [-Werror=implicit-function-declaration]
    gpio_direction_output(spi->cs_gpio,
    ^~~~~~~~~~~~~~~~~~~~~
    gpiod_direction_output
drivers/spi/spi.c:3554:31: error:
	‘struct spi_device’ has no member named ‘cs_gpio’;
	did you mean ‘cs_gpiod’?
    gpio_direction_output(spi->cs_gpio,
                               ^~~~~~~
                               cs_gpiod
In file included from ./include/linux/device.h:15,
                 from drivers/spi/spi.c:8:
drivers/spi/spi.c:3556:79: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?

* Remove pre-applied patches
2022-06-01 17:10:19 +02:00
The-going
e8e149ead2
sunxi-5.17: fix: cpu opp table sun8i-a83t (#3829)
cpu opp table for sun8i-a83t can only be a multiple
of the integer 24 * 8 * n
2022-05-29 17:28:22 +02:00
Paolo
809ce98a75
rk322x: move edge kernel to v5.18 (#3844)
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-05-29 17:26:16 +02:00
Jianfeng Liu
0981c9eccd
add rock-3a emmc support (#3841) 2022-05-29 17:18:46 +02:00
Paolo
3c4189e311
rockchip: upgrade edge kernel to v5.18 (#3842) 2022-05-29 17:15:36 +02:00
Tony
e7bd9b8f13
Add Spidev workarounds and clean patches (WIP) (#3812)
* [ Meson64 ] Add Spidev workaround for 5.15+, remove unnecessary patch

* [ Rockchip64 ] Add spidev workaround for 5.15+

* [ Rockchip ] Add spidev workaround for 5.15+

* [ overlays ] align overlays to new spidev device handle
2022-05-28 08:56:19 +02:00
Jianfeng Liu
597d2dac11
update rockchip64-edge to 5.18 (#3814) 2022-05-28 07:56:22 +02:00
The-going
082234b497
sunxi-5.15: adapting patches for the version 5.15.43 (#3827)
* sunxi-5.15: adapting patches for the version 5.15.43

* fix: cpu opp table sun8i-a83t
2022-05-27 21:17:58 +03:00
The-going
3048cc2107
Sunxi 5.18 (#3826)
* sunxi-5.18: initial state: add patches megous

* sunxi-5.18: Adapt patches for error-free application

* remove unused patches

* Add the ability to compile sunxi-5.18
2022-05-27 11:47:16 +03:00
The-going
ee6f0f8bd1
sunxi-5.17: update and switch to version 5.17.11 (#3816)
* sunxi-5.17: update and switch to version 5.17.11

* remove the patch that appeared in the upstream kernel

upstream commit c06a99a6605f524ff5ef096646e9501fc905366e
2022-05-27 09:48:50 +03:00
Julian Sikorski
147a9d19f8
Update odroidxu4-current to 5.4.196 (#3823) 2022-05-26 19:39:29 +02:00
The-going
4145e3fb29
sunxi-5.17: tag: orange-pi-5.17-20220510-1956: add patches (#3809) 2022-05-25 17:41:24 +02:00
Oleg
ba7912c0c9
move kernel media 5.17.9 and 5.18-rc7 (#3792)
* move kernel media 5.17.9 and 5.18-rc7

* kernel edge 5.18
2022-05-23 16:17:09 +02:00
The-going
ddc00a9af1
Sunxi 5.15 (#3798)
* fix: A lost patch. Should be here: #(6a53633703)

* fix: sunxi-5.15: Align two series files
2022-05-23 16:15:40 +02:00
crocinsocks
37e898332a
WaveShare Touchscreen Driver Fix (Odroid) "disable_vu7" (#3799)
* Update boot-meson64.cmd

Fix disable_vu7 functionality by enabling usbhid quirks when set to false

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update general-input-touchscreen-Add-D-WAV-Multitouch.patch
2022-05-23 16:15:25 +02:00
hzyitc
c4b62f848f
meson8b: Support HDMI (#3794)
* meson8b: Support HDMI

* meson8b: drm: Forcefully enable XRGB format

* Bump kernel version

* Upgrade configs

* Swap current and edge
2022-05-23 15:58:38 +02:00
Julian Sikorski
2c0a0a5e23
Update odroidxu4-current to 5.4.195 (#3791)
* Update odroidxu4-current to 5.4.193

* Update odroidxu4-current to 5.4.195

* Update kernel config
2022-05-18 22:47:48 +02:00
hzyitc
965ce372de
Support Xunlei Onecloud (#3749)
* Support Xunlei Onecloud

* meson: more led triggers
2022-05-12 19:12:21 +02:00
The-going
ca478cc4e5
Bugfix spidev (#3737)
* sunxi-5.17: Fix include uapi spi spidev module

* add a compatible string alias "spi-dev" for spidev module

* overlay: Change the string compatible "spidev" to "spi-dev"

* remove unused patches

* drv: spi: spidev: fix header uapi

* Add alias "spi-dev" for module spidev

Add the armbian alias "spi-dev" to load and
initialize the spidev module from the device tree.

* Move patches for orangepi3-lts to series

* Remove unused patches
2022-05-12 19:11:40 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Jianfeng Liu
68729a3aa6
change rock-3a mainline dtb filename to rk3568-rock-3a.dtb (#3775)
* change rock-3a mainline dtb filename to rk3568-rock-3a.dtb

* add rock3a DT link for backward compatibility

* change rock3a default dtb name to mainline

* add rock-3a legacy dtb filename rock-3-a
2022-05-11 19:42:30 +02:00
schwar3kat
5e477fd42c
Enable rockchip64: XHCI HCD USB TRB ENT quirk for RK3328 (#3763)
This resolves a bug that affects r8153b USB network interface causing the RX interface to hang on load.

On some xHCI controllers (e.g. Rockchip RK3399/RK3328/RK1808),
they need to enable the ENT flag in the TRB data structure
to force xHC to prefetch the next TRB of a TD.
The quirk patch is already applied to dwc3 xhci usb on rockchip64.

Enable the quirk on RK3328 through device tree node properties in rk3328.dtsi
2022-05-07 15:51:38 +02:00
catalinii
fc66f374e8
Merge rk35xx-edge into rockchip64-edge (#3765)
* Merge rk35xx boards into rockchip64

* Fix kernel configs
2022-05-07 15:51:11 +02:00
Oleg
0f7606e653
move 5.18-rc5 support jetson-nano (#3754) 2022-05-04 16:16:40 +02:00
Basel Sayeh
c7d7039b51
Update the rtl8189fs patch (#3697) 2022-05-03 23:11:45 +02:00
Igor Pečovnik
897674aa74
Bump and freeze kernel at last known working versions (#3736)
* Freeze kernel at last known working versions

* Fix media kernel

* Update rockchip64 to 5.17.y

* Move patches up

* Re-ad aufs

* Fix rpi kernels
2022-05-03 08:27:32 +02:00
Oleg
57428044ec
move kernel media-current to 5.17 and media-edge to 5.18 (#3726) 2022-05-02 11:36:59 +02:00
Igor Pečovnik
727990ae0e
Bump rpi, imx6 and mvebu EDGE to 5.17.y (#3712) 2022-04-30 18:54:25 +02:00
The-going
4a80910d6c
Update sunxi-5.17 (#3725)
* update sunxi-5.17: tag: orange-pi-5.17-20220424-2152

* Update sunxi-5.17: orange-pi-5.17-20220427-0710
2022-04-28 23:05:28 +03:00
Paolo Sabatino
ef51fd2096 rk322x: updated libreelec patches, add rk322x generic tv box remote keymap 2022-04-25 22:29:00 +02:00
Paolo Sabatino
bbe4414786 Remove mainlined RGA trivial patch for rk322x, rockchip, rockchip64 2022-04-25 22:28:00 +02:00
Oleg
0afe24c957
move kernel media edge to 5.17 (#3704) 2022-04-24 22:33:47 +02:00
Julian Sikorski
c092c0123b
Update odroidxu4-current to 5.4.190 (#3707)
* Update odroidxu4-current to 5.4.188

* Update odroidxu4-current to 5.4.190
2022-04-24 22:32:46 +02:00
AmadeusGhost
283d7f38ae
rockchip: rock-3a: remove unused nodes (#3700) 2022-04-20 18:20:29 -07:00
Paolo Sabatino
365f7bd1e2 rockchip: remove mainlined RGA patch 2022-04-20 21:33:42 +02:00
The-going
c7b11b839b
Sunxi 5.17 (#3701)
* sunxi-5.17: Add series patches rtw88, rtw89 drivers

* Fix sunxi-5.17 for v5.17.4 version

* Print the error message and its contents

* rtl8822bs: used if kernel version less 5.16

Restrict the use of the wifi driver" "rtl8822bs" for
the kernel version less than 5.16
2022-04-20 22:01:33 +03:00
Jianfeng Liu
d04155533c
add patch to fix rk3568 vop in kernel 5.17.3 (#3699) 2022-04-19 20:28:48 +02:00
The-going
7c2f24d46c
Move sunxi 5.16 to 5.17 (#3696)
* Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.

* Fix linux-sunxi64-edge.config for v5.17.3

* Fix linux-sunxi-edge.config to v5.17.3

* Switch EDGE to core 5.17 for sunxi

* Remove the old rtl8723cs driver which is incompatible with the new kernel and cannot be used.

* Use AUFS if the kernel version is less than 5.16

* Print the last 20 lines of the log if the kernel compilation failed.

* Set KERNEL_VERSION_LEVEL to 5.17

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-18 23:26:29 +02:00
The-going
519b01a0b4
Bugfix uwe5622 (#3693)
* Fix new file mode 100755 to 100644 for uwe5622 driver

* Fix error: implicit declaration PDE_DATA
2022-04-18 11:41:06 +03:00
The-going
9217407f22
bugfix for build sunxi with implicitly selected configuration parameters (#3690)
* Fix the AC200 driver selection for sunxi-5.17

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.16

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.15

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.10

This eliminates incorrect configuration and compilation errors.

* Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes

* Revert "Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes"

This reverts commit 243d90041f.

* Configure kernel: CURRENT: build default options
2022-04-17 10:31:08 +03:00
The-going
9ebd3600c6
Sunxi 5.17 (#3687)
* Add 88 new patches to series. tag: orange-pi-5.17-20220409-0454

* Fix the applicability of patches.megous to the v5.17.3 kernel

* Fix series.conf. Disable the patch that is not being applied

* Add support for sun50i-h6-orangepi-3-lts

* Check the applicability in the series

* Move to a patches.armbian folder

* Bananapro: add AXP209 regulators

* fix-gpio-kconfig remove if EXPERT to allow normal build

* sunxi-5.17: Remove unused patches
2022-04-16 18:20:04 +03:00
Derek
9bd2e3cb1a
Espressobin patch cleanup (#3681)
* alias defined in patch 0007 is part of armada-372x.dtsi, so unnecessary in 37xx

* u-boot patch to dts shouldn't disable emmc or overwrite sdhci1

* update u-boot
2022-04-16 09:13:33 +02:00
The-going
ea83eca959
Sunxi 5.15 (#3676)
* sunxi-5.15: Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.
2022-04-13 21:50:16 +03:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
The-going
fca652aa43
Sunxi 5.10 (#3672)
* sun7i-a20-bananapro: add reg_ahci_5v for sunxi-5.10

* sun7i-a20-bananapro: Add more regulators

* Rename patches for correct apply

* Disable the patch that is not being applied.

The patch is initially a crude hack. It solves one problem but creates
other problems. I don't know how to resolve the conflict correctly yet,
so I just disabled it.
2022-04-12 20:06:01 +03:00
Paolo Sabatino
d572c1823a rockchip: move edge kernel to v5.17, remove mainlined pacthes/hunks 2022-04-11 22:05:28 +02:00
Paolo Sabatino
49b2aba891 rockchip: copy patch archive from 5.16 to 5.17 2022-04-11 22:05:28 +02:00
Paolo Sabatino
0777be9e75 rk322x: move edge flavour to kernel 5.17, adapt patches were necessary 2022-04-10 16:45:06 +02:00
Jianfeng Liu
a454c462f2
add radxa rock3a pcie3x2 support (#3646) 2022-04-07 09:52:28 -07:00
schwar3kat
bf0289eb23
restore sunxi gpio-sysfs to build (#3635)
add CONFIG_GPIO_SYSFS=y to linux-sunxi64-current.config and linux-sunxi64-edge.config

remove  if EXPERT from /sys/class/gpio/... (sysfs interface) in /drivers/gpio/Kconfig
2022-04-06 06:56:34 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
chbgdn
82d80d4a15 Bump meson64-edge to 5.17 2022-04-04 12:34:29 +03:00
Jianfeng Liu
be9b5156a4
add rk809 codec sound support to radxa rock3a (#3621) 2022-04-02 09:57:24 -07:00
The-going
b32bc0934b
Fix patch applicability for the sun50i-h5-orangepi-zero-plus board (#3623) 2022-04-02 14:55:15 +03:00
Jianfeng Liu
dad2d913f1
change rk35xx edge to 5.17.y (#3614)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-04-01 21:11:55 -07:00
The-going
0f7200c793
Sunxi 5.17 (#3613)
* The initial state of a series of patches for sunxi-5.17

tag orange-pi-5.17-20220323-1423

* DEBUG for sunxi-5.17

* Add Armbian patches to 5.17

* Fix duplicate nodes for sun50i-h5-orangepi-pc2

* Fix reg_ahci_5v to status okay for bananapro board

* Remove an unused patch for an unsupported sun50i-h6-tanix-tx6 board
2022-03-31 20:32:04 +03:00
The-going
6a53633703
sunxi-5.15: Fix duplicate nodes for sun50i-h5-orangepi-pc2 board. (#3588)
* Fix duplicate nodes for sun50i-h5-orangepi-pc2

* Remove unused patch for pinctrl: sunxi: Fix deadlock.

This fix duplicates the upstream commit
896d1b8a36129c3f1378fbbafd7c394a877635b5 of the linux-5.15.y branch

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
...

* Add to series.armbian Fix-duplicate-nodes-for-sun50i-h5-orangepi-pc2.patch

The problem with duplicate nodes in the device tree is that the first
one in the queue will be applied. The subsequent one will be ignored,
not replaced.

Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:18:17 +02:00
The-going
0b6dd13295
sunxi-5.16: Fix spi-nor node initialization error for orangepi-pc2 (#3597)
* Remove unused pinctrl-sunxi-Fix-misleading-lockdep-deadlock-warnin.patch

The problem was solved in the upstream kernel.

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y branch.
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
...

* Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:15:47 +02:00
Paolo Sabatino
2fe1ddfe45 rockchip: add tinkerboard overlays for current 5.15 kernel 2022-03-26 17:59:23 +00:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
Jianfeng Liu
03115888c3
fix radxa rock3a usb regulator and clean useless info in patches (#3559)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-24 12:44:58 -07:00
Paolo Sabatino
a20be324b9 rockchip: enable bluetooth serdev for tinkerboard and disable userland binaries 2022-03-24 09:22:47 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Yuntian Zhang
e63b8044b1
Reduce Radxa Zero's SDIO frequency (#3543)
This fixes the issue where some boards have increased difficulty to initialize Wi-Fi hardware under the cold weather.
2022-03-19 16:47:08 +01:00
Jianfeng Liu
88464cc412
Radxa rock3a gpu support (#3547)
* Refresh the vop2 patch from catalinii

* add SCMI related config to support rk3568 gpu

Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-19 07:10:37 -04:00
Paolo Sabatino
13469fd8a9 rk322x: add overlay for USB OTG peripheral mode, add current and edge kernel config options 2022-03-18 17:26:46 +01:00
Paolo Sabatino
c6a8ca6d1a rk322x: add disabled patch for not-yet-working rknand mainline driver 2022-03-18 17:26:46 +01:00
Julian Sikorski
73e878d49f
Update odroidxu4-current to 5.4.185 (#3540) 2022-03-16 17:53:04 +01:00
Julian Sikorski
e1b93257f2
Update odroidxu4-current to 5.4.184 (#3536) 2022-03-15 08:59:14 +01:00
iav
6fee4247f9
add patch to avoid meson64 random reboots under load (#3520)
patch source https://lore.kernel.org/linux-amlogic/1c71a7c1e58590811094ebdd0e1abc54@agner.ch/T/#t
2022-03-12 23:16:29 +01:00
Vyacheslav
42617c23f8
Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode (#3524)
* Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode

https://patchwork.kernel.org/project/linux-amlogic/patch/04cac530-ea1b-850e-6cfa-144a55c4d75d@gmail.com/

This PHY doesn't support a link-up interrupt source. If aneg is enabled
we use the "aneg complete" interrupt for this purpose, but if aneg is
disabled link-up isn't signaled currently.
According to a vendor driver there's an additional "energy detect"
interrupt source that can be used to signal link-up if aneg is disabled.
We can safely ignore this interrupt source if aneg is enabled.

This patch was tested on a TX3 Mini TV box with S905W (even though
boot message says it's a S905D).

This issue has been existing longer, but due to changes in phylib and
the driver the patch applies only from the commit marked as fixed.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

* Add meson64 kernel patch: net: phy: meson-gxl: improve link-up behavior

https://patchwork.kernel.org/project/linux-amlogic/patch/e3473452-a1f9-efcf-5fdd-02b6f44c3fcd@gmail.com/

Sometimes the link comes up but no data flows. This patch fixes
this behavior. It's not clear what's the root cause of the issue.

According to the tests one other link-up issue remains.
In very rare cases the link isn't even reported as up.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Tested-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/meson-gxl.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
2022-03-12 23:16:17 +01:00
The-going
c58d048a0a
Fixed the application of an unnecessary patch (#3534)
* This is already contained in the 5.15.27 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit 896d1b8a36129c3f1378fbbafd7c394a877635b5 linux-5.15.y
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

     ============================================
     WARNING: possible recursive locking detected
     5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
     --------------------------------------------
     init/307 is trying to acquire lock:
     c2dfe27c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     but task is already holding lock:
     c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     other info that might help us debug this:
      Possible unsafe locking scenario:

            CPU0
            ----
       lock(&irq_desc_lock_class);
       lock(&irq_desc_lock_class);

      *** DEADLOCK ***

      May be due to missing lock nesting notation

     4 locks held by init/307:
      #0: c1f29f18 (system_transition_mutex){+.+.}-{3:3}, at: __do_sys_reboot+0x90/0x23c
      #1: c20f7760 (&dev->mutex){....}-{3:3}, at: device_shutdown+0xf4/0x224
      #2: c2e804d8 (&dev->mutex){....}-{3:3}, at: device_shutdown+0x104/0x224
      #3: c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     stack backtrace:
     CPU: 0 PID: 307 Comm: init Not tainted 5.17.0-rc3-00394-gc849047c2473 #1
     Hardware name: Allwinner sun8i Family
      unwind_backtrace from show_stack+0x10/0x14
      show_stack from dump_stack_lvl+0x68/0x90
      dump_stack_lvl from __lock_acquire+0x1680/0x31a0
      __lock_acquire from lock_acquire+0x148/0x3dc
      lock_acquire from _raw_spin_lock_irqsave+0x50/0x6c
      _raw_spin_lock_irqsave from __irq_get_desc_lock+0x58/0xa0
      __irq_get_desc_lock from irq_set_irq_wake+0x2c/0x19c
      irq_set_irq_wake from irq_set_irq_wake+0x13c/0x19c
        [tail call from sunxi_pinctrl_irq_set_wake]
      irq_set_irq_wake from gpio_keys_suspend+0x80/0x1a4
      gpio_keys_suspend from gpio_keys_shutdown+0x10/0x2c
      gpio_keys_shutdown from device_shutdown+0x180/0x224
      device_shutdown from __do_sys_reboot+0x134/0x23c
      __do_sys_reboot from ret_fast_syscall+0x0/0x1c

    However, this can never deadlock because the upstream and downstream
    IRQs are never the same (nor do they even involve the same irqchip).

    Silence this erroneous lockdep splat by applying what appears to be the
    usual fix of moving the GPIO IRQs to separate lockdep classes.

    Fixes: a59c99d9eaf9 ("pinctrl: sunxi: Forward calls to irq_set_irq_wake")
    Reported-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Samuel Holland <samuel@sholland.org>
    Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
    Tested-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20220216040037.22730-1-samuel@sholland.org
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

* This is already contained in the 5.16.13 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y.
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
--------------------------------------------
....
2022-03-12 23:15:35 +01:00
Heisath
f9abfd60d2 Fix mvebu patch 2022-03-09 14:46:59 +01:00
Igor Pecovnik
716022ce46
Disable broken patch
@heisath Check if any part of it is still needed.
2022-03-09 09:20:02 +01:00
Paolo
05a3b46393
Rk restore drm patches (#3516)
* rk322x: restore drm patches, rework a couple of hunks due to upstream changes

* rockchip: restore drm patches, rework hunks due to upstreamed patch

* Revert also on media kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 17:56:52 +01:00
The-going
9b611efc21
Update a series of patches for sunxi-5.16 and fix on the tag=v5.16.11 for release (#3513)
* Add megous files for 5.16, tag orange-pi-5.16-20220216-2000

* Optimize the selection of a set of patches

* Remove unused patches

* Fix the state on the version tag=v5.16.11

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:04:00 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Igor Pečovnik
594cf5c3d1
Merge rockhip drm patches into one, adjust configs (#3515) 2022-02-26 14:04:38 +01:00
Piotr Szczepanik
ac8fc43855
Switch rockchip64 current to linux 5.15.y (#3489)
* Switched rockchip64-current to linux 5.15

* Backported and adjusted patches from rockchip64-current

* Switched rockchip64 edge to 5.16.y (#3499)

* Initial rockchip64-edge at 5.16.y
* Bunch of fixes for rockchip64-edge at 5.16.y

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-26 07:46:44 +01:00
Yuntian Zhang
3da96b2d77
Add support for Radxa Zero 2 (#3413)
Radxa Zero 2 is a small form factor SBC based on the Amlogic A311D
chipset that ships in a number of eMMC configurations:

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 32/64/128GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output (micro)
- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0
- 1x USB 2.0 port - Type C (OTG)
- 1x USB 3.0 port - Type C (Host)
- 1x micro SD Card slot
- 40 Pin GPIO header

Signed-off-by: Yuntian Zhang <yt@radxa.com>
2022-02-25 19:27:41 +01:00
Oleg
06c410860b
fix station m2 edge NVME and Wifi (#3505) 2022-02-25 19:27:22 +01:00
Vyacheslav
3816d768fe
Remove patch already included in kernel 5.15-stable (#3509) 2022-02-25 19:27:10 +01:00
Julian Sikorski
9d5e1151fa
Update odroidxu4-current to 5.4.181 (#3510) 2022-02-25 19:26:56 +01:00
Leif
27771d0e8a
Remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays (#3495)
* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

Co-authored-by: Leif Sawyer <leif@akhepcat.com>
2022-02-17 22:06:54 +01:00
Igor Pečovnik
cfa4188d4e
Bump UEFI current & edge kernels to 5.15.y / 5.16.y (#3491) 2022-02-14 23:34:40 +01:00
Oleg
c51857b67a
fix USB and SATA p2 (#3486) 2022-02-14 19:05:37 +01:00
Igor Pečovnik
88a56ef3b7
Add Odroid xu4 current patches (#3490) 2022-02-14 18:59:29 +01:00
Jannis
3c1dde938c
Merge pull request #3474 from armbian/mvebu-updates
Bump mvebu-current to 5.15 and mvebu-edge to 5.16
2022-02-11 12:16:36 +01:00
Heisath
4de4c42e6f Bump mvebu-current to 5.15 and mvebu-edge to 5.16 2022-02-11 11:00:57 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
The-going
fbe942b150
Patching sunxi (#3463)
* Add new patches from the tag orange-pi-5.16-20220205-1958

* Remove mutually exclusive patches

* Add, sort next patches for series armbian  5.16

* Add next armbian patches to series.conf

* Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add upstream megous 5.16 patch to 5.15

* Add wifi rtl8723cs patches to series armbian

* Add a new one, remove old patches that are already in the kernel

* Add redesigned patches for 5.15 to the armbian series

* Remove unused patches

* Finish line

* The old rtl8723cs driver is disabled by default.

* Enable the old rtl8723cs driver by default.

* Comment enable\disable the old driver rtl8723cs-old

* Revert "Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16"

This reverts commit aad1e92b5e.
2022-02-10 15:08:01 +01:00
The-going
990798c3fb
Patching sunxi 5.15 (#3460)
* Remove an aged patch from use #3443

Allwinner-Add-frame-inversion-to-correct-audio-chann.patch

* Rename and prepare for the series 5.15

* Split and rename files for sun50i-h616-dtsi

* Split and rename files for sunxi overlays

* Remove mutually exclusive patches

* Add fifty redesigned patches to the series

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove fifty-four old patches

* Fix compile error

* Delete unused ones and sort if possible for megous series

* sunxi-5.15: Sort, fix compile warning, remove unused

* Rework print log for patching
2022-02-05 21:53:26 +01:00
Julian Sikorski
1d499d9ac2
Update odroidxu4-current to 5.4.176 (#3458)
* Update odroidxu4-current to 5.4.176
* Update odroidxu4-current to 5.4.177
2022-02-05 18:05:47 +01:00
The-going
f80117f21c
Recycling of megous v5.16.4 patches (#3449)
* Recycling of megous v5.16.4 patches

The patches were sorted as far as possible. Some patches are renamed
according to their place of application. The length of the patch name
has been changed to improve readability using
the `git format-patch --filename-max-length=75` method.

The folder containing the patches will have the name `patches.name`
and the corresponding file `series.name` for the convenience
of processing and moving them upstream. But the control file remains
`series.conf`.


Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a series of armbian patches for 5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove patches whose fixes are already in the kernel

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-02 11:03:44 +01:00
catalinii
188d6d0a8a
Support edge kernel for Rock 3A and rk35xx (#3371)
* Support edge kernel for Rock 3A and rk35xx

* Removing patch email headers

There is also some script floating around to do this automatically when pooling from patchwork

* Update rk356x-usb2-support.patch

* Remove email headers

* Remove email headers

* Remove email headers

* Update config and change edge branch

* Enable edge beta build

* Refresh the rk35xx patches and update the dts
Remove also previous wireless patches related to IPX removal

* Removing hirsute target

deprecated

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-01 22:53:43 +01:00
The-going
d885bfc97d
Patching sunxi (#3445)
* waiter_local_repo: Fixed incomplete logic

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* A series of patches for sunxi v5.15.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* DEBUG

* check 70

* check 101

* Add 101 Armbian patches as series

Patches are renamed using the logic of the file structure
and the essence of the changes, sorted in the order
of their receipt. Fixed a lot of incorrect overlay
of some pieces in patches. Several small patches are
combined, because they changed one file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove old patches that have been reworked into a series

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix for apply to v5.15.17

* Two Bluetooth-BTRTL patches for sunxi will be applied in the series.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* check 113

* Fix print output

* Revert "DEBUG"

This reverts commit 49e2c7fdc0.
2022-01-28 19:08:04 +01:00
Igor Pecovnik
8fda8d4852
Remove deprecated patches that breaks meson64 edge 2022-01-28 14:00:34 +01:00
Paolo Sabatino
ce0899e1e5
rockchip64: add broadcom bluetooth serdev workaround against default MAC address for edge 5.15 kernel 2022-01-27 14:21:09 +00:00
Paolo
d1e8c0d27b
rockchip64: add realtek rtl8723cs and rtl8703bs wifi and serdev bluetooth support for edge 5.15 kernel (#3422) 2022-01-22 19:48:34 +01:00
Julian Sikorski
deda43aca8
Update odroidxu4-current to 5.4.173 (#3423) 2022-01-22 19:29:35 +01:00
Yao Fei
2f6ccd12c8
Add OrangePi 3 pps-gpio (#3081) 2022-01-20 14:48:41 +01:00
Vyacheslav
8ae85b9eca
JetHome: JetHub D1 fix patch: sdio: update JetHub D1 regulators for SDIO (#3389)
Fix the dts to match board's reference design:
- update vddio_boot regulator to 3.3v (Wi-Fi SDIO module)
- add vccq_1v8 regulator with 1.8v for eMMC SDIO

In the first revision of JetHub D1 the vccq_1v8 regulator was 3.3v.
All installed eMMC modules were tested to work in HS200 mode at 3.3v
supply voltage. In the next revisions of the device eMMC will be
powered with 1.8v according to the standard.
2022-01-17 18:10:10 +01:00
The-going
8331e8b9dc
Add initial series patches for sunxi-5.16 (#3392)
* Add initial series patches for sunxi-5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Now all patches are applied to the v5.16 kernel without errors

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Handle an exception if the initial tag is the top of the branch.

Remove the handling of the old exception.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi64_common.inc: Fix for 5.16

* sunxi-common.inc: Fix for 5.16

* Revert debug for EDGE: KERNEL_VERSION_LEVEL to "5.15"

* Add new patches from megous and switch to v5.16.1

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* waiter_local_repo: Fixed comment

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-17 14:19:53 +01:00
Igor Pecovnik
b568c3aa68
Patch adjustements 2022-01-16 17:57:24 +01:00
Igor Pečovnik
2b8fc08eeb
Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00
Igor Pecovnik
e9fb9542c7
Remove deprecated patch for functionality we don't need (Rpi wiring compatibility)
Closing https://github.com/armbian/build/issues/3400
2022-01-12 19:47:30 +01:00
Oleg
ea5bfeff0a
fix kernel media-edge (#3396) 2022-01-12 08:07:54 +01:00
Igor Pečovnik
3196fac0d1
Maintenance (#3395)
* Upstream patches and bug fixes

* Move to CSC
2022-01-11 18:53:52 +01:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Igor Pečovnik
4ffef325ba
Several improvements for RPi builds (#3391)
* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
2022-01-11 15:25:58 +01:00
Paolo Sabatino
f3388b9aee add ssv6051 driver for kernel 5.10 and 5.15 2022-01-07 11:29:20 +01:00
Igor Pečovnik
d7794cc7b1
Add upstream patches (#3380) 2022-01-06 11:50:58 +01:00
Oleg
e453e4dfba
fix kernel legacy for firefly-rk3399 (#3369) 2021-12-27 08:27:01 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Julian Sikorski
acfbbd9660
Update odroidxu4-current to 5.4.168 (#3365) 2021-12-22 20:55:43 +01:00
Igor Pečovnik
e1c96e5257
Attempt to fix kernel OOPS (#3358) 2021-12-20 09:42:53 +01:00
The-going
94e17628c3
Fix megouse patches for 5.15.10 2021-12-17 20:48:45 +03:00
Dan Pasanen
7be9e8b995
rockchip-[current,edge]: add pcie hack and lsi scsi/sas support (#3351)
* build: kernel: rockchip64-[current,edge]: add pcie bus scan delay patches

These are needed for cards like the LSI SAS2008 which needs a little
extra time to initialize or they'll cause a kernel panic.

References:
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0013-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0022-arm64-dts-rockchip-Add-pcie-bus-scan-delay-to-rockpr.patch

* config: linux-rockchip64-[current,edge]: enable lsi sata/sas support
2021-12-16 05:17:33 -05:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo Sabatino
e1a88959f8 rk322x: add bluetooth overlay, updated rk322x-config 2021-12-10 21:53:57 +01:00
Paolo Sabatino
c8f48d8368 rk322x: add rtl8723cs and rtl8703bs serdev bluetooth support 2021-12-10 21:53:57 +01:00
The-going
146803353c
Remove the garbage from the install.log file (#3333)
* Remove the garbage from the `install.log` file

You cannot use `--info=progress2` for the `rsync`
command when all output is sent to a file.
This creates a large garbage file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Changes megous reverse commit. Just disable the patch

commit bd592ec43b76b298be29126e667850113b84376d (tag: orange-pi-5.15-20211125-1352)
Author: Ondrej Jirman <megous@megous.com>
Date:   Thu Nov 25 13:51:59 2021 +0100

    Revert "rtw88: Add more channels"

    This reverts commit cb1e3839822d4f782a9af6c27568540414093ba6.
2021-12-10 08:32:44 +01:00
Paolo
d876b9a5e1
rk322x: minor device tree fixes and upgrades (#3334)
Introduced a couple of device tree sets for MXQ_PRO and R29_MXQ boards
2021-12-10 00:08:03 +01:00
Igor Pečovnik
7783a2fe6b
Odroid XU4 - remove deprecated patches that were breaking build process (#3332) 2021-12-09 11:42:08 +01:00
The-going
c86dd24180
Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code (#3329)
* Revert "Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once"

 Return `megous` patches

This reverts commit 2eae831889.

* Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code
2021-12-08 16:15:41 +01:00
Paolo Sabatino
6506575e53
rk322x: restored 8723cs driver for edge kernel 2021-12-08 13:39:51 +00:00
Paolo Sabatino
0d5182e848
rk322x: remove mainlined hunks from kernel 5.15 patchset 2021-12-08 11:07:48 +00:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pecovnik
2eae831889
Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once
Also cleanup few patches we don't need.
2021-12-05 16:53:08 +01:00
Julian Sikorski
aed2717909
Update odroidxu4-current to 5.4.163 (#3308) 2021-12-02 20:26:36 +01:00
Vyacheslav
39263b5e76
JetHome: fix thermal zones in JetHub D1 dts file (#3301) 2021-11-30 19:00:19 +01:00
The-going
bfe0300700
Fix warning: "IEEE80211_MAX_AMPDU_BUF" redefined if rtl8723cs module build (#3286)
All warning:
debug> grep warning: compilation.log | wc -l
152
A large number of garbage warnings:
debug> grep warning: compilation.log | grep IEEE80211_MAX_AMPDU_BUF | wc -l
103

After v4.19 linux kernel, this definition is not required.

Check:
list="$(find drivers/net/wireless/realtek/ -type f)"
for f in $list;do awk -v f=$f '/IEEE80211_MAX_AMPDU_BUF/{print f}' $f;done
drivers/net/wireless/realtek/rtlwifi/base.c
drivers/net/wireless/realtek/rtl8723cs/include/wifi.h

Only one drivers/net/wireless/realtek/rtlwifi/base.c file uses
the definition IEEE80211_MAX_AMPDU_BUF_HT.
or
See `git log -p b8042b3da925f390c1482b -3` command in
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-11-28 21:32:07 +01:00
The-going
ada47377b5
Patches megous current branch to v5.10.82 (#3294)
* Kernel switch tag: v5.10.82
* Rework series megouse for v5.10.82
* Switch new packaging for kernel 5.10 and more
2021-11-28 21:31:24 +01:00
The-going
33c413c679
Patches megous 5.15.5 (#3295)
* Rework patches for sunxi 5.15.4

* Rework patches sunxi for 5.15.5

* Kernel switch tag=v5.15.5 for sunxi EDGE

* Temporarily disabled, requires rework.

drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’:
drivers/clk/sunxi-ng/sun8i-de33.c:155:8:
 error: implicit declaration of function ‘sunxi_ccu_probe’;
 did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati>
  ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc);
        ^~~~~~~~~~~~~~~
        of_sunxi_ccu_probe
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:277:
         drivers/clk/sunxi-ng/sun8i-de33.o] Error 1
make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2

* Correct the comment.
2021-11-28 16:48:47 +01:00
The-going
7964a578f5
Patches megous 5.10 (#3293)
* Add a series of patches for sunxi 5.10

Patches from the repository
https://github.com/megous/linux branches of orange-pi-5.10

* Patches adapted to the kernel version v5.10.81

* Remove unnecessary patches 5.10.19-5.10.75

* Kernel switch tag=v5.10.81 for the current sunxi

* Adjust broken patches, build tested on sunxi and sunxi64

* Remove patch added by mistake

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-11-27 00:48:30 +01:00
Heisath
d861f37a9f Fix mvebu patches once more 2021-11-25 09:05:55 +01:00
Oleg
9204ef6f81
fix dts firefly-rk3399 for edge (#3287) 2021-11-23 23:10:17 +01:00
Igor Pecovnik
cf2b423b5c
Disabling two broken patches that prevent kernel recompilation
@heisath
2021-11-23 23:07:37 +01:00
Paolo Sabatino
e9fe8fe177
rockchip64: remove mainlined patches/hunks for current 5.10 kernel 2021-11-23 14:51:15 +00:00
Heisath
caa68d4085 Update mvebu patches 2021-11-22 08:46:18 +01:00
Igor Pecovnik
9dbb72b01c
Adjusting patches due to upstream changes to make mvbe family operational again
@heisath
2021-11-21 17:58:03 +01:00
Piotr Szczepanik
3b1812c002
Fixed rockchip64 current compilation - broken since c67b70aa3d 2021-11-20 22:38:34 +01:00
Oleg
c67b70aa3d
fix SD for firefly-rk3399 (#3268) 2021-11-20 19:49:42 +01:00
simple
401fb1fde4
Fixed rt5651 codec build module (#3270) 2021-11-20 19:49:22 +01:00
The-going
864ae626a8
Switch sources for sunxi 5.15 to the mainline kernel source. (#3272)
* Add new function apply_patch_series
* Apply a series of patches if a series.conf file exists
* Add all megous orange-pi-5.15 branch patches as series
* Add an Exception for version 5.15 for sanxi
* Adjust the switch for sunxi
* Fix megous patches series for v5.15.3
* Switch version to 5.15.3 for sunxi
* Check the exception for 5.15 sunxi
2021-11-20 19:48:51 +01:00
Igor Pecovnik
f889bc775c
Fixing broken Orangpi Zero2 legacy build due to upstream changes 2021-11-20 17:12:49 +01:00
Igor Pečovnik
d3386b5480
Upstream patches (#3267) 2021-11-17 23:59:00 +01:00
Igor Pečovnik
1ecdf0af57
Remove upstream patches to workaround libc bug (#3261) 2021-11-16 19:40:51 +01:00
Igor Pečovnik
9d8609d965
Add critical patches from Khadas repository (#3255) 2021-11-15 12:42:57 +01:00
tonymac32
9ccb9966e3 Fix UART speed for K2 BT
if you don't set the max speed, it doesn't run well.
2021-11-14 20:40:38 -05:00
tonymac32
2a78d51306 NanoPi K2 add BT support
NanoPi K2 has built-in wifi/BT, add BT DT entry.
Firmware has been added to armbian/firmware repo
2021-11-14 19:14:04 -05:00
Julian Sikorski
958a95b933
Update odroidxu4-current to 5.4.159 (#3249) 2021-11-12 21:15:17 +01:00
catalinii
4b246221e0
Fix the build on rk35xx platform (#3247)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-11-12 06:17:07 +01:00
Paolo Sabatino
29335b0c99 rk3328: dmc driver fixes:
* rework to fix regulator and frequency issues
 * rework nanopi-r2s, roc-cc and roc-pc patches to accomodate dmc dtsi changes
 * map gpu as cooling device
 * fix dmc 600 Mhz opp node min voltage
2021-11-11 22:31:07 +01:00
Paolo
4c3dcbf4fc
Rockchip 5.15 (#3242)
* rockchip: bump to kernel 5.15, reworked mainlined patches

* rk322x: bump edge kernel to 5.15, reworked mainlined patches

* rk322x: update edge kernel config

* rockchip: remove some debug config options due to chatty dmesg

* Add patches to revert ipx.h header file remove in 5.15 kernel
2021-11-09 21:58:35 +01:00
Igor Pečovnik
dd51f9f2af
Bump imx6, xu4, rockchip64 and jetson-nano to 5.15 (#3238)
* Bump to 5.15.y imx6, xu4, rocchip64, jetson-nano

* Sunxi patches cleanup

Thanks @jernejsk

* Bump Meson64 to 5.15.y

* Bump mvebu* to 5.15.y

@heisath

Disable 13-net-mvneta.patch - double check.

* Add uppstram patch for opi zero2 legacy kernel

* Update mvebu mvneta patch

* Orangepi Zero2 reboot fix

Co-authored-by: Heisath <jannis@imserv.org>
2021-11-09 18:06:34 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Piotr Szczepanik
d178ad02bf
Disabled regulator supply validation in rockchi64 current
Works around all those "Failed to register regulator: -517" errors
2021-11-06 22:08:48 +01:00
Igor Pecovnik
a74ef8778f
Update upstream patches 2021-10-28 19:37:09 +02:00
Paolo Sabatino
5fa022603c rockchip64: provide rkvdec node for rk3328 2021-10-23 16:54:56 +02:00
Paolo Sabatino
f9275135aa rk3328: add rga node, fix probe 2021-10-22 19:58:33 +02:00
Paolo
682e4085ab
rockchip64: add IEP driver (#3215)
* rockchip64: add IEP driver
* enable IEP driver as kernel module
2021-10-21 22:55:25 +02:00
Igor Pečovnik
5ba09b73cd
Add upstream patches, remove deprecated (#3214) 2021-10-21 18:55:58 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Igor Pecovnik
c83bb5c3b2 Remove deprecated patch 2021-10-19 10:44:36 +02:00
Igor Pečovnik
c9afbb26b9
Add upstream patches (#3203) 2021-10-18 19:52:23 +02:00
Oleg
286eed02f7
fix jetson-nano (#3199) 2021-10-15 14:19:00 +02:00
Igor Pečovnik
997c103c26
Upstream patches and a patch name correction (#3194)
* Just upstream patches and a patch name correction

* Add configs
2021-10-14 00:01:42 +02:00
Igor Pečovnik
51ee548ab4
Delete 0381-drivrs-mmc-revert-g103a5348c-to-fix-some-wifi.patch
https://github.com/armbian/build/pull/3192
2021-10-13 13:18:19 +02:00
Vyacheslav
ae7c00689e
Remove unnecessary patch as backported to kernel 5.10.72 (#3192)
commit e5cb3680b958ed3eb66504c0865f767d760cc9cd
Author: Neil Armstrong <narmstrong@baylibre.com>
Date:   Tue Sep 28 09:36:52 2021 +0200

    mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk

    commit 8a38a4d51c5055d0201542e5ea3c0cb287f6e223 upstream.

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-13 12:49:41 +02:00
Paolo Sabatino
a1d044de8e rockchip: update support for edge kernel 5.14
* imported Rockchip project patches from libreelec
	* disable duplicate/unapplicable patches and rework others
	* add patches for tinkerboard, miqi and xt-q8l-v10 to enable hevc, hevc_mmu and rga nodes
2021-10-12 15:59:01 +02:00
Heisath
d972daac50 Update net dsa mv886xxx patch 2021-10-10 21:31:27 +02:00
Heisath
d45499694e Update mvebu-edge 5.14 patches with version from http://git.armlinux.org.uk/cgit/linux-arm.git/log/?h=clearfog 2021-10-10 21:31:14 +02:00
Heisath
5a8513360c Switch mvebu-edge to kernel 5.14 2021-10-10 21:30:56 +02:00
Heisath
4b87543863 Add PCIe Wifi quirks patch for Atheros and Qualcomm cards
https://lore.kernel.org/linux-pci/20210505163357.16012-1-pali@kernel.org/
2021-10-10 09:21:02 +02:00
Igor Pečovnik
a38a3ff77b
Upstream patch (#3183) 2021-10-09 17:58:25 +02:00
Igor Pečovnik
c74b8ea582
Orangepi Zero 2 legacy - add upstream patches (#3180) 2021-10-09 17:57:33 +02:00
Igor Pečovnik
cd7131cd86
Add upstream patches for sunxi (#3177) 2021-10-07 18:53:56 +02:00
Oleg
b2d54059f7
fix analog sound station-p1 (#3166) 2021-10-07 16:48:09 +02:00
Igor Pečovnik
5059acac6a
Add upstream patches (#3175) 2021-10-07 01:08:09 +02:00
Haraade
cab962caa5
Odroidxu4 upstream 5.4.149 (#3170) 2021-10-04 18:20:25 +02:00
Paolo Sabatino
03ef2ce9ac
rockchip64: raise voltage on rk3328 gpu opp table for stability with high-speed ddrbins on edge kernel 2021-09-27 19:12:34 +00:00
Ricardo Pardini
956c1606de
meson64: current (5.10.y): ODROID N2(+) patchset rework for mainline u-boot, stability and rebootability (#3154)
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline
  - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this
  - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches
    - this increases the kernel size a bit, due to some dependencies like DRM=y
    - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot
  - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2
- move the N2 to mainline u-boot on current (rebased, already done)
  - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments)
    - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness
  - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended.
- change default cpufreq governor for 24h+ stability
- other patch cleanups:
  - move deprecated/non-applying patch to need-check
  - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless.
  - remove documentation-only patches (we have enough patches in meson64 without those)
  - remove duplicated SAR ADC patches
  - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan
    - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
2021-09-26 21:44:28 +02:00
Igor Pecovnik
5ba4159b17
Upstream patches and config adjustements 2021-09-26 20:06:31 +02:00
Igor Pecovnik
fbaeb940ca
Consolidate wireless driver related patch
Fixing troubles in https://github.com/armbian/build/pull/3154
2021-09-26 17:25:52 +02:00
Paolo Sabatino
a71ef23575 rockchip64: tidy up rk3328 patches
* remove 0-rever-rk3328.dtsi-.patch
 * split rk3328-dtsi-mmc-vdec-usb3-tweaks.patch into different specific patches (sdmmc-ext, mmc-reset, power domains, usb3 resets)
 * split rk3328-audio-and-renegade-supplies.patch into specific roc-cc audio and supplies patch and general rk3328 spdif patch
 * add "dtsi" infix to rk3328 patches that deal with dtsi files
 * add back mali gpu operating points patch
2021-09-26 08:35:58 +00:00
Igor Pecovnik
17507962f5
Maintenance - add and remove upstream patches 2021-09-25 08:30:11 +02:00
Werner
7dfc3e34f6
Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enab… (#3149)
* Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enable-warnings.patch

Temporary fix for rk3399 eth issue introduced with 5.14.y
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?do=findComment&comment=128876

* wrong archive

* Create revert-fix-unbalanced-pm_runtime_enable-warnings.patch

Reverts 2d26f6e39a
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?tab=comments#comment-128877
2021-09-24 19:00:01 +02:00
Paolo Sabatino
a25ce2e075
rk322x: remove mainlined patches 2021-09-19 16:58:15 +00:00
Igor Pecovnik
2fb7ad52e0 Update upstream patch for sunxi edge 2021-09-19 15:14:47 +02:00
Kali Prasad
b29527c697
Thermal sensor support for H616 SoC. (#3153)
Signed-off-by: Kali Prasad <kprasadvnsi@protonmail.com>
2021-09-19 12:10:59 +02:00
Piotr Szczepanik
a105cd2756
Removed mainlined (5.10.67+, 5.14.6+) rockchip_i2s_tdm changes for ROCK Pi S 2021-09-18 22:48:20 +02:00
Paolo Sabatino
5710008358 rk322x: add rga probe patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
176fa36df4 rk322x: disable rtl8723cs wifi patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
5474cba740 rk322x: fix sdio wifi pinctrl on IPB900 board 2021-09-18 10:29:57 +00:00
Paolo Sabatino
dd1d2ba781 rk322x: hardware cursor for current kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
b39c367a35 rk322x: prefer 8-bit hdmi output over YCbCr 2021-09-18 10:29:57 +00:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Paolo Sabatino
8409f1bfcb rockchip: fix rga probe function 2021-09-16 14:38:44 +00:00
Chris McGee
bc7dfd1dd6
Bring forward and update pinecube sound patch for kernel 5.14 (#3144) 2021-09-15 22:21:21 +02:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
simple
15819f00e2
general add panel simple dsi (#3140)
* Backporting patch to 5.10 kernel makes sense. Lets do it.

Co-authored-by: iamdrq <iamdrq@qq.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-12 20:06:02 +02:00
Paolo Sabatino
bef4992ac1 rk322x: analog audio codec for edge kernel 2021-09-12 14:26:18 +00:00
Paolo Sabatino
85a0682229 rk322x: enable yuv modes for win1, enable 10bit modes for both win0/1 2021-09-11 17:56:26 +00:00
Paolo Sabatino
f15bc37276 rk322x: add back edge kernel patches lost in the process, hardware cursor dedicated plane 2021-09-11 12:51:28 +00:00
Paolo Sabatino
6f95a75542 rk322x: fix edge kernel dtb patch 2021-09-11 12:51:28 +00:00
Igor Pečovnik
5672f0fa5d
Add Odroid XU4 current upstream patches and enable Mali kernel driver (#3137) 2021-09-10 08:25:03 +02:00
Paolo
4425589e15
rk322x: bump edge kernel to 5.14, u-boot to 2021.07 (#3133) 2021-09-09 22:59:12 +02:00
Igor Pecovnik
96dd55548e
Add patches which were deleted by mistake. Also add upstream patch for sunxi 2021-09-08 20:13:00 +02:00
Igor Pečovnik
744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Oleg
a33445c910
fix kernel station current (#3127) 2021-09-08 17:50:23 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Piotr Szczepanik
5f2e23e908
Disabled hs400 on Helios64 (hopefully only temporarily) (#3126) 2021-09-08 09:54:06 +02:00
Chris McGee
72def00d8c
Pinecube: add i2s device to the sound patch (#3122) 2021-09-03 18:28:26 +02:00
Chris McGee
97f9725033
Add enable pinecube sound to 5.13 (#3120)
This brings the patch forward from 5.11 to the new edge 5.13 kernel
2021-09-02 20:44:45 +02:00
Ricardo Pardini
334d847512
ODROID N2(+): chewitt's uboot + SPI-NOR enable via extra DTBs = SPI Boot to USB, no more hangs. (#3119)
- fix/dup bootscript, since new u-boot fixed n2_plus to n2-plus variant
- g12b: if n2 and edge, enable new u-boot; include non-SD version as SPI binary; write_uboot_platform_mtd
- Kernel DTS patch to add SPI-flash-enabled DTBs (slower eMMC), produces -spi .dtbs for n2 and n2-plus
  - This could also be an overlay, but I dunno overlays.
- SPI+USB3 boot works with "pendrive" storage, untested with cabled/high power USB->SATA or USB->NVMe

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:44:19 +02:00
Stefan
c6c1981631
fix bananapro dts for using lima driver (#3117)
https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/
2021-09-02 20:44:01 +02:00
Kali Prasad
eca69597d7
Fix h616-RTC patches that are breaking builds for armhf (#3118)
* Fix h616-RTC patches that are breaking builds for armhf
* Place fixed patches inline

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-02 20:41:53 +02:00
Haraade
b67ac420a2
Upstream Hardkernel 5.4.134 (#3116)
* Upstream Hardkernel 5.4.134

Upstream Hardkernel 5.4.134

* Upstream 5.4.142

Upstream hardkernel 5.4.142
2021-08-27 13:31:24 +02:00
Igor Pecovnik
c9785ba958
Upstream patches 2021-08-24 09:21:03 +02:00
Igor Pecovnik
9a478d4376
Adding and removing upstream patches 2021-08-19 18:29:03 +02:00
Igor Pecovnik
f55584f9e9 Remove deprecated patches 2021-08-19 18:16:18 +02:00
Igor Pečovnik
6d82498bec
Remove deprecated patch (#3097) 2021-08-16 20:32:22 +02:00
Igor Pecovnik
5402a2770b Add upstream patches 2021-08-16 12:53:22 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
14a04e66b5 Upstream patches 2021-08-12 19:17:29 +02:00
Tony
c5edfdcc6d
Delete board-nanopi-k2-ethernet-fix.patch
This patch is no longer relevant and interferes with Ethernet in newer kernels.
2021-08-12 12:24:47 -04:00
Paolo Sabatino
cba37d6b47 rk322x: fix mainlined patches 2021-08-09 20:17:28 +00:00
Tony
f3a8c1769e
Fixing ethernet on K2, audio on C2 and patch cleanup (#3089)
* [ meson64 ] nanopi K2 ethernet fix

Fix NanoPi K2 Ethernet issues

Do some cleanup of the Meson64 folder while at it

* [ Meson64 ] revert accidental delete of C2 audio patch
2021-08-09 08:27:39 +02:00
Tony
ee610096bc
RK3328 GPU DMC OPP tables (#3088)
* [ RK3328 ] boost GPU voltages to avoid starving Memory controller

The RK3328 has the dynamic memory controller and GPU on the same power rail.
Both are able to be dynamically clocked, both have opp tables.

 - DMC min voltage:  1.075V
 - GPU min voltage:  0.950V

On boards with only the GPU enabled, they memory controller can be under-voltaged.
On boards attempting to use both, the disagreeing opps result in the GPU failing to init

This patch applies a mV range opp to the GPU and fixed opps to the DMC on rk3328-roc-cc
to allow everything to get alongin all possible devfreq situations.

* [ rockchip64 ] clean up disabled patches

* [ rock64 ] add mali supply and remove unused 5V supply

- New Mali opps will keep from starving ram controller

- extra supply was causing dmesg errors.

As it shares enable with another supply and both were marked "always on"
I removed the second.  Neither are referenced by any ports/devices.
2021-08-09 08:24:51 +02:00
Igor Pecovnik
d1aaa70511 Upstream patches add and remove 2021-08-08 14:12:06 +02:00
Tony
01f67a51dc
Merge pull request #3065 from armbian/rk3328-usb3
Move Rk3328 usb3 to mainline
2021-08-06 19:48:04 -04:00
Igor Pecovnik
4bc2dd27b1 Bugfix - disable wireless driver for older kernels and add a few upstream patches for meson64 legacy
Kernel was only tested for building.
2021-08-06 18:27:23 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pečovnik
f317cd72b4
Upstream patches (#3071)
* Upstream patches

* Adjust configs

* Revert xu4 config
2021-07-29 17:24:52 +02:00
Ricardo Pardini
13329ebcd0
Odroid HC4: pick 5.13's patches for SPI-NOR dts and XT25F128B flash chip (#3069)
- add mtd-utils to PACKAGE_LIST_BOARD.
- this should be enough to wipe Petitboot;
- more investigative work and u-boot building is needed for SPI+SATA boot

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 21:54:35 -04:00
tonymac32
3205bb1d90 [ rockchip64 ] Rock64 and roc-cc usb3 2021-07-27 01:31:17 -04:00
tonymac32
d8dbefd618 [ rockchip64 ] rk3328 change to mainline USB3 2021-07-27 00:05:09 -04:00
Paolo Sabatino
74561e9800 rockchip64: remove patches committed by accident 2021-07-26 15:45:17 +00:00
Oleg
4a1e862ebd
fix 5.10.53 (#3059) 2021-07-26 14:55:32 +02:00
Werner
eaea7142be
Fix ebin SATA (#3057)
* Create 0001-pci-Add-Max-Payload-Size-quirk-for-ASMedia-ASM1062-SATA-controller.patch

* Removing email headers from patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-26 10:06:20 +02:00
Igor Pecovnik
885a99fe66 Adjust and add upstream patches
- reenable 8723ds on K5.13 and remove deprecated wifi patches
- adjust rockchip audio and vdec patches in 5.13.y as in 5.10.y
2021-07-26 07:54:09 +00:00
tonymac32
4c52601d52 [ rockchip64 ] remove superceded pacth
Kernel 5.10.51 --> 5.10.52 fixed this in mainline
2021-07-25 16:06:54 -04:00
tonymac32
67599e3dbb [ rockchip64 ] fix RK3328 build issues
5.10.52 --> 5.10.53 changed all power doamin names, and bugfixed the sdmmc regulator states
2021-07-25 16:02:44 -04:00
Haraade
d348851e70
Upstream Hardkernel 5.4.134 (#3049)
Upstream Hardkernel 5.4.134
2021-07-23 10:07:51 +02:00
Paolo Sabatino
5023beb1e5 rk322x: remove upstreamed patch 2021-07-22 15:21:24 +00:00
Igor Pecovnik
f83100f9af Orangepi Lite 2 - fixing HDMI and removing bits that are already mainlined
Thanks to Jernej:
https://forum.armbian.com/topic/12862-orange-pi-lite2-no-more-1920x1080-kernel-55x/?do=findComment&comment=127157
2021-07-22 09:06:01 +02:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
e7177f3b9b Adjust sunxi-current patches - remove broken, add upstream 2021-07-21 17:46:55 +00:00
Oleg
30e8fc7d83
fix station-current 5.10.52 (#3043) 2021-07-21 14:31:34 +02:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Igor Pecovnik
06a8324977 Bugfix for rockchip64 current kernel compilation and upstream patches 2021-07-19 15:59:58 +00:00
Oleg
1c7b8ab10d
fix kernel 5.10.51 (#3034) 2021-07-19 13:41:46 +02:00
Paolo Sabatino
fe4f00ecdc rk322x: fix deferred voltage regulator, gpu opp table and dmc missing regulator for edge kernel 2021-07-18 15:31:49 +00:00
Paolo Sabatino
e4add7b8fd rk322x: update rk322x-edge kernel config, add DMC patches and overlays 2021-07-18 14:06:35 +00:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Paolo Sabatino
429136e062 rk322x: rework patch for kernel 5.12 2021-07-17 13:52:30 +00:00
Paolo Sabatino
a2942247ca rk322x: adjust patches for kernel 5.10 2021-07-17 13:52:30 +00:00
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00:00
Oleg
ff310a7980
fix kernel station-current 5.10.50 (#3017) 2021-07-16 11:26:06 +02:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
Igor Pecovnik
aeeb837b4e Upstream patches 2021-07-15 22:50:36 +02:00
Igor Pecovnik
6a20227e1c Add upstream patches 2021-07-12 10:51:31 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02:00
tonymac32
c3747cf0a9 [ rockchip64 ] remove disabled roc-pc patch 2021-07-01 01:12:54 -04:00
tonymac32
a53eadc325 Merge branch 'master' of github.com:armbian/build 2021-06-28 01:16:02 -04:00
tonymac32
a00fabe6c3 [ Rockchip64 ] correct patch names 2021-06-28 01:15:24 -04:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
2d3976065f Adding meson64 shutdown patch to edge kernels
Like https://github.com/armbian/build/pull/2821
2021-06-27 22:17:05 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Tony
239367ff17
Update board-rockpis-0017-WIP-Sync-rockchip_i2s_tdm-to-BSP-tree.patch (#2920)
The patch got rid of a check for a 0 frequency, causing the mclk log error.  eliminate the code.
2021-06-25 23:34:47 +02:00
Igor Pečovnik
219f2bcbd9
Remove deprecated patches (#2922)
* Remove deprecated patches. They broke Pine H64 booting

* Update kernel config
2021-06-25 23:32:14 +02:00
Igor Pecovnik
55a86663e0 Upstream patches and small kernel config adjustements 2021-06-23 20:23:36 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
Igor Pecovnik
428a208767 Bugfix - h616 patches break armhf. Did notice when adding to sunxi-edge. Move forward to 5.13.y - can be used for manual inclusion 2021-06-21 16:58:33 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Oleg
f484fb7a8b
fix dts for firefly-rk3399 legacy (#2902) 2021-06-16 19:47:19 +02:00
Igor Pecovnik
f34f322eef Adjust broken patch that fixes reboot troubles on meson64 family 2021-06-15 21:02:18 +02:00
Lane Jennison
8cc20a2c6b remove duplicate patches 2021-06-15 09:07:46 -04:00
lanefu
4d56b824c2
Sunxi patchforward (#2898)
* bump patches 5.10.41 - 5.10.43
2021-06-15 07:30:17 -04:00
Piotr Szczepanik
8c6662280c
Fix NanoPi R4S USB ports by moving NanoPC device tree specific changes (#2877) 2021-06-14 21:27:35 +02:00
Igor Pečovnik
fb823a032d
Patches adjustments for Jetson, XU4 and Meson64 legacy (#2895)
* Move Jetson patches to right location, add upstream patch

Also add upstream patch for sunxi

* Add upstream patches for Odroidxu4 current

* Add meson64 upstream patches
2021-06-12 10:06:37 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Jannis
b6cf5ab6e8
Merge pull request #2871 from armbian/helios4-pwm
Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12 (edge)
2021-06-09 07:36:35 +02:00
The-going
c8a8d2d61f
These patches have aged. (#2879)
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-06 20:51:57 +02:00
Heisath
ebc3997e4b Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12
Tested with helios4, pwm working on both channels
2021-06-03 12:37:10 +02:00
Igor Pečovnik
bc32f1913d
Small bugfixes to buildall, remove patch that is not needed (#2869) 2021-06-02 10:55:17 +02:00
Jack Chen
fe34d972dc
rockchip: add missing rk3288-tinker-s.dts file (#2862)
fix the kernel 4.4 boot issue introduced by 3f30b48

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-06-01 19:48:57 +02:00
juanesf
be412d2ddd
Bpi-M2-Ultra enable audio on branches (#2866)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-audio-codec-bpim2ultra-kernel.patch

- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)

* Bpi-M2-Ultra enable audio on branches

- This finishes enabling the audio codec in the other kernels (5.4 - 5.10 - 5.11)
- Remove patch from u-boot folder (my bug)
- Compiled and tested in their respective kernel with debian buster

* Bpi-M2-Ultra enable audio kernel 5.12

- add patch to kernel 5.12
2021-06-01 19:48:04 +02:00
Paolo Sabatino
8ba48305e1 rk3328: revert mali opp table patch for rockchip64-5.11 2021-05-30 23:21:02 +02:00
Paolo Sabatino
a7d3086f8a rk3328: add missing gpu opp table, lima driver does not complain anymore 2021-05-30 14:30:21 +00:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
Igor Pecovnik
0d76096d8e Add upstream patch 2021-05-28 08:59:13 +02:00
Igor Pecovnik
39f703ea85 Add upstream patches 2021-05-27 20:47:53 +02:00