Commit Graph

4115 Commits

Author SHA1 Message Date
Julian Sikorski
2eb742bfa5 Update odroidxu4-current to 6.6.41 2024-07-23 11:37:14 +02:00
Paolo Sabatino
34fe6f183b update rockchip patching config yaml file 2024-07-22 19:18:14 +02:00
Paolo Sabatino
7da7bbf61c rockchip: bump edge kernel to 6.10 2024-07-22 19:18:14 +02:00
Paolo Sabatino
1f7289d67f rockchip64: address changes for mainlined rk3308 audio codec
* the existing patches for rk3308 audio codec have been disabled:
  the rk3308 driver has been mainlined and thus the patches
  don't apply anymore
* add the missing i2s_8ch_0 and _1 i2s nodes
* adjust "acodec" with "codec" device tree labels, to match
  mainline kernel nomenclature
2024-07-22 19:17:52 +02:00
Paolo Sabatino
4ae0a95814 rockchip64: bump edge kernel to 6.10 2024-07-22 19:17:52 +02:00
Paolo Sabatino
f82e6e8d0c rorkchip64: fix rk3328 gpio2 bank addressing 2024-07-22 19:17:52 +02:00
amazingfate
7cf6f99e75 rk35xx-vendor: bump to latest sdk release rkr3 2024-07-19 14:04:41 +08:00
Patrick Yavitz
ecc3c30943 SpacemiT: Legacy: Wireless RTL8852BS: Fixups
CONFIG_RTW_DEBUG = n
Remove RTW_WARN_LMT
Fix aes_encrypt() redefinition errors

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-18 11:44:12 +02:00
Patrick Yavitz
c5be5a8537 SpacemiT: BananaPi F3: update to BL v1.0.8
Legacy: use TAG instead of BRANCH (gives us more control)
Current: update DTS files
Current: add needed patches up to v1.0.8
Fixup bluetooth node and disable by default (half broke anyway)
Misc fixups to bananapif3.wip and spacemit.conf file

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-17 03:30:39 -04:00
The-going
d05f3b1908 sunxi-6.1: Reverse commit 75317a0, fix real reason inability to load kernel
Reverse commit 75317a0 since this is a special case.

Eliminate the real reason for the inability to boot the kernel.
Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

The problem is present for (cross-compiler) GCC 10, 11, 12.
It does not happen when the kernel is compiled with GCC 9,
even when condition (1) is satisfied.

Detailed description:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
2024-07-14 23:08:40 +02:00
Ricardo Pardini
62af9ee6ba rockchip-rk3588 / edge: drop patch that landed in 6.10-rc7
- `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` landed d05f7aff7a
2024-07-13 11:48:38 +02:00
Ricardo Pardini
b0a5d1794d rockchip-rk3588 / edge: rebase onto 6.10-rc7
- **win**: notice how one can actually _spot_ revelevant changes now
 - case in point, `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` -- will drop it in separate commit
2024-07-13 11:48:38 +02:00
ColorfulRhino
0e0656125d mt7623: Bump legacy 4.19 to current 6.6 kernel
NB: This family only has one board (BananaPi R2) and has not been properly maintained in many years, so 'current' LTS kernel is enough.
No need for 'edge' kernel unless someone plans to step in as maintainer who bumps and tests it on every new kernel release.

- Adjust BananaPi R2 board config (board is mainlined)
- Remove legacy kernel patch folder and kernel config
- Remove unstable WiFi stuff
2024-07-09 18:04:21 +03:00
Lemon
41aa99e657
To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level (#6843)
* To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level
* Integrating support for xiaobaonas boards into the rockchip64-6.9 kernel
2024-07-09 11:33:35 +02:00
The-going
7a054c6286 sunxi-6.1: Add missing GPU trip point 2024-07-09 11:32:22 +02:00
The-going
11d11cf747 sunxi-6.1: Turn on poorly designed patches again.
Poorly designed patches result in the maintainer
having to do extra work.
2024-07-09 11:32:22 +02:00
The-going
75317a0778 sunxi-6.1: Revert: handle entropy from atomic process context
Revert 07b37f227c8daa27e68f57b1c691fab34a06731e commit
For the sunxi (armhf) architecture, this commit results in
an inability to load the kernel. It's actually a crutch
that can break everything tomorrow.
Therefore, freeze the kernel version for better times.
2024-07-09 11:32:22 +02:00
The-going
2d7cbfa7c1 sunxi-6.1: switch to tag:v6.1.97, re-extracting the corrected ones
Fix: dtb dtbo install, wrong select media sensors

Disable incorrectly designed patches.
They need to be aligned with the kernel code.
2024-07-09 11:32:22 +02:00
Igor Pecovnik
f696f6d182 Adjust Rockpi S patch to align with upstream changes 2024-07-05 14:25:51 +02:00
Viacheslav Bocharov
654d208053 JetHome: Update JetHub family
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-03 11:26:07 +02:00
ColorfulRhino
ccf17a20e8 Purge s5p6818 board family
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Elias Bakken
d27b98d78b Add recore dts patch to series.conf so it gets applied
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 23:05:33 +02:00
Elias Bakken
4b9d96c11b
Add support for Recore A5 to A8 (#6859)
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 10:49:29 +02:00
Werner
30992cfaaf
Bump sunxi-current and sunxi64 to latest tag (#6861)
* Update series.conf
* Delete patch/kernel/archive/sunxi-6.6/patches.megous/tty-serial-8250-dw-Use-fifo-size-from-DTS.patch
* Bump current
* sunxi64: rewrite kernel config
* Bump sunxi-current to latest tag

---------

Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-07-02 10:00:35 +02:00
ColorfulRhino
6895ea403f SpacemiT: legacy: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
ColorfulRhino
91b514d982 SpacemiT: current: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
Patrick Yavitz
e8db1ce6d1 SpacemiT: Add proper bluetooth support for RTL8852BS
For both `legacy` and `current` kernel.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
d66c4d9fce boards: Add board BananaPi F3
RISC-V SpacemiT K1 SoC

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
ColorfulRhino
c91039bc28 SpacemiT: Add SpacemiT Keystone K1 SoC dts files
They will be applied on-the-fly by the dt auto-patcher.
2024-07-01 19:15:00 +02:00
ColorfulRhino
e7e9f5d6cf SpacemiT: current: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
ColorfulRhino
da8ba3961d SpacemiT: legacy: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
Patrick Yavitz
c25ed85fe9 SpacemiT: legacy: Add hwmon support and fix sigaltstack 2024-07-01 19:15:00 +02:00
Patrick Yavitz
93d547d52d SpacemiT: Add current kernel patches
Mainline Linux 6.1.y
https://gitee.com/bianbu-linux

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Igor Pecovnik
1bf2aba67b Remove OrangepiZero2 outdated legacy kernel v4.9 2024-07-01 19:14:17 +02:00
Werner
ec8c470da3 radxa-zero3: add edge branch (6.9.y) by picking DT from linux-rockchip#for-next & using Kwiboo's 24.07 u-boot
- u-boot:
   - unset `BOOT_FDT_FILE` for edge branch; that lets Armbian bootscript use the fdtfile auto-detected and set by u-boot
   - unset `BOOTFS_TYPE`, since mainline u-boot can boot ext4 directly
- kernel DTs from https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/tree/arch/arm64/boot/dts/rockchip?h=84a3d3b435e7c109d2141c5bbb9eaab146c94df0

Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (null-patch to bare-dt)
2024-06-30 15:26:29 +02:00
ColorfulRhino
d78a5ad27e meson64: Remove leftover kernel patch folder for 5.10
As per `config/sources/families/include/meson64_common.inc`, the meson64 family is only using kernels 6.1, 6.6 and 6.9.
The kernel patch folder for 5.10 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino
d068f6f0d9 rockchip64: Remove leftover kernel patch folder for 6.1
As per `config/sources/families/include/rockchip64_common.inc`, the rockchip64 family is only using kernels 6.6 and 6.9.
The kernel patch folder for 6.1 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino
78b311c3aa rockchip32: Remove leftover kernel patch folders from old kernels
As per `config/sources/families/rockchip.conf`, the rockchip family is only using kernels 6.6 and 6.9.
The following kernel patch folders from old kernels are not used anymore:

- 4.4
- 5.10
- 5.15
- 6.1
2024-06-30 14:27:51 +02:00
ColorfulRhino
0024d662aa rk322x: Remove unused rk322x kernel patch folders
The rk322x board family was intergated into the rockchip family in theis PR: https://github.com/armbian/build/pull/6092

The kernel patch folder are not in use anymore.
2024-06-30 10:20:26 +00:00
ColorfulRhino
744eca2484 Remove unused board family media
All remaining `media` boards have been integrated into the `rockchip64` family.

- Remove the family config
- Remove all kernel patch folders
- Remove all U-Boot patch folders
- Remove all kernel configs
2024-06-30 09:29:58 +02:00
Igor Pecovnik
560993ac7a Odroid XU4: remove deprecated patch 2024-06-29 08:37:38 +02:00
Julian Sikorski
8ca4068c96 Update odroidxu4-current to 6.6.36 2024-06-28 08:39:37 +02:00
Igor Pecovnik
8618c4bcd5 Rockcchip RK3588: Rename overlay suffix to match reality 2024-06-24 14:54:21 +02:00
Alessandro Lannocca
22b894536e Add orangepi5-plus UART overlays - rockchip-rk3588-6.10 2024-06-24 12:23:58 +02:00
Alessandro Lannocca
131eba487e Add orangepi5-plus UART overlays 2024-06-24 12:23:58 +02:00
Ricardo Pardini
1bedcec012 rockchip-rk3588 6.8/610: add i2c8-m2 overlay
- from vendor kernel
- `i2c8m2`: 40-pin pins 3 & 5 of cm3588-nas & nanopct6
2024-06-23 11:49:22 +02:00
ColorfulRhino
7f111510b4 rockchip-rk3588: edge: Rename rkvdec2 patch for improved clarity 2024-06-22 15:06:10 +08:00
amazingfate
28193c630a rockchip-rk3588: edge: rewrite patches, no change 2024-06-22 15:06:10 +08:00
amazingfate
f790473789 rockchip-rk3588: edge: add rkvdec2 support 2024-06-22 15:06:10 +08:00
ColorfulRhino
4819b81154 sm8250: Delete leftover 6.5 and 6.6 kernel patch folders 2024-06-18 11:33:45 +08:00
amazingfate
0b09411c83 bump sm8250-edge to 6.10 2024-06-18 11:33:45 +08:00
amazingfate
8365343dd9 sm8250-current: Bump to v6.9 2024-06-18 11:33:45 +08:00
ColorfulRhino
0813594057 board: nanopi-r6s: Add system-power-controller to pmic
Without this, the board can't be powered off with the `poweroff` command.
Also affects NanoPi R6C.
2024-06-17 12:20:06 +00:00
amazingfate
151e14b6a7 rockchip-rk3588-edge: fix vepu of rk3588 2024-06-17 11:23:52 +02:00
ColorfulRhino
bc8ee48619 rk3588: edge: Update RGA patch
Remove vpu nodes from RGA patch since these are already included in the H.264 support patch.
2024-06-14 13:34:34 +00:00
ColorfulRhino
dddfa9cc35 rk3588: edge: Rewrite kernel patches against 6.10-rc3 2024-06-14 13:34:34 +00:00
ColorfulRhino
c4d3ff5e34 rk3588: edge: Add H.264 decoder support
Add a patch series to support VEPU121/VPU121, which mainly enables hardware decoding for H.264.
It can also decode MPEG2 and VP8 as well as do JPEG encoding.
2024-06-14 13:34:34 +00:00
Ricardo Pardini
4a84bf07c4 rockchip-rk3588 6.8.y: nanopct6: Add NanoPC T6 SPI Flash (v6.8.y version) 2024-06-14 00:34:55 +02:00
Viacheslav Bocharov
27351820c7 JetHub D2: Fix patchset 2024-06-14 00:34:34 +02:00
Muhammed Efe Cetin
d0684925e3 rockchip-rk3588-edge: add vop2 clocks reset patch 2024-06-14 00:33:52 +02:00
Muhammed Efe Cetin
96eba61177 rockchip-rk3588-edge: re-add edge2 patches and fix mcu fan control
patch
2024-06-14 00:33:52 +02:00
ColorfulRhino
994f376888 rk3588: edge: Set kernel patch folder name to default
Move kernel patch folder to archive/rockchip-rk3588-${KERNEL_MAJOR_MINOR} which is the default.
Also rename kernel config to linux-rockchip-rk3588-${KERNEL_MAJOR_MINOR}
2024-06-12 16:20:42 +00:00
ColorfulRhino
a6b5ea7950 rk3588: Introduce current kernel branch
Since the `edge` kernel branch often uses RC kernels, introduce a more stable `current` branch.
This branch should not be RC kernels and it also should move to an LTS kernel once released.
2024-06-12 16:20:42 +00:00
Ricardo Pardini
117b6fe997 rockchip-rk3588/edge: nanopct6: Add NanoPC T6 SPI Flash (6.10-rc2 version) 2024-06-12 16:20:42 +00:00
ColorfulRhino
6dec7db8a2 rk3588: edge: Rewrite kernel patches 2024-06-12 16:20:42 +00:00
amazingfate
b9183f56a4 rk3588: edge: armsom-sige7: Use dts patch instead of bare dts 2024-06-12 16:20:42 +00:00
ColorfulRhino
5de4cd02fd rk3588: edge: Fix HDMI controller driver
The old driver didn't build on 6.10, so the kernel build couldn't finish.
Fix this driver.
2024-06-12 16:20:42 +00:00
ColorfulRhino
8c31cca7ba rk3588: edge: Rewrite kernel patches to 6.10-rc2 2024-06-12 16:20:42 +00:00
ColorfulRhino
031a85736b rk3588: edge: Update thermal and cpufreq support patches
Patches are from the Linux Rockchip Mailing List, submitted by Alexey
Charkov. [1]

Notable improvements from changelog:
- Moved the TSADC enablement to per-board .dts/.dtsi files
- Dropped extra "inefficient" OPPs (same voltage - lower frequencies)
- Dropped second passive cooling trips altogether to keep things simple
- Added a cooling map for passive GPU cooling (in a separate patch)
- Added regulator coupling for EVB1 and QuartzPro64

Also enable automatic fan control on Rock 5B.

[1] https://lore.kernel.org/linux-rockchip/20240506-rk-dts-additions-v4-0-271023ddfd40@gmail.com/
2024-06-12 16:20:42 +00:00
ColorfulRhino
408a0cbbc8 khadas edge 2: Fix patch for 6.10 2024-06-12 16:20:42 +00:00
ColorfulRhino
afe733ced5 orangepi 5: Fix patch for 6.10 and convert from patch to .dts file
This simplifies the process updating to newer kernel versions and makes
it easier to see and edit the actual dts file being used.
2024-06-12 16:20:42 +00:00
ColorfulRhino
de8d91b45f rk3588: edge: Fix dtb overlay compilation and installation
"general-add-overlay-compilation-support.patch" became obsolete in
Linux 6.9 (see AR-2352 [1]). Fix this problem:

- Rename *.dts sources in overlay directory to *.dtso
- Change "target +=" line to "dts-y +=" in overlay Makefile
- Remove "always +=" line in overlay Makefile
- Add .scr compilation support in kernel scripts/Makefile.lib
- Patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
  directory

For the last two points, see
general-add-overlay-compilation-support.patch

Credits for this fix go to @paolosabatino

[1] https://armbian.atlassian.net/browse/AR-2352
2024-06-12 16:20:42 +00:00
ColorfulRhino
40ae7ac877 rk3588: edge: Bump kernel from 6.8 to 6.10
- Bump mainline kernel from 6.10-rc1 to 6.10-rc2
- Remove patches which are now mainlined
- Re-number "fix-initial-PERST-GPIO-value" patch as per number
  ordering seen in 0000.patching_config.yaml
- Rewrite kernel config
2024-06-12 16:20:42 +00:00
Igor Pecovnik
f9940caee4 Odroid XU4: Remove deprecated patches 2024-06-12 16:03:35 +02:00
Viacheslav Bocharov
3dd2e5c3ec meson64-6.9 kernel: Add jethub j200 2024-06-11 20:08:10 +02:00
Igor Pecovnik
0cae55f377 Adjust Rockchip overlay to match changes introduced in 6.9.y 2024-06-11 20:07:50 +02:00
lanmarc77
8eb8cc5302
NanoPi Neo3 spidev support (#6689)
* added spi device support for Nano Pi Neo3 with different address
* adjusted Makefile for compilation for Nano Pi Neo3 spi-spidev
2024-06-11 11:50:01 +02:00
Ricardo Pardini
05ffbe7f7b s5p6818-legacy: drop un-needed symlink to archive/s5p818-4.14
- `common_defaults_for_mainline` already sets KERNELPATCHDIR='archive/s5p6818-4.14' thus this symlink is not necessary
- 1 step closer to a clean `patch/kernel` dir, when we could finally get rid of `archive/`
2024-06-10 20:36:46 +02:00
Ricardo Pardini
b33c41d76f s5p6818-legacy: rewrite patches, no changes 2024-06-10 20:36:46 +02:00
ColorfulRhino
96e58d34d9 rockchip64: Move some leftovers from 6.8 to 6.9 patch folder
- Convert patches that add a completely new board to dts file, automatically applied in the dt folder
2024-06-09 18:38:43 +00:00
Alban Browaeys
cbaf67f007 Sync helios64 to its updated 6.9 dts
Also move most node in the same order as upstream to lower the work
required to sync.
2024-06-09 18:29:29 +02:00
kernelzru
9b16fad915 move ugoos x3 dt to 6.9 folder 2024-06-06 13:32:32 +02:00
kernelzru
ea8a6efa4f update meson patches for 6.9 kernel 2024-06-06 13:32:13 +02:00
Igor
f5575f64ac
Bump meson and meson64 EDGE kernel to 6.9.y (#6669)
* Bump meson and meson64 EDGE kernel to 6.9.y
* Rename patch folders
* Adjust broken patches, one remaining
* Add overlay support
* meson64: rename overlays to dtso, update makefile
* Update meson-gx-socinfo-sm driver patchset for meson64-6.9:
* add SoC ID patches for S905L, A113X
* fix memory double free in driver
* update dt bindings
---------
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2024-06-05 22:20:35 +02:00
Paolo Sabatino
d3ff61144c rockchip: generalize dtb installation makefile 2024-06-05 22:18:51 +02:00
Paolo Sabatino
af5a766940 fix dtb overlay compilation and installation
* rename .dts sources in overlay directory as *.dtso
 * change "target +=" line in "dts-y +=" in overlay Makefile
 * remove "always +=" line in overlay Makefile
 * add .scr compilation support in kernel scripts/Makefile.lib
 * patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
   directory

for the last two points, see
general-add-overlay-compilation-support.patch
2024-06-05 22:18:51 +02:00
Paolo Sabatino
724573bf7a bump rockchip family edge kernel to 6.9 2024-06-05 22:18:51 +02:00
Paolo Sabatino
4d46d0c682 rockchip64: generalize dtb installation makefile 2024-06-05 22:18:24 +02:00
Paolo Sabatino
69ca249262 rockchip64: bump edge kernel to 6.9 2024-06-05 22:18:24 +02:00
stephengraf
99815c0a88
Sound Allwinner H616 H618 SOCs (#6694)
* Add files via upload

* Update series.armbian

* Update series.conf

* Add files via upload

* Update series.armbian

* Update series.conf

* Update linux-sunxi64-edge.config

* Update linux-sunxi64-current.config
2024-06-05 11:06:46 +02:00
Lemon1151
8f64f05082 Adding support for the fine3399 board 2024-06-03 12:32:02 +02:00
Igor Pecovnik
dfc7cf4a8a Revert Odin2 branch change as new one is changing daily and breaks 2024-06-02 13:50:57 +02:00
Igor Pecovnik
d17abdf233 Cleaning kernel patch folder and run kernel rewrite config 2024-06-02 11:54:17 +02:00
Igor Pecovnik
e42979d669 Rewrite RPi 4 kernel config and fix wrong patch folder name 2024-06-02 11:53:58 +02:00
Igor Pecovnik
acb528d457 Bananapi R2 - adjust patch folder, apply config rewrite 2024-06-02 11:53:37 +02:00
Igor Pecovnik
f17391b59a Odroid XU4 - adjust patch folder, apply config rewrite 2024-06-02 11:53:18 +02:00
nullname
cc300423e1
Fix issue #6528 opi-zero2w, ethernet PHY not powered (#6617) 2024-06-02 10:23:18 +02:00
Igor Pecovnik
e9ecf4b79c
Cleanup UEFI patches, remove deprecated, rename folders 2024-06-01 22:46:45 +02:00
stephengraf
6b512abfa3
Pinctr dummy regulators (#6676)
* Add files via upload

* Update series.armbian

* Update series.conf

* Update arm-dts-orangepi-one-pinctr-dummy-regulators.patch
2024-06-01 10:01:54 +02:00
Lemon
10ce0c9e5f
重命名dd-new-borad-tinker-edge-r.patch -> patch/u-boot/u-boot-rockchip64/add-new-board-tinker-edge-r.patch;添加了对xiaobao-nas的支持 (#6662) 2024-05-29 13:31:51 +02:00