Zoltan HERPAI
3aeaeb563f
zynq: enable NAND support
...
Enable NAND support.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-06-16 20:19:24 +02:00
Zoltan HERPAI
e050bb7946
zynq: add Bitmain Antminer S9 control board support
...
This board is the control board for the Antminer S9 miners.
SoC: Xilinx XC7Z010 - dual-core Cortex-A9 with FPGA stack
Memory: 512Mb DDR3
NIC: 1Gbit ethernet (BCM B50612E PHY)
Flash: 256Mb NAND (Micron MT29F2G08ABAEAWP)
Storage: SD-card slot
Other: control pins available via FPGA stack
Admittedly, there is a limited number of use cases available
for these boards outside of the miners and the lack of FPGA
tooling in OpenWrt. However, for one, they are easily and cheaply
available, for two, the reason for adding this is to provide an
easy addition to the boardfarm for continuous testing of this target.
Notes: For u-boot, an additional patch is required to support
booting from SD-cards. This is because EXTRA_ENV_SETTINGS is
already defined in the board's u-boot config, which is the same
place where the zynq-common.dtsi defines the required envvars.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-06-16 20:19:24 +02:00
Zoltan HERPAI
fa55634872
uboot-zynq: fix boot process on MMC
...
A regression was introduced when upgrading to 2019.07, whereas
the bootloader did not proceed to load the FIT image. A fix
was reported but not upstreamed here [1]. Patch the uEnv file
to bring back these boards to an operational state.
[1] https://forum.openwrt.org/t/bugreport-regression-in-zynq-cpu-platform-not-bootiing-any-more-zedboard-zybo/182609/7
Fixes: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=5ca243153b110ceddffecb70ba8a8cd0e33c8f0b
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-06-16 20:19:24 +02:00
Zoltan HERPAI
059f801a2c
starfive: drop support for 6.12
...
Drop support for 6.12 by removing config and patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-17 15:27:17 +02:00
Zoltan HERPAI
fbe9cfc3b7
starfive: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-17 15:27:15 +02:00
Zoltan HERPAI
716661d562
sunxi: add T113-S3 support
...
The Allwinner T113-s3 (sun8i) SoC features a dual-core Cortex-A7 ARM CPU and
128MB of DDR3 memory in the same physical package. It supports industrial
temperature ranges. Most of the IP blocks are shared with the D1/D1s core.
There are multiple variants of the SoC, which may vary in the included memory
size, with some of them including a C906 RISC-V co-processor.
Boards supported:
- MangoPi MQDual T113
- wireless-only (RTL8723DS)
- MYIR MYD-YT113 eMMC
- 1Gbit ethernet (Motorcomm YT8531 PHY)
- 4GByte eMMC
- M.2-type slot for 4G/5G cards, plus 2x SIM slot
- USB 2.0 ports
- GPIO/I2C/SPI/CAN ports
- FNLink 6131 (rtl8733bu) wifi module
- MYIR MYD-YT113 SPI
- Same as above but with 256Mbyte SPI-NAND flash instead of eMMC
- Rongpin RP-T113
- 100Mbit ethernet (ICplus IP101GR PHY)
- miniPCIe slot for 4G cards, plus 1x SIM slot
- 3x USB 2.0 ports
- RTL8723BS wireless
- HYM8563 RTC
- GPIO/I2C/SPI/CAN ports
- Olimex T113-Olinuxino
- 100Mbit ethernet (ICplus IP101GR)
- UEXT connector (GPIO/I2C/SPI ports)
- 1x USB 2.0
- audio jack, LEDC
Installation:
Use the standard sunxi installation to an SD-card.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-09 11:19:22 +02:00
Zoltan HERPAI
6018bd5b11
starfive: 6.18: update LED aliases
...
Between 6.12 and 6.18, a 'blank' led_status_power has been added into
jh7110-common.dtsi. Update the patches responsible for adding the LED
aliases and add functionality for this LED entry.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-06 22:42:25 +02:00
Zoltan HERPAI
6100154bfe
starfive: 6.12: drop CRYPTO_USER_API_*
...
These are not needed by any driver directly, and can be used
via modules if needed.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-06 22:42:24 +02:00
Zoltan HERPAI
ce275254cc
starfive: 6.18: drop CRYPTO_USER_API_*
...
These are not needed by any driver directly, and can be used
via modules if needed.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-05-06 22:42:24 +02:00
Zoltan HERPAI
4ca22b16e8
sunxi: drop support for 6.12
...
Drop support for 6.12 by removing config and patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-28 11:27:46 +02:00
Zoltan HERPAI
3cff8f06bd
sunxi: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-28 11:27:45 +02:00
Zoltan HERPAI
f56e68791a
sunxi: enable 6.18 testing kernel
...
The sunxi target now supports 6.18 kernel as testing.
Tested on:
- Linksprite pcDuino2 (cortexa8/a10)
- Olimex Olinuxino A20 Micro (cortexa7/a20)
- OrangePi 2 (cortexa7/h3)
- OrangePi Zero2 (cortexa53/h616)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-24 09:43:01 +02:00
Zoltan HERPAI
e78de66600
sunxi: 6.18: refresh patches
...
Refresh patches as required.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-24 09:43:01 +02:00
Zoltan HERPAI
7727944a5c
sunxi: 6.18: add missing symbols
...
Add sunxi-related missing symbols that were found during 6.18 migration, and
reorder configs.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-24 09:43:01 +02:00
Zoltan HERPAI
97b33978a8
kernel/sunxi: restore files for v6.12
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-24 09:43:00 +02:00
Zoltan HERPAI
96c04debde
kernel/sunxi: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-24 09:43:00 +02:00
Zoltan HERPAI
e75ba35ed8
modules: video: introduce DRM client setup module
...
6.14 has introduced a DRM client setup library. Add kmod-drm-client-lib
to support it, and add it as a dependency to DRM modules which depend on it.
Link: https://github.com/openwrt/openwrt/pull/22975
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-23 15:23:37 +02:00
Zoltan HERPAI
6a466d5acd
d1: drop support for 6.12
...
Drop support for 6.12 by removing config and patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-21 16:13:37 +02:00
Zoltan HERPAI
8c411f3dad
d1: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-21 16:13:37 +02:00
Zoltan HERPAI
a0facaf278
d1: add proper overlay support
...
Add f2fs support into the kernel, otherwise the overlay f2fs
will not be created.
[ 7.611817] loop0: detected capacity change from 0 to 212992
[ 7.638471] loop0: detected capacity change from 212992 to 206208
[ 7.757259] mount_root: failed to mount -t f2fs /dev/loop0 /tmp/overlay: No such device
Fixes: https://github.com/openwrt/openwrt/commit/1e7950a45de593354a508d80a39951b440336ab7
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-21 16:13:37 +02:00
Zoltan HERPAI
858e89d2f7
sifiveu: drop support for 6.12
...
Drop support for 6.12 by removing config and patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-19 13:21:21 +02:00
Zoltan HERPAI
8bcde63013
sifiveu: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-19 13:21:21 +02:00
Zoltan HERPAI
c4ed907551
pistachio: drop support for 6.12
...
Drop support for 6.12 by removing config and patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-18 12:02:48 +02:00
Zoltan HERPAI
0cf5605318
pistachio: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-18 12:02:48 +02:00
Zoltan HERPAI
fddbefbcc5
pistachio: refresh config on 6.18
...
Refresh config.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-18 12:02:40 +02:00
Zoltan HERPAI
8aa836eba3
sifiveu: enable 6.18 testing kernel
...
The sifiveu target now supports 6.18 kernel as testing.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-17 23:57:02 +02:00
Zoltan HERPAI
71ab1575af
sifiveu: refresh config for 6.18
...
Refresh config for 6.18.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-17 23:57:02 +02:00
Zoltan HERPAI
203743a01f
kernel/sifiveu: restore files for v6.12
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-17 23:57:02 +02:00
Zoltan HERPAI
7f9190f4bd
kernel/sifiveu: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-17 23:57:02 +02:00
Zoltan HERPAI
f335bf0d7c
pistachio: enable 6.18 testing kernel
...
The pistachio target now supports 6.18 kernel as testing.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 22:23:02 +02:00
Zoltan HERPAI
757e8b1154
pistachio: refresh patches for 6.18
...
Refresh patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 22:23:01 +02:00
Zoltan HERPAI
bcfe1855bd
kernel/pistachio: restore files for v6.12
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 22:23:01 +02:00
Zoltan HERPAI
cf84e7f551
kernel/pistachio: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 22:23:01 +02:00
Zoltan HERPAI
9247eb4002
mxs: drop support for 6.12
...
Drop support for 6.12 by removing config.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 14:55:36 +02:00
Zoltan HERPAI
d65d0acd38
mxs: switch to 6.18
...
Make 6.18 the default kernel.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 14:55:35 +02:00
Zoltan HERPAI
cf0e398ea8
d1: enable 6.18 testing kernel
...
The d1 target now supports 6.18 kernel as testing.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
4019785716
d1: refresh patches for 6.18
...
Refresh patches.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
6a025623e1
d1: drop audio patches from 6.18
...
These were not in use and can be dropped for now.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
3d4a51c806
d1: add missing symbols for 6.18
...
These were found while upgrading the target to 6.18.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
d5deb04a98
d1: refresh config for 6.18
...
Refresh config for 6.18.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
f45573065a
generic/6.18: add missing symbols
...
Add missing symbols that were found during migrating d1 to 6.18.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
1d9fe3467b
kernel/d1: restore files for v6.12
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI
a19053d595
kernel/d1: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-04-16 00:04:04 +02:00
Zoltan HERPAI and Robert Marko
923b69ad16
wolfssl: allow enabling RISC-V assembler optimization
...
wolfssl implemented AES ECB/CBC/CTR/GCM/CCM in RISC-V assembler,
achieving massive speed improvements on boards with such CPUs.
Benchmarking on a Sifive Unleashed (oldest Linux-capable RISC-V board),
results are:
No optimization:
wolfCrypt Benchmark (block bytes 1048576, min 1.0 sec each)
RNG 10 MiB took 1.772 seconds, 5.644 MiB/s
AES-128-CBC-enc 5 MiB took 16.264 seconds, 0.307 MiB/s
AES-128-CBC-dec 5 MiB took 16.314 seconds, 0.306 MiB/s
AES-192-CBC-enc 5 MiB took 19.460 seconds, 0.257 MiB/s
AES-192-CBC-dec 5 MiB took 19.480 seconds, 0.257 MiB/s
AES-256-CBC-enc 5 MiB took 22.633 seconds, 0.221 MiB/s
AES-256-CBC-dec 5 MiB took 22.715 seconds, 0.220 MiB/s
AES-128-GCM-enc 5 MiB took 16.324 seconds, 0.306 MiB/s
AES-128-GCM-dec 5 MiB took 16.450 seconds, 0.304 MiB/s
AES-192-GCM-enc 5 MiB took 19.487 seconds, 0.257 MiB/s
AES-192-GCM-dec 5 MiB took 19.621 seconds, 0.255 MiB/s
AES-256-GCM-enc 5 MiB took 22.644 seconds, 0.221 MiB/s
AES-256-GCM-dec 5 MiB took 22.805 seconds, 0.219 MiB/s
[...]
Enabled optimization:
wolfCrypt Benchmark (block bytes 1048576, min 1.0 sec each)
RNG 10 MiB took 1.459 seconds, 6.855 MiB/s
AES-128-CBC-enc 15 MiB took 1.028 seconds, 14.592 MiB/s
AES-128-CBC-dec 15 MiB took 1.006 seconds, 14.916 MiB/s
AES-192-CBC-enc 15 MiB took 1.187 seconds, 12.634 MiB/s
AES-192-CBC-dec 15 MiB took 1.180 seconds, 12.713 MiB/s
AES-256-CBC-enc 15 MiB took 1.359 seconds, 11.037 MiB/s
AES-256-CBC-dec 15 MiB took 1.352 seconds, 11.096 MiB/s
AES-128-GCM-enc 10 MiB took 1.140 seconds, 8.769 MiB/s
AES-128-GCM-dec 10 MiB took 1.140 seconds, 8.770 MiB/s
AES-192-GCM-enc 10 MiB took 1.256 seconds, 7.963 MiB/s
AES-192-GCM-dec 10 MiB took 1.261 seconds, 7.931 MiB/s
AES-256-GCM-enc 10 MiB took 1.373 seconds, 7.285 MiB/s
AES-256-GCM-dec 10 MiB took 1.371 seconds, 7.291 MiB/s
HMAC- and SHA- functions also have significant improvements.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
Link: https://github.com/openwrt/openwrt/pull/22702
Signed-off-by: Robert Marko <robimarko@gmail.com >
2026-04-01 14:13:11 +02:00
Zoltan HERPAI
aa06d26879
mxs: enable 6.18 testing kernel
...
The mxs target now supports 6.18 kernel as testing.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-29 18:52:41 +02:00
Zoltan HERPAI
342b394bff
generic/6.18: add missing config symbols
...
These were discovered when migrating mxs to 6.18.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-29 18:52:41 +02:00
Zoltan HERPAI
3687a09d0d
kernel/mxs: restore files for v6.12
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-29 18:52:41 +02:00
Zoltan HERPAI
d5e79d602c
kernel/mxs: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-29 18:52:41 +02:00
Zoltan HERPAI
8bb5d19acd
starfive: visionfive2: add CMA entry into board DTS
...
This entry is present in the SDK kernel and is poked by the bootloader.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-22 12:42:33 +01:00
Zoltan HERPAI
39423810c1
starfive: add uEnv script on VF2 boards
...
Certain versions of the VF2 bootloader require the presence of a
vf2_uEnv.txt in the boot partition to properly load a non-SDK kernel.
Add this file during the SD-card generation.
Known VF2 bootloader versions exhibiting this behaviour are:
U-Boot 2021.10 (Mar 31 2025 - 22:49:46 +0800), Build: jenkins-github_visionfive2_6.12-11
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-22 12:41:54 +01:00
Zoltan HERPAI
d37289d0b8
starfive: add ubootenv support
...
The VF2 boards store their ubootenv on /dev/mtd1 which is a SPI flash
partition. Add support for reading this partition in uboot-envtools,
and add the package into the VF2 image.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-22 12:41:54 +01:00
Zoltan HERPAI
3a550f766c
starfive: add GPIO LEDs to VF1 and VF2
...
Both boards have status LEDs, which we can use to
indicate running state.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-22 12:41:54 +01:00
Zoltan HERPAI
283c45f087
sunxi: add PineCube support
...
PineCube is a low-powered, open source IP camera with OV5640.
Specifications:
SoC: Allwinner S3 Cortex-A7
DRAM: 128MB DDR3 integrated
Power: microUSB
Storage: microSD / 16MByte SPI flash
USB: 1x 2.0
Network: 10/100Mbit ethernet with passive PoE (4-18V)
Wireless: RTL8189ES (unsupported)
Debug: Serial UART on 26-pin GPIO
Features: 5 mpx OV5640 camera, microphone, IR LEDs
Flashing instructions:
Standard sunxi SD card installation procedure - copy image to SD card,
insert into SD card slot on the device and boot.
Link: https://github.com/openwrt/openwrt/pull/22422
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-03-21 16:43:47 +01:00
Zoltan HERPAI
e40d416c54
uboot-sunxi: bump to 2025.10
...
Compile-tested: all targets
Runtime-tested:
- Linksprite pcDuino v2 (A10)
- Banana Pro (A20)
- Banana Pi M2 Berry (V40)
- Banana Pi P2 Zero (H2+)
- Pine64+ (A64)
Patches refreshed as required.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-02-08 00:56:16 +01:00
Zoltan HERPAI
9f5558fa71
arm-trusted-firmware-sunxi: bump to 2.14
...
As prep work to support the A52x/T52x-series, bump the TFA to use
the 2.14 release.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2026-02-08 00:56:16 +01:00
Zoltan HERPAI
78df0493d3
pistachio: enable hash offload engine
...
The cTX200 CPU has an integrated hash offload
engine. Enable the support for that.
[ 2.212384] img-hash-accelerator 18149600.hash: Img MD5/SHA1/SHA224/SHA256 Hardware accelerator initialized
driver : img-sha256
driver : img-sha224
driver : img-sha1
driver : img-md5
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-10-06 22:45:40 +02:00
Zoltan HERPAI
3ec468ff4f
sunxi: add F1C100 (arm926ej-s) support
...
This is Allwinner's ARM926EJ-S core, which is one of its early
products, reappearing in recent compact designs. The SoC includes
32/64Mb memory in the same physical package, and has display and USB
interfaces, allowing for very small footprint boards.
The target consists of basic 6.12 support, with u-boot. Instead of creating
a separate suniv target, as both the kernel and u-boot supports enough of
this SoC by now with minimal patching, add it into sunxi as a subtarget.
Link: https://github.com/openwrt/openwrt/pull/15022
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-10-06 10:26:56 +02:00
Zoltan HERPAI
cd394b420a
sunxi: enable at24 support
...
Certain boards have an at24(-compatible) EEPROM for storing various
parameters like MAC addresses. Enable support for this hardware across
the whole target.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-09-08 22:35:39 +02:00
Zoltan HERPAI
9fae84ecc9
uboot-sunxi: randomize ethaddr on Olimex A20 boards
...
While these boards have an at24 EEPROM for storing the MAC address,
early revisions (up until about 2017) did not contain actual addresses.
Create a random address to have ethernet function properly in u-boot.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-09-08 22:35:39 +02:00
Zoltan HERPAI
3ded6d2716
sunxi: enable ramdisk feature
...
Build initramfs images for this target.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-08-11 23:06:24 +02:00
Zoltan HERPAI
8abb6dbf0f
sunxi: change target to use FIT kernel images
...
Modernize the target slightly to use kernel+dtb FIT images in all
subtargets. LZMA compression will be used for the cortexa53 devices,
and we'll stay conservative and use gzip for the cortexa7/a8 devices
due to performance differences.
Tested-on:
- Linksprite pcDuino v2 (cortexa8 / A10)
- Olinuxino Micro (cortexa7 / A20)
- Banana Pi M2 Berry (cortexa7 / V40)
- Banana Pi P2 Zero (cortexa7 / H2+)
- Xunlong Orange Pi 2 (cortexa7/ H3)
- OrangePi PC Zero 2 (cortexa53 / H616)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-08-11 23:06:24 +02:00
Zoltan HERPAI
326c634829
sunxi: add support for OrangePi Zero 2W
...
Specifications:
SoC: Allwinner H618 SoC (Quad core Cortex-A53)
DRAM: 1/1.5/2/4 GB LPDDR4 DRAM (1.5GB version not supported)
Power: 5V USB-C
Video: HDMI (Type 2.0A - micro)
Storage: microSD / 16MByte SPI flash
Network: Unisoc UWE5622 (no driver currently)
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 >
2025-06-16 23:10:54 +02:00
Zoltan HERPAI
7f2d7fbc23
starfive: drop 6.6 support
...
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-14 00:53:19 +02:00
Zoltan HERPAI
e2e4dcfe75
starfive: usb3 and pcie support is compiled into kernel now
...
As support for these peripherals are now compiled into the kernel, the
respective kmods can be dropped.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-14 00:53:19 +02:00
Zoltan HERPAI
4801c5bec3
starfive: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-14 00:53:19 +02:00
Zoltan HERPAI
ee129da777
starfive: add 6.12 as testing kernel
...
Runtime-tested on:
- Visionfive v2-1.3b (JH7110)
- Visionfive v1 (JH7100)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-05 16:39:15 +02:00
Zoltan HERPAI
f97609a10f
starfive: jh7110: update bootscript to use addresses in bootloader
...
Rather than hardcoding the kernel/fdt addresses in the boot.scr script,
use the addresses provided by the bootloader.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-05 16:39:15 +02:00
Zoltan HERPAI
8f0f02d297
starfive: 6.12: refresh patches and drop upstreamed ones
...
- refresh, rebase and reorder patches
- JH7110 media drivers have been dropped for now
- JH7110 E24 and mailbox drivers were added
- JH7100 DMA- and errata-patches have been dropped as they were
upstreamed
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-05 16:39:15 +02:00
Zoltan HERPAI
91ee157b9d
kernel/starfive: Restore kernel files for v6.6
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-05 16:39:15 +02:00
Zoltan HERPAI
ec54e841b9
kernel/starfive: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-05 16:39:15 +02:00
Zoltan HERPAI
a3cd610b28
pistachio: drop 6.6 support
...
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-01 16:24:34 +02:00
Zoltan HERPAI
56b9ceef64
pistachio: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-06-01 16:24:34 +02:00
Zoltan HERPAI
e05426aaf8
sunxi: enable crypto offload engine
...
Enable the sun8i_ce and sun8i_ss crypto engines that are included on
various Allwinner SoCs, along with their respective hash/prng/trng
options.
sun8i_ce: H2+, H3, H5, H6, R40 and A64
sun8i_ss: A80, A83T
BananaPi P2 Zero (H2+):
[ 0.373860] sun8i-ce 1c15000.crypto: Set mod clock to 50000000 (50 Mhz) from 24000000 (24 Mhz)
[ 0.374326] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[ 0.374516] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[ 0.374657] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[ 0.374788] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[ 0.374924] sun8i-ce 1c15000.crypto: Register cbc(aes)
[ 0.374962] sun8i-ce 1c15000.crypto: Register ecb(aes)
[ 0.374976] sun8i-ce 1c15000.crypto: Register cbc(des3_ede)
[ 0.374990] sun8i-ce 1c15000.crypto: Register ecb(des3_ede)
[ 0.375005] sun8i-ce 1c15000.crypto: Register md5
[ 0.375019] sun8i-ce 1c15000.crypto: Register sha1
[ 0.375032] sun8i-ce 1c15000.crypto: Register sha224
[ 0.375046] sun8i-ce 1c15000.crypto: Register sha256
[ 0.375061] sun8i-ce 1c15000.crypto: Register sha384
[ 0.375075] sun8i-ce 1c15000.crypto: Register sha512
[ 0.375109] sun8i-ce 1c15000.crypto: Register stdrng
[ 0.375150] sun8i-ce 1c15000.crypto: TRNG not supported
[ 0.375157] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 1
BananaPi M3 (A83t):
[ 0.429615] sun8i-ss 1c15000.crypto: will run requests pump with realtime priority
[ 0.429866] sun8i-ss 1c15000.crypto: will run requests pump with realtime priority
[ 0.430042] sun8i-ss 1c15000.crypto: DEBUG: Register cbc(aes)
[ 0.430095] sun8i-ss 1c15000.crypto: DEBUG: Register ecb(aes)
[ 0.430112] sun8i-ss 1c15000.crypto: DEBUG: Register cbc(des3_ede)
[ 0.430128] sun8i-ss 1c15000.crypto: DEBUG: Register ecb(des3_ede)
[ 0.430152] sun8i-ss 1c15000.crypto: Register md5
[ 0.430171] sun8i-ss 1c15000.crypto: Register sha1
[ 0.430187] sun8i-ss 1c15000.crypto: Register sha224
[ 0.430203] sun8i-ss 1c15000.crypto: Register sha256
[ 0.430220] sun8i-ss 1c15000.crypto: Register hmac(sha1)
[ 0.430276] sun8i-ss 1c15000.crypto: Security System Die ID 7
[ 0.493087] sun8i-ss 1c15000.crypto: Fallback driver could no be loaded
OrangePi Zero 2 (H616):
[ 0.176833] sun8i-ce 1904000.crypto: will run requests pump with realtime priority
[ 0.177054] sun8i-ce 1904000.crypto: will run requests pump with realtime priority
[ 0.177167] sun8i-ce 1904000.crypto: will run requests pump with realtime priority
[ 0.177258] sun8i-ce 1904000.crypto: will run requests pump with realtime priority
[ 0.177361] sun8i-ce 1904000.crypto: Register cbc(aes)
[ 0.177408] sun8i-ce 1904000.crypto: Register ecb(aes)
[ 0.177420] sun8i-ce 1904000.crypto: Register cbc(des3_ede)
[ 0.177432] sun8i-ce 1904000.crypto: Register ecb(des3_ede)
[ 0.177444] sun8i-ce 1904000.crypto: Register md5
[ 0.177456] sun8i-ce 1904000.crypto: Register sha1
[ 0.177468] sun8i-ce 1904000.crypto: Register sha224
[ 0.177479] sun8i-ce 1904000.crypto: Register sha256
[ 0.177503] sun8i-ce 1904000.crypto: Register sha384
[ 0.177515] sun8i-ce 1904000.crypto: Register sha512
[ 0.177527] sun8i-ce 1904000.crypto: Register stdrng
[ 0.177648] sun8i-ce 1904000.crypto: CryptoEngine Die ID 0
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:39:00 +02:00
Zoltan HERPAI
ab6ffa7e16
sunxi: cortexa53: enable rtc drivers
...
RTC has been disabled so far in the cortexa53 subtarget so far, enable
it. It's also required for the crypto trng/prng drivers on these SoC
variants (to gather IOSC noise).
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:39:00 +02:00
Zoltan HERPAI
393047e47a
sunxi: drop 6.6 support
...
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:39:00 +02:00
Zoltan HERPAI
01bc7a4fe7
sunxi: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:39:00 +02:00
Zoltan HERPAI
faf6ca0348
pistachio: add 6.12 testing kernel
...
Allow selecting 6.12 as testing kernel on pistachio.
Runtime-tested:
- Creator Ci40 Marduk 02KZ/5+
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:32:12 +02:00
Zoltan HERPAI
d6b57d4722
pistachio: 6.12: refresh patches and kernel config
...
Refresh patches and configs as required.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:32:12 +02:00
Zoltan HERPAI
e757dfaf4c
kernel/pistachio: Restore kernel files for v6.6
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:32:12 +02:00
Zoltan HERPAI
6f4ea1e219
kernel/pistachio: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-30 15:32:12 +02:00
Zoltan HERPAI
45fbf6228e
sunxi: add 6.12 as testing kernel
...
Runtime-tested on:
- Linksprite pcDuino (cortexa8 / sun5i)
- Olimex A20 Micro (cortexa7 / sun7i)
- BananaPi P2 Zero (cortexa7 / sun8i)
- Pine64 SoM (cortexa53 / sun50i)
- Orangepi Zero 2W (cortexa53 / sun50i)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-29 01:03:03 +02:00
Zoltan HERPAI
7d840809c6
sunxi: refresh config for 6.12
...
Refresh config for 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-29 01:03:03 +02:00
Zoltan HERPAI
d97197d7e4
sunxi: remove upstreamed patches from 6.12
...
Remove upstreamed patches and refresh remaining ones for 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-29 01:03:03 +02:00
Zoltan HERPAI
69c599c775
kernel/sunxi: Restore kernel files for v6.6
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-29 01:03:03 +02:00
Zoltan HERPAI
697370ab9b
kernel/sunxi: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-29 01:03:03 +02:00
Zoltan HERPAI
0c6f9665f2
sifiveu: drop upstreamed patch from 6.12
...
The gpio-poweroff support has been upstreamed earlier.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-27 16:03:54 +02:00
Zoltan HERPAI
199925f29a
sifiveu: drop 6.6 support
...
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-27 16:03:54 +02:00
Zoltan HERPAI
eda23e04e7
sifiveu: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-27 16:03:54 +02:00
Zoltan HERPAI
b69e6c35c5
d1: improve Nezha D1 support
...
The Nezha board has a PCF8574 that acts as an I/O expander on the
i2c2 bus. Enable the required module for it.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-26 19:26:51 +02:00
Zoltan HERPAI
de2d34cf7a
d1: enable crypto offload engine
...
Enable the sun8i_ce engine that's included on the D1 SoC, along
with the respective hash/prng/trng options. The sun8i_ce driver
also requires PM and PPU to be enabled.
[ 1.368345] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
[ 1.378592] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 1.386894] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 1.395114] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 1.403197] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 1.411110] sun8i-ce 3040000.crypto: Register cbc(aes)
[ 1.416235] sun8i-ce 3040000.crypto: Register ecb(aes)
[ 1.421347] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
[ 1.426898] sun8i-ce 3040000.cryxto: Register ecb(des3_ede)
[ 1.432366] sun8i-ce 3040000.crypto: Register md5
[ 1.437112] sun8i-ce 3040000.crypto: Register sha1
[ 1.441816] sun8i-ce 3040000.crypto: Register sha224
[ 1.446821] sun8i-ce 3040000.crypto: Register sha256
[ 1.451697] sun8i-ce 3040000.crypto: Register sha384
[ 1.456733] sun8i-ce 3040000.crypto: Register sha512
[ 1.461673] sun8i-ce 3040000.crypto: Register stdrng
[ 1.467096] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
root@OpenWrt:~# cat /proc/crypto |grep sun8i
driver : sun8i-ce-prng
driver : sha512-sun8i-ce
driver : sha384-sun8i-ce
driver : sha256-sun8i-ce
driver : sha224-sun8i-ce
driver : sha1-sun8i-ce
driver : md5-sun8i-ce
driver : ecb-des3-sun8i-ce
driver : cbc-des3-sun8i-ce
driver : ecb-aes-sun8i-ce
driver : cbc-aes-sun8i-ce
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-26 19:26:51 +02:00
Zoltan HERPAI
086426a64e
mxs: drop 6.6 support
...
Drop configs for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-24 16:15:53 +02:00
Zoltan HERPAI
3ad65da7d6
mxs: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-24 16:15:53 +02:00
Zoltan HERPAI
515130e8f7
d1: drop 6.6 support
...
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-24 14:03:02 +02:00
Zoltan HERPAI
f5b3e71cc5
d1: use kernel 6.12 by default
...
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-24 14:03:02 +02:00
Zoltan HERPAI
60b5cfdf5a
sifiveu: add 6.12 kernel as testing
...
Allow selecting 6.12 as testing kernel on sifiveu.
Runtime-tested:
- HiFive Unleashed (FU540)
- HiFive Unmatched (FU740)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-23 12:28:50 +02:00
Zoltan HERPAI
00ca340c40
sifiveu: 6.12: drop upstreamed patches and refresh remaining ones
...
Drop upstreamed patches from 6.12 and refresh remaining ones.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-23 12:28:50 +02:00
Zoltan HERPAI
07e701357d
sifiveu: refresh 6.12 kernel config
...
Refresh kernel config for 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-23 12:28:42 +02:00
Zoltan HERPAI
41860ade91
kernel/sifiveu: Restore kernel files for v6.6
...
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.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-23 12:28:19 +02:00
Zoltan HERPAI
875f3c9275
kernel/sifiveu: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-23 12:28:19 +02:00
Zoltan HERPAI
b3c76f1821
d1: add 6.12 kernel as testing
...
Allow selecting 6.12 as testing kernel on d1.
Runtime-tested:
- Nezha D1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu >
2025-05-22 17:22:59 +02:00