ARM: phytec-som-am335x: Fix rootfs bootargs
PATCH 1/3 ARM: phytec-som-am335x: Fix rootfs bootargs
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.
--- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi +1 -1
@@ -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"
Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/3 ARM: am335x_defconfig: Add ext4 support
--- arch/arm/configs/am335x_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/am335x_defconfig +1 -0
@@ -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
Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 3/3 ARM: phytec-som-am335x: Update sd-card rootfs to ext4
In reply to Teresa GámezUpdate rootfs to ext4. ext3 filesystems are still getting mounted.
--- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc +1 -1
@@ -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"
Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4
Quoted 12 lines · Teresa Gámez
Update rootfs to ext4. ext3 filesystems are still getting mounted.
Signed-off-by Teresa Gámez <[email protected]>--- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc +0
-0
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc global.bootm.oftree=/boot/oftree · line 8
Quoted 5 lines
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc +1
-1@@ -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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4
Am Mittwoch, den 25.02.2015, 08:22 +0100 schrieb Sascha Hauer:
Quoted 14 lines · Teresa Gámez
Quoted 13 lines
Update rootfs to ext4. ext3 filesystems are still getting mounted.
Signed-off-by Teresa Gámez <[email protected]>--- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc +0
-0@@ -5,4 +5,4 @@ global.bootm.oftree=/boot/oftree
Quoted 7 lines
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc global.bootm.oftree=/boot/oftree · line 8
Quoted 4 lines
arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc +1
-1bootargs-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
Quoted 3 lines
Sascha
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 8 lines · Teresa Gámez
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 <[email protected]>--- 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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox