pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot-rockpro64-ayufan sysutils/u-boot-rockp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/063977c050dd
branches:  trunk
changeset: 426815:063977c050dd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 06 15:08:34 2020 +0000

description:
sysutils/u-boot-rockpro64-ayufan: import u-boot-rockpro64-ayufan-2020.01.2007

This package provides U-Boot for the rk3399-based RockPRO64 from PINE64;
built from ayufan's branch.

This branch has improved boot device support that does not yet exist
in mainline U-Boot. For example for booting from SPI, NVMe and AHCI.

diffstat:

 sysutils/u-boot-rockpro64-ayufan/DESCR                   |   9 +++
 sysutils/u-boot-rockpro64-ayufan/MESSAGE                 |  14 ++++
 sysutils/u-boot-rockpro64-ayufan/Makefile                |  22 +++++++
 sysutils/u-boot-rockpro64-ayufan/PLIST                   |   6 ++
 sysutils/u-boot-rockpro64-ayufan/distinfo                |   6 ++
 sysutils/u-boot-rockpro64-ayufan/files/installboot.plist |  47 ++++++++++++++++
 6 files changed, 104 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/DESCR    Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,9 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for the rk3399-based RockPRO64 from PINE64;
+built from ayufan's branch.
+
+This branch has improved boot device support that does not yet exist
+in mainline U-Boot. For example for booting from SPI, NVMe and AHCI.
diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/MESSAGE  Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,14 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2020/04/06 15:08:34 tnn Exp $
+
+Example command to install U-Boot to an empty SD card:
+
+# dd if=${LOCALBASE}/share/u-boot/rockpro64/rksd_loader.img seek=64 of=/dev/rld0d
+
+Alternatively, to install to SPI flash:
+
+dd if=${LOCALBASE}/share/u-boot/rockpro64/rkspi_loader.img bs=64k of=/dev/spiflash0
+
+See also http://opensource.rock-chips.com/wiki_Boot_option
+
+===========================================================================
diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/Makefile Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/04/06 15:08:34 tnn Exp $
+
+UBOOT_TARGET=          rockpro64
+UBOOT_CONFIG=          rockpro64-rk3399_defconfig
+UBOOT_BIN=             idbloader.img rksd_loader.img rkspi_loader.img u-boot.itb
+
+UBOOT_INSTALLBOOT_PLIST=       installboot.plist
+
+U_BOOT_IMAGE_TYPE=     rk3399
+
+DISTINFO_FILE?=         ${.CURDIR}/../../sysutils/u-boot-rockpro64-ayufan/distinfo
+PATCHDIR?=              ${.CURDIR}/../../sysutils/u-boot-rockpro64-ayufan/patches
+
+UBOOT_VERSION=  2020.01.2007
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=ayufan-rock64/}
+GITHUB_PROJECT=        linux-mainline-u-boot
+GITHUB_TAG=    2020.01-ayufan-2007-g928e3ac6
+DISTNAME=      u-boot-rockpro64-ayufan-${GITHUB_TAG}
+EXTRACT_SUFX=  .tar.gz # keep this
+PKGNAME=       u-boot-rockpro64-ayufan-${UBOOT_VERSION}
+
+.include "../../sysutils/u-boot/u-boot-rockchip.mk"
diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/PLIST    Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/06 15:08:34 tnn Exp $
+share/u-boot/rockpro64/idbloader.img
+share/u-boot/rockpro64/installboot.plist
+share/u-boot/rockpro64/rksd_loader.img
+share/u-boot/rockpro64/rkspi_loader.img
+share/u-boot/rockpro64/u-boot.itb
diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/distinfo Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/06 15:08:34 tnn Exp $
+
+SHA1 (u-boot-rockpro64-ayufan-2020.01-ayufan-2007-g928e3ac6.tar.gz) = 3c7f28393cd9e1264202127d48066cf005713f09
+RMD160 (u-boot-rockpro64-ayufan-2020.01-ayufan-2007-g928e3ac6.tar.gz) = 6efbfa81544e7c5987063215f8b79bb9813c885a
+SHA512 (u-boot-rockpro64-ayufan-2020.01-ayufan-2007-g928e3ac6.tar.gz) = 
6713258a35e4c493ab483418d3257ea69e261fb1b875ee7350e72c1ecfebf9d3922bbdf854ac94a4cd9b7632d2520d08d027e6709202e5a65dc537a9241025fd
+Size (u-boot-rockpro64-ayufan-2020.01-ayufan-2007-g928e3ac6.tar.gz) = 18847582 bytes
diff -r 174a7b7d30cf -r 063977c050dd sysutils/u-boot-rockpro64-ayufan/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-rockpro64-ayufan/files/installboot.plist  Mon Apr 06 15:08:34 2020 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2020/04/06 15:08:34 tnn Exp $ -->
+<!--
+  Copyright (c) 2020 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>pine64,rockpro64</key>
+       <dict>
+               <key>description</key>
+               <string>Pine64 RockPro64</string>
+               <key>u-boot-install</key>
+               <array>
+                       <dict>
+                               <key>file-name</key>
+                               <string>rksd_loader.img</string>
+                               <key>image-offset</key>
+                               <integer>32768</integer>
+                       </dict>
+               </array>
+       </dict>
+</dict>
+</plist>



Home | Main Index | Thread Index | Old Index