Tianling Shen
146ffa709d
sunxi: update upstreamed H616 cpufreq patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-05-01 17:53:05 +08:00
Tianling Shen
957e6a7e8d
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-28 13:47:17 +08:00
Zoltan HERPAI
4e9f0e5be4
sunxi: update the 6.6 DTS_DIR hack
...
Update and simplify the 6.1 vs. 6.6 DTS_DIR hack until 6.1 support is gone.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-26 11:07:43 +02:00
Zoltan HERPAI
ee4e69cc35
sunxi: 6.6: set testing kernel
...
Allow selecting 6.6 as testing kernel on sunxi.
Runtime-tested:
- Linksprite pcDuino (cortexa8)
- Olimex A20 Micro (cortexa7)
- Pine64 SoM (cortexa53)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
7de163d58b
sunxi: 6.6: refresh patches
...
Refresh kernel patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
82df12e98a
sunxi: update image Makefile to reflect updated DTS structure in 6.6
...
For the ARM arch on 6.6, DTS files are moved into their vendor directories,
mimicking arm64. Reflect this in the image Makefile.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
9122474226
sunxi: 6.6: refresh kernel configs
...
Refresh kernel config.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
438dc54936
sunxi: 6.6: remove upstreamed patches
...
Remove patches that have been upstreamed.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
9e348da477
kernel/sunxi: Restore kernel files for v6.1
...
This is an automatically generated commit which aids following Kernel patch history,
as git will see the move and copy as a rename thus defeating the purpose.
See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
for the original discussion.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Zoltan HERPAI
3c69b9a818
kernel/sunxi: Create kernel files for v6.6 (from v6.1)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-25 16:34:25 +02:00
Tianling Shen
252d16387c
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-22 15:04:31 +08:00
Zoltan HERPAI
30149ba1ae
sunxi: move KERNEL_LOADADDR into subtargets
...
As preparation for the arm926ej-s support which has a different
load address, move the KERNEL_LOADADDR into the subtargets.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-19 18:42:05 +02:00
Zoltan HERPAI
01fc454a0c
sunxi: move fpu feature flag into the subtargets
...
As the upcoming arm926ej-s does not have an FPU, move this flag
into the subtargets.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-19 18:42:05 +02:00
Zoltan HERPAI
3ed8927cf5
sunxi: fix network bringup on Olinuxino Micro boards
...
It's the A13-based Olinuxino Micro which has only wireless interfaces. The
A20-based board is a fully-fledged one which has an ethernet interface.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-17 01:10:24 +02:00
Zoltan HERPAI
bc4342142c
sunxi: update a13-olimex-som DTS path
...
In preparation for supporting kernel 6.6, where the DTS files are grouped into
vendors - similarly to what arm64 has been doing all along -, update the
SUNXI_DTS var of this board to prepend it with SUNXI_DTS_DIR.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-04-16 19:41:58 +02:00
Chukun Pan
29515862ac
sunxi: backport h616 thermal sensor support
...
Backport H616 thermal sensor support from linux-next.
Tested on the Orange Pi Zero 3 (H618 SoC).
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2024-03-26 21:56:57 +01:00
Chukun Pan
29b8ba75fa
sunxi: add support for Orange Pi Zero 3
...
Key features:
Allwinner H618 SoC (Quad core Cortex-A53)
1/1.5/2/4 GiB LPDDR4 DRAM
1 USB 2.0 type C port (Power + OTG)
1 USB 2.0 host port
1Gbps Ethernet port
Micro-HDMI port
MicroSD slot
Installation:
Write the image to SD Card with dd.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2024-03-26 21:56:57 +01:00
Tianling Shen
4d22a8a2c4
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-24 21:24:08 +08:00
Qingfang Deng
6b007d2512
treewide: disable spectre mitigation on unaffected Arm64 targets
...
Cortex-A53 is not vulnerable to any Spectre variants.
Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2024-03-23 20:00:49 +01:00
Qingfang Deng
54f9744c82
treewide: disable spectre mitigation on unaffected Arm32 targets
...
Cortex-A5 and Cortex-A7 are not vulnerable to any Spectre variants.
Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2024-03-23 20:00:49 +01:00
Chukun Pan
15450525b3
sunxi: backport h616 thermal sensor support
...
Backport H616 thermal sensor support from linux-next.
Tested on the Orange Pi Zero 3 (H618 SoC).
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2024-03-19 13:13:05 +08:00
Tianling Shen
6842cc89e6
sunxi: fix cpufreq driver on h618
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-04 20:28:36 +08:00
Tianling Shen
251169853d
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-14 12:49:57 +08:00
Tianling Shen
9a9407fec7
sunxi: backport pending cpufreq support fot H616
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-13 16:45:32 +08:00
Tianling Shen
e1e44b79e0
sunxi: backport pending thermal support for H616
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-13 16:45:27 +08:00
Tianling Shen
3bc7cfe092
target: add cpufreq to default packages
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-13 14:13:25 +08:00
Tianling Shen
782a54d26d
sunxi: overclock Allwinner H5 up to 1.36 GHz
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-13 13:51:45 +08:00
Tianling Shen
ee8341f1fa
sunxi: configure LED-s on Orange Pi Zero 3
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-12 18:58:08 +08:00
Chukun Pan
705234e4fd
sunxi: add support for Orange Pi Zero 3
...
Key features:
Allwinner H618 SoC (Quad core Cortex-A53)
1/1.5/2/4 GiB LPDDR4 DRAM
1 USB 2.0 type C port (Power + OTG)
1 USB 2.0 host port
1Gbps Ethernet port
Micro-HDMI port
MicroSD slot
Installation:
Write the image to SD Card with dd.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2024-02-12 18:58:04 +08:00
Tianling Shen
b16928aa96
sunxi: mark upstreamed patches as such
...
Also sort them to start from 001.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-19 16:02:05 +01:00
Tianling Shen
193071fb01
sunxi: remove outdated kernel 5.15 files
...
We're on 6.1 now, these files can go.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-19 16:02:05 +01:00
Tianling Shen
a17b88f0c7
sunxi: mark upstreamed patches as such
...
Also sort them to start from 001.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-18 11:12:38 +08:00
Tianling Shen
ef03ac6684
sunxi: remove rtl8189es driver for nanopi r1s h5
...
This wireless driver seems broken and causes kernel hang up.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-18 10:52:27 +08:00
Tianling Shen
54dfdd2c1d
sunxi: cortexa53: enable Motorcomm PHY driver
...
This is required by Orange Pi Zero3 which has a YT8531C on board.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-17 20:34:48 +08:00
Tianling Shen
8e46d896be
sunxi: remove outdated kernel 5.15 files
...
We're on 6.1 now, these files can go.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-17 19:49:24 +08:00
Tianling Shen
5eaffd803e
sunxi: replace coherent pool hack with bootargs
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-14 16:45:10 +08:00
Tianling Shen
2e7bff994d
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-29 11:03:06 +08:00
Chukun Pan
00e3447926
sunxi: enable cpufreq driver for H6 SoC
...
Allwinner H6 needs this driver to enable DVFS support.
May also be used with H616/H618 SoC in the future.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2023-10-28 18:31:43 +02:00
Chukun Pan
b25c7548e0
sunxi: fixes led for nanopi boards
...
Kernel 5.15 already supports the NanoPi R1 and NanoPi R1S H5,
and they use new LED bindings that do not match the existing
settings in 01_leds. Update led settings to fixes that.
List the led node on NanoPi R1S H5:
root@OpenWrt:~# ls /sys/class/leds/
green:lan green:wan red:status
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2023-10-28 18:31:43 +02:00
Tianling Shen
c351fa1d0a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-25 10:19:11 +08:00
Sebastian Pflieger
2970d4b6cc
sunxi: generalize top-level BOARDNAME and update suported SoCs
...
Allwinner created to may SoC variants to list them all at top-level.
Signed-off-by: Sebastian Pflieger <sebastian@pflieger.email>
2023-09-24 18:16:40 +02:00
Tianling Shen
fe74a1eb4b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-24 11:22:47 +08:00
Tianling Shen
dea7302fdf
sunxi: add missing Kconfig symbol
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-24 10:29:45 +08:00
John Audia
e3559fb445
kernel: bump 6.1 to 6.1.54
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.54
Removed upstreamed:
generic/backport-6.1/020-v6.3-02-UPSTREAM-mm-multi-gen-LRU-rename-lrugen-lists-to-lru.patch[1]
ipq806x/patches-6.1/140-v6.5-hwspinlock-qcom-add-missing-regmap-config-for-SFPB-M.patch[2]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.54&id=a73d04c460521e45f257d28d73df096e41ece324
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.54&id=e93bc372dbc0bde133c854c03502a95617041972
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me>
2023-09-23 13:10:28 +02:00
Tianling Shen
718074f27e
sunxi: enable schedutil gov by default
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-23 18:55:52 +08:00
Tianling Shen
423624d387
sunxi: disable sun8i a33 mbus devfreq
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 13:47:07 +08:00
Tianling Shen
da816621dd
sunxi: cortexa53: add missing Kconfig symbols
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 12:44:28 +08:00
Tianling Shen
a74c07123c
sunxi: cortexa53: add missing Kconfig symbols
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 11:42:02 +08:00
Tianling Shen
c7cf30e208
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 10:41:08 +08:00
Tianling Shen
24b2606c3d
sunxi: add missing Kconfig symbols
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-19 20:57:43 +08:00