mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
switch from ext2 to ext4 (w/o) journaling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1823498df7
commit
0835d732ce
14
Config.in
14
Config.in
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2006-2009 OpenWrt.org
|
# Copyright (C) 2006-2010 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -62,12 +62,12 @@ menu "Target Images"
|
|||||||
|
|
||||||
comment "Root filesystem images"
|
comment "Root filesystem images"
|
||||||
|
|
||||||
config TARGET_ROOTFS_EXT2FS
|
config TARGET_ROOTFS_EXT4FS
|
||||||
bool "ext2"
|
bool "ext4"
|
||||||
default y if USES_EXT2
|
default y if USES_EXT4
|
||||||
depends !TARGET_ROOTFS_INITRAMFS
|
depends !TARGET_ROOTFS_INITRAMFS
|
||||||
help
|
help
|
||||||
Ext2 file system with some free space for uml images
|
Ext4 file system with some free space for uml images
|
||||||
|
|
||||||
config TARGET_ROOTFS_ISO
|
config TARGET_ROOTFS_ISO
|
||||||
bool "iso"
|
bool "iso"
|
||||||
@ -103,14 +103,14 @@ menu "Target Images"
|
|||||||
|
|
||||||
config TARGET_ROOTFS_PARTSIZE
|
config TARGET_ROOTFS_PARTSIZE
|
||||||
int "Root filesystem partition size (in MB)"
|
int "Root filesystem partition size (in MB)"
|
||||||
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || TARGET_rb532
|
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532
|
||||||
default 48
|
default 48
|
||||||
help
|
help
|
||||||
Allows you to change the root filesystem partition size
|
Allows you to change the root filesystem partition size
|
||||||
|
|
||||||
config TARGET_ROOTFS_MAXINODE
|
config TARGET_ROOTFS_MAXINODE
|
||||||
int "Maximum number of inodes in root filesystem"
|
int "Maximum number of inodes in root filesystem"
|
||||||
depends TARGET_ROOTFS_EXT2FS
|
depends TARGET_ROOTFS_EXT4FS
|
||||||
default 6000
|
default 6000
|
||||||
help
|
help
|
||||||
Allows you to change the maximum number of inodes in the root filesystem
|
Allows you to change the maximum number of inodes in the root filesystem
|
||||||
|
@ -128,12 +128,17 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),)
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_EXT2FS),)
|
ifneq ($(CONFIG_TARGET_ROOTFS_EXT4FS),)
|
||||||
E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024)))
|
E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024)))
|
||||||
|
|
||||||
define Image/mkfs/ext2
|
define Image/mkfs/ext4
|
||||||
$(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext2
|
# generate an ext2 fs
|
||||||
$(call Image/Build,ext2)
|
$(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext4
|
||||||
|
# convert it to ext4
|
||||||
|
$(STAGING_DIR_HOST)/bin/tune2fs -O extents,uninit_bg,dir_index $(KDIR)/root.ext4
|
||||||
|
# fix it up
|
||||||
|
$(STAGING_DIR_HOST)/bin/e2fsck -fy $(KDIR)/root.ext4
|
||||||
|
$(call Image/Build,ext4)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -184,7 +189,7 @@ define BuildImage
|
|||||||
$(call Image/BuildKernel)
|
$(call Image/BuildKernel)
|
||||||
$(call Image/mkfs/cpiogz)
|
$(call Image/mkfs/cpiogz)
|
||||||
$(call Image/mkfs/targz)
|
$(call Image/mkfs/targz)
|
||||||
$(call Image/mkfs/ext2)
|
$(call Image/mkfs/ext4)
|
||||||
$(call Image/mkfs/iso)
|
$(call Image/mkfs/iso)
|
||||||
$(call Image/mkfs/jffs2)
|
$(call Image/mkfs/jffs2)
|
||||||
$(call Image/mkfs/squashfs)
|
$(call Image/mkfs/squashfs)
|
||||||
@ -195,7 +200,7 @@ define BuildImage
|
|||||||
$(call Image/BuildKernel)
|
$(call Image/BuildKernel)
|
||||||
$(call Image/mkfs/cpiogz)
|
$(call Image/mkfs/cpiogz)
|
||||||
$(call Image/mkfs/targz)
|
$(call Image/mkfs/targz)
|
||||||
$(call Image/mkfs/ext2)
|
$(call Image/mkfs/ext4)
|
||||||
$(call Image/mkfs/iso)
|
$(call Image/mkfs/iso)
|
||||||
$(call Image/mkfs/jffs2)
|
$(call Image/mkfs/jffs2)
|
||||||
$(call Image/mkfs/squashfs)
|
$(call Image/mkfs/squashfs)
|
||||||
|
@ -163,7 +163,7 @@ sub target_config_features(@) {
|
|||||||
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||||
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
|
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
|
||||||
/jffs2/ and $ret .= "\tselect USES_JFFS2\n";
|
/jffs2/ and $ret .= "\tselect USES_JFFS2\n";
|
||||||
/ext2/ and $ret .= "\tselect USES_EXT2\n";
|
/ext4/ and $ret .= "\tselect USES_EXT4\n";
|
||||||
/targz/ and $ret .= "\tselect USES_TARGZ\n";
|
/targz/ and $ret .= "\tselect USES_TARGZ\n";
|
||||||
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
|
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
|
||||||
/ubifs/ and $ret .= "\tselect USES_UBIFS\n";
|
/ubifs/ and $ret .= "\tselect USES_UBIFS\n";
|
||||||
|
@ -40,7 +40,7 @@ config USES_SQUASHFS
|
|||||||
config USES_JFFS2
|
config USES_JFFS2
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config USES_EXT2
|
config USES_EXT4
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config USES_TARGZ
|
config USES_TARGZ
|
||||||
|
@ -64,7 +64,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
|
|||||||
CONFIG_DECOMPRESS_LZMA=y
|
CONFIG_DECOMPRESS_LZMA=y
|
||||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||||
# CONFIG_DM9000 is not set
|
# CONFIG_DM9000 is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
# CONFIG_FPE_FASTFPE is not set
|
# CONFIG_FPE_FASTFPE is not set
|
||||||
# CONFIG_FPE_NWFPE is not set
|
# CONFIG_FPE_NWFPE is not set
|
||||||
CONFIG_FRAME_POINTER=y
|
CONFIG_FRAME_POINTER=y
|
||||||
|
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=cobalt
|
BOARD:=cobalt
|
||||||
BOARDNAME:=Cobalt Microservers
|
BOARDNAME:=Cobalt Microservers
|
||||||
FEATURES:=targz pci ext2
|
FEATURES:=targz pci ext4
|
||||||
CFLAGS:=-O2 -pipe -mtune=r5000 -funit-at-a-time
|
CFLAGS:=-O2 -pipe -mtune=r5000 -funit-at-a-time
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.32.25
|
LINUX_VERSION:=2.6.32.25
|
||||||
|
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
BOARD:=ep93xx
|
BOARD:=ep93xx
|
||||||
BOARDNAME:=Cirrus Logic 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
|
CFLAGS:=-Os -pipe -march=armv4t -funit-at-a-time
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.36
|
LINUX_VERSION:=2.6.36
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
CONFIG_ATA=y
|
CONFIG_ATA=y
|
||||||
CONFIG_BLK_DEV_SD=y
|
CONFIG_BLK_DEV_SD=y
|
||||||
CONFIG_CMDLINE="root=/dev/sda1 noinitrd console=ttyS0,115200"
|
CONFIG_CMDLINE="root=/dev/sda1 noinitrd console=ttyS0,115200"
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_JBD=y
|
CONFIG_JBD=y
|
||||||
CONFIG_REISERFS_FS=y
|
CONFIG_REISERFS_FS=y
|
||||||
CONFIG_SATA_VIA=y
|
CONFIG_SATA_VIA=y
|
||||||
|
@ -44,8 +44,7 @@ CONFIG_DEVPORT=y
|
|||||||
# CONFIG_DLCI is not set
|
# CONFIG_DLCI is not set
|
||||||
# CONFIG_DM9000 is not set
|
# CONFIG_DM9000 is not set
|
||||||
CONFIG_DNOTIFY=y
|
CONFIG_DNOTIFY=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
# CONFIG_FPE_FASTFPE is not set
|
# CONFIG_FPE_FASTFPE is not set
|
||||||
# CONFIG_FPE_NWFPE is not set
|
# CONFIG_FPE_NWFPE is not set
|
||||||
CONFIG_FRAME_POINTER=y
|
CONFIG_FRAME_POINTER=y
|
||||||
|
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=powerpc
|
ARCH:=powerpc
|
||||||
BOARD:=mpc52xx
|
BOARD:=mpc52xx
|
||||||
BOARDNAME:=Freescale MPC52xx
|
BOARDNAME:=Freescale MPC52xx
|
||||||
FEATURES:=targz ext2
|
FEATURES:=targz ext4
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.30.10
|
LINUX_VERSION:=2.6.30.10
|
||||||
|
|
||||||
|
@ -145,16 +145,7 @@ CONFIG_DNOTIFY=y
|
|||||||
CONFIG_DUMMY_CONSOLE=y
|
CONFIG_DUMMY_CONSOLE=y
|
||||||
# CONFIG_EASYCAP is not set
|
# CONFIG_EASYCAP is not set
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_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_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
|
@ -171,16 +171,7 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
# CONFIG_ECRYPT_FS is not set
|
# CONFIG_ECRYPT_FS is not set
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXPORTFS=m
|
CONFIG_EXPORTFS=m
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_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_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
|
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
define Profile/Beagleboard
|
define Profile/Beagleboard
|
||||||
NAME:=beagleboard
|
NAME:=beagleboard
|
||||||
FEATURES:=ext2 usb
|
FEATURES:=ext4 usb
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Profile/Beagleboard/Description
|
define Profile/Beagleboard/Description
|
||||||
|
@ -340,17 +340,7 @@ CONFIG_EPOLL=y
|
|||||||
CONFIG_EVENTFD=y
|
CONFIG_EVENTFD=y
|
||||||
CONFIG_EXPERIMENTAL=y
|
CONFIG_EXPERIMENTAL=y
|
||||||
CONFIG_EXPORTFS=m
|
CONFIG_EXPORTFS=m
|
||||||
# CONFIG_EXT2_FS_XATTR is not set
|
CONFIG_EXT4_FS=y
|
||||||
# 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_EZX_PCAP is not set
|
# CONFIG_EZX_PCAP is not set
|
||||||
CONFIG_FAIR_GROUP_SCHED=y
|
CONFIG_FAIR_GROUP_SCHED=y
|
||||||
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
||||||
|
@ -107,12 +107,7 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXPORTFS=m
|
CONFIG_EXPORTFS=m
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_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_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
|
@ -119,12 +119,7 @@ CONFIG_EARLY_PRINTK=y
|
|||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXPORTFS=m
|
CONFIG_EXPORTFS=m
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_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_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
|
@ -10,8 +10,7 @@ CONFIG_BLK_DEV_SD=y
|
|||||||
# CONFIG_DM_SNAPSHOT is not set
|
# CONFIG_DM_SNAPSHOT is not set
|
||||||
# CONFIG_DM_UEVENT is not set
|
# CONFIG_DM_UEVENT is not set
|
||||||
# CONFIG_DM_ZERO is not set
|
# CONFIG_DM_ZERO is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_JBD=y
|
CONFIG_JBD=y
|
||||||
CONFIG_LBD=y
|
CONFIG_LBD=y
|
||||||
CONFIG_MD_AUTODETECT=y
|
CONFIG_MD_AUTODETECT=y
|
||||||
|
@ -61,7 +61,7 @@ CONFIG_DEVPORT=y
|
|||||||
CONFIG_DMA_NEED_PCI_MAP_STATE=y
|
CONFIG_DMA_NEED_PCI_MAP_STATE=y
|
||||||
CONFIG_DMA_NONCOHERENT=y
|
CONFIG_DMA_NONCOHERENT=y
|
||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
# CONFIG_FSNOTIFY is not set
|
# CONFIG_FSNOTIFY is not set
|
||||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||||
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
||||||
|
@ -63,7 +63,7 @@ CONFIG_DEVPORT=y
|
|||||||
CONFIG_DMA_NEED_PCI_MAP_STATE=y
|
CONFIG_DMA_NEED_PCI_MAP_STATE=y
|
||||||
CONFIG_DMA_NONCOHERENT=y
|
CONFIG_DMA_NONCOHERENT=y
|
||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
# CONFIG_FSNOTIFY is not set
|
# CONFIG_FSNOTIFY is not set
|
||||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||||
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
||||||
|
@ -63,7 +63,7 @@ CONFIG_DEVPORT=y
|
|||||||
# CONFIG_DM9000 is not set
|
# CONFIG_DM9000 is not set
|
||||||
CONFIG_DMA_NONCOHERENT=y
|
CONFIG_DMA_NONCOHERENT=y
|
||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
# CONFIG_FSNOTIFY is not set
|
# CONFIG_FSNOTIFY is not set
|
||||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||||
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
||||||
|
@ -67,7 +67,7 @@ CONFIG_DEVPORT=y
|
|||||||
# CONFIG_DM9000 is not set
|
# CONFIG_DM9000 is not set
|
||||||
CONFIG_DMA_NONCOHERENT=y
|
CONFIG_DMA_NONCOHERENT=y
|
||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
# CONFIG_FSNOTIFY is not set
|
# CONFIG_FSNOTIFY is not set
|
||||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||||
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
||||||
|
@ -74,6 +74,7 @@ CONFIG_ELF_CORE=y
|
|||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT2_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
CONFIG_EXT3_FS=y
|
||||||
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
CONFIG_FB_CFB_FILLRECT=y
|
CONFIG_FB_CFB_FILLRECT=y
|
||||||
CONFIG_FB_CFB_IMAGEBLIT=y
|
CONFIG_FB_CFB_IMAGEBLIT=y
|
||||||
|
@ -20,7 +20,7 @@ ARCH:=$(shell uname -m | sed \
|
|||||||
)
|
)
|
||||||
BOARD:=uml
|
BOARD:=uml
|
||||||
BOARDNAME:=User Mode Linux
|
BOARDNAME:=User Mode Linux
|
||||||
FEATURES:=ext2 audio
|
FEATURES:=ext4 audio
|
||||||
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
|
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.32.25
|
LINUX_VERSION:=2.6.32.25
|
||||||
|
@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=i386
|
ARCH:=i386
|
||||||
BOARD:=x86
|
BOARD:=x86
|
||||||
BOARDNAME:=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
|
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
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ CONFIG_EARLY_PRINTK=y
|
|||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
# CONFIG_ELPLUS is not set
|
# CONFIG_ELPLUS is not set
|
||||||
# CONFIG_EUROTECH_WDT is not set
|
# CONFIG_EUROTECH_WDT is not set
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||||
CONFIG_FIRMWARE_MEMMAP=y
|
CONFIG_FIRMWARE_MEMMAP=y
|
||||||
CONFIG_FIX_EARLYCON_MEM=y
|
CONFIG_FIX_EARLYCON_MEM=y
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
config X86_GRUB_IMAGES
|
config X86_GRUB_IMAGES
|
||||||
bool "Build GRUB images (Linux x86 or x86_64 host only)"
|
bool "Build GRUB images (Linux x86 or x86_64 host only)"
|
||||||
depends TARGET_x86 && !TARGET_x86_olpc
|
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
|
select PACKAGE_grub
|
||||||
default y
|
default y
|
||||||
|
|
||||||
@ -35,21 +35,21 @@ config X86_VDI_IMAGES
|
|||||||
bool "Build VirtualBox image files (VDI)"
|
bool "Build VirtualBox image files (VDI)"
|
||||||
depends X86_GRUB_IMAGES
|
depends X86_GRUB_IMAGES
|
||||||
depends TARGET_x86_generic
|
depends TARGET_x86_generic
|
||||||
depends TARGET_ROOTFS_EXT2FS
|
depends TARGET_ROOTFS_EXT4FS
|
||||||
select PACKAGE_kmod-pcnet32
|
select PACKAGE_kmod-pcnet32
|
||||||
|
|
||||||
config X86_VMDK_IMAGES
|
config X86_VMDK_IMAGES
|
||||||
bool "Build VMware image files (VMDK)"
|
bool "Build VMware image files (VMDK)"
|
||||||
depends X86_GRUB_IMAGES
|
depends X86_GRUB_IMAGES
|
||||||
depends TARGET_x86_generic
|
depends TARGET_x86_generic
|
||||||
depends TARGET_ROOTFS_EXT2FS
|
depends TARGET_ROOTFS_EXT4FS
|
||||||
select PACKAGE_kmod-e1000
|
select PACKAGE_kmod-e1000
|
||||||
|
|
||||||
|
|
||||||
config OLPC_BOOTSCRIPT_IMAGES
|
config OLPC_BOOTSCRIPT_IMAGES
|
||||||
bool "Build images with bootscript"
|
bool "Build images with bootscript"
|
||||||
depends TARGET_x86_olpc
|
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
|
config TARGET_IMAGES_PAD
|
||||||
|
@ -35,8 +35,8 @@ ifneq ($(CONFIG_X86_GRUB_IMAGES),)
|
|||||||
|
|
||||||
BOOTOPTS:=$(call qstrip,$(CONFIG_X86_GRUB_BOOTOPTS))
|
BOOTOPTS:=$(call qstrip,$(CONFIG_X86_GRUB_BOOTOPTS))
|
||||||
|
|
||||||
define Image/cmdline/ext2
|
define Image/cmdline/ext4
|
||||||
root=$(ROOTPART) rootfstype=ext2 rootwait
|
root=$(ROOTPART) rootfstype=ext4 rootwait
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/cmdline/jffs2-64k
|
define Image/cmdline/jffs2-64k
|
||||||
@ -88,8 +88,8 @@ ROOTDELAY=10
|
|||||||
|
|
||||||
ifneq ($(CONFIG_OLPC_BOOTSCRIPT_IMAGES),)
|
ifneq ($(CONFIG_OLPC_BOOTSCRIPT_IMAGES),)
|
||||||
|
|
||||||
define Image/cmdline/ext2
|
define Image/cmdline/ext4
|
||||||
root=$(ROOTPART) rootfstype=ext2 rootwait
|
root=$(ROOTPART) rootfstype=ext4 rootwait
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/cmdline/jffs2-64k
|
define Image/cmdline/jffs2-64k
|
||||||
@ -141,7 +141,7 @@ endef
|
|||||||
ifneq ($(CONFIG_X86_VDI_IMAGES),)
|
ifneq ($(CONFIG_X86_VDI_IMAGES),)
|
||||||
define Image/Build/vdi
|
define Image/Build/vdi
|
||||||
# left here because the image builder doesnt need these
|
# left here because the image builder doesnt need these
|
||||||
ifeq ($(1),ext2)
|
ifeq ($(1),ext4)
|
||||||
rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vdi || true
|
rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vdi || true
|
||||||
qemu-img convert -f raw -O vdi \
|
qemu-img convert -f raw -O vdi \
|
||||||
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
|
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
|
||||||
@ -155,7 +155,7 @@ endif
|
|||||||
ifneq ($(CONFIG_X86_VMDK_IMAGES),)
|
ifneq ($(CONFIG_X86_VMDK_IMAGES),)
|
||||||
define Image/Build/vmdk
|
define Image/Build/vmdk
|
||||||
# left here because the image builder doesnt need these
|
# left here because the image builder doesnt need these
|
||||||
ifeq ($(1),ext2)
|
ifeq ($(1),ext4)
|
||||||
rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vmdk || true
|
rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vmdk || true
|
||||||
qemu-img convert -f raw -O vmdk \
|
qemu-img convert -f raw -O vmdk \
|
||||||
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
|
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
|
||||||
@ -184,7 +184,7 @@ define Image/Build
|
|||||||
endif
|
endif
|
||||||
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img
|
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img
|
||||||
$(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz
|
$(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)-combined-$(1).img
|
||||||
gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img
|
gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img
|
||||||
endif
|
endif
|
||||||
|
@ -67,8 +67,7 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
CONFIG_EARLY_PRINTK=y
|
CONFIG_EARLY_PRINTK=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
# CONFIG_FB_JZ4740 is not set
|
# CONFIG_FB_JZ4740 is not set
|
||||||
CONFIG_FB_SYS_COPYAREA=y
|
CONFIG_FB_SYS_COPYAREA=y
|
||||||
|
@ -68,8 +68,7 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
CONFIG_EARLY_PRINTK=y
|
CONFIG_EARLY_PRINTK=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
# CONFIG_FB_JZ4740 is not set
|
# CONFIG_FB_JZ4740 is not set
|
||||||
CONFIG_FB_SYS_COPYAREA=y
|
CONFIG_FB_SYS_COPYAREA=y
|
||||||
|
@ -69,8 +69,7 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
CONFIG_EARLY_PRINTK=y
|
CONFIG_EARLY_PRINTK=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_FAT_FS=y
|
CONFIG_FAT_FS=y
|
||||||
# CONFIG_FB_JZ4740 is not set
|
# CONFIG_FB_JZ4740 is not set
|
||||||
CONFIG_FB_SYS_COPYAREA=y
|
CONFIG_FB_SYS_COPYAREA=y
|
||||||
|
Loading…
Reference in New Issue
Block a user