~sircmpwn/alpine-aports (mirror)

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 3

[PATCH 1/2] main/arm-trusted-firmware: build for sun50i_h6 and upgrade to 2.5

Details
Message ID
<20210608000356.11344-1-begs@disroot.org>
DKIM signature
pass
Download raw message
Patch: +11 -12
This will allow to add support for H6 devices to alpine's u-boot package
and make this process simplier for other SoCs.
---
 main/arm-trusted-firmware/APKBUILD | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/main/arm-trusted-firmware/APKBUILD b/main/arm-trusted-firmware/APKBUILD
index 472a1f3421..b5f8be569a 100644
--- a/main/arm-trusted-firmware/APKBUILD
+++ b/main/arm-trusted-firmware/APKBUILD
@@ -1,32 +1,31 @@
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Contributor: Maxim Karasev <begs@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=arm-trusted-firmware
pkgver=2.3
pkgver=2.5
pkgrel=0
pkgdesc="ARM Trusted Firmware-A (TF-A)"
url="https://github.com/ARM-software/arm-trusted-firmware"
arch="aarch64"
license="BSD-3-Clause"
makedepends="dtc openssl-dev"
subpackages="$pkgname-sun50i"
source="https://github.com/ARM-software/arm-trusted-firmware/archive/v$pkgver/arm-trusted-firmware-v$pkgver.tar.gz
	rk3399-baudrate.patch
	"
	rk3399-baudrate.patch"
options="!check" # No tests

_plats="sun50i_a64 sun50i_h6"

build() {
	unset LDFLAGS
	make PLAT=sun50i_a64 bl31
	for plat in $_plats; do
		make PLAT=$plat bl31
	done
}

package() {
	mkdir -p "$pkgdir"/usr/share/$pkgname
}
sun50i() {
	pkgdesc="ARM Trusted Firmware-A for sun50i"

	mkdir -p "$subpkgdir"/usr/share/$subpkgname
	install "$builddir"/build/sun50i_a64/release/bl31.bin "$subpkgdir"/usr/share/$subpkgname/
	for plat in $_plats; do
		install -D "$builddir"/build/$plat/release/bl31.bin "$pkgdir"/usr/share/$pkgname/$plat/bl31.bin
	done
}

sha512sums="c7d65e3d7cb9ee4502beac1a9e2e4e1c9f8d439412c457ee6a24e391ddba0b9becda8f1ed2c1356d92a5c0615b943b59f4e15686e6a4648d944d6bf2c060a957  arm-trusted-firmware-v2.3.tar.gz
-- 
2.32.0

[PATCH 2/2] main/u-boot: build for orangepi_3 and fix paths to arm trusted firmware

Details
Message ID
<20210608000356.11344-2-begs@disroot.org>
In-Reply-To
<20210608000356.11344-1-begs@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Patch: +7 -3
---
 main/u-boot/APKBUILD | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD
index b6f5ab4dfa..c6a7e850b5 100644
--- a/main/u-boot/APKBUILD
+++ b/main/u-boot/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=u-boot
pkgver=2021.04
pkgrel=0
pkgrel=1
pkgdesc="u-boot bootloader common files"
url="https://www.denx.de/wiki/U-Boot/"
arch="all !s390x !ppc64le"
@@ -12,7 +12,7 @@ license="GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs
makedepends="$depends_dev bc dtc python3-dev swig bison flex openssl-dev
	py3-setuptools linux-headers"
if [ "$CARCH" = "aarch64" ]; then
	makedepends="$makedepends arm-trusted-firmware-sun50i"
	makedepends="$makedepends arm-trusted-firmware"
fi
source="https://ftp.denx.de/pub/u-boot/u-boot-${pkgver//_/-}.tar.bz2
	README.txt
@@ -44,6 +44,7 @@ aarch64) board_configs="
	qemu:qemu_arm64
	pine64:pine64-lts
	pinebook:pinebook
	orangepi:orangepi_3
	";;
esac

@@ -71,7 +72,10 @@ build() {

			case "$board" in
				"pine64-lts"|"pinebook")
					export BL31="/usr/share/arm-trusted-firmware-sun50i/bl31.bin"
					export BL31="/usr/share/arm-trusted-firmware/sun50i_a64/bl31.bin"
					;;
				"orangepi_3")
					export BL31="/usr/share/arm-trusted-firmware/sun50i_h6/bl31.bin"
					;;
			esac

-- 
2.32.0
Maxim Karasev
Details
Message ID
<162423009948.6885.4629116558755910063.gitlab.22115.f5c47c21ebaf50cd55718f345020b1842fd4a902@listserv.local>
In-Reply-To
<20210608000356.11344-1-begs@disroot.org> (view parent)
DKIM signature
missing
Download raw message
Superseded by !22116

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/22115#note_164028
algitbot
Details
Message ID
<162682560185.6885.15530225210667900643.gitlab.22115.a36c5bbd16cae5a6d8e1a239afe3f0f7248d7efb@listserv.local>
In-Reply-To
<20210608000356.11344-1-begs@disroot.org> (view parent)
DKIM signature
missing
Download raw message
Sorry to bother you @mailinglist-bot,

but we've detected that this merge request hasn't seen any recent activity. If you need help or want to discuss your approach with developers you can ping `@team/mentors`. You can also ask on IRC on `#alpine-devel` on irc.oftc.net. If no further activity occurs in this MR, Alpine developers may close it in the future.

Thanks for your contribution.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/22115#note_169559
Reply to thread Export thread (mbox)