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
Tianling Shen
4b46477b48
sunxi: update Kconfig
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-19 20:12:09 +08:00
Tianling Shen
57403533b9
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-19 10:04:49 +08:00
Zoltan HERPAI
6bf8193b25
sunxi: add support for Bananapi P2 Zero
...
CPU: Allwinner H2+ quad-core Cortex-A7 @ 1.2GHz
Memory: 512Mb DDR3
Storage: SDcard, 8GB eMMC
Network: 10/100M ethernet, optional PoE support, Ampak AP6212 wifi + BT
USB: 1x USB 2.0 OTG
Other: 40-pin expansion header, mini-HDMI
Flashing instructions:
Standard sunxi SD card installation procedure - copy image to SD card,
insert into SD card slot on the device and boot.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-09-18 18:15:21 +02:00
Christian Marangi
c64a5d122f
sunxi: refresh kernel patches
...
Refresh kernel patches for sunxi target.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-18 13:44:50 +02:00
Zoltan HERPAI
12584395dc
sunxi: add support for H616 SoC and Orangepi Zero 2
...
Specifications:
SoC: Allwinner H616 @ 1.5 Ghz
DRAM: 1Gb LPDDR3
Power: 5V USB-C
Video: HDMI (Type 2.0A - micro)
Network: 10/100/1000Mbps Ethernet (Realtek RTL8211F), AW859A BT+wifi
Storage: microSD / 2Mb SPI flash
USB: 1 USB2.0 Host
Debug Serial UART
Flashing instructions:
Standard sunxi SD card installation procedure - copy image to SD card,
insert into SD card slot on the device and boot.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-09-18 00:08:19 +02:00
Zoltan HERPAI
863444f9cb
sunxi: use kernel 6.1 as default
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-09-16 22:27:17 +02:00
Tianling Shen
e26decebb4
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-26 11:04:26 +08:00
Zoltan HERPAI
f01982ec0b
sunxi: add testing kernel 6.1
...
Compile-tested: all targets
Runtime-tested:
- Cortex-A53: Pine64+
- Cortex-A7: Bananapro, Orange Pi 2
- Cortex-A8: pcDuino v2
Patches refreshed.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-08-24 18:52:06 +02:00
Zoltan HERPAI
939d4d0b70
sunxi: copy patches from 5.15 to 6.1
...
To start the migration, we copy the patches from 5.15 to 6.1.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-08-24 18:51:51 +02:00
Tianling Shen
ba6d7f1dfb
sunxi: bpi: use wpad-basic-openssl
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-13 10:15:01 +08:00
Tianling Shen
877d41cd9c
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-13 10:13:15 +08:00
Zoltan HERPAI
22d7ac4b80
sunxi: bananapro: add firmware files for Ampak 6181
...
The Bananapro board has an Ampak 6181 onboard (BCM43362/1), enable
the firmware files in the device profile, and add wpad-basic-mbedtls.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-08-12 14:00:18 +02:00
Zoltan HERPAI
80edfaf675
sunxi: add support for Banana Pi M3
...
CPU Allwinner A83t Octa-core Cortex A7 @ 1.2GHz
Memory 2Gb DDR3
Storage SDcard, SATA (via USB), 8GB eMMC
Network 10/100/1000M ethernet, Ampak AP6212 wifi + BT
USB 2x USB 2.0
Flashing instructions:
Standard sunxi SD card installation procedure - copy image to SD card,
insert into SD card slot on the device and boot.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-08-11 18:04:44 +02:00
Zoltan HERPAI
dc122f4d9e
sunxi: add modules for AC100 MFD and RTC
...
The X-Powers AC100 is a multi-function IC used to provide RTC
and audio codec via RSB (reduced serial bus, an Allwinner-
speciality). On some boards using the A80/A83T SoCs, aside
from the RTC functionality, the RTC is used as a clocksource
for the Ampak WiFi/BT modules.
Add modules for the core MFD support and the RTC.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2023-08-11 18:04:43 +02:00
Tianling Shen
b039d618a3
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-10 15:27:11 +08:00
Christian Svensson
c170fc78ba
kernel: remove CRYPTO_BLAKE2S from all >=5.15
...
This option was removed from upstream kernel back in 2022.
See commits:
2d16803c562ecc644803d42ba98a8e0aef9c014e (>=6.0)
3dd33a09f5dc12ccb0902923c4c784eb0f8c7554 (>=5.15.61 backport)
Signed-off-by: Christian Svensson <blue@cmd.nu>
2023-07-08 16:54:01 +02:00
Tianling Shen
95d86d92c9
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-02 19:52:24 +08:00