[PATCH] defaultenv: make 'boot' work from subdirs
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Jan 10 14:50:34 EST 2011
Hi Wolfram,
On Mon, Jan 10, 2011 at 12:19:18PM +0100, Wolfram Sang wrote:
> Wrong pathnames prevented that.
>
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> ---
> defaultenv/bin/boot | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
> index 42c7ec2..4c2975d 100644
> --- a/defaultenv/bin/boot
> +++ b/defaultenv/bin/boot
> @@ -56,13 +56,13 @@ fi
>
> if [ ! -e /dev/ram0.kernelraw ]; then
> # arm raw kernel images are usually located at sdram start + 0x8000
> - addpart dev/ram0 8M at 0x8000(kernelraw)
> + addpart /dev/ram0 8M at 0x8000(kernelraw)
> fi
>
> if [ ! -e /dev/ram0.kernel ]; then
> # Here we can safely put the kernel without risking of overwriting it
> # while extracting
> - addpart dev/ram0 8M at 8M(kernel)
> + addpart /dev/ram0 8M at 8M(kernel)
> fi
I stumbled over this one some time ago, too. but never came around to
look for its cause. Thanks, looks good.
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the barebox
mailing list