Skip to contentSkip to conversation

am3517evm: remove rootfstype kernel parameter for MMC boot device

PATCH New Yegor Yefremov 2 participants 3 messages Jul 18, 2011 – Jan 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am3517evm: remove rootfstype kernel parameter for MMC boot device

#1 lore raw

PATCH 1/1 am3517evm: remove rootfstype kernel parameter for MMC boot device

Am 18.07.2011 15:51, schrieb Yegor Yefremov:

Quoted 18 lines

From 53afd3a38abbaed8890ca1ba36439e0c93b69969 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <[email protected]>
Date: Mon, 18 Jul 2011 15:44:42 +0200
Subject: [PATCH] am3517evm: remove rootfstype kernel parameter for MMC boot device

it is not necessary to define rootfstype for mass storage devices. Kernel detects it automatically.

---
 include/configs/am3517_evm.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/configs/am3517_evm.h +0 -0
index 18aaadf..8b8c80b 100644

include/configs/am3517_evm.h line 198

Quoted 9 lines
include/configs/am3517_evm.h +1 -2
@@ -192,8 +192,7 @@
 	"loadaddr=0x82000000\0" \
 	"console=ttyO2,115200n8\0" \
 	"mmcargs=setenv bootargs console=${console} " \
-		"root=/dev/mmcblk0p2 rw " \
-		"rootfstype=ext3 rootwait\0" \
+		"root=/dev/mmcblk0p2 rw rootwait\0" \
 	"nandargs=setenv bootargs console=${console} " \
 		"root=/dev/mtdblock4 rw " \
 		"rootfstype=jffs2\0" \

Could you please review this patch? It is very annoying when using Buildroot as it creates ext2 images.

Thanks.

Yegor

#2 lore raw

PATCH 1/1 am3517evm: remove rootfstype kernel parameter for MMC boot device

Quoted 14 lines · Yegor Yefremov

Am 18.07.2011 15:51, schrieb Yegor Yefremov:

Quoted 13 lines

From 53afd3a38abbaed8890ca1ba36439e0c93b69969 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <[email protected]>
Date: Mon, 18 Jul 2011 15:44:42 +0200
Subject: [PATCH] am3517evm: remove rootfstype kernel parameter for MMC boot device

it is not necessary to define rootfstype for mass storage devices. Kernel detects it automatically.

---
?include/configs/am3517_evm.h | ? ?3 +--
?1 files changed, 1 insertions(+), 2 deletions(-)

Quoted 16 lines
Quoted 5 lines
include/configs/am3517_evm.h +0 -0
index 18aaadf..8b8c80b 100644

include/configs/am3517_evm.h line 198

Quoted 9 lines
include/configs/am3517_evm.h +1 -2
@@ -192,8 +192,7 @@
 ? ? ? "loadaddr=0x82000000\0" \
 ? ? ? "console=ttyO2,115200n8\0" \
 ? ? ? "mmcargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "root=/dev/mmcblk0p2 rw " \
- ? ? ? ? ? ? "rootfstype=ext3 rootwait\0" \
+ ? ? ? ? ? ? "root=/dev/mmcblk0p2 rw rootwait\0" \
 ? ? ? "nandargs=setenv bootargs console=${console} " \
 ? ? ? ? ? ? ? "root=/dev/mtdblock4 rw " \
 ? ? ? ? ? ? ? "rootfstype=jffs2\0" \

Could you please review this patch? It is very annoying when using Buildroot as it creates ext2 images.

Reworked to apply again and applied to u-boot-ti/master, thanks for the reminder.

Signature · 1 line
Tom