[PATCH 5/7] defaultenv: boot: add support to boot from disk

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Apr 8 09:38:22 EDT 2011


On 12:19 Fri 08 Apr     , Marc Kleine-Budde wrote:
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
>  defaultenv/bin/boot |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
> 
> diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
> index 4284308..652ae0c 100644
> --- a/defaultenv/bin/boot
> +++ b/defaultenv/bin/boot
> @@ -18,6 +18,9 @@ elif [ x$1 = xnfs ]; then
>  elif [ x$1 = xtftp ]; then
>  	rootfs_loc=net
>  	kernel_loc=tftp
> +elif [ x$1 = xdisk ]; then
> +	rootfs_loc=disk
> +	kernel_loc=disk
>  fi

please waiit I'm send patch to improve boot with swithing to getopt


Best Regards,
J.



More information about the barebox mailing list