Skip to content

Commit ffe8736

Browse files
CodeChenLRadxaYuntian
authored andcommitted
feat: enable Loopback device and Device mapper support
Support for using `partx` or `kpartx` to map local images. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
1 parent 26e8404 commit ffe8736

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 | 1032 ++++++++++++++++++++++++++++
9-
1 file changed, 1032 insertions(+)
8+
src/arch/arm64/configs/radxa.config | 1037 ++++++++++++++++++++++++++++
9+
1 file changed, 1037 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,1032 @@
17+
@@ -0,0 +1,1037 @@
1818
+# Enable FPDT on supported platforms
1919
+CONFIG_ACPI_FPDT=y
2020
+
@@ -1047,5 +1047,10 @@ index 000000000000..f5bca1bdaf69
10471047
+CONFIG_IP_ADVANCED_ROUTER=y
10481048
+CONFIG_IP_MULTIPLE_TABLES=y
10491049
+CONFIG_IPV6_MULTIPLE_TABLES=y
1050+
+
1051+
+# Enable Loopback device and Device mapper support
1052+
+CONFIG_MD=y
1053+
+CONFIG_BLK_DEV_LOOP=m
1054+
+CONFIG_BLK_DEV_DM=m
10501055
--
10511056
2.47.1

0 commit comments

Comments
 (0)