summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-16 17:26:54 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-16 17:26:54 +0100
commit45f209df535330edc39a81ab0a21695ca45f85c2 (patch)
treea095ac94f0172e3761a9118b14b8ce192f40efbf /patches
parentb15438553b30066d6286c97d59b595d1a2cdf095 (diff)
downloadap01-45f209df535330edc39a81ab0a21695ca45f85c2.tar
ap01-45f209df535330edc39a81ab0a21695ca45f85c2.tar.gz
ap01-45f209df535330edc39a81ab0a21695ca45f85c2.tar.bz2
ap01-45f209df535330edc39a81ab0a21695ca45f85c2.tar.xz
ap01-45f209df535330edc39a81ab0a21695ca45f85c2.zip
...
Diffstat (limited to 'patches')
-rw-r--r--patches/kernel.patch57
1 files changed, 51 insertions, 6 deletions
diff --git a/patches/kernel.patch b/patches/kernel.patch
index 97ec767..d4ece1a 100644
--- a/patches/kernel.patch
+++ b/patches/kernel.patch
@@ -2,11 +2,12 @@ diff --git a/target/linux/ath79/config-5.10 b/target/linux/ath79/config-5.10
2index c95c073563..0962f97093 100644 2index c95c073563..0962f97093 100644
3--- a/target/linux/ath79/config-5.10 3--- a/target/linux/ath79/config-5.10
4+++ b/target/linux/ath79/config-5.10 4+++ b/target/linux/ath79/config-5.10
5@@ -35,10 +35,24 @@ CONFIG_CPU_R4K_CACHE_TLB=y 5@@ -35,10 +35,27 @@
6 CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y 6 CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
7 CONFIG_CPU_SUPPORTS_HIGHMEM=y 7 CONFIG_CPU_SUPPORTS_HIGHMEM=y
8 CONFIG_CPU_SUPPORTS_MSA=y 8 CONFIG_CPU_SUPPORTS_MSA=y
9-# CONFIG_CRYPTO_CHACHA_MIPS is not set 9-# CONFIG_CRYPTO_CHACHA_MIPS is not set
10+CONFIG_CRC16=y
10+CONFIG_CRYPTO_ADIANTUM=y 11+CONFIG_CRYPTO_ADIANTUM=y
11+CONFIG_CRYPTO_AEGIS128=y 12+CONFIG_CRYPTO_AEGIS128=y
12+CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=y 13+CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=y
@@ -14,22 +15,24 @@ index c95c073563..0962f97093 100644
14+CONFIG_CRYPTO_CHACHA20=y 15+CONFIG_CRYPTO_CHACHA20=y
15+CONFIG_CRYPTO_CHACHA20POLY1305=y 16+CONFIG_CRYPTO_CHACHA20POLY1305=y
16+CONFIG_CRYPTO_CHACHA_MIPS=y 17+CONFIG_CRYPTO_CHACHA_MIPS=y
18+CONFIG_CRYPTO_DEFLATE=y
17+CONFIG_CRYPTO_ECB=y 19+CONFIG_CRYPTO_ECB=y
18+CONFIG_CRYPTO_GF128MUL=y 20+CONFIG_CRYPTO_HASH_INFO=y
19+CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y 21+CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
20+CONFIG_CRYPTO_LIB_CHACHA_GENERIC=y 22+CONFIG_CRYPTO_LIB_CHACHA_GENERIC=y
21+CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y 23+CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
22 CONFIG_CRYPTO_LIB_POLY1305_RSIZE=2 24 CONFIG_CRYPTO_LIB_POLY1305_RSIZE=2
23-# CONFIG_CRYPTO_POLY1305_MIPS is not set 25-# CONFIG_CRYPTO_POLY1305_MIPS is not set
26+CONFIG_CRYPTO_LZO=y
24+CONFIG_CRYPTO_NHPOLY1305=y 27+CONFIG_CRYPTO_NHPOLY1305=y
25+CONFIG_CRYPTO_NULL2=y
26+CONFIG_CRYPTO_POLY1305=y 28+CONFIG_CRYPTO_POLY1305=y
27 CONFIG_CRYPTO_RNG2=y 29 CONFIG_CRYPTO_RNG2=y
28+CONFIG_CRYPTO_XTS=y 30+CONFIG_CRYPTO_XTS=y
31+CONFIG_CRYPTO_ZSTD=y
29 CONFIG_CSRC_R4K=y 32 CONFIG_CSRC_R4K=y
30 CONFIG_DMA_NONCOHERENT=y 33 CONFIG_DMA_NONCOHERENT=y
31 CONFIG_DTC=y 34 CONFIG_DTC=y
32@@ -86,7 +100,6 @@ CONFIG_IRQ_DOMAIN=y 35@@ -87,14 +104,16 @@
33 CONFIG_IRQ_FORCED_THREADING=y 36 CONFIG_IRQ_FORCED_THREADING=y
34 CONFIG_IRQ_MIPS_CPU=y 37 CONFIG_IRQ_MIPS_CPU=y
35 CONFIG_IRQ_WORK=y 38 CONFIG_IRQ_WORK=y
@@ -37,7 +40,9 @@ index c95c073563..0962f97093 100644
37 CONFIG_LEDS_GPIO=y 40 CONFIG_LEDS_GPIO=y
38 # CONFIG_LEDS_RESET is not set 41 # CONFIG_LEDS_RESET is not set
39 CONFIG_LIBFDT=y 42 CONFIG_LIBFDT=y
40@@ -95,6 +108,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y 43 CONFIG_LOCK_DEBUGGING_SUPPORT=y
44+CONFIG_LZO_COMPRESS=y
45+CONFIG_LZO_DECOMPRESS=y
41 CONFIG_MDIO_BITBANG=y 46 CONFIG_MDIO_BITBANG=y
42 CONFIG_MDIO_BUS=y 47 CONFIG_MDIO_BUS=y
43 CONFIG_MDIO_DEVICE=y 48 CONFIG_MDIO_DEVICE=y
@@ -45,14 +50,54 @@ index c95c073563..0962f97093 100644
45 CONFIG_MDIO_GPIO=y 50 CONFIG_MDIO_GPIO=y
46 CONFIG_MEMFD_CREATE=y 51 CONFIG_MEMFD_CREATE=y
47 # CONFIG_MFD_RB4XX_CPLD is not set 52 # CONFIG_MFD_RB4XX_CPLD is not set
48@@ -110,7 +124,6 @@ CONFIG_MIPS_CLOCK_VSYSCALL=y 53@@ -103,14 +122,13 @@
54 CONFIG_MIPS=y
55 CONFIG_MIPS_ASID_BITS=8
56 CONFIG_MIPS_ASID_SHIFT=0
57-CONFIG_MIPS_CBPF_JIT=y
58 CONFIG_MIPS_CLOCK_VSYSCALL=y
59 # CONFIG_MIPS_CMDLINE_BUILTIN_EXTEND is not set
60 # CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set
49 # CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set 61 # CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set
50 CONFIG_MIPS_CMDLINE_FROM_DTB=y 62 CONFIG_MIPS_CMDLINE_FROM_DTB=y
63+CONFIG_MIPS_EBPF_JIT=y
51 # CONFIG_MIPS_ELF_APPENDED_DTB is not set 64 # CONFIG_MIPS_ELF_APPENDED_DTB is not set
52-# CONFIG_MIPS_GENERIC_KERNEL is not set 65-# CONFIG_MIPS_GENERIC_KERNEL is not set
53 CONFIG_MIPS_L1_CACHE_SHIFT=5 66 CONFIG_MIPS_L1_CACHE_SHIFT=5
54 CONFIG_MIPS_LD_CAN_LINK_VDSO=y 67 CONFIG_MIPS_LD_CAN_LINK_VDSO=y
55 # CONFIG_MIPS_NO_APPENDED_DTB is not set 68 # CONFIG_MIPS_NO_APPENDED_DTB is not set
69@@ -133,6 +151,10 @@
70 CONFIG_MTD_SPLIT_TPLINK_FW=y
71 CONFIG_MTD_SPLIT_UIMAGE_FW=y
72 CONFIG_MTD_SPLIT_WRGG_FW=y
73+CONFIG_MTD_UBI=y
74+CONFIG_MTD_UBI_BEB_LIMIT=20
75+# CONFIG_MTD_UBI_BLOCK is not set
76+CONFIG_MTD_UBI_WL_THRESHOLD=4096
77 CONFIG_MTD_VIRT_CONCAT=y
78 CONFIG_NEED_DMA_MAP_STATE=y
79 CONFIG_NEED_PER_CPU_KM=y
80@@ -173,6 +195,7 @@
81 CONFIG_SERIAL_AR933X_NR_UARTS=2
82 CONFIG_SERIAL_MCTRL_GPIO=y
83 CONFIG_SERIAL_OF_PLATFORM=y
84+CONFIG_SGL_ALLOC=y
85 CONFIG_SPI=y
86 CONFIG_SPI_AR934X=y
87 CONFIG_SPI_ATH79=y
88@@ -197,5 +220,12 @@
89 CONFIG_TARGET_ISA_REV=2
90 CONFIG_TICK_CPU_ACCOUNTING=y
91 CONFIG_TINY_SRCU=y
92+CONFIG_UBIFS_FS=y
93+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
94 CONFIG_USB_SUPPORT=y
95 CONFIG_USE_OF=y
96+CONFIG_XXHASH=y
97+CONFIG_ZLIB_DEFLATE=y
98+CONFIG_ZLIB_INFLATE=y
99+CONFIG_ZSTD_COMPRESS=y
100+CONFIG_ZSTD_DECOMPRESS=y
56diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi 101diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
57index 2e407c3486..967a96262e 100644 102index 2e407c3486..967a96262e 100644
58--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi 103--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi