[oe] [PATCH] linux-omap*/beagleboard/defconfig: Compile Ext4 support into Linux.

Paul Menzel paulepanter at users.sourceforge.net
Sat Mar 13 12:12:09 UTC 2010


Currently Ext4 support is only build as a loadable kernel module. Therefore Ext4 partitions cannot be used for the rootfs. To fix this compile Ext4 support directly into Linux.

I used the following command

    $ find . -name defconfig | grep "beagleboard" | xargs sed -i 's/CONFIG_EXT4_FS=m/CONFIG_EXT4_FS=y/'

and increased `MACHINE_KERNEL_PR`. I took commit 9a3aceee4861e3b79ad8c73a01b4e4a93e421c0b as an example.

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 conf/machine/include/omap3.inc                     |    2 +-
 .../linux/linux-omap-2.6.28/beagleboard/defconfig  |    2 +-
 .../linux/linux-omap-2.6.29/beagleboard/defconfig  |    2 +-
 .../linux/linux-omap-2.6.31/beagleboard/defconfig  |    2 +-
 .../linux/linux-omap-2.6.32/beagleboard/defconfig  |    2 +-
 .../linux-omap-pm-2.6.28/beagleboard/defconfig     |    2 +-
 .../linux-omap-pm-2.6.29/beagleboard/defconfig     |    2 +-
 .../linux-omap-pm-2.6.31/beagleboard/defconfig     |    2 +-
 recipes/linux/linux-omap-pm/beagleboard/defconfig  |    2 +-
 .../linux-omap-psp-2.6.32/beagleboard/defconfig    |    2 +-
 recipes/linux/linux-omap/beagleboard/defconfig     |    2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index dd1188b..d96b189 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -3,7 +3,7 @@ SOC_FAMILY = "omap3"
 require conf/machine/include/tune-cortexa8.inc
 PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r51"
+MACHINE_KERNEL_PR = "r52"
 
 KERNEL_IMAGETYPE = "uImage"
 
diff --git a/recipes/linux/linux-omap-2.6.28/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.28/beagleboard/defconfig
index 2c95d76..51a598a 100644
--- a/recipes/linux/linux-omap-2.6.28/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.28/beagleboard/defconfig
@@ -1817,7 +1817,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
index b79f279..f6d8daf 100644
--- a/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
@@ -2308,7 +2308,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-2.6.31/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.31/beagleboard/defconfig
index 4856361..d4e4875 100644
--- a/recipes/linux/linux-omap-2.6.31/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.31/beagleboard/defconfig
@@ -2321,7 +2321,7 @@ CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
index 7857e2d..cebe1f5 100644
--- a/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
@@ -2427,7 +2427,7 @@ CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
 # CONFIG_EXT4_FS_SECURITY is not set
diff --git a/recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig b/recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig
index 83327b4..7f2f0e8 100644
--- a/recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig
@@ -2028,7 +2028,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig b/recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig
index 9cb8ab5..e36b945 100644
--- a/recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig
@@ -2296,7 +2296,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig b/recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig
index f43c8f5..615b0c1 100644
--- a/recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig
@@ -2296,7 +2296,7 @@ CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-pm/beagleboard/defconfig b/recipes/linux/linux-omap-pm/beagleboard/defconfig
index 5e0a85a..4cb5592 100644
--- a/recipes/linux/linux-omap-pm/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-pm/beagleboard/defconfig
@@ -2249,7 +2249,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
index 461c854..7450bbc 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
@@ -2456,7 +2456,7 @@ CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
 # CONFIG_EXT4_FS_SECURITY is not set
diff --git a/recipes/linux/linux-omap/beagleboard/defconfig b/recipes/linux/linux-omap/beagleboard/defconfig
index f6c503c..e6b3ace 100644
--- a/recipes/linux/linux-omap/beagleboard/defconfig
+++ b/recipes/linux/linux-omap/beagleboard/defconfig
@@ -1845,7 +1845,7 @@ CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XIP is not set
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=m
+CONFIG_EXT4_FS=y
 # CONFIG_EXT4DEV_COMPAT is not set
 CONFIG_EXT4_FS_XATTR=y
 # CONFIG_EXT4_FS_POSIX_ACL is not set
-- 
1.7.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100313/8de4fa40/attachment-0002.sig>


More information about the Openembedded-devel mailing list