From 45f209df535330edc39a81ab0a21695ca45f85c2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 16 Jan 2022 17:26:54 +0100 Subject: ... --- patches/kernel.patch | 57 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 51 insertions(+), 6 deletions(-) (limited to 'patches') 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 index c95c073563..0962f97093 100644 --- a/target/linux/ath79/config-5.10 +++ b/target/linux/ath79/config-5.10 -@@ -35,10 +35,24 @@ CONFIG_CPU_R4K_CACHE_TLB=y +@@ -35,10 +35,27 @@ CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y CONFIG_CPU_SUPPORTS_HIGHMEM=y CONFIG_CPU_SUPPORTS_MSA=y -# CONFIG_CRYPTO_CHACHA_MIPS is not set ++CONFIG_CRC16=y +CONFIG_CRYPTO_ADIANTUM=y +CONFIG_CRYPTO_AEGIS128=y +CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=y @@ -14,22 +15,24 @@ index c95c073563..0962f97093 100644 +CONFIG_CRYPTO_CHACHA20=y +CONFIG_CRYPTO_CHACHA20POLY1305=y +CONFIG_CRYPTO_CHACHA_MIPS=y ++CONFIG_CRYPTO_DEFLATE=y +CONFIG_CRYPTO_ECB=y -+CONFIG_CRYPTO_GF128MUL=y ++CONFIG_CRYPTO_HASH_INFO=y +CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y +CONFIG_CRYPTO_LIB_CHACHA_GENERIC=y +CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y CONFIG_CRYPTO_LIB_POLY1305_RSIZE=2 -# CONFIG_CRYPTO_POLY1305_MIPS is not set ++CONFIG_CRYPTO_LZO=y +CONFIG_CRYPTO_NHPOLY1305=y -+CONFIG_CRYPTO_NULL2=y +CONFIG_CRYPTO_POLY1305=y CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_XTS=y ++CONFIG_CRYPTO_ZSTD=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y CONFIG_DTC=y -@@ -86,7 +100,6 @@ CONFIG_IRQ_DOMAIN=y +@@ -87,14 +104,16 @@ CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_MIPS_CPU=y CONFIG_IRQ_WORK=y @@ -37,7 +40,9 @@ index c95c073563..0962f97093 100644 CONFIG_LEDS_GPIO=y # CONFIG_LEDS_RESET is not set CONFIG_LIBFDT=y -@@ -95,6 +108,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y + CONFIG_LOCK_DEBUGGING_SUPPORT=y ++CONFIG_LZO_COMPRESS=y ++CONFIG_LZO_DECOMPRESS=y CONFIG_MDIO_BITBANG=y CONFIG_MDIO_BUS=y CONFIG_MDIO_DEVICE=y @@ -45,14 +50,54 @@ index c95c073563..0962f97093 100644 CONFIG_MDIO_GPIO=y CONFIG_MEMFD_CREATE=y # CONFIG_MFD_RB4XX_CPLD is not set -@@ -110,7 +124,6 @@ CONFIG_MIPS_CLOCK_VSYSCALL=y +@@ -103,14 +122,13 @@ + CONFIG_MIPS=y + CONFIG_MIPS_ASID_BITS=8 + CONFIG_MIPS_ASID_SHIFT=0 +-CONFIG_MIPS_CBPF_JIT=y + CONFIG_MIPS_CLOCK_VSYSCALL=y + # CONFIG_MIPS_CMDLINE_BUILTIN_EXTEND is not set + # CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set # CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set CONFIG_MIPS_CMDLINE_FROM_DTB=y ++CONFIG_MIPS_EBPF_JIT=y # CONFIG_MIPS_ELF_APPENDED_DTB is not set -# CONFIG_MIPS_GENERIC_KERNEL is not set CONFIG_MIPS_L1_CACHE_SHIFT=5 CONFIG_MIPS_LD_CAN_LINK_VDSO=y # CONFIG_MIPS_NO_APPENDED_DTB is not set +@@ -133,6 +151,10 @@ + CONFIG_MTD_SPLIT_TPLINK_FW=y + CONFIG_MTD_SPLIT_UIMAGE_FW=y + CONFIG_MTD_SPLIT_WRGG_FW=y ++CONFIG_MTD_UBI=y ++CONFIG_MTD_UBI_BEB_LIMIT=20 ++# CONFIG_MTD_UBI_BLOCK is not set ++CONFIG_MTD_UBI_WL_THRESHOLD=4096 + CONFIG_MTD_VIRT_CONCAT=y + CONFIG_NEED_DMA_MAP_STATE=y + CONFIG_NEED_PER_CPU_KM=y +@@ -173,6 +195,7 @@ + CONFIG_SERIAL_AR933X_NR_UARTS=2 + CONFIG_SERIAL_MCTRL_GPIO=y + CONFIG_SERIAL_OF_PLATFORM=y ++CONFIG_SGL_ALLOC=y + CONFIG_SPI=y + CONFIG_SPI_AR934X=y + CONFIG_SPI_ATH79=y +@@ -197,5 +220,12 @@ + CONFIG_TARGET_ISA_REV=2 + CONFIG_TICK_CPU_ACCOUNTING=y + CONFIG_TINY_SRCU=y ++CONFIG_UBIFS_FS=y ++CONFIG_UBIFS_FS_ADVANCED_COMPR=y + CONFIG_USB_SUPPORT=y + CONFIG_USE_OF=y ++CONFIG_XXHASH=y ++CONFIG_ZLIB_DEFLATE=y ++CONFIG_ZLIB_INFLATE=y ++CONFIG_ZSTD_COMPRESS=y ++CONFIG_ZSTD_DECOMPRESS=y diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi index 2e407c3486..967a96262e 100644 --- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi -- cgit v1.2.3