Skip to contentSkip to conversation

wandboard: Make explicit that a ext4 rootfs is used

PATCH Superseded Fabio Estevam 2 participants 3 messages Sep 11, 2016 – Sep 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wandboard: Make explicit that a ext4 rootfs is used

From: Fabio Estevam <[email protected]>

Make explicit that a ext4 rootfs is used.

As explained by Thomas Petazzoni:

"the ext4 filesystem is already used.
Indeed, the ext4 image is a symlink to the ext2 image, and the ext2 image is in fact an ext4 image:

-rw-r--r-- 1 thomas thomas 3763200 sept. 11 21:54 rootfs.ext2
lrwxrwxrwx 1 thomas thomas 11 sept. 11 21:54 rootfs.ext4 -> rootfs.ext2"

---
Change sinces v1:
- Fix Subject and commit log to explain that ext4 was already used and that this patch only make it more evident. (Thomas)

 board/wandboard/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/wandboard/genimage.cfg +2 -2
index 32c7c16..b23a91b 100644
@@ -2,7 +2,7 @@
 #
 # The SD card must have at least 1 MB free at the beginning.
 # U-Boot and its environment are dumped as is.
-# A single root filesystem partition is required (Ext2 in this case).
+# A single root filesystem partition is required (Ext4 in this case).
 #
 # For details about the layout, see:
 # http://wiki.wandboard.org/index.php/Boot-process
@@ -25,7 +25,7 @@ image sdcard.img {
 
   partition rootfs {
     partition-type = 0x83
-    image = "rootfs.ext2"
+    image = "rootfs.ext4"
     size = 512M
   }
 }
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 wandboard: Make explicit that a ext4 rootfs is used

Hello,

Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Make explicit that a ext4 rootfs is used.

As explained by Thomas Petazzoni:

"the ext4 filesystem is already used.
Indeed, the ext4 image is a symlink to the ext2 image, and the ext2 image is in fact an ext4 image:

Quoted 8 lines

-rw-r--r-- 1 thomas thomas 3763200 sept. 11 21:54 rootfs.ext2
lrwxrwxrwx 1 thomas thomas 11 sept. 11 21:54 rootfs.ext4 -> rootfs.ext2"

---
Change sinces v1:
- Fix Subject and commit log to explain that ext4 was already used and that this patch only make it more evident. (Thomas)

Applied to master, thanks. However maybe at some point you want to move the wandboard to use the generic freescale genimage/post-image script that I merged yesterday?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 wandboard: Make explicit that a ext4 rootfs is used

Hi Thomas,

Quoted 3 lines · Thomas Petazzoni

Applied to master, thanks. However maybe at some point you want to move the wandboard to use the generic freescale genimage/post-image script that I merged yesterday?

Yes, I will try to move it to the generic genimage/post-image script. Thanks