mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs
@ 2015-02-24  7:52 Teresa Gámez
  2015-02-24  7:52 ` [For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support Teresa Gámez
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Teresa Gámez @ 2015-02-24  7:52 UTC (permalink / raw)
  To: barebox

The roofs is mounted from nand when booting from spi. The VID header offset
was set fix to 2048. This is not needed any more. Removed it like it was done
for nand.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
index a9c0fe8..43a89fe 100644
--- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
+++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
@@ -6,4 +6,4 @@ global.bootm.oftree="/dev/m25p0.oftree"
 bootargs-ip
 
 # Use rootfs from NAND
-global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root,2048 rw rootfstype=ubifs"
+global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root rw rootfstype=ubifs"
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support
  2015-02-24  7:52 [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Teresa Gámez
@ 2015-02-24  7:52 ` Teresa Gámez
  2015-02-24  7:52 ` [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4 Teresa Gámez
  2015-02-25  7:25 ` [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Sascha Hauer
  2 siblings, 0 replies; 6+ messages in thread
From: Teresa Gámez @ 2015-02-24  7:52 UTC (permalink / raw)
  To: barebox

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/configs/am335x_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/am335x_defconfig b/arch/arm/configs/am335x_defconfig
index 0b8f58d..0db2075 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm/configs/am335x_defconfig
@@ -125,6 +125,7 @@ CONFIG_EEPROM_AT24=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_BUS_OMAP_GPMC=y
+CONFIG_FS_EXT4=y
 CONFIG_FS_TFTP=y
 CONFIG_FS_NFS=y
 CONFIG_FS_FAT=y
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4
  2015-02-24  7:52 [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Teresa Gámez
  2015-02-24  7:52 ` [For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support Teresa Gámez
@ 2015-02-24  7:52 ` Teresa Gámez
  2015-02-25  7:22   ` Sascha Hauer
  2015-02-25  7:25 ` [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Sascha Hauer
  2 siblings, 1 reply; 6+ messages in thread
From: Teresa Gámez @ 2015-02-24  7:52 UTC (permalink / raw)
  To: barebox

Update rootfs to ext4. ext3 filesystems are still getting mounted.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
index 1a642f9..447e471 100644
--- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
+++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
@@ -5,4 +5,4 @@ global.bootm.oftree=/boot/oftree
 
 bootargs-ip
 
-global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait"
+global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4
  2015-02-24  7:52 ` [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4 Teresa Gámez
@ 2015-02-25  7:22   ` Sascha Hauer
  2015-02-25  7:32     ` Teresa Gámez
  0 siblings, 1 reply; 6+ messages in thread
From: Sascha Hauer @ 2015-02-25  7:22 UTC (permalink / raw)
  To: Teresa Gámez; +Cc: barebox

On Tue, Feb 24, 2015 at 08:52:14AM +0100, Teresa Gámez wrote:
> Update rootfs to ext4. ext3 filesystems are still getting mounted.
> 
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
> ---
>  arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> index 1a642f9..447e471 100644
> --- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> +++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> @@ -5,4 +5,4 @@ global.bootm.oftree=/boot/oftree
>  
>  bootargs-ip
>  
> -global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait"
> +global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"

Is the rootfstype necessary anyway? It should be automatically detected,
no?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs
  2015-02-24  7:52 [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Teresa Gámez
  2015-02-24  7:52 ` [For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support Teresa Gámez
  2015-02-24  7:52 ` [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4 Teresa Gámez
@ 2015-02-25  7:25 ` Sascha Hauer
  2 siblings, 0 replies; 6+ messages in thread
From: Sascha Hauer @ 2015-02-25  7:25 UTC (permalink / raw)
  To: Teresa Gámez; +Cc: barebox

On Tue, Feb 24, 2015 at 08:52:12AM +0100, Teresa Gámez wrote:
> The roofs is mounted from nand when booting from spi. The VID header offset
> was set fix to 2048. This is not needed any more. Removed it like it was done
> for nand.
> 
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
> ---
>  arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied this one and 2/3.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4
  2015-02-25  7:22   ` Sascha Hauer
@ 2015-02-25  7:32     ` Teresa Gámez
  0 siblings, 0 replies; 6+ messages in thread
From: Teresa Gámez @ 2015-02-25  7:32 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Am Mittwoch, den 25.02.2015, 08:22 +0100 schrieb Sascha Hauer:
> On Tue, Feb 24, 2015 at 08:52:14AM +0100, Teresa Gámez wrote:
> > Update rootfs to ext4. ext3 filesystems are still getting mounted.
> > 
> > Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
> > ---
> >  arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> > index 1a642f9..447e471 100644
> > --- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> > +++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc
> > @@ -5,4 +5,4 @@ global.bootm.oftree=/boot/oftree
> >  
> >  bootargs-ip
> >  
> > -global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait"
> > +global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"
> 
> Is the rootfstype necessary anyway? It should be automatically detected,
> no?

Yes, detection works. I'll remove it.

Teresa

> 
> Sascha
> 



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-25  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24  7:52 [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Teresa Gámez
2015-02-24  7:52 ` [For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support Teresa Gámez
2015-02-24  7:52 ` [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4 Teresa Gámez
2015-02-25  7:22   ` Sascha Hauer
2015-02-25  7:32     ` Teresa Gámez
2015-02-25  7:25 ` [For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox