Rename miniroot-sunxi to miniroot-cubie as the u-boot included
authorjsg <jsg@openbsd.org>
Mon, 26 Jan 2015 01:55:55 +0000 (01:55 +0000)
committerjsg <jsg@openbsd.org>
Mon, 26 Jan 2015 01:55:55 +0000 (01:55 +0000)
in the image is for Cubieboard1.  Discussed with bmercer@
While here switch from using the separate spl and u-boot images
to the combined spl and u-boot 'u-boot-sunxi-with-spl.bin'.

distrib/armv7/miniroot/Makefile
distrib/armv7/miniroot/Makefile.inc
distrib/armv7/miniroot/cubie/Makefile [new file with mode: 0644]
distrib/armv7/miniroot/sunxi/Makefile [deleted file]
distrib/armv7/ramdisk/install.md
distrib/notes/armv7/contents
distrib/notes/armv7/prep
etc/etc.armv7/Makefile.inc

index 01ad1ee..a27cf05 100644 (file)
@@ -1,3 +1,3 @@
-SUBDIR= am335x beagle panda imx sunxi
+SUBDIR= am335x beagle panda imx cubie
 
 .include <bsd.subdir.mk>
index 10dbc67..af51d31 100644 (file)
@@ -76,8 +76,8 @@ rd_teardown:
        @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}
 
diff --git a/distrib/armv7/miniroot/cubie/Makefile b/distrib/armv7/miniroot/cubie/Makefile
new file mode 100644 (file)
index 0000000..5d95b9e
--- /dev/null
@@ -0,0 +1,5 @@
+BOARD= cubie
+PLATFORM=SUNXI
+LOADADDR=0x40200000
+
+.include "${.CURDIR}/../Makefile.inc"
diff --git a/distrib/armv7/miniroot/sunxi/Makefile b/distrib/armv7/miniroot/sunxi/Makefile
deleted file mode 100644 (file)
index d87fa21..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BOARD= sunxi
-PLATFORM=SUNXI
-LOADADDR=0x40200000
-
-.include "${.CURDIR}/../Makefile.inc"
index b493d37..dfc893b 100644 (file)
@@ -1,4 +1,4 @@
-#      $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.
@@ -111,7 +111,7 @@ bootargs=sd0i:/bsd
 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
 }
 
index 425df0f..a9a81e9 100644 (file)
@@ -1,4 +1,4 @@
-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
@@ -17,9 +17,9 @@ TopPart
                        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
 
index 7dd5a73..c1e6506 100644 (file)
@@ -1,9 +1,9 @@
-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.
 
index 744f91d..4f44675 100644 (file)
@@ -1,4 +1,4 @@
-#      $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=
@@ -40,4 +40,4 @@ bootblocks:
 
 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