diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-22 12:12:39 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-22 12:12:39 +0000 |
commit | 0835d732ce79bc5d764dfeaf1d3ae6d04b767763 (patch) | |
tree | 546b7bb3d3fec36635a8979ef611f64be31743d8 /target/linux | |
parent | 1823498df79bd7feafd6b0460eb84630cb8cc580 (diff) |
switch from ext2 to ext4 (w/o) journaling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
26 files changed, 40 insertions, 83 deletions
diff --git a/target/linux/at91/config-default b/target/linux/at91/config-default index 9da6aace08..b29bb24c82 100644 --- a/target/linux/at91/config-default +++ b/target/linux/at91/config-default @@ -64,7 +64,7 @@ CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DECOMPRESS_LZMA=y CONFIG_DEVPTS_MULTIPLE_INSTANCES=y # CONFIG_DM9000 is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y # CONFIG_FPE_FASTFPE is not set # CONFIG_FPE_NWFPE is not set CONFIG_FRAME_POINTER=y diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile index 0e7a845002..f7beb95920 100644 --- a/target/linux/cobalt/Makefile +++ b/target/linux/cobalt/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mipsel BOARD:=cobalt BOARDNAME:=Cobalt Microservers -FEATURES:=targz pci ext2 +FEATURES:=targz pci ext4 CFLAGS:=-O2 -pipe -mtune=r5000 -funit-at-a-time LINUX_VERSION:=2.6.32.25 diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile index e3c93a8f0a..c429e2e767 100644 --- a/target/linux/ep93xx/Makefile +++ b/target/linux/ep93xx/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=ep93xx BOARDNAME:=Cirrus Logic EP93xx -FEATURES:=squashfs jffs2 ext2 targz usb +FEATURES:=squashfs jffs2 ext4 targz usb CFLAGS:=-Os -pipe -march=armv4t -funit-at-a-time LINUX_VERSION:=2.6.36 diff --git a/target/linux/ixp4xx/harddisk/config-default b/target/linux/ixp4xx/harddisk/config-default index ef9a47c7e8..3fe6f0c6ad 100644 --- a/target/linux/ixp4xx/harddisk/config-default +++ b/target/linux/ixp4xx/harddisk/config-default @@ -1,8 +1,7 @@ CONFIG_ATA=y CONFIG_BLK_DEV_SD=y CONFIG_CMDLINE="root=/dev/sda1 noinitrd console=ttyS0,115200" -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_JBD=y CONFIG_REISERFS_FS=y CONFIG_SATA_VIA=y diff --git a/target/linux/kirkwood/config-default b/target/linux/kirkwood/config-default index 0f33463978..4436bed4e9 100644 --- a/target/linux/kirkwood/config-default +++ b/target/linux/kirkwood/config-default @@ -44,8 +44,7 @@ CONFIG_DEVPORT=y # CONFIG_DLCI is not set # CONFIG_DM9000 is not set CONFIG_DNOTIFY=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y # CONFIG_FPE_FASTFPE is not set # CONFIG_FPE_NWFPE is not set CONFIG_FRAME_POINTER=y diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile index ee9fa6c09a..152e51e583 100644 --- a/target/linux/mpc52xx/Makefile +++ b/target/linux/mpc52xx/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=powerpc BOARD:=mpc52xx BOARDNAME:=Freescale MPC52xx -FEATURES:=targz ext2 +FEATURES:=targz ext4 LINUX_VERSION:=2.6.30.10 diff --git a/target/linux/omap24xx/config-2.6.36 b/target/linux/omap24xx/config-2.6.36 index 0766214ceb..976d495a66 100644 --- a/target/linux/omap24xx/config-2.6.36 +++ b/target/linux/omap24xx/config-2.6.36 @@ -145,16 +145,7 @@ CONFIG_DNOTIFY=y CONFIG_DUMMY_CONSOLE=y # CONFIG_EASYCAP is not set CONFIG_ENABLE_MUST_CHECK=y -CONFIG_EXT2_FS=y -CONFIG_EXT2_FS_POSIX_ACL=y -# CONFIG_EXT2_FS_SECURITY is not set -CONFIG_EXT2_FS_XATTR=y -CONFIG_EXT2_FS_XIP=y -CONFIG_EXT3_DEFAULTS_TO_ORDERED=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_POSIX_ACL=y -# CONFIG_EXT3_FS_SECURITY is not set -CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y CONFIG_FB=y CONFIG_FB_CFB_COPYAREA=y diff --git a/target/linux/omap24xx/config-2.6.37 b/target/linux/omap24xx/config-2.6.37 index 086968283e..45ee7dc0a3 100644 --- a/target/linux/omap24xx/config-2.6.37 +++ b/target/linux/omap24xx/config-2.6.37 @@ -171,16 +171,7 @@ CONFIG_DUMMY_CONSOLE=y # CONFIG_ECRYPT_FS is not set CONFIG_ENABLE_MUST_CHECK=y CONFIG_EXPORTFS=m -CONFIG_EXT2_FS=y -CONFIG_EXT2_FS_POSIX_ACL=y -# CONFIG_EXT2_FS_SECURITY is not set -CONFIG_EXT2_FS_XATTR=y -CONFIG_EXT2_FS_XIP=y -CONFIG_EXT3_DEFAULTS_TO_ORDERED=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_POSIX_ACL=y -# CONFIG_EXT3_FS_SECURITY is not set -CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y CONFIG_FB=y CONFIG_FB_CFB_COPYAREA=y diff --git a/target/linux/omap35xx/beagleboard/profiles/beagleboard.mk b/target/linux/omap35xx/beagleboard/profiles/beagleboard.mk index 69ecdbb827..59c40f4e8a 100644 --- a/target/linux/omap35xx/beagleboard/profiles/beagleboard.mk +++ b/target/linux/omap35xx/beagleboard/profiles/beagleboard.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 - 2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,7 +7,7 @@ define Profile/Beagleboard NAME:=beagleboard - FEATURES:=ext2 usb + FEATURES:=ext4 usb endef define Profile/Beagleboard/Description diff --git a/target/linux/omap35xx/config-2.6.32 b/target/linux/omap35xx/config-2.6.32 index e814d79261..9fd008b11e 100644 --- a/target/linux/omap35xx/config-2.6.32 +++ b/target/linux/omap35xx/config-2.6.32 @@ -340,17 +340,7 @@ CONFIG_EPOLL=y CONFIG_EVENTFD=y CONFIG_EXPERIMENTAL=y CONFIG_EXPORTFS=m -# CONFIG_EXT2_FS_XATTR is not set -# CONFIG_EXT2_FS_XIP is not set -CONFIG_EXT2_FS=y -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set -# CONFIG_EXT3_FS_XATTR is not set -CONFIG_EXT3_FS=y -# CONFIG_EXT4_DEBUG is not set -CONFIG_EXT4_FS=m -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS=y # CONFIG_EZX_PCAP is not set CONFIG_FAIR_GROUP_SCHED=y CONFIG_FAT_DEFAULT_CODEPAGE=437 diff --git a/target/linux/omap35xx/gumstix/config-2.6.34 b/target/linux/omap35xx/gumstix/config-2.6.34 index a79aa803cf..8c9688793e 100644 --- a/target/linux/omap35xx/gumstix/config-2.6.34 +++ b/target/linux/omap35xx/gumstix/config-2.6.34 @@ -107,12 +107,7 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_ELF_CORE=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_EXPORTFS=m -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -CONFIG_EXT4_FS=m -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y CONFIG_FB=y CONFIG_FB_CFB_COPYAREA=y diff --git a/target/linux/omap35xx/gumstix/config-2.6.36 b/target/linux/omap35xx/gumstix/config-2.6.36 index a9e14cecb5..dbe1325908 100644 --- a/target/linux/omap35xx/gumstix/config-2.6.36 +++ b/target/linux/omap35xx/gumstix/config-2.6.36 @@ -119,12 +119,7 @@ CONFIG_EARLY_PRINTK=y CONFIG_ELF_CORE=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_EXPORTFS=m -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -CONFIG_EXT4_FS=m -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y CONFIG_FB=y CONFIG_FB_CFB_COPYAREA=y diff --git a/target/linux/orion/harddisk/config-default b/target/linux/orion/harddisk/config-default index d170448604..ec77f5ef36 100644 --- a/target/linux/orion/harddisk/config-default +++ b/target/linux/orion/harddisk/config-default @@ -10,8 +10,7 @@ CONFIG_BLK_DEV_SD=y # CONFIG_DM_SNAPSHOT is not set # CONFIG_DM_UEVENT is not set # CONFIG_DM_ZERO is not set -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_JBD=y CONFIG_LBD=y CONFIG_MD_AUTODETECT=y diff --git a/target/linux/rb532/config-2.6.32 b/target/linux/rb532/config-2.6.32 index f7aefc7d1e..e11c339f40 100644 --- a/target/linux/rb532/config-2.6.32 +++ b/target/linux/rb532/config-2.6.32 @@ -61,7 +61,7 @@ CONFIG_DEVPORT=y CONFIG_DMA_NEED_PCI_MAP_STATE=y CONFIG_DMA_NONCOHERENT=y # CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y # CONFIG_FSNOTIFY is not set CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y diff --git a/target/linux/rb532/config-2.6.33 b/target/linux/rb532/config-2.6.33 index 9ca6f88322..7e90ea71a6 100644 --- a/target/linux/rb532/config-2.6.33 +++ b/target/linux/rb532/config-2.6.33 @@ -63,7 +63,7 @@ CONFIG_DEVPORT=y CONFIG_DMA_NEED_PCI_MAP_STATE=y CONFIG_DMA_NONCOHERENT=y # CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y # CONFIG_FSNOTIFY is not set CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y diff --git a/target/linux/rb532/config-2.6.34 b/target/linux/rb532/config-2.6.34 index a274d79a44..60e25137a7 100644 --- a/target/linux/rb532/config-2.6.34 +++ b/target/linux/rb532/config-2.6.34 @@ -63,7 +63,7 @@ CONFIG_DEVPORT=y # CONFIG_DM9000 is not set CONFIG_DMA_NONCOHERENT=y # CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y # CONFIG_FSNOTIFY is not set CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y diff --git a/target/linux/rb532/config-2.6.35 b/target/linux/rb532/config-2.6.35 index b58b90324e..8e7c201c74 100644 --- a/target/linux/rb532/config-2.6.35 +++ b/target/linux/rb532/config-2.6.35 @@ -67,7 +67,7 @@ CONFIG_DEVPORT=y # CONFIG_DM9000 is not set CONFIG_DMA_NONCOHERENT=y # CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y # CONFIG_FSNOTIFY is not set CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y diff --git a/target/linux/s3c24xx/openmoko-gta02/config-2.6.30 b/target/linux/s3c24xx/openmoko-gta02/config-2.6.30 index 68c5f87285..1be7f6dea4 100644 --- a/target/linux/s3c24xx/openmoko-gta02/config-2.6.30 +++ b/target/linux/s3c24xx/openmoko-gta02/config-2.6.30 @@ -74,6 +74,7 @@ CONFIG_ELF_CORE=y # CONFIG_ENABLE_WARN_DEPRECATED is not set CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile index 40cb746f31..94a08f3bd0 100644 --- a/target/linux/uml/Makefile +++ b/target/linux/uml/Makefile @@ -20,7 +20,7 @@ ARCH:=$(shell uname -m | sed \ ) BOARD:=uml BOARDNAME:=User Mode Linux -FEATURES:=ext2 audio +FEATURES:=ext4 audio LINUX_CONFIG:=$(CURDIR)/config/$(ARCH) LINUX_VERSION:=2.6.32.25 diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile index 3cbed95426..5ff1d246fb 100644 --- a/target/linux/x86/Makefile +++ b/target/linux/x86/Makefile @@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk ARCH:=i386 BOARD:=x86 BOARDNAME:=x86 -FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia targz +FEATURES:=squashfs jffs2 ext4 vdi vmdk pcmcia targz SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos -LINUX_VERSION:=2.6.32.25 +LINUX_VERSION:=2.6.36 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/x86/config-default b/target/linux/x86/config-default index 0b0981b894..eff0b2800b 100644 --- a/target/linux/x86/config-default +++ b/target/linux/x86/config-default @@ -101,7 +101,7 @@ CONFIG_EARLY_PRINTK=y CONFIG_ELF_CORE=y # CONFIG_ELPLUS is not set # CONFIG_EUROTECH_WDT is not set -CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_FIRMWARE_MEMMAP=y CONFIG_FIX_EARLYCON_MEM=y diff --git a/target/linux/x86/image/Config.in b/target/linux/x86/image/Config.in index 8467f48a4f..3557e63c2f 100644 --- a/target/linux/x86/image/Config.in +++ b/target/linux/x86/image/Config.in @@ -1,7 +1,7 @@ config X86_GRUB_IMAGES bool "Build GRUB images (Linux x86 or x86_64 host only)" depends TARGET_x86 && !TARGET_x86_olpc - depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS + depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS select PACKAGE_grub default y @@ -35,21 +35,21 @@ config X86_VDI_IMAGES bool "Build VirtualBox image files (VDI)" depends X86_GRUB_IMAGES depends TARGET_x86_generic - depends TARGET_ROOTFS_EXT2FS + depends TARGET_ROOTFS_EXT4FS select PACKAGE_kmod-pcnet32 config X86_VMDK_IMAGES bool "Build VMware image files (VMDK)" depends X86_GRUB_IMAGES depends TARGET_x86_generic - depends TARGET_ROOTFS_EXT2FS + depends TARGET_ROOTFS_EXT4FS select PACKAGE_kmod-e1000 config OLPC_BOOTSCRIPT_IMAGES bool "Build images with bootscript" depends TARGET_x86_olpc - depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS + depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS config TARGET_IMAGES_PAD diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index b5297bbff8..57d7b0b46d 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -35,8 +35,8 @@ ifneq ($(CONFIG_X86_GRUB_IMAGES),) BOOTOPTS:=$(call qstrip,$(CONFIG_X86_GRUB_BOOTOPTS)) - define Image/cmdline/ext2 - root=$(ROOTPART) rootfstype=ext2 rootwait + define Image/cmdline/ext4 + root=$(ROOTPART) rootfstype=ext4 rootwait endef define Image/cmdline/jffs2-64k @@ -88,8 +88,8 @@ ROOTDELAY=10 ifneq ($(CONFIG_OLPC_BOOTSCRIPT_IMAGES),) - define Image/cmdline/ext2 - root=$(ROOTPART) rootfstype=ext2 rootwait + define Image/cmdline/ext4 + root=$(ROOTPART) rootfstype=ext4 rootwait endef define Image/cmdline/jffs2-64k @@ -141,7 +141,7 @@ endef ifneq ($(CONFIG_X86_VDI_IMAGES),) define Image/Build/vdi # left here because the image builder doesnt need these - ifeq ($(1),ext2) + ifeq ($(1),ext4) rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vdi || true qemu-img convert -f raw -O vdi \ $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \ @@ -155,7 +155,7 @@ endif ifneq ($(CONFIG_X86_VMDK_IMAGES),) define Image/Build/vmdk # left here because the image builder doesnt need these - ifeq ($(1),ext2) + ifeq ($(1),ext4) rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vmdk || true qemu-img convert -f raw -O vmdk \ $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \ @@ -184,7 +184,7 @@ define Image/Build endif $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img $(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz - ifeq ($(1),ext2) + ifeq ($(1),ext4) gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img endif diff --git a/target/linux/xburst/config-2.6.34 b/target/linux/xburst/config-2.6.34 index 5e0e37cc96..95aa8ccc7c 100644 --- a/target/linux/xburst/config-2.6.34 +++ b/target/linux/xburst/config-2.6.34 @@ -67,8 +67,7 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_EARLY_PRINTK=y CONFIG_ELF_CORE=y CONFIG_ENABLE_MUST_CHECK=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y # CONFIG_FB_JZ4740 is not set CONFIG_FB_SYS_COPYAREA=y diff --git a/target/linux/xburst/config-2.6.35 b/target/linux/xburst/config-2.6.35 index 62052f438f..ea088ac5f6 100644 --- a/target/linux/xburst/config-2.6.35 +++ b/target/linux/xburst/config-2.6.35 @@ -68,8 +68,7 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_EARLY_PRINTK=y CONFIG_ELF_CORE=y CONFIG_ENABLE_MUST_CHECK=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y # CONFIG_FB_JZ4740 is not set CONFIG_FB_SYS_COPYAREA=y diff --git a/target/linux/xburst/config-2.6.36 b/target/linux/xburst/config-2.6.36 index a633669447..70b205b9d2 100644 --- a/target/linux/xburst/config-2.6.36 +++ b/target/linux/xburst/config-2.6.36 @@ -69,8 +69,7 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_EARLY_PRINTK=y CONFIG_ELF_CORE=y CONFIG_ENABLE_MUST_CHECK=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y +CONFIG_EXT4_FS=y CONFIG_FAT_FS=y # CONFIG_FB_JZ4740 is not set CONFIG_FB_SYS_COPYAREA=y |