Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 10455782C0C for ; Tue, 8 Jun 2021 00:14:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EF2165BE00; Tue, 8 Jun 2021 02:14:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lYDoadkFWmFo; Tue, 8 Jun 2021 02:14:34 +0200 (CEST) From: Maxim Karasev DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1623111274; bh=o76wjSTSZj2k+aWRakDKbpq9DQ12pCclGwqpweMUsxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=dp+jVgdrIH5MWxJg0qJk29K/bSgtPo+8gjbVHCtSvRs1HRjSDoEVTsCuCf9VkxCgg 2yi6gcZupLjwIAkLKGtdFgORxKeu2KjwAQd8A4PmEQwohXpwc8SmOIaWXgw5cyQE9h w9JHftPr7HUwSaQClPt3rv1wsCajl0NwOkdiBX/cp2GB36S1VSKyTHdsrSPII6qYVb VFYbbzO+Lsorz7ErhDm0zZlajsQMWQ2BWbTXFwzMbzv5Be8xPtff8XFG+QJkZ3IK3U LMHw0IuPZ1o96oFTQ7cqoEqC2UEq31LSEnN6msdVXY+0Fmp0zI/74GrBJw9qqOXIr4 0gnSsQDxLV0XA== To: alpine-aports@lists.alpinelinux.org Cc: Maxim Karasev Subject: [PATCH v2 2/2] main/u-boot: build for orangepi_3 and fix paths to arm trusted firmware Date: Tue, 8 Jun 2021 03:14:40 +0300 Message-Id: <20210608001438.13948-2-begs@disroot.org> In-Reply-To: <20210608001438.13948-1-begs@disroot.org> References: <20210608001438.13948-1-begs@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/u-boot/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD index b6f5ab4dfa..bcf5a1ba45 100644 --- a/main/u-boot/APKBUILD +++ b/main/u-boot/APKBUILD @@ -1,9 +1,10 @@ # Contributor: He Yangxuan # Contributor: Timo Teras +# Contributor: Maxim Karasev # Maintainer: Milan P. Stanić 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 +13,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 +45,7 @@ aarch64) board_configs=" qemu:qemu_arm64 pine64:pine64-lts pinebook:pinebook + orangepi:orangepi_3 ";; esac @@ -71,7 +73,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