diff options
author | thorpej <thorpej@pkgsrc.org> | 2019-05-08 05:06:48 +0000 |
---|---|---|
committer | thorpej <thorpej@pkgsrc.org> | 2019-05-08 05:06:48 +0000 |
commit | 3928b7fbcb8c1bbc2fd6cf7cf2d680b5f09109b8 (patch) | |
tree | 4ccc6a96f21f6426ef38460be1754189d4fbb303 /sysutils/u-boot-beagleboneblack | |
parent | 9535bdb1e91ebcc3a7f1ff1f5364c9dadd60b33b (diff) | |
download | pkgsrc-3928b7fbcb8c1bbc2fd6cf7cf2d680b5f09109b8.tar.gz |
Add installboot(8) overlay support.
Diffstat (limited to 'sysutils/u-boot-beagleboneblack')
-rw-r--r-- | sysutils/u-boot-beagleboneblack/Makefile | 6 | ||||
-rw-r--r-- | sysutils/u-boot-beagleboneblack/PLIST | 3 | ||||
-rw-r--r-- | sysutils/u-boot-beagleboneblack/files/installboot.plist | 53 |
3 files changed, 59 insertions, 3 deletions
diff --git a/sysutils/u-boot-beagleboneblack/Makefile b/sysutils/u-boot-beagleboneblack/Makefile index 963c7a049c0..93afc4f5950 100644 --- a/sysutils/u-boot-beagleboneblack/Makefile +++ b/sysutils/u-boot-beagleboneblack/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.5 2019/04/26 08:32:28 skrll Exp $ +# $NetBSD: Makefile,v 1.6 2019/05/08 05:14:20 thorpej Exp $ UBOOT_TARGET= beagleboneblack UBOOT_CONFIG= am335x_boneblack_defconfig UBOOT_BIN= u-boot.img UBOOT_BIN+= MLO -PKGREVISION= 3 +UBOOT_INSTALLBOOT_PLIST=installboot.plist + +PKGREVISION= 4 .include "../../sysutils/u-boot/u-boot-arm.mk" diff --git a/sysutils/u-boot-beagleboneblack/PLIST b/sysutils/u-boot-beagleboneblack/PLIST index fb5cd577e07..87eff96926d 100644 --- a/sysutils/u-boot-beagleboneblack/PLIST +++ b/sysutils/u-boot-beagleboneblack/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2017/08/26 18:46:07 sevan Exp $ +@comment $NetBSD: PLIST,v 1.3 2019/05/08 05:14:20 thorpej Exp $ share/u-boot/beagleboneblack/MLO +share/u-boot/beagleboneblack/installboot.plist share/u-boot/beagleboneblack/u-boot.img diff --git a/sysutils/u-boot-beagleboneblack/files/installboot.plist b/sysutils/u-boot-beagleboneblack/files/installboot.plist new file mode 100644 index 00000000000..49dfc0a6921 --- /dev/null +++ b/sysutils/u-boot-beagleboneblack/files/installboot.plist @@ -0,0 +1,53 @@ +<!-- $NetBSD: installboot.plist,v 1.1 2019/05/08 05:14:20 thorpej Exp $ --> +<!-- + Copyright (c) 2019 The NetBSD Foundation, Inc. + All rights reserved. + + This code is derived from software contributed to The NetBSD Foundation + by Jason R. Thorpe. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +--> +<plist> +<dict> + <key>ti,am335x-bone-black</key> + <dict> + <key>description</key> + <string>TI AM335x BeagleBone Black</string> + <key>u-boot-install</key> + <array> + <dict> + <key>file-name</key> + <string>MLO</string> + <key>image-offset</key> + <integer>131072</integer> + </dict> + <dict> + <key>file-name</key> + <string>u-boot.img</string> + <key>image-offset</key> + <integer>393216</integer> + </dict> + </array> + </dict> +</dict> +</plist> |