Skip to content

Commit a668094

Browse files
committed
fix: linux: common: enable CRC32/CRC64 functions
To support for loading out-tree modules Signed-off-by: Jiali Chen <chenjiali@radxa.com>
1 parent 384d4c1 commit a668094

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/share/rsdk/infra-package/debian/patches/linux/0001-feat-Radxa-common-kernel-config.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ Subject: [PATCH] feat: Radxa common kernel config
55

66
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
77
---
8-
src/arch/arm64/configs/radxa.config | 1064 +++++++++++++++++++++++++++
9-
1 file changed, 1064 insertions(+)
8+
src/arch/arm64/configs/radxa.config | 1069 +++++++++++++++++++++++++++
9+
1 file changed, 1069 insertions(+)
1010
create mode 100644 src/arch/arm64/configs/radxa.config
1111

1212
diff --git a/src/arch/arm64/configs/radxa.config b/src/arch/arm64/configs/radxa.config
1313
new file mode 100644
1414
index 000000000000..f5bca1bdaf69
1515
--- /dev/null
1616
+++ b/src/arch/arm64/configs/radxa.config
17-
@@ -0,0 +1,1064 @@
17+
@@ -0,0 +1,1069 @@
1818
+# Enable FPDT on supported platforms
1919
+CONFIG_ACPI_FPDT=y
2020
+
@@ -683,6 +683,11 @@ index 000000000000..f5bca1bdaf69
683683
+CONFIG_CRYPTO_LZ4HC=m
684684
+CONFIG_CRYPTO_ZSTD=m
685685
+
686+
+# Enable CRC checksum algorithm
687+
+# Required when loading certain compression kernel modules
688+
+CONFIG_CRC32=m
689+
+CONFIG_CRC64=m
690+
+
686691
+# Enable ZRAM
687692
+CONFIG_ZSMALLOC=m
688693
+# zram-tools expect this to be a module

0 commit comments

Comments
 (0)