[PATCH] ARM: cfa10036: Remove the boot partition and boot from ext

Sascha Hauer s.hauer at pengutronix.de
Sun Mar 3 08:10:11 EST 2013


On Wed, Feb 27, 2013 at 11:03:07AM +0100, Maxime Ripard wrote:
> Support for ext filesystems has been introduced recently. We can now
> boot directly from our rootfs, loading the kernel and device tree
> images from /boot.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 |    6 +++---
>  arch/arm/configs/cfa10036_defconfig                     |    1 +
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 b/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3
> index 439d174..4d830ed 100644
> --- a/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3
> +++ b/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3
> @@ -5,6 +5,6 @@ if [ "$1" = menu ]; then
>  	exit
>  fi
>  
> -global.bootm.image="/mnt/disk0.2/zImage-${global.hostname}"
> -global.bootm.oftree="/mnt/disk0.2/oftree-${global.board.variant}"
> -global.linux.bootargs.dyn.root="root=/dev/mmcblk0p4 rootfstype=ext3 rootwait"
> +global.bootm.image="/mnt/disk0.2/boot/zImage-${global.hostname}"
> +global.bootm.oftree="/mnt/disk0.2/boot/oftree-${global.board.variant}"
> +global.linux.bootargs.dyn.root="root=/dev/mmcblk0p3 rootfstype=ext3 rootwait"
> diff --git a/arch/arm/configs/cfa10036_defconfig b/arch/arm/configs/cfa10036_defconfig
> index c55d50d..277a3ec 100644
> --- a/arch/arm/configs/cfa10036_defconfig
> +++ b/arch/arm/configs/cfa10036_defconfig
> @@ -39,5 +39,6 @@ CONFIG_I2C=y
>  CONFIG_MCI=y
>  CONFIG_MCI_STARTUP=y
>  CONFIG_MCI_MXS=y
> +CONFIG_FS_EXT4=y
>  CONFIG_FS_FAT=y
>  CONFIG_FS_FAT_LFN=y
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |



More information about the barebox mailing list