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
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
Hauke Mehrtens
16a20512d8
kernel: Set CONFIG_FRAME_WARN depending on target
...
This set the CONFIG_FRAME_WARN option depending on some target settings.
It will use the default from the upstream kernel and not the hard coded
value of 1024 now.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-06-02 11:19:32 +02:00
Tianling Shen
85d11b468b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-12 19:20:08 +08:00
Nick Hainke
1d3e71bd97
treewide: remove files for building 5.10 kernel
...
All targets are bumped to 5.15. Remove the old 5.10 patches, configs
and files using:
find target/linux -iname '*-5.10' -exec rm -r {} \;
Further, remove the 5.10 include.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-12 13:02:43 +02:00
Tianling Shen
963553fef9
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-05 19:43:20 +08:00
Tony Ambardar
3980dfcd05
kernel: fix handling of CONFIG_DYNAMIC_DEBUG
...
Since CONFIG_DYNAMIC_DEBUG is already managed via the KERNEL_DYNAMIC_DEBUG
setting in Config-kernel.in (default N), remove or disable it in target
configs which unconditionally enable it, along with the related setting
CONFIG_DYNAMIC_DEBUG_CORE. This saves several KB in the kernels for
ipq40xx, ipq806x, filogic, mt7622, qoriq, and sunxi.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2023-05-03 10:26:17 -07:00
Tianling Shen
327536fb03
sunxi: build with automount by default
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-18 01:36:47 +08:00
Tianling Shen
db5e542439
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-02 21:40:40 +08:00
Jan-Niklas Burfeind
1e138ca703
sunxi: enable CONFIG_NVMEM_SYSFS
...
in both the stable and the testing kernel
h2+/h3/h5 devices have a Secure ID that can be read from
`/sys/bus/nvmem/devices/sunxi-sid0/nvmem`.
Enabling CONFIG_NVMEM_SYSFS grants sysfs access from userspace.
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2023-02-26 22:22:48 +01:00
Rosen Penev
2630e5063d
treewide: replace wpad-basic-wolfssl default
...
The newly merged mbedtls backend is smaller and has fewer ABI related
issues than the wolfSSL one.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-04 02:35:03 +01:00
Tianling Shen
24fa43475d
sunxi: apply dma hack for kernel 5.15
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-29 04:19:48 +08:00
Tianling Shen
ac78c54218
sunxi: fix typo error
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-17 20:36:21 +08:00
Tianling Shen
6a48bc381b
sunxi: refresh Kconfigs
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 23:14:34 +08:00