pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/u-boot-rockpro64-ayufan



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr  6 15:08:34 UTC 2020

Added Files:
        pkgsrc/sysutils/u-boot-rockpro64-ayufan: DESCR MESSAGE Makefile PLIST
            distinfo
        pkgsrc/sysutils/u-boot-rockpro64-ayufan/files: installboot.plist

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-rockpro64-ayufan/DESCR \
    pkgsrc/sysutils/u-boot-rockpro64-ayufan/MESSAGE \
    pkgsrc/sysutils/u-boot-rockpro64-ayufan/Makefile \
    pkgsrc/sysutils/u-boot-rockpro64-ayufan/PLIST \
    pkgsrc/sysutils/u-boot-rockpro64-ayufan/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/u-boot-rockpro64-ayufan/files/installboot.plist

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/DESCR:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/DESCR       Mon Apr  6 15:08:34 2020
@@ -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.
Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/MESSAGE
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/MESSAGE:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/MESSAGE     Mon Apr  6 15:08:34 2020
@@ -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
+
+===========================================================================
Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/Makefile:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/Makefile    Mon Apr  6 15:08:34 2020
@@ -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"
Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/PLIST:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/PLIST       Mon Apr  6 15:08:34 2020
@@ -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
Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/distinfo
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/distinfo:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/distinfo    Mon Apr  6 15:08:34 2020
@@ -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

Index: pkgsrc/sysutils/u-boot-rockpro64-ayufan/files/installboot.plist
diff -u /dev/null pkgsrc/sysutils/u-boot-rockpro64-ayufan/files/installboot.plist:1.1
--- /dev/null   Mon Apr  6 15:08:34 2020
+++ pkgsrc/sysutils/u-boot-rockpro64-ayufan/files/installboot.plist     Mon Apr  6 15:08:34 2020
@@ -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