Tianling Shen
965cd2e08a
sunxi: tweak overclock patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-06-27 21:04:04 +08:00
Tianling Shen
263355bc69
sunxi: configure phy led for orangepi zero3
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-06-27 19:43:32 +08:00
Tianling Shen
ab953d367b
sunxi: backport H616 DVFS fixes
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-06-26 04:24:10 +08:00
Tianling Shen
48ea6b5552
sunxi: remove left-over kernel 6.1 patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-06-26 04:21:37 +08:00
Tianling Shen
62f7ce033b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-06-18 22:10:50 +08:00
Rosen Penev
6ff598306f
treewide: gpio to gpios
...
gpio is deprecated. Found with dtc's -Wdeprecated_gpio_property
Used git grep -E $'\tgpio = <' to make the changes.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/15681
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2024-06-17 12:57:06 +02:00
Tianling Shen
e628dadacf
rockchip: refresh kernel patches
...
Fixes : #1292
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-07 17:48:07 +08:00
Tianling Shen
22d1f75621
sunxi: add even more missing Kconfig
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-06 18:23:13 +08:00
Tianling Shen
3d804a9578
sunxi: add missing Kconfig
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-06 15:44:04 +08:00
Tianling Shen
9cbfe5f190
sunxi: fix typo error in Kconfig
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-06 13:00:45 +08:00
Tianling Shen
db65054a17
sunxi: add missing Kconfig
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-06 12:02:24 +08:00
Tianling Shen
09c658642e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-04 15:57:59 +08:00
Zoltan HERPAI
3f7d8e20cd
sunxi: add support for Lichee Pi Zero Dock (V3s) board
...
CPU: Allwinner V3s single-core Cortex-A7 @ 1.2GHz
Memory: 64Mb DDR2 integrated into SoC package
Storage: 1x SDcard on board, 1x SDcard on dock
Network: 10/100M ethernet
Other: 4x buttons via LRADC, CSI
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 >
2024-05-04 00:41:02 +02:00
Tianling Shen
cfa50f2d7a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-03 22:26:21 +08:00
Zoltan HERPAI
af87e5e9c1
sunxi: drop 6.1 support
...
Now that 6.6 is the default, remove the 6.1 config and the hack that
was required for the arm32 DTS dir change.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2024-05-03 14:53:45 +02:00
Zoltan HERPAI
e8c7b8a388
sunxi: switch default to 6.6
...
Switch the default kernel to 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2024-05-03 14:53:44 +02:00
Tianling Shen
85577fb716
sunxi: trim cpu opp patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-01 18:38:04 +08:00
Tianling Shen
e61a0fb28b
sunxi: unlock all cpu opps for h616
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
2024-05-01 18:28:46 +08:00
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