[PATCH-22.03 2/3] octeontx: fix overlay support by adding f2fs and ext4
Tim Harvey
tharvey at gateworks.com
Thu Feb 23 15:28:46 PST 2023
Add both ext4 and f2fs support for overlayfs. The fstools mount_root
application will choose f2fs if the overlay volume space available
exceeds 100MB, otherwise ext4 is used.
This fixes overlay support.
This increases the kernel by 782KiB
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
target/linux/octeontx/Makefile | 3 ++-
target/linux/octeontx/config-5.10 | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile
index 83fcb4aca0b5..437f7d2d60a0 100644
--- a/target/linux/octeontx/Makefile
+++ b/target/linux/octeontx/Makefile
@@ -19,7 +19,8 @@ include $(INCLUDE_DIR)/target.mk
KERNELNAME:=Image
-DEFAULT_PACKAGES += kmod-hwmon-gsc kmod-leds-gpio kmod-pps-gpio \
+DEFAULT_PACKAGES += uboot-envtools mkf2fs e2fsprogs blkid \
+ kmod-hwmon-gsc kmod-leds-gpio kmod-pps-gpio \
kmod-gpio-button-hotplug kmod-input-evdev kmod-rtc-ds1672 \
kmod-can kmod-can-mcp251x
diff --git a/target/linux/octeontx/config-5.10 b/target/linux/octeontx/config-5.10
index d1a68684da9e..15a60a1b6468 100644
--- a/target/linux/octeontx/config-5.10
+++ b/target/linux/octeontx/config-5.10
@@ -142,6 +142,8 @@ CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC_THUNDERX=y
# CONFIG_EDAC_XGENE is not set
CONFIG_EEPROM_AT24=y
+CONFIG_EXT4_FS=y
+CONFIG_F2FS_FS=y
CONFIG_FAT_FS=y
CONFIG_FIXED_PHY=y
CONFIG_FIX_EARLYCON_MEM=y
--
2.25.1
More information about the openwrt-devel
mailing list