Commit Graph

4046 Commits

Author SHA1 Message Date
Marco Schirrmeister
f9c3b6ce3d
Fix OPi5plus hym8563 pinctrls and poweroff support (#6276)
- Fix hym8563 interrupt pinctrls
- Support poweroff
- Correct gpio_pwrctrl1 typo
2024-02-14 17:30:56 +03:00
brentr
d10951de7c
Initial support for Radxa Rock S0 board (#6261)
* Initial support for Radxa Rock S0 board
* Lets start this board as a WIP target
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-02-12 09:06:04 +01:00
Paolo Sabatino
7c062f7dae rockchip: workaround stmmac ethernet lock contemption 2024-02-10 15:32:07 +01:00
Igor Pecovnik
ddcb86c90a Odroid XU4: Remove deprecated patch 2024-02-09 16:04:19 +01:00
Gunjan Gupta
cf392c1787 H616: Add i2c and uart overlays 2024-02-04 16:48:30 +05:30
Gunjan Gupta
d8123f0aee H616: Add dma 2024-02-04 16:48:30 +05:30
Julian Sikorski
495dc62996 Update odroidxu4-current to 6.1.76 2024-02-04 11:25:44 +01:00
amazingfate
c0d5616dca rk35xx-legacy: 0000.patching_config.yaml with incremental: true for rk 5.10 vendor kernel
- allows users to put .dts files bare in `userpatches/kernel/rk35xx-legacy/dt`
- important: everyone is still invited to send the DTs to https://github.com/armbian/linux-rockchip directly
  - where yes, they'll have to patch the Makefile there as normal
2024-02-04 11:24:31 +01:00
Gunjan Gupta
cba5ad5dcd meson-s4t7: Sync overlays with fenix v1.6.4 release 2024-02-04 11:22:27 +01:00
amazingfate
557393844d xiaomi-umi: rewrite patches 2024-02-02 00:00:04 +08:00
amazingfate
8060fc6837 xiaomi-umi: use dts file instead of patch 2024-02-02 00:00:04 +08:00
FantasyGmm
582d0e96b9 Add Xiaomi Mi10(umi) support 2024-02-02 00:00:04 +08:00
c0rnelius
8eab8fd19b
meson64: bananapicm4io/m2s: u-boot: v2024.01 and WS dts fixup (#6233)
BananaPi CM4/M2S:

Update to u-boot v2024.01
Fixup meson-g12b-waveshare-cm4-io-base-b.dts

Removed from 'fanctrl' node
address-cells = <1>;
size-cells = <0>;

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-02-01 08:06:28 -05:00
Igor Pecovnik
833e1c20c6 XU4: remove deprecated patches 2024-01-30 11:57:05 +01:00
Julian Sikorski
2478c078b2
Update odroidxu4-current to 6.1.75 (#6213)
* Update odroidxu4-current to 6.1.75
* Revert odroid kernel commit fa6baad as an equivalent fix is part of vanilla 6.1.75
2024-01-29 15:48:14 +01:00
Paolo Sabatino
56319d5c44 rockchip64: fix ssv6051 driver 2024-01-27 19:16:42 +01:00
Gunjan Gupta
a9759b2c3c meson-s4t7: kernel: Disable git hook modification in kernel Makefile 2024-01-27 01:55:55 +01:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
amazingfate
3d205bc59f rockchip-rk3588-edge: bump to v6.8-rc1 2024-01-24 17:43:27 +01:00
lanefu
1bad889bb7
add salvas UHS overlay and enable Rockpro64 and Pinebook-pro (#6134)
* add salvas UHS overlay and enable on 2 known devices known to have voltage regulator needed to leverage UHS
* remove increased UHS from pinebook-pro default due to justification in kernel commit history
* remove enabling YOLO UHS overlay from default board config
2024-01-22 21:19:43 +01:00
Paolo Sabatino
1c54806da5 rockchip64: import RFC patch for rockchip TRNG 2024-01-22 21:18:31 +01:00
Lane Jennison
fda3813284 rock-5b: enable spi flash patch 2024-01-22 21:16:54 +01:00
ARCW
9c4c0409a6
Add new borad "ASUS Tinker-Edge-R" (#6153)
* rockchip64: Add board "ASUS Tinker-Edge-R"

* rockchip64: Add board "ASUS Tinker-Edge-R": hammer for 6.6 current & 6.7 edge

- cleanup
- squash dtsi and dt into a single thing, rename to dashes
- change dtb reference in board file
- drop the 6.1 patch that has junk in it

---------

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-21 14:56:20 -05:00
jokubasver
1023f9d420
sun50i-h618-orangepi-zero3: Change gpu node status to okay (#6187)
* sun50i-h618-orangepi-zero3: Change gpu node status to okay

* sun50i-h618-orangepi-zero3: Change gpu node status to okay
2024-01-21 16:41:16 +02:00
lanefu
84e9ab7895
rockchip64-edge: update rk35xx crypto patch (#6183) 2024-01-20 23:06:38 -05:00
c0rnelius
e73c0b6514
meson64: overlays: additions and modifications (#6175)
PWM controllable fan (G12A/B/SM1)

Commit provides two new overlays. One for the BananaPi CM4IO
Baseboard "GPIOH_5" and another for general use "GPIOX_5".

CM4IO HEADER PINS: 5V "4"; GND "6"; PWM "7"

On other units the location of the PWM HEADER PIN may vary,
so users will need to either review the wiki or schematic
of said unit.

Fan used in testing:
https://a.co/d/hasnLtj

Modifications: M2S/M5 RTL8822CS
Modded the overlays to be specific to the unit they were made
to be used on.

Tested-on: BananaPi BPI-CM4IO Baseboard with BPI-CM4 Module

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-01-18 14:31:43 -05:00
Julian Sikorski
11b8b9afc2
Update odroidxu4-current to 6.1.73 (#6174)
* Update odroidxu4-current to 6.1.73
* Re-add kernel patchdir
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-01-17 22:50:43 +01:00
Ricardo Pardini
c23caad016 meson64: 6.7 edge: fix SPI-NOR patch for 6.7.y
- general-spi-nor-add-support-for-XT25F128B.patch: fixed same as Paolo did for rockchip64-6.7
2024-01-14 19:39:09 +01:00
Ricardo Pardini
29085a7f73 meson64: 6.7 edge: rebase patches to 6.7
- general-rc-drivers-should-produce-alternate-pulse-and-space-timing-events.patch: dropped
- added `-spidev` DT's for a few boards (gives access to SPI Flash in exchange for slower eMMC)
- cleanup 0000.patching_config.yaml for meson64-6.7
2024-01-14 19:39:09 +01:00
Ricardo Pardini
61d875bae7 meson64: 6.7 edge: copy patches from 6.6 2024-01-14 19:39:09 +01:00
Ricardo Pardini
9b9011eb5d meson64: 6.6 current: added -spidev DT's for a few boards & cleanup 0000.patching_config.yaml
- gives access to SPI Flash in exchange for slower eMMC
- cleanup 0000.patching_config.yaml for meson64-6.6
2024-01-14 19:39:09 +01:00
Paolo Sabatino
97fd32d109 rockchip64: add missing header to patch 2024-01-14 14:14:50 +01:00
Paolo Sabatino
93330d3c3c rockchip64: fix for spi-nor macro 2024-01-14 14:14:50 +01:00
Paolo Sabatino
f691a1d50e rockchip64: cosmetic fix 2024-01-14 14:14:50 +01:00
Paolo Sabatino
1f4df4c41f rockchip64: bump edge to 6.7, current to 6.6 2024-01-14 14:14:50 +01:00
Lane Jennison
6c5ea26897 RK3588-edge: add SATA1 overlay for rock5b 2024-01-12 19:34:37 +01:00
Paolo Sabatino
66ad1a88f1 rockchip: rework rk3228/rk3328 dfi driver for kernel 6.7 2024-01-12 19:23:51 +01:00
Paolo Sabatino
1405f0f8fd rockchip: fix esp8089, ssv6051 wifi drivers for kernel 6.7 2024-01-12 19:23:51 +01:00
Paolo Sabatino
af16481a88 rockchip: move current to 6.6 and edge to 6.7 2024-01-12 19:23:51 +01:00
amazingfate
4df72bb3d8 xiaomi-elish: rebase kernel patches for 6.7 2024-01-12 09:51:06 +08:00
amazingfate
084ea0caa7 xiaomi-elish: rewrite patches 2024-01-09 19:28:16 +08:00
Igor Pecovnik
f852beca0a Switch meson64, bcm2711, sunxi, imx6, mvebu current to 6.6, edge to 6.7 and leave 6.1 for legecy
- detach sunxi from fixed vesions
- imx6 remove symlinks
- move to archive & cleanup
2024-01-07 18:58:36 +01:00
Ricardo Pardini
8e94b012fd rockchip (32-bit): move version locking to shared hook in mainline-kernel.conf.sh 2024-01-07 18:58:36 +01:00
Ricardo Pardini
6a1b52cad1 sunxi/sunxi64: move version locking to shared hook in mainline-kernel.conf.sh 2024-01-07 18:58:36 +01:00
Ricardo Pardini
8b60fb750d meson (32-bit): family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks 2024-01-07 18:58:36 +01:00
Ricardo Pardini
cb4893ddbe rockchip64: family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks
- rockchip64_common is used by BOARDFAMILY's with their own LINUXFAMILY, so we can't be very generic here
2024-01-07 18:58:36 +01:00
Ricardo Pardini
b9766185fb meson64: family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks 2024-01-07 18:58:36 +01:00
amazingfate
02ef17a3a0 rock-5b edge: fix emmc, temp sensor and power off
We need to slow down to HS200 for stable emmc.
Add tsadc node for temp sensor.
Add power off fix from mail list.
2024-01-05 10:41:32 +08:00
amazingfate
6015ba52f9 add rockchip-rk3588-edge devicetree for hinlink-h88k 2024-01-05 10:40:34 +08:00
Lane Jennison
5b1c1c2897 mvebu-edge: move to 6.6.y 2024-01-04 00:06:37 +05:30
Ricardo Pardini
a5524afbbf mixtile-blade3 / rockchip-rk3588-edge 6.7: enable tsadc for thermal sensors
- thanks AmazingFate
2024-01-04 00:04:02 +05:30
Ricardo Pardini
8d90992192 mixtile-blade3 / rockchip-rk3588 edge 6.7: slow down eMMC from hs400 to hs200 2024-01-04 00:04:02 +05:30
Ricardo Pardini
33941f1741 mixtile-blade3 / rockchip-rk3588 edge 6.7: pci3x4 for Mixtile Blade3 (rpardini's bad take)
- arm64: dts: rockchip: pci3x4 for Mixtile Blade3
- pinctrl for `1 RK_PB2` pull_up
- regulator `vcc3v3_pcie30` always-on and boot-on
  - there is probably a much better fix than this, but I couldn't find it

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-04 00:04:02 +05:30
Ricardo Pardini
1817b39d59 mixtile-blade3 / rockchip-rk3588 edge 6.7: cleanups for Mixtile Blade3
- arm64: dts: rockchip: cleanups for Mixtile Blade3
- drop `hym8563` pinctrl (don't think the blade3 has an RTC)
- `i2c5` is exposed on the 30-pin, add comment
- fix tab in `pcie30phy`

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-04 00:04:02 +05:30
Ricardo Pardini
6873cb2a8e mixtile-blade3 / rockchip-rk3588 edge 6.7: add DT (original from Joshua Riek)
- base for https://github.com/Joshua-Riek/linux/pull/1
2024-01-04 00:04:02 +05:30
Paolo Sabatino
cba4c033b0 rockchip: implement governor attribute sysfs for rk322x-dmc 2024-01-03 23:58:57 +05:30
pixdrift
1c3306c130
Enable CPU frequency configuration for Orange Pi Zero 3 (#6127)
* Enable CPU frequency configuration for Orange Pi Zero 3

* Revert "Enable CPU frequency configuration for Orange Pi Zero 3"

This reverts commit 7af1ee1116.

* Enable CPU frequency configuration for Orange Pi Zero 3

---------

Co-authored-by: Gunjan Gupta <viraniac@gmail.com>
2024-01-03 18:18:43 +05:30
brentr
d48977e38d
fixes failing 10Mbit built-in Ethernet -- https://armbian.atlassian.net/browse/AR-1904 (#6117) 2023-12-31 18:27:48 +01:00
Gunjan Gupta
52523d1f4d delete patch as it should no longer be required 2023-12-31 01:13:50 +05:30
Gunjan Gupta
512ddcb3cc disable patch to fix display on H616/H618 display 2023-12-31 01:13:50 +05:30
Gunjan Gupta
290d866448 sun50iw9: Add HDMI support for H616/H618 2023-12-31 01:13:50 +05:30
Gunjan Gupta
6abd384e6f Port few zero2 patches to cover zero3 as well 2023-12-31 01:13:50 +05:30
Ricardo Pardini
f590d86a91 [cleanup] remove old rk35xx-4.19 archive patch folder that is unused 2023-12-28 13:52:19 +01:00
Ricardo Pardini
0daaccab8f [cleanup] rockchip64 legacy: remove long dead 4.4 patches (family/common didn't define legacy branch for a while) 2023-12-28 13:52:19 +01:00
Ricardo Pardini
c609299ca2 [cleanup] rk3399: remove defunct patches & dangling symlinks for rk3399-legacy and rk35xx-legacy 2023-12-28 13:52:19 +01:00
Julian Sikorski
e612895fed Update odroidxu4-current to 6.1.69 2023-12-27 13:59:43 +01:00
Ricardo Pardini
7436eba79c rockchip-rk3588 edge 6.7: add overlay support; add rockchip-rk3588-sata2 overlay 2023-12-27 13:30:23 +01:00
Ricardo Pardini
3351056c54 rockchip-rk3588 edge 6.7: bump to 6.4-rc7; rebase patches 2023-12-27 13:30:23 +01:00
Ricardo Pardini
78b8ad184d rockchip-rk3588 edge 6.7-rc4: rewrite/rebase patches
- in the process, `MAINTAINERS` file patches are dropped
2023-12-27 13:30:23 +01:00
Ricardo Pardini
8825be3e16 uefi: arm64: current: 6.6: rebase patches onto 6.6.8 2023-12-27 13:29:37 +01:00
Ricardo Pardini
7cdad141fa uefi: arm64: edge: 6.7: rebase patches onto 6.7-rc7 2023-12-27 13:29:37 +01:00
Ricardo Pardini
8d10a84839 uefi: arm64: drop obsolete patch archives for 6.2, 6.3, 6.4, 6.5 2023-12-27 13:29:37 +01:00
Ricardo Pardini
9cb365aad2 uefi: all: edge: bump to 6.7-rc7; arm64: fix Phytium stmmac patch (by Igor)
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-12-27 13:29:37 +01:00
Ricardo Pardini
7258246bfd uefi-arm64 6.7: copy patches from 6.6 2023-12-27 13:29:37 +01:00
Ricardo Pardini
ef995dafc2 uefi: common: stop using symlinks, instead point directly to KERNEL_MAJOR_MINOR
- uefi: common: drop kernel symlinks
- remove duplicate decls
- simplify
- some comments
2023-12-27 13:29:37 +01:00
Paolo Sabatino
f71a96b799 remove rk322x and rockchip non-LTS kernel patch archives 2023-12-26 16:45:30 +01:00
Paolo Sabatino
24ce44421b remove unsuitable patch 2023-12-26 16:45:30 +01:00
Paolo Sabatino
562d96128b consolidate rk322x and rockchip 32 bit families
* merge patches from rockchip and rk322x families for current and edge
   kernels
 * adjust patches for tinkerboard to remove some cruft and overclocking
 * rework kernel configs
 * fix rk322x dmc to avoid lockup on rk3288
 * migrate rockchip-6.6 into patch series, rename all patches with
   more understandable names
 * add gen-series.sh script in tools directory (it is a naive tool to
   create patch series when you don't want to rebase everything)
2023-12-26 16:45:30 +01:00
Gunjan Gupta
7595b0a3cb Fix dtb compilation failure because of upstreamed sid node for sun50i-h616
While at it, also fixed the following warning

arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi:189.40-191.6: Warning (unit_address_format): /soc/efuse@3006000/cpu-speed-grade@00: unit name should not have leading 0s
2023-12-24 09:13:08 +01:00
Gunjan Gupta
10f4e8e6fb Remove old leftover kernel patches 2023-12-24 09:13:08 +01:00
Gunjan Gupta
61b23605f9 Bump allwinner kernels legacy, current and edge kernels 2023-12-24 09:13:08 +01:00
Gunjan Gupta
a269c9a1c5 Refreshed patches using rewrite-kernel-patches command 2023-12-24 09:13:08 +01:00
Gunjan Gupta
30ef1a3e14 Allwinner: Add kernel patches for 6.7 kernel 2023-12-24 09:13:08 +01:00
Alban Browaeys
9bc637f738 Helios64: the chip temperature sensor is really a National lm75 2023-12-24 08:08:11 +01:00
Andrey Safonov
861cd6620f update NanoPI R2C dts for edge kernel 2023-12-17 10:31:57 +01:00
Andrey Safonov
764ec29f32
Rockchip64 PCIE PHY reset on probe (#6057)
* rk3399 PCIE PHY reset on probe
2023-12-17 10:30:51 +01:00
Paolo Sabatino
fbfa2aa9ad rockchip64: fixes for v4l2, add rkvdec hevc decoder 2023-12-16 11:06:06 +01:00
Gunjan Gupta
1db3008302 Add missing dts nodes for wifi support 2023-12-16 01:25:34 +05:30
Igor
c7397e62d0
Move forgotten overlays from Odroid M1 (#6021)
- add Device Odroid M1 device tree to dt subfolder
- fix permission for panther x2
- move and rename overlays
- integrate hardkernel fixup to rockchip fixup script
- detach nanopi r5 from nonexisting odroid kernel family to rockchip64
- Remove patches for 6.5
- Use correct overlay namings
- Align Board name with others from the vendor
2023-12-14 10:36:06 +01:00
Muhammed Efe Cetin
3623035568 opi5: fix analog sound on edge kernel & add dt for opi5b 2023-12-14 10:34:17 +01:00
Igor Pecovnik
e677bb656c Remove deprecated bits in patches that prevent compilation 2023-12-14 09:44:35 +01:00
Igor Pecovnik
88f14d1625 Cleanup deprecated Odroid XU4 kernel patches, cleanup old unused folders 2023-12-12 08:31:52 +01:00
Julian Sikorski
4d85023729 Update odroidxu4-current to 6.1.67 2023-12-11 17:58:53 +01:00
Paolo Sabatino
2b342b2366 rockchip64: move uwe5622 adjust patch to misc 2023-12-08 18:25:10 +01:00
Igor
fae4f66439
Merge Odroid M1 into rockchip64 family (#6015) 2023-12-07 09:22:42 +01:00
Jens J
d2c928cbf0
add dts for mini-m8s-pro tvbox (#6014) 2023-12-07 00:41:12 +01:00
LiX
e43d5ae4d2 Added NanoPi R5C support, based on the works done by lanefu for NanoPi R5S, with ethernet interface name updated and corresponding LED status support. 2023-12-06 18:19:26 +01:00
Julian Sikorski
e4d51f340b
Update odroidxu4-current to 6.1.65 (#6010) 2023-12-05 12:48:12 +01:00
Igor Pecovnik
89bb6c4cfe Fix rk322x broken patches 2023-12-03 23:53:11 +01:00
Muhammed Efe Cetin
7f8a905ff9 rk3588: edge: add vop2, hdmi support to rock5 series and fix hdmi0 reset gpio on opi5 2023-12-03 18:49:35 +01:00
Gunjan Gupta
7c90deff63 Fix patch application failure due to upstreamed code 2023-11-28 20:53:51 +01:00
雷耀
11379ef9b7
rockchip-rk3566:add new board JP-TVbox-3566 (#5904) 2023-11-27 13:02:06 +01:00
Ricardo Pardini
204d2e79b9 WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches
> tl,dr: add 4 small-ish UEFI-like kernels, with Microsoft patches & fixes, for use with Microsoft WSL2 on x86/arm64 and 6.1.y/6.6.y

- the boards are UEFI derivatives, using a common `microsoft` vendor include to modify
  - `KERNELPATCHDIR`/`LINUXFAMILY` (for now, we don't want those patches in regular UEFI builds / .debs)
  - disable `EXTRAWIFI` (kernel is for a VM, will never have wifi so doesn't need any drivers)
  - `LINUXCONFIG`, so we can use Microsoft's own monolithic kernel, required for WSL2 (their initrd is a mistery)
- really, what we're mostly interested right now are the kernels (in the future we might have an "Armbian" WSL2 app in the Microsoft Store)
  - `current` `6.1.y`:
    - rebased from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y onto real 6.1.y
    - using Microsoft's `.config` exactly (monolithic, there are no `=m`'s)
  - `edge` `6.6.y`:
    - also from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y but rebased onto 6.6.y
    - using updated Microsoft's `.config` (monolithic, there are no `=m`'s)
    - dropped 2 of 6.1.y's patches that were actually upstreamed in the meantime:
      - `mm-page_reporting-Add-checks-for-page_reporting_order-param` - mainlined in https://lore.kernel.org/all/1664517699-1085-2-git-send-email-shradhagupta@linux.microsoft.com/
      - `hv_balloon-Add-support-for-configurable-order-free-page-reporting` - mainlined in https://lore.kernel.org/all/1664517699-1085-3-git-send-email-shradhagupta@linux.microsoft.com/
    - drop the `arm64: hyperv: Enable Hyper-V synthetic clocks/timers` patch, since it causes asm breakage on 6.6.y
      - a shame, but I tried and can't fix it myself - @kelleymh ?
    - add my own patch to fix:
      - `1709-drivers-hv-dxgkrnl-restore-uuid_le_cmp-removed-from-upstream-in-f5b3c341a.patch` due to https://lore.kernel.org/all/20230202145412.87569-1-andriy.shevchenko@linux.intel.com/ landing in 6.6
      - `1710-drivers-hv-dxgkrnl-adapt-dxg_remove_vmbus-to-96ec29396-s-reality-void-return.patch` to adapt to
        https://lore.kernel.org/all/TYCP286MB2323A93C55526E4DF239D3ACCAFA9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM/
2023-11-27 11:14:01 +01:00
amazingfate
e6ee3e7de0 xiaomi-elish: add typec pd support 2023-11-27 10:01:12 +01:00
amazingfate
66bc89b3a3 xiaomi-elish: bump to kernel 6.7-rc2 2023-11-26 23:20:57 +01:00
Julian Sikorski
cbb77faca7 Update odroidxu4-current to 6.1.63 2023-11-25 08:27:58 +01:00
Igor
23b94a05aa
Fix Rockchip current and edge kernel from compile breaking (#5950)
* Fix rockchip current and edge kernel from compile breaking
* Fix media and rockchip64 kernel patches
* Fix remaining rockchip kernel patches
2023-11-21 20:43:50 +01:00
Gunjan Gupta
fdf1a7af7f Allwinner: bump legacy, current and edge kernels
legacy - 5.15.137 -> 5.15.139
current - 6.1.62 -> 6.1.63
edge - 6.6.1 -> 6.6.2

Updated patches to fix patch application failure. Also rebased the config files
2023-11-21 11:21:03 +05:30
Muhammed Efe Cetin
a406e8323a Update VOP2 & HDMI QP patches from Andy's kernel tree 2023-11-20 16:31:58 +01:00
Igor
8caf51243e
Bump rpi and ebin edge kernels to 6.6.y (#5925)
* Bump rpi and ebin edge kernels to 6.6.y
* Move rpi patches from archive, remove deprecated patch folder
2023-11-19 22:34:54 +01:00
M. Efe Çetin
af3b4fafec
Update rk3588-edge to 6.7-rc.1 and add support for VOP2, Crypto, HW RNG (#5928)
* Update rk3588-edge to 6.7-rc1 kernel
* Update patches for rk3588-edge and add support for crypto, trng, hdmi tx, vop2
2023-11-19 22:30:26 +01:00
hzy
dcf4360b53 meson: edge: refresh patches 2023-11-19 22:27:54 +01:00
hzy
d6ede78016 meson: edge: Bump v6.6 2023-11-19 22:27:54 +01:00
Kevin Schmidt
72922908c5 Refresh jetson-nano board config. 2023-11-19 22:27:28 +01:00
Tony
9f4260501d
collabora: update to newer tags (#5915) 2023-11-15 13:27:15 +01:00
Gunjan Gupta
e4ad867e47
kernel: sunxi: disable patch that prevents host mode on otg port (#5913)
Co-authored-by: Igor <igor@armbian.com>
2023-11-15 00:32:39 +01:00
chainsx
21091b29f4 media: fix firefly-rk3399 mini-pcie slot 2023-11-14 12:05:25 +01:00
Tony
02f80a255b
more archive cleaning (#5907)
* Meson64 clear abandoned kernels

* Rockchip: Clear out EOL kernels
2023-11-13 16:13:47 -05:00
Tony
9f350d74bb
Rockchip64: Clean up archive of all EOL kernels (#5903)
* Delete patch/kernel/archive/rockchip64-6.4 directory

EOL kernel replaced by 6.5->6.6

* Delete patch/kernel/archive/rockchip64-6.3 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-6.0 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.19 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.18 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.17 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.14 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.13 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.12 directory

EOL kernel
2023-11-13 07:41:04 -05:00
Viacheslav Bocharov
217a5b3ea3 JetHome: Add dts kernel patch for support onboard eeprom in JetHub D1+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2023-11-08 14:06:32 +01:00
Igor Pecovnik
cc02b91478 Remove deprecated patches 2023-11-08 11:19:19 +01:00
amazingfate
f55a87d469 add v4l2 patches to rockchip64 for chromium 2023-11-05 10:05:18 +01:00
Jianfeng Liu
409cd45e50
xiaomi-elish: update config for 6.6, and fix one bluetooth pairing issue (#5885)
* xiaomi-elish: update .config, enable BINFMT_MISC and UHID
* xiaomi-elish: fix some bluetooth LE devices not pairing
2023-11-05 10:04:12 +01:00
amazingfate
c66bfb3e38 bump xiaomi-elish to kernel 6.6 2023-11-03 08:12:29 +01:00
Julian Sikorski
26fed3cbda Update odroidxu4-current to 6.1.60 2023-10-31 08:14:43 +01:00
Ricardo Pardini
0488392964 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6.y; rebase patches to v6.6(.0) 2023-10-31 08:14:01 +01:00
Paolo
f08dcd4867
rockchip,rk322x: bump edge kernel to 6.6 (#5875)
* rockchip,rk322x: bump edge kernel to 6.6
* rk322x: update patching_config.yaml
2023-10-31 08:13:23 +01:00
Gunjan Gupta
b8ab4f5e30 sunxi: bump edge kernel to 6.6 2023-10-30 22:58:11 +05:30
Gunjan Gupta
a55ae4ec93 kernel: sunxi: remove 6.4 kernel patches 2023-10-30 22:58:11 +05:30
Gunjan Gupta
d1186b8a0e kernel: sunxi: Add patches for 6.6 kernel
I have changed the way the patches are generated a bit. Instead of using orange-pi branch from megous tree for 6.6 kernel, I have used the following kernel branches

	a83t-suspend, af8133j, anx, audio,
	axp, cam, drm, err, fixes, mbus,
	modem, opi3, pb, pinetab, pp, ppkb,
	samuel, speed, tbs-a711, ths

These branches were carefully chosen to include only allwinner related patches and remove importing of the rockchip related patches into the allwinner kernel.

Following patches are modified to fix patch application failure
- patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-reg_usb1_vbus-status-ok.patch
- patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-Enable-GPU-mali.patch
- patches.armbian/arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2.patch
- patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch
- patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch
- patches.armbian/arm64-dts-sun50i-h616-bigtreetech-cb1.patch

Following patches are modified because of kernel api change to fix compilation failure
- patches.armbian/drv-gpu-drm-sun4i-Add-HDMI-audio-sun4i-hdmi-encoder.patch
- patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
2023-10-30 22:58:11 +05:30
amazingfate
4232299a3b sm8250: make nt36523 touchscreen start faster 2023-10-26 21:17:01 +08:00
Ricardo Pardini
bf6b4b3cce sm8250 edge 6.5: rewrite patches, no changes
- done with `./compile.sh BOARD=xiaomi-elish BRANCH=sm8250 rewrite-kernel-patches`
2023-10-26 21:17:01 +08:00
amazingfate
46a46dc14e add new device xiaomi-elish 2023-10-26 21:17:01 +08:00
Ricardo Pardini
98c0ab47f5 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6-rc7; rebase/rewrite patches for 6.6-rc7 2023-10-26 14:30:48 +02:00
c0rnelius
95229ffdef
general: extra: meson64 overlays: radxa zero (#5860)
* general: extra: meson64 overlays: `radxa zero`

Radxa Zero: Add overlays for serial i2c and spi.
BPI-M2S/M5: Add RTL8822CS overlays for each unit.

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

* v2: general: extra: meson64 overlays: `radxa zero`

compatible = "armbian,spi-dev";

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-10-25 08:01:01 -04:00
c0rnelius
f10935160b
Radxa Zero: set aliases for serial i2c and spi (#5859)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 15:51:11 -04:00
c0rnelius
73a409df2b
Waveshare CM4-IO-BASE-B with BPI-CM4 Module (#5857)
Set fan max speed to kick in at 65*C. This keeps the unit roughly
at 70*C or lower, when pusing all cores for an extended period of
time.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 13:44:54 -04:00
Tony
43ba5437f0
update compatible string for Odroid C2 Spidev (#5852) 2023-10-22 13:13:02 -04:00
Ricardo Pardini
dd6f788a0a rockchip64 / edge 6.6: add overlay rockchip-rk3566-sata2.dts
- this would also apply to 3568
2023-10-22 11:43:50 +00:00
Ricardo Pardini
f60ef3aa31 rockchip64 / edge 6.6: add rk3566-orangepi-3b-sata DTB 2023-10-22 11:43:50 +00:00
Ricardo Pardini
3ed795e4cb rockchip64 edge 6.6: bump to 6.6-rc6; rebase patches 2023-10-21 14:00:08 +02:00
Ricardo Pardini
b89858d4d2 uefi edge 6.6: bump to 6.6-rc6; rebase patches
- also bump `qemu-uboot` variant's uboot from 23.10-rc4 to final 23.10
2023-10-21 13:59:32 +02:00
Ricardo Pardini
6731b003e2 meson64 edge 6.6: bump to 6.6-rc6; rebase patches 2023-10-21 13:57:12 +02:00
Ricardo Pardini
c94f6fb855 rockchip64 / edge 6.6: bump to 6.6-rc5; rebase patches 2023-10-14 22:02:27 +02:00
Paolo Sabatino
022183eb6e rk322x: fix NEC/NECX/NEC32 protocol handling for rockchip-ir driver 2023-10-13 17:36:14 +02:00
Paolo Sabatino
c2b148add7 rk322x: add IR driver for remote controller wakeup 2023-10-13 17:36:14 +02:00
Patrick Yavitz
595e1fdf62 v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Added wakeup-source to fanctrl node so emc2305 module loads at boot.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz
67af958258 hwmon: emc2305: fixups for driver
BPI-CM4 fan control

hwmon: emc2305: fixups for driver
The driver had a number of issues, checkpatch warnings/errors,
and other limitations, so fix these up to make it usable.
hwmon: emc2305: Change OF properties pwm-min & pwm-max to u8
hwmon: emc2305: Add calls to initialize cooling maps
233096b8a9/drivers/hwmon/emc2305.c

Tested-on: CM4-IO-BASE-B: https://www.waveshare.com/wiki/CM4-IO-BASE-B
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz
f1cf0cd51f v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Julian Sikorski
ebdea95608 Update odroidxu4-current to 6.1.56 2023-10-07 09:59:15 +02:00
Gunjan Gupta
b7d944a652 Khadas Vim1s: Fix monitor not detected after its turned off and on again 2023-10-06 19:47:06 +02:00
Ricardo Pardini
6200855d5f
rockchip64 + rk3568-odroid / edge 6.6: update montjoie's rk crypto v2 patches to crypto-rk3588-03-10-2023 (#5794) 2023-10-06 19:39:18 +02:00
Tony
9f9506c1f8
Remove FA vendor patch (#5792)
This patch does nothing useful and could cause issues in the future with the strange "driver", delete it.
2023-10-06 11:31:09 +02:00
Tony
f3fc9cb0de
rockchip64 edge overlay cleanup (#5793)
Addresses the RK3399-only overlays by adding -rk3399 to them.

Sort the Makefile to have some order to the chaos.
2023-10-06 01:35:43 -04:00
hzyitc
7312a910ef
meson: fix: Fail to register VCC_CORE regulator (#5784) 2023-10-04 12:59:33 +02:00
Ricardo Pardini
fd4b3a7392 rk322x/edge 6.5: enable Makefile Autopatcher, remove Makefile patches
- remove add-board-makefile Patch
- remove `overlay-y` Makefile patch
- add note to the 6.1 version: Makefile autopatcher can't be enabled for 6.1, since the armhf move to subdirs only landed in 6.5-rc1
2023-10-03 14:12:18 +02:00
Ricardo Pardini
51815d9812 rk3568-odroid/edge 6.6.y: add montjoie's rk3588/68/66 rk2 crypto patches (v1) 2023-10-03 14:10:14 +02:00
Ricardo Pardini
bfb69c0534 rk3568-odroid/edge: bump to 6.6-rc4; initial copy from 6.5
- this is getting long in tooth, should merge with rockchip64 "soon"
2023-10-03 14:10:14 +02:00
Ricardo Pardini
9917d8be8f rockchip64/edge 6.6.y: add montjoie's rk3588/68/66 rk2 crypto patches (v1) 2023-10-03 13:54:03 +02:00
Ricardo Pardini
80a0bf14fa rockchip64/edge 6.6.y: update overlay configfs patch from rpi
- from b128f09592.patch
  - found via https://github.com/raspberrypi/linux/commits/rpi-6.6.y/drivers/of/configfs.c
2023-10-03 13:54:03 +02:00
Ricardo Pardini
850a6c0da5 rockchip64/edge 6.6.y: fix TB2's regulator patch after probe/probe_new dance
- rpardini: hammered .probe and probe_type = PROBE_PREFER_ASYNCHRONOUS to
  work on 6.6.y, after https://lore.kernel.org/all/20230505220218.1239542-1-u.kleine-koenig@pengutronix.de/
2023-10-03 13:54:03 +02:00
Ricardo Pardini
b51a4537da rockchip64/edge 6.6.y: manually fix 2 patches 2023-10-03 13:54:03 +02:00
Ricardo Pardini
21ff27f9f1 rockchip64/edge: bump to 6.6-rc4; rebase patches 2023-10-03 13:54:03 +02:00
Ricardo Pardini
41ade999f0 rockchip64/edge: bump to 6.6-rc4; initial copy patches from 6.5 2023-10-03 13:54:03 +02:00
Ricardo Pardini
c0c7f91053 meson64/edge 6.6.y: bump to 6.6-rc4 - fix patches
- board-bananapi-cm4-switch-to-enable-gpios.patch: landed upstream
- driver-power-meson64-reset.patch: fix manually, nearby driver POWER_RESET_OXNAS was dropped from upstream
  - let's light a candle for OXNAS
2023-10-03 13:53:40 +02:00
Ricardo Pardini
bfe5f0ffc1 meson64/edge 6.6.y: bump to 6.6-rc4 - rebase patches 2023-10-03 13:53:40 +02:00
Ricardo Pardini
3811f36a99 meson64/edge: bump to 6.6-rc4; initial copy from 6.5 2023-10-03 13:53:40 +02:00
Ricardo Pardini
55feeb39c5
uefi-arm64/edge: bump to 6.6-rc4 (#5777)
* `uefi-arm64`/`edge`: bump to 6.6-rc4 - initial copy from 6.5

* `uefi-arm64`/`edge` 6.6.y: bump to 6.6-rc4 - fix phytium stmmac acpi patch for 6.6

* `uefi-arm64`/`edge` 6.6.y: futher fix for phytium stmmac acpi glue
2023-10-03 13:53:22 +02:00
Paolo Sabatino
916c4f881b rk322x: remove rk322x-fixup.scr file from overlays 2023-10-02 09:30:20 +02:00
Paolo Sabatino
1a73a2fdd6 rk322x: convert device trees to dirs
* converted dtb/dtbo patches to directories instead of patches
 * add led-conf8 for h20_221_v1.71 board
2023-10-02 09:30:20 +02:00
Paolo Sabatino
3c860a576f fix u-boot dtbo bug 2023-10-02 09:30:20 +02:00
Paolo Sabatino
0ffbe2d60c rk322x: better support for R29_MXQ and R2B_MXQ boards 2023-10-02 09:30:20 +02:00
Igor
6f5112cdc8
Odroid xu4 - remove deprecated patches and update kernel config (#5760) 2023-09-30 18:31:25 +02:00
Ricardo Pardini
2bf18123cd sunxi/sunxi64 edge 6.5.y: fix lost accreditation/description and date formats of a few patches
Fixes: bb78fac2fa
2023-09-30 14:38:44 +02:00
Ricardo Pardini
cac9030aab rockchip64/edge 6.5.y: rebase patches against v6.5.5; archeology 2023-09-29 14:24:47 +02:00
amazingfate
bbed510677 orangepi3b: add bluetooth support 2023-09-29 08:49:22 +02:00
Ricardo Pardini
46931ff642 meson64/edge 6.5.y: rebase patches against v6.5.5 2023-09-29 08:48:22 +02:00
Ricardo Pardini
97c8138e16 meson64/edge 6.5.y: move meson-g12b-waveshare-cm4-io-base-b.dts out of null patch, avoid patching Makefile 2023-09-29 08:48:11 +02:00
Ricardo Pardini
bb78fac2fa sunxi/sunxi64 edge 6.5.y: rebase/rewrite all patches for v6.5.5; fix UTF-8 "From:" encoding 2023-09-29 08:46:52 +02:00
Julian Sikorski
161d58cca1
Switch odroidxu4-current kernel to 6.1 (#5716)
* Switch odroidxu4-current kernel to 6.1

* Update odroidxu4-current to 6.1.53

* Fix kutf_suite.c compile error

* Drop missing watterott driver

* Do not fetch 8821cu driver separately

* Fix modpost error

* Update odroidxu4-current to 6.1.54

* Drop upstreamed patches
2023-09-26 23:36:49 +02:00
Ricardo Pardini
ab203c7ac8 orangepi3b: rockchip64/edge 6.5: enable i2c3 (m0) on 40 pin 27/sda and 28/scl 2023-09-26 09:34:09 +02:00
Ricardo Pardini
a31d62986b orangepi3b: rockchip64/edge 6.5: enable uart2 (debug pins and 40-pin pins 6/8)
- (debug) uart2 has connectors near the usb-c power, but also on the 40-pin pins 6 (tx) and 8 (rx) - don't wire both
2023-09-26 09:33:53 +02:00
Patrick Yavitz
f4507dceda Meson Bananapi: additions and modification
BPI-CM4: Add support for the waveshare cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

BPI-CM4: Enable usb support on waveshare baseboards via overlay

BPI-SM1: Removed UART_B overlay. Short of it being an available
option in the vendor kernel via overlay. I can not find any docs
to support why that is. I feel it is safer that we just remove it.

BPI-SM1: Add UART_A "pin-ctrl: cts rts"

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-09-24 19:47:33 +02:00
Paolo Sabatino
0a2892aeba rk322x: bump edge kernel to 6.5
* update libreelec patches to latest bits
 * rework some patches
 * rework dtb patches due to new arch/arm/boot/dts layout
 * fix led overlays due to idiot u-boot dtbo bug
2023-09-24 19:47:01 +02:00
Paolo Sabatino
06d5054cce rockchip: bump edge kernel to 6.5 2023-09-24 19:22:37 +02:00
Gunjan Gupta
ad25ef919d sunxi: remove 6.2 kernel patches as they are no longer needed 2023-09-24 03:57:52 +05:30
Gunjan Gupta
d2962b071d BigTreeTech: Bump edge to 6.5
It was kept back at 6.2 because ws2812 driver was not compiling. Fixed
the compilation issue and hence moving it up to 6.5 kernel
2023-09-24 03:57:52 +05:30
Gunjan Gupta
79338851fa Orange Pi 3 LTS: Fix ethernet broken for some users on 6.x kernel 2023-09-24 03:36:47 +05:30
Alex Shumsky
b7af4a6406 Fix broken HDMI output on rk3328
Restore 'less than or equal' match of clocks that was lost in patch transition from 6.3 to 6.4:
ttps://github.com/armbian/build/blob/6d981baba68699b0c6ada476704556e11dd661bc/patch/kernel/archive/rockchip64-6.3/rk356x-vop2-support.patch#L333
6d981baba6/patch/kernel/archive/rockchip64-6.4/rk356x-vop2-support.patch (L333)
2023-09-22 18:58:11 +02:00
Gunjan Gupta
3dd634ac01 Add support for Inovato Quadra 2023-09-21 23:19:20 +02:00
Christian Schoffit
fbd0918101 Restore LED triggers for each ATA port indicating disk activity in mvebu-edge
Signed-off-by: Christian Schoffit <sphpn@free.fr>
2023-09-19 20:08:32 +02:00
Gunjan Gupta
3eda27a77a sunxi64: Add patch to boot from shutdown state by button press on devices with axp20x-pek 2023-09-19 20:08:18 +02:00
Gunjan Gupta
27be8be8af Rework ac200 patches and config for current and edge kernel.
Changes are based on https://github.com/jernejsk/linux-1/tree/ac200-v3
2023-09-19 20:08:18 +02:00
Igor Pecovnik
22c4336de4 Update Rockchi64 edge config and remove one more broken part that slipped away 2023-09-13 16:42:10 +02:00
Christian Schoffit
fb5ab0df40 Restore LED trigers for each ATA port indicating disk activity
Signed-off-by: Christian Schoffit <sphpn@free.fr>
2023-09-13 16:10:56 +02:00
Igor Pecovnik
363ca528f5 Same patches changes as found here https://github.com/armbian/build/pull/5703 2023-09-13 16:10:28 +02:00
Igor Pecovnik
adbdab194f Remove deprecated sections from Rockchip patch 2023-09-13 14:07:11 +02:00
Igor Pecovnik
b0f755ec87 sunxi: remove deprecated patch 2023-09-13 13:52:04 +02:00
Muhammed Efe Cetin
d56478a471 nanopir6: change network interface names and add triggers for leds on edge kernel
same as ea17706f47
2023-09-13 09:30:51 +02:00
Muhammed Efe Cetin
23be92c454 Update rk3588-edge to 6.6-rc1 kernel 2023-09-13 09:30:51 +02:00
Muhammed Efe Cetin
103d840307 Add edge kernel support for NanoPi R6S/R6C 2023-09-13 09:30:51 +02:00
Igor Pecovnik
55abcdb94c HK rebased, removing patches 2023-09-11 18:36:54 +02:00
Julian Sikorski
227afd47ab Update odroidxu4-current to 5.4.256 2023-09-11 18:36:54 +02:00
amazingfate
9ce3362dc4 orangepi3b: add mainline devicetree 2023-09-06 13:06:37 +02:00
Gunjan Gupta
375937ea1a sunxi64: Fix dram frequency scaling to mitigate slow network issue 2023-09-06 11:37:25 +05:30
Paolo Sabatino
040e5f6043 rockchip64: increase timeout for usb3 type C phy init 2023-09-04 14:55:50 +02:00
Ricardo Pardini
681680d827 rockchip64/edge 6.5.y: fix patch general-rk808-configurable-switch-voltage-steps.patch (client_dev -> dev) 2023-09-04 14:55:50 +02:00
Ricardo Pardini
8f8cb57b5e rockchip64/edge 6.5.y: rebase patches against v6.5 (.0) 2023-09-04 14:55:50 +02:00
amazingfate
6d981baba6 rockchip64: bump rockchip64-edge kernel to 6.5 2023-09-04 14:55:50 +02:00
Kevin Schmidt
a3c687e9a3 Add board: HiKey960 2023-09-02 14:48:25 +02:00
Julian Sikorski
a55ffd873f Update odroidxu4-current to 5.4.255 2023-09-02 14:48:12 +02:00
Ricardo Pardini
c9cf47a25d bcm2711/edge: bump to RPi Foundation's 6.5.y branch; rebase all patches 2023-09-02 14:47:59 +02:00
Ricardo Pardini
2230db6299 meson64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0)
- drop upstreamed patch `meson-dts-add-missing-cache-properties.patch`
2023-09-02 14:47:46 +02:00
Ricardo Pardini
f1b41bb771 uefi-arm64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0); fix Phytium's stmmac patch
- hammer patch `driver-phytium-stmmac-acpi.patch`
  - use `.remove_new` due to "net: stmmac: Make stmmac_pltfr_remove() return void"
2023-09-02 14:47:33 +02:00
Ricardo Pardini
e16cd61036 rk3568-odroid/edge: bump to 6.5.y from -rc6; rebase all patches vs v6.5(.0) 2023-09-02 14:47:17 +02:00
Gunjan Gupta
274e2cf8c3 Allwinner: switch edge to 6.5 kernel 2023-09-02 03:46:28 +05:30
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