From 162b6d16e695c87af0f5726de504554cbb48b929 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Tue, 11 Jun 2013 16:00:51 +0000 Subject: 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@ --- distrib/beagle/miniroot/Makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'distrib') 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 \ -- cgit v1.2.3