summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2013-06-11 16:00:51 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2013-06-11 16:00:51 +0000
commit162b6d16e695c87af0f5726de504554cbb48b929 (patch)
tree2fc97ca6f3dc94a81e87b981cdbdf60dd15d9674 /distrib
parent87ec4d0a7261cb745e6895e690e30d8b418b81d1 (diff)
Store mlo/u-boot.bin for all supported boards on miniroot to be copied
back in the installer for release(8). While there switch u-boot config from boot.scr to uenv.txt OK bmercer@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/beagle/miniroot/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/beagle/miniroot/Makefile.inc b/distrib/beagle/miniroot/Makefile.inc
index 9daa2df49a1..20e339d905a 100644
--- a/distrib/beagle/miniroot/Makefile.inc
+++ b/distrib/beagle/miniroot/Makefile.inc
@@ -30,10 +30,11 @@ ${IMAGE}: rd_setup do_files rd_teardown
.endif
do_files:
- cp ${.OBJDIR}/../../../../sys/arch/beagle/stand/boot.scr/boot.scr \
- ${MOUNT_POINT}/boot.scr
+ echo 'bootcmd=mmc rescan ; setenv loadaddr 0x82800000 ; setenv bootargs sd0i:/bsd.umg ; fatload mmc 0 $${loadaddr} bsd.umg ; bootm $${loadaddr} ;\nuenvcmd=boot' > ${MOUNT_POINT}/uenv.txt
cp /usr/mdec/${BOARD}/mlo ${MOUNT_POINT}/mlo
cp /usr/mdec/${BOARD}/u-boot.bin ${MOUNT_POINT}/u-boot.bin
+ mkdir ${MOUNT_POINT}/u-boots
+ cp -r /usr/mdec/{am335x,beagle,panda} ${MOUNT_POINT}/u-boots
objcopy -O binary ${.OBJDIR}/../../ramdisk/bsd.rd \
${.OBJDIR}/bsdrd.img
mkuboot -a arm -o linux -e 0x80300000 -l 0x80300000 \