mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] defaultenv: make 'boot' work from subdirs
@ 2011-01-10 11:19 Wolfram Sang
  2011-01-10 19:50 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2011-01-10 11:19 UTC (permalink / raw)
  To: barebox

Wrong pathnames prevented that.

Signed-off-by: Wolfram Sang <w.sang@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@0x8000(kernelraw)
+	addpart /dev/ram0 8M@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@8M(kernel)
+	addpart /dev/ram0 8M@8M(kernel)
 fi
 
 if [ x$kernel_loc = xnet ]; then
-- 
1.7.2.3


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

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

* Re: [PATCH] defaultenv: make 'boot' work from subdirs
  2011-01-10 11:19 [PATCH] defaultenv: make 'boot' work from subdirs Wolfram Sang
@ 2011-01-10 19:50 ` Uwe Kleine-König
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2011-01-10 19:50 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: barebox

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@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@0x8000(kernelraw)
> +	addpart /dev/ram0 8M@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@8M(kernel)
> +	addpart /dev/ram0 8M@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/  |

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

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

end of thread, other threads:[~2011-01-10 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 11:19 [PATCH] defaultenv: make 'boot' work from subdirs Wolfram Sang
2011-01-10 19:50 ` Uwe Kleine-König

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