Skip to contentSkip to conversation

linux-omap*/beagleboard/defconfig: Compile Ext4 support into Linux.

PATCH In review Paul Menzel 2 participants 6 messages Mar 13, 2010 – Apr 9, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-omap*/beagleboard/defconfig: Compile Ext4 support into Linux.

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.

---
 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(-)
conf/machine/include/omap3.inc +1 -1
index dd1188b..d96b189 100644
@@ -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"
 
recipes/linux/linux-omap-2.6.28/beagleboard/defconfig +1 -1
index 2c95d76..51a598a 100644
@@ -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
recipes/linux/linux-omap-2.6.29/beagleboard/defconfig +1 -1
index b79f279..f6d8daf 100644
@@ -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
recipes/linux/linux-omap-2.6.31/beagleboard/defconfig +1 -1
index 4856361..d4e4875 100644
@@ -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
recipes/linux/linux-omap-2.6.32/beagleboard/defconfig +1 -1
index 7857e2d..cebe1f5 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig +1 -1
index 83327b4..7f2f0e8 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig +1 -1
index 9cb8ab5..e36b945 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig +1 -1
index f43c8f5..615b0c1 100644
@@ -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
recipes/linux/linux-omap-pm/beagleboard/defconfig +1 -1
index 5e0a85a..4cb5592 100644
@@ -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
recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig +1 -1
index 461c854..7450bbc 100644
@@ -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
recipes/linux/linux-omap/beagleboard/defconfig +1 -1
index f6c503c..e6b3ace 100644
@@ -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
Signature · 1 line
1.7.0
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paul,

Thanks for the patch! I have a huuuuge stack of changed queued for TI platforms (beagle, hawk, omap3evm etc) that will be merged next week, so I recreated your patch on top of that:

http://gitorious.org/angstrom/openembedded/commit/3891af0d4838f1445ee27f6be4258d558731f3ea

And the branch:

http://gitorious.org/angstrom/openembedded/commits/ti/staging

Please let me know if that commit matches your intent.

regards,

Koen

Quoted 169 lines · Paul Menzel

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.

---
 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(-)
conf/machine/include/omap3.inc +1 -1
index dd1188b..d96b189 100644
@@ -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"
 
recipes/linux/linux-omap-2.6.28/beagleboard/defconfig +1 -1
index 2c95d76..51a598a 100644
@@ -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
recipes/linux/linux-omap-2.6.29/beagleboard/defconfig +1 -1
index b79f279..f6d8daf 100644
@@ -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
recipes/linux/linux-omap-2.6.31/beagleboard/defconfig +1 -1
index 4856361..d4e4875 100644
@@ -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
recipes/linux/linux-omap-2.6.32/beagleboard/defconfig +1 -1
index 7857e2d..cebe1f5 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.28/beagleboard/defconfig +1 -1
index 83327b4..7f2f0e8 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.29/beagleboard/defconfig +1 -1
index 9cb8ab5..e36b945 100644
@@ -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
recipes/linux/linux-omap-pm-2.6.31/beagleboard/defconfig +1 -1
index f43c8f5..615b0c1 100644
@@ -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
recipes/linux/linux-omap-pm/beagleboard/defconfig +1 -1
index 5e0a85a..4cb5592 100644
@@ -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
recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig +1 -1
index 461c854..7450bbc 100644
@@ -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
recipes/linux/linux-omap/beagleboard/defconfig +1 -1
index f6c503c..e6b3ace 100644
@@ -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
Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLnQaFMkyGM64RGpERArwFAJwJPeQCCqitZV3C6xsW1MkMM3YK0wCfZJsf Lk3OomZUcezOfhMw7yY1vqI=
=BBiP
-----END PGP SIGNATURE-----

#2 lore raw

Dear Koen,

Am Sonntag, den 14.03.2010, 16:53 +0100 schrieb Koen Kooi:

Quoted 5 lines

Thanks for the patch! I have a huuuuge stack of changed queued for TI platforms (beagle, hawk, omap3evm etc) that will be merged next week, so I recreated your patch on top of that:

http://gitorious.org/angstrom/openembedded/commit/3891af0d4838f1445ee27f6be4258d558731f3ea

Thanks for doing that. I updated the state in Patchwork.

    $ ./pwclient update -s accepted 1711
Quoted 5 lines

And the branch:

http://gitorious.org/angstrom/openembedded/commits/ti/staging

Please let me know if that commit matches your intent.

Yes it is. Besides that you shortened the commit message a little bit XorA told me on IRC to formulate. ;-) Since you are in the TSC I am ok with this.

Thanks,

Paul

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 16 lines · Paul Menzel

Dear Koen,

Am Sonntag, den 14.03.2010, 16:53 +0100 schrieb Koen Kooi:

Quoted 5 lines

Thanks for the patch! I have a huuuuge stack of changed queued for TI platforms (beagle, hawk, omap3evm etc) that will be merged next week, so I recreated your patch on top of that:

http://gitorious.org/angstrom/openembedded/commit/3891af0d4838f1445ee27f6be4258d558731f3ea

Thanks for doing that. I updated the state in Patchwork.

    $ ./pwclient update -s accepted 1711
Quoted 2 lines

And the branch:

Quoted 7 lines
Quoted 3 lines

http://gitorious.org/angstrom/openembedded/commits/ti/staging

Please let me know if that commit matches your intent.

Yes it is. Besides that you shortened the commit message a little bit XorA told me on IRC to formulate. ;-) Since you are in the TSC I am ok with this.

The change in commit message is due to me not having access to OE mail on the computer I committed this on, so I had to type it in from memory. There was nothing wrong with yours, just with my memory :)

regards,

KOen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLnfKHMkyGM64RGpERAmg2AJwMG4VHDU0dt8OupSTELccJHTfdfACgi8Zv VsjNUhf2cWA2HZ66xDyn39I=
=Pdav
-----END PGP SIGNATURE-----

#4 lore raw
In reply to Paul Menzel

Dear Koen,

Am Montag, den 15.03.2010, 00:08 +0100 schrieb Paul Menzel:

Quoted 5 lines

Am Sonntag, den 14.03.2010, 16:53 +0100 schrieb Koen Kooi:

Quoted 4 lines

Thanks for the patch! I have a huuuuge stack of changed queued for TI platforms (beagle, hawk, omap3evm etc) that will be merged next week, so I recreated your patch on top of that:

Quoted 9 lines
Quoted 1 line

http://gitorious.org/angstrom/openembedded/commit/3891af0d4838f1445ee27f6be4258d558731f3ea

Thanks for doing that. I updated the state in Patchwork.

    $ ./pwclient update -s accepted 1711
Quoted 3 lines

And the branch:

http://gitorious.org/angstrom/openembedded/commits/ti/staging

do you have an estimate when you will merge your changes.

[…]

Thanks,

Paul

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 13 lines · Paul Menzel

Dear Koen,

Am Montag, den 15.03.2010, 00:08 +0100 schrieb Paul Menzel:

Quoted 9 lines

Am Sonntag, den 14.03.2010, 16:53 +0100 schrieb Koen Kooi:

Quoted 5 lines

Thanks for the patch! I have a huuuuge stack of changed queued for TI platforms (beagle, hawk, omap3evm etc) that will be merged next week, so I recreated your patch on top of that:

http://gitorious.org/angstrom/openembedded/commit/3891af0d4838f1445ee27f6be4258d558731f3ea

Thanks for doing that. I updated the state in Patchwork.

Quoted 7 lines
Quoted 5 lines
    $ ./pwclient update -s accepted 1711
Quoted 3 lines

And the branch:

http://gitorious.org/angstrom/openembedded/commits/ti/staging

do you have an estimate when you will merge your changes.

"2 weeks ago" was the plan, but of the 3 people involved one had a baby, one is on-site for a customer rush job and the other had time off for personal circumstances, so not a lot got done.

The conference call this afternoon should give us the green light, *fingers crossed*

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLvtwmMkyGM64RGpERAlkbAJ9IZvAlhDIYY5pMEM/pOAVaPyXCuwCeIAvI g6ISCr7kUM+Ukr4VTCwGv+g=
=B1wg
-----END PGP SIGNATURE-----