Sfoglia il codice sorgente

octeontx: add f2fs and ext4 support

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.

Signed-off-by: Tim Harvey <[email protected]>
Tim Harvey 2 anni fa
parent
commit
026004d530
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 2 1
      target/linux/octeontx/Makefile
  2. 2 0
      target/linux/octeontx/config-5.15

+ 2 - 1
target/linux/octeontx/Makefile

@@ -20,7 +20,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
 

+ 2 - 0
target/linux/octeontx/config-5.15

@@ -145,6 +145,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