summaryrefslogtreecommitdiff
path: root/distrib/armv7/miniroot
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-03-27 00:40:39 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-03-27 00:40:39 +0000
commitc260a2ef606d187a67e1446b6bce63d66aaa1655 (patch)
tree2682a3465857b2cfdc66a0f1c81ed73023d39f52 /distrib/armv7/miniroot
parent77ef9fbed3b3708ed084573703f3d7d08b23f8e6 (diff)
Switch from the solidrun i.mx6 u-boot to mainline u-boot on cubox i.
The offset of u-boot.img in the disk image changes to be the same as wandboard.
Diffstat (limited to 'distrib/armv7/miniroot')
-rw-r--r--distrib/armv7/miniroot/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index cee8438993c..d936647ce83 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -56,7 +56,7 @@ do_files:
${MKUBOOT} -t script -a arm -o linux boot.cmd boot.scr
cp boot.scr ${MOUNT_POINT}/boot.scr
dd if=/usr/mdec/cubox/SPL of=${VND_CDEV} bs=1024 seek=1
- dd if=/usr/mdec/cubox/u-boot.img of=${VND_CDEV} bs=1024 seek=42
+ dd if=/usr/mdec/cubox/u-boot.img of=${VND_CDEV} bs=1024 seek=69
.endif
.if ${BOARD} == "wandboard"
echo "; setenv loadaddr ${LOADADDR} ; setenv bootargs sd0i:/bsd.umg ; for dtype in mmc ; do for disk in 0 1 ; do \$${dtype} dev \$${disk} ; for fs in fat ext2 ; do if \$${fs}load \$${dtype} \$${disk}:1 \$${loadaddr} bsd.umg ; then bootm \$${loadaddr} ; fi ; done; done; done; echo; echo failed to load bsd.umg" > boot.cmd