Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Rock64 U-Boot Image
@ 2020-04-21  9:45 CameronNemo
  2020-04-21 10:01 ` [PR PATCH] [Updated] " CameronNemo
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: CameronNemo @ 2020-04-21  9:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3531 bytes --]

From 28ecabf5b230b3d169b6b82e75f74c6295437dca Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From bdb473d02e39674050c6afd6b6499c934d07b803 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..aa9e5fe774d
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.04
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
@ 2020-04-21 10:01 ` CameronNemo
  2020-04-24  2:44 ` CameronNemo
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-04-21 10:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From ab138522e240611e75f90db12ef0014d24669161 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From d843f6870b9885109439f3ac52b655eafcf8f01e Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..14bf9aec642
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.04
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
  2020-04-21 10:01 ` [PR PATCH] [Updated] " CameronNemo
@ 2020-04-24  2:44 ` CameronNemo
  2020-05-11 19:27 ` CameronNemo
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-04-24  2:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From 783761364c4d0000eb7342cadb566bf53fbb2b0f Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 57e4ccc29f99c82e2f01ae71a8895f28c7b44f88 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..14bf9aec642
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.04
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
  2020-04-21 10:01 ` [PR PATCH] [Updated] " CameronNemo
  2020-04-24  2:44 ` CameronNemo
@ 2020-05-11 19:27 ` CameronNemo
  2020-08-08 19:19 ` CameronNemo
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-05-11 19:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From d7e47268c5529bb5c350d44d651374a1031046ae Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From e217c6da9f0156bed6078dc01f9fb03a9ce60f23 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..14bf9aec642
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.04
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (2 preceding siblings ...)
  2020-05-11 19:27 ` CameronNemo
@ 2020-08-08 19:19 ` CameronNemo
  2020-08-08 19:19 ` CameronNemo
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-08-08 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From 26df5cfec4c94df27fdffc7afb5a8d3ce2b05742 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 43644a167515474dc32c5390bdf42e53ddc98074 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..14bf9aec642
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.04
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (3 preceding siblings ...)
  2020-08-08 19:19 ` CameronNemo
@ 2020-08-08 19:19 ` CameronNemo
  2020-08-08 19:19 ` CameronNemo
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-08-08 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From 26df5cfec4c94df27fdffc7afb5a8d3ce2b05742 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From bc86156acdaa7d6790606546425ffdfaec0441f8 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.04.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..dea01807f50
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (4 preceding siblings ...)
  2020-08-08 19:19 ` CameronNemo
@ 2020-08-08 19:19 ` CameronNemo
  2020-08-16 11:21 ` [PR REVIEW] " Piraty
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-08-08 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have yet to test it on my device, hence the draft PR.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3600 bytes --]

From 26df5cfec4c94df27fdffc7afb5a8d3ce2b05742 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From fa740d0b9a17a5efc94780e619dc9aabbcf386e1 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.07.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..dea01807f50
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,49 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+		touch include/stddef.h
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (5 preceding siblings ...)
  2020-08-08 19:19 ` CameronNemo
@ 2020-08-16 11:21 ` Piraty
  2020-09-02 15:57 ` [PR PATCH] [Updated] " CameronNemo
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Piraty @ 2020-08-16 11:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r471100401

Comment:
https://github.com/void-linux/void-packages/pull/24307

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (6 preceding siblings ...)
  2020-08-16 11:21 ` [PR REVIEW] " Piraty
@ 2020-09-02 15:57 ` CameronNemo
  2020-09-02 15:58 ` [PR REVIEW] " CameronNemo
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-02 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have tested the boot on my device.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3525 bytes --]

From 1ade6fe406aee315e1a1a9f9bbd7b428c07503f7 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..762ebdc0d9f
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,27 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+build_style=gnu-makefile
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 7e8b097f132460b0465cd755305f7c236286b163 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.07.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 46 +++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..b373d5b3992
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,46 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (7 preceding siblings ...)
  2020-09-02 15:57 ` [PR PATCH] [Updated] " CameronNemo
@ 2020-09-02 15:58 ` CameronNemo
  2020-09-02 17:15 ` Piraty
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-02 15:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r482183995

Comment:
removed

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (8 preceding siblings ...)
  2020-09-02 15:58 ` [PR REVIEW] " CameronNemo
@ 2020-09-02 17:15 ` Piraty
  2020-09-02 21:10 ` CameronNemo
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Piraty @ 2020-09-02 17:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r482236429

Comment:
that's obsolete if you provide all of the `do_*()` functions, no?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (9 preceding siblings ...)
  2020-09-02 17:15 ` Piraty
@ 2020-09-02 21:10 ` CameronNemo
  2020-09-02 21:11 ` [PR PATCH] [Updated] " CameronNemo
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-02 21:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r482475259

Comment:
yep thanks for pointing that out, removed the line

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (10 preceding siblings ...)
  2020-09-02 21:10 ` CameronNemo
@ 2020-09-02 21:11 ` CameronNemo
  2020-09-02 21:12 ` CameronNemo
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-02 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have tested the boot on my device.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3498 bytes --]

From db58f5073f3660451b40ece33e8e5f324da5627f Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..b257d5fae24
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,26 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 5fef0c6c744e4482f03c05d62ded927b4a5c5134 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.07.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 46 +++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..b373d5b3992
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,46 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+build_style=gnu-makefile
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (11 preceding siblings ...)
  2020-09-02 21:11 ` [PR PATCH] [Updated] " CameronNemo
@ 2020-09-02 21:12 ` CameronNemo
  2020-09-11 15:53 ` [PR REVIEW] " sgn
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-02 21:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have tested the boot on my device.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3472 bytes --]

From db58f5073f3660451b40ece33e8e5f324da5627f Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..b257d5fae24
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,26 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 38a70daad16ad498c0a3f9384174e369fb0c8aad Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.07.

[ci skip] travis may or may not like the ftp distfiles
---
 srcpkgs/rock64-uboot/template | 45 +++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..884f9a78574
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,45 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (12 preceding siblings ...)
  2020-09-02 21:12 ` CameronNemo
@ 2020-09-11 15:53 ` sgn
  2020-09-11 19:39 ` CameronNemo
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-09-11 15:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r487136985

Comment:
I think we can fetch it via `https`?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (13 preceding siblings ...)
  2020-09-11 15:53 ` [PR REVIEW] " sgn
@ 2020-09-11 19:39 ` CameronNemo
  2020-09-12 16:54 ` [PR PATCH] [Updated] " CameronNemo
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-11 19:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r487252330

Comment:
oh true, I will adjust that then. (and for #21199).

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (14 preceding siblings ...)
  2020-09-11 19:39 ` CameronNemo
@ 2020-09-12 16:54 ` CameronNemo
  2020-09-12 17:23 ` [PR REVIEW] " CameronNemo
  2020-09-13  0:39 ` [PR PATCH] [Merged]: " sgn
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-12 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages rock64-uboot
https://github.com/void-linux/void-packages/pull/21198

Rock64 U-Boot Image
This image uses the latest upstream sources and no binary blobs.
I have tested the boot on my device.

A patch file from https://github.com/void-linux/void-packages/pull/21198.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rock64-uboot-21198.patch --]
[-- Type: text/x-diff, Size: 3419 bytes --]

From d54fe1c685420e17f23436e73527f5c2ae40d59f Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:24:28 -0700
Subject: [PATCH 1/2] New Package: atf-rk3328-bl31-2.3.

---
 srcpkgs/atf-rk3328-bl31/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/atf-rk3328-bl31/template

diff --git a/srcpkgs/atf-rk3328-bl31/template b/srcpkgs/atf-rk3328-bl31/template
new file mode 100644
index 00000000000..b257d5fae24
--- /dev/null
+++ b/srcpkgs/atf-rk3328-bl31/template
@@ -0,0 +1,26 @@
+# Template file for 'atf-rk3328-bl31'
+pkgname=atf-rk3328-bl31
+version=2.3
+revision=1
+archs="aarch64*"
+wrksrc="trusted-firmware-a-${version}"
+short_desc="ARM Trusted Firmware for Rockchip rk3328 boards (ARMv8, bl31 option)"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
+distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
+checksum=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
+nostrip=yes
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
+	fi
+	make ${makejobs} PLAT=rk3328 bl31
+}
+
+do_install() {
+	vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
+	vlicense docs/license.rst
+}

From 713ed4ea20d99c30068ea5df249905a848fd6d8a Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 19 Apr 2020 21:25:09 -0700
Subject: [PATCH 2/2] New Package: rock64-uboot-2020.07.

---
 srcpkgs/rock64-uboot/template | 45 +++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 srcpkgs/rock64-uboot/template

diff --git a/srcpkgs/rock64-uboot/template b/srcpkgs/rock64-uboot/template
new file mode 100644
index 00000000000..d0c03cb2688
--- /dev/null
+++ b/srcpkgs/rock64-uboot/template
@@ -0,0 +1,45 @@
+# Template file for 'rock64-uboot'
+pkgname=rock64-uboot
+version=2020.07
+revision=1
+archs="aarch64*"
+wrksrc="u-boot-${version}"
+hostmakedepends="flex bc python3 swig python3-devel dtc"
+makedepends="atf-rk3328-bl31"
+short_desc="Das U-Boot for the Rock64 SBC"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="GPL-2.0-or-later, BSD-3-Clause"
+homepage="https://www.denx.de/wiki/U-Boot/"
+distfiles="https://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
+checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
+
+do_configure() {
+	make rock64-rk3328_defconfig
+}
+
+do_build() {
+	unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	if [ "$CROSS_BUILD" ]; then
+		export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
+	fi
+	make ${makejobs} EXTRAVERSION="-${revision}" \
+		BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
+}
+
+do_install() {
+	vinstall idbloader.img 0644 usr/lib/rock64-uboot
+	vinstall u-boot.itb 0644 usr/lib/rock64-uboot
+	vlicense Licenses/Exceptions
+	vlicense Licenses/OFL.txt
+	vlicense Licenses/README
+	vlicense Licenses/bsd-2-clause.txt
+	vlicense Licenses/bsd-3-clause.txt
+	vlicense Licenses/eCos-2.0.txt
+	vlicense Licenses/gpl-2.0.txt
+	vlicense Licenses/ibm-pibs.txt
+	vlicense Licenses/isc.txt
+	vlicense Licenses/lgpl-2.0.txt
+	vlicense Licenses/lgpl-2.1.txt
+	vlicense Licenses/r8a779x_usb3.txt
+	vlicense Licenses/x11.txt
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (15 preceding siblings ...)
  2020-09-12 16:54 ` [PR PATCH] [Updated] " CameronNemo
@ 2020-09-12 17:23 ` CameronNemo
  2020-09-13  0:39 ` [PR PATCH] [Merged]: " sgn
  17 siblings, 0 replies; 19+ messages in thread
From: CameronNemo @ 2020-09-12 17:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/21198#discussion_r487430283

Comment:
done here, will update the pbp PR at a later date

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Merged]: Rock64 U-Boot Image
  2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
                   ` (16 preceding siblings ...)
  2020-09-12 17:23 ` [PR REVIEW] " CameronNemo
@ 2020-09-13  0:39 ` sgn
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-09-13  0:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

There's a merged pull request on the void-packages repository

Rock64 U-Boot Image
https://github.com/void-linux/void-packages/pull/21198

Description:
This image uses the latest upstream sources and no binary blobs.
I have tested the boot on my device.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-09-13  0:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21  9:45 [PR PATCH] Rock64 U-Boot Image CameronNemo
2020-04-21 10:01 ` [PR PATCH] [Updated] " CameronNemo
2020-04-24  2:44 ` CameronNemo
2020-05-11 19:27 ` CameronNemo
2020-08-08 19:19 ` CameronNemo
2020-08-08 19:19 ` CameronNemo
2020-08-08 19:19 ` CameronNemo
2020-08-16 11:21 ` [PR REVIEW] " Piraty
2020-09-02 15:57 ` [PR PATCH] [Updated] " CameronNemo
2020-09-02 15:58 ` [PR REVIEW] " CameronNemo
2020-09-02 17:15 ` Piraty
2020-09-02 21:10 ` CameronNemo
2020-09-02 21:11 ` [PR PATCH] [Updated] " CameronNemo
2020-09-02 21:12 ` CameronNemo
2020-09-11 15:53 ` [PR REVIEW] " sgn
2020-09-11 19:39 ` CameronNemo
2020-09-12 16:54 ` [PR PATCH] [Updated] " CameronNemo
2020-09-12 17:23 ` [PR REVIEW] " CameronNemo
2020-09-13  0:39 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).