summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/.keep0
-rw-r--r--patches/kernel.patch95
2 files changed, 95 insertions, 0 deletions
diff --git a/patches/.keep b/patches/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/patches/.keep
diff --git a/patches/kernel.patch b/patches/kernel.patch
new file mode 100644
index 0000000..97ec767
--- /dev/null
+++ b/patches/kernel.patch
@@ -0,0 +1,95 @@
1diff --git a/target/linux/ath79/config-5.10 b/target/linux/ath79/config-5.10
2index c95c073563..0962f97093 100644
3--- a/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
6 CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
7 CONFIG_CPU_SUPPORTS_HIGHMEM=y
8 CONFIG_CPU_SUPPORTS_MSA=y
9-# CONFIG_CRYPTO_CHACHA_MIPS is not set
10+CONFIG_CRYPTO_ADIANTUM=y
11+CONFIG_CRYPTO_AEGIS128=y
12+CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=y
13+CONFIG_CRYPTO_BLAKE2S=y
14+CONFIG_CRYPTO_CHACHA20=y
15+CONFIG_CRYPTO_CHACHA20POLY1305=y
16+CONFIG_CRYPTO_CHACHA_MIPS=y
17+CONFIG_CRYPTO_ECB=y
18+CONFIG_CRYPTO_GF128MUL=y
19+CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
20+CONFIG_CRYPTO_LIB_CHACHA_GENERIC=y
21+CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
22 CONFIG_CRYPTO_LIB_POLY1305_RSIZE=2
23-# CONFIG_CRYPTO_POLY1305_MIPS is not set
24+CONFIG_CRYPTO_NHPOLY1305=y
25+CONFIG_CRYPTO_NULL2=y
26+CONFIG_CRYPTO_POLY1305=y
27 CONFIG_CRYPTO_RNG2=y
28+CONFIG_CRYPTO_XTS=y
29 CONFIG_CSRC_R4K=y
30 CONFIG_DMA_NONCOHERENT=y
31 CONFIG_DTC=y
32@@ -86,7 +100,6 @@ CONFIG_IRQ_DOMAIN=y
33 CONFIG_IRQ_FORCED_THREADING=y
34 CONFIG_IRQ_MIPS_CPU=y
35 CONFIG_IRQ_WORK=y
36-# CONFIG_KERNEL_ZSTD is not set
37 CONFIG_LEDS_GPIO=y
38 # CONFIG_LEDS_RESET is not set
39 CONFIG_LIBFDT=y
40@@ -95,6 +108,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y
41 CONFIG_MDIO_BITBANG=y
42 CONFIG_MDIO_BUS=y
43 CONFIG_MDIO_DEVICE=y
44+CONFIG_MDIO_DEVRES=y
45 CONFIG_MDIO_GPIO=y
46 CONFIG_MEMFD_CREATE=y
47 # CONFIG_MFD_RB4XX_CPLD is not set
48@@ -110,7 +124,6 @@ CONFIG_MIPS_CLOCK_VSYSCALL=y
49 # CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set
50 CONFIG_MIPS_CMDLINE_FROM_DTB=y
51 # CONFIG_MIPS_ELF_APPENDED_DTB is not set
52-# CONFIG_MIPS_GENERIC_KERNEL is not set
53 CONFIG_MIPS_L1_CACHE_SHIFT=5
54 CONFIG_MIPS_LD_CAN_LINK_VDSO=y
55 # CONFIG_MIPS_NO_APPENDED_DTB is not set
56diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
57index 2e407c3486..967a96262e 100644
58--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
59+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
60@@ -65,21 +65,14 @@
61 partition@60000 {
62 label = "u-boot-env";
63 reg = <0x060000 0x010000>;
64- read-only;
65 };
66
67 partition@70000 {
68 label = "firmware";
69- reg = <0x070000 0x790000>;
70+ reg = <0x070000 0xf20000>;
71 compatible = "denx,uimage";
72 };
73
74- partition@800000 {
75- label = "kernel1";
76- reg = <0x800000 0x790000>;
77- read-only;
78- };
79-
80 partition@f90000 {
81 label = "bs";
82 reg = <0xf90000 0x020000>;
83diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk
84index 3888e1652b..01f3deb32b 100644
85--- a/target/linux/ath79/image/generic-ubnt.mk
86+++ b/target/linux/ath79/image/generic-ubnt.mk
87@@ -417,7 +417,7 @@ TARGET_DEVICES += ubnt_unifi
88 define Device/ubnt_unifiac
89 DEVICE_VENDOR := Ubiquiti
90 SOC := qca9563
91- IMAGE_SIZE := 7744k
92+ IMAGE_SIZE := 15488k
93 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
94 endef
95