-SUBDIR= am335x beagle panda imx sunxi
+SUBDIR= am335x beagle panda imx cubie
.include <bsd.subdir.mk>
@df -i ${MOUNT_POINT}
-umount ${MOUNT_POINT}
.if ${PLATFORM} == "SUNXI"
- dd if=/usr/mdec/sunxi/sunxi-spl.bin of=${VND_CDEV} bs=1024 seek=8
- dd if=/usr/mdec/sunxi/u-boot.bin of=${VND_CDEV} bs=1024 seek=32
+ dd if=/usr/mdec/${BOARD}/u-boot-sunxi-with-spl.bin \
+ of=${VND_CDEV} bs=1024 seek=8
.endif
-vnconfig -u ${VND}
--- /dev/null
+BOARD= cubie
+PLATFORM=SUNXI
+LOADADDR=0x40200000
+
+.include "${.CURDIR}/../Makefile.inc"
+++ /dev/null
-BOARD= sunxi
-PLATFORM=SUNXI
-LOADADDR=0x40200000
-
-.include "${.CURDIR}/../Makefile.inc"
-# $OpenBSD: install.md,v 1.5 2014/02/26 16:01:32 maja Exp $
+# $OpenBSD: install.md,v 1.6 2015/01/26 01:55:55 jsg Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
mmcboot=mmc rescan ; fatload mmc 0 ${LOADADDR} bsd.umg && bootm ${LOADADDR};
uenvcmd=run mmcboot;
__EOT
- cp /mnt/usr/mdec/sunxi/{sunxi-spl,u-boot}.bin /mnt/mnt/
+ cp /mnt/usr/mdec/cubie/u-boot-sunxi-with-spl.bin /mnt/mnt/
fi
}
-dnl $OpenBSD: contents,v 1.5 2014/11/10 07:15:41 jsg Exp $
+dnl $OpenBSD: contents,v 1.6 2015/01/26 01:55:55 jsg Exp $
TopPart
miniroot-am335x-{:--:}OSrev.fs
A miniroot filesystem to be used for
installation; PandaBoard (ES) version.
- miniroot-sunxi-{:--:}OSrev.fs
+ miniroot-cubie-{:--:}OSrev.fs
A miniroot filesystem to be used for
- installation; Allwinner A1X/A20 version.
+ installation; Cubieboard1 version.
OpenBSDdistsets
-dnl $OpenBSD: prep,v 1.5 2014/11/14 06:12:36 jsg Exp $
+dnl $OpenBSD: prep,v 1.6 2015/01/26 01:55:55 jsg Exp $
Please be aware that OpenBSD support for this platform is far from
complete.
OpenBSD can be installed onto a disk by copying the miniroot for your
-board "miniroot-{am335x,beagle,imx,panda,sunxi}-{:--:}OSrev.fs"
+board "miniroot-{am335x,beagle,imx,panda,cubie}-{:--:}OSrev.fs"
image to an SD card or by booting the ramdisk kernel over the network
using a TFTP server.
-# $OpenBSD: Makefile.inc,v 1.5 2014/03/05 14:47:34 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2015/01/26 01:55:55 jsg Exp $
ALLSOC=IMX OMAP SUNXI
KERNELS=
MDEXT+= miniroot-am335x-${OSrev}.fs miniroot-beagle-${OSrev}.fs \
miniroot-imx-${OSrev}.fs miniroot-panda-${OSrev}.fs \
- miniroot-sunxi-${OSrev}.fs
+ miniroot-cubie-${OSrev}.fs