Commit Graph

60 Commits

Author SHA1 Message Date
Ricardo Pardini
ca06f43c84 sunxi/legacy: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Igor Pecovnik
423868ca26 Bump sunxi legacy and current to latest version 2024-08-12 17:15:40 +02: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
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
86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +01:00
Gunjan Gupta
d8123f0aee H616: Add dma 2024-02-04 16:48:30 +05:30
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
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
1db3008302 Add missing dts nodes for wifi support 2023-12-16 01:25:34 +05:30
Gunjan Gupta
7c90deff63 Fix patch application failure due to upstreamed code 2023-11-28 20:53:51 +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
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
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
Gunjan Gupta
3dd634ac01 Add support for Inovato Quadra 2023-09-21 23:19:20 +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
Gunjan Gupta
375937ea1a sunxi64: Fix dram frequency scaling to mitigate slow network issue 2023-09-06 11:37:25 +05:30
Gunjan Gupta
13af1b79d1 kernel: sunxi: bring back autofocus support for ov5640 camera 2023-08-21 19:51:46 +05:30
Gunjan Gupta
97983d0749 kernel: sunxi: current: drop g_parm support patch as it causes kernel oops 2023-08-20 23:54:25 +05:30
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
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
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
Gunjan Gupta
317ee9d4cb allwinner: patch series files cleanup 2023-07-02 23:57:13 +05:30
Gunjan Gupta
d63d08f375 NanoPi Duo2: enable ethernet and powerbutton 2023-06-27 07:09:57 +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
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
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
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
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
Alan
8eeb9379d1 Move rtl8189-disable-debug patch from kernel to misc(drivers_network.sh) 2023-05-19 23:35:49 +02:00
Michał Dziekoński
613234a75c sunxi-6.1 h616: Fix thermal zones (add missing trips) 2023-05-05 12:27:14 +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
87b8ad6ae7 Bump sunxi to latest versions 2023-03-20 13:30:48 +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