[PATCH 3/3] defaultenv: create /dev/ram0.kernel at offset 8M

Marc Kleine-Budde mkl at pengutronix.de
Tue Aug 24 16:26:12 EDT 2010


otherwise uImages won't boot.

Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
 defaultenv/bin/boot |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index a9e589b..6476bdb 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -62,7 +62,7 @@ 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(kernel)
+	addpart dev/ram0 8M at 8M(kernel)
 fi
 
 if [ x$kernel_loc = xnet ]; then
-- 
1.7.1




More information about the barebox mailing list