summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorRaphael Graf <rapha@cvs.openbsd.org>2013-07-09 10:35:42 +0000
committerRaphael Graf <rapha@cvs.openbsd.org>2013-07-09 10:35:42 +0000
commit8bfb1cc55df25579f593ecd859f06c9c4fc0b7b8 (patch)
tree0f5618ef0049d1b43f97cef6c6e25e6ac9373444 /distrib
parent4ec9686cf24c8a15e94d84554f3db00aaa3ce110 (diff)
Select the correct mlo/u-boot files for the BeagleBone.
ok florian@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/beagle/ramdisk/install.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/distrib/beagle/ramdisk/install.md b/distrib/beagle/ramdisk/install.md
index 6639874c942..5a295fe2db1 100644
--- a/distrib/beagle/ramdisk/install.md
+++ b/distrib/beagle/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.5 2013/06/11 16:04:43 florian Exp $
+# $OpenBSD: install.md,v 1.6 2013/07/09 10:35:41 rapha Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -39,10 +39,13 @@ md_installboot() {
/mnt/usr/sbin/chroot /mnt /usr/sbin/mkuboot -a arm -o linux \
-e 0x80300000 -l 0x80300000 /bsd.img /mnt/bsd.umg
cp -r /tmp/u-boots/* /mnt/usr/mdec/
- BEAGLE=$(scan_dmesg '/^omap0 at mainbus0: \(Beagle\).*/s//\1/p')
+ BEAGLE=$(scan_dmesg '/^omap0 at mainbus0: \(BeagleBoard\).*/s//\1/p')
+ BEAGLEBONE=$(scan_dmesg '/^omap0 at mainbus0: \(BeagleBone\).*/s//\1/p')
PANDA=$(scan_dmesg '/^omap0 at mainbus0: \(PandaBoard\)/s//\1/p')
if [[ -n $BEAGLE ]]; then
cp /mnt/usr/mdec/beagle/{mlo,u-boot.bin} /mnt/mnt/
+ elif [[ -n $BEAGLEBONE ]]; then
+ cp /mnt/usr/mdec/am335x/{mlo,u-boot.bin} /mnt/mnt/
elif [[ -n $PANDA ]]; then
cp /mnt/usr/mdec/panda/{mlo,u-boot.bin} /mnt/mnt/
fi