Khadas Edge and VIM, other fixes

This commit is contained in:
Peter Robinson 2019-12-08 11:21:39 +00:00
parent 88d70fd395
commit 0b08ed6c72
4 changed files with 75 additions and 70 deletions

View File

@ -12,8 +12,12 @@ ficus-rk3399
firefly-rk3399 firefly-rk3399
geekbox geekbox
hikey hikey
khadas-edge-captain-rk3399
khadas-edge-v-rk3399
khadas-edge-rk3399
khadas-vim khadas-vim
khadas-vim2 khadas-vim2
khadas-vim3
libretech-ac libretech-ac
libretech_all_h3_cc_h5 libretech_all_h3_cc_h5
libretech-cc libretech-cc

View File

@ -1,35 +1,24 @@
From 097ce774b6739aa6a52e4d79e2920e3ef5af41d3 Mon Sep 17 00:00:00 2001 From 961918a6fcbab383c92135f5cad5ea758bdaef79 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com> From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 31 Oct 2019 09:19:23 +0000 Date: Wed, 4 Dec 2019 23:27:10 +0000
Subject: [PATCH] tools: fix version.h Subject: [PATCH] tools fix
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
--- ---
Makefile | 6 +++--- Makefile | 1 +
1 file changed, 3 insertions(+), 3 deletions(-) 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile diff --git a/Makefile b/Makefile
index 58a5721b3d..7b40069d9f 100644 index 556cebdfc4..4bcf4d677f 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -1848,14 +1848,14 @@ checkarmreloc: u-boot @@ -1894,6 +1894,7 @@ checkarmreloc: u-boot
false; \
fi fi
-tools/version.h: include/version.h tools/version.h: include/version.h
+version.h: include/version.h + $(Q)mkdir -p $(dir $@)
$(call if_changed,copy) $(call if_changed,copy)
-envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
+envtools: scripts_basic $(version_h) $(timestamp_h) version.h
$(Q)$(MAKE) $(build)=tools/env
tools-only: export TOOLS_ONLY=y
-tools-only: scripts_basic $(version_h) $(timestamp_h) tools/version.h
+tools-only: scripts_basic $(version_h) $(timestamp_h) version.h
$(Q)$(MAKE) $(build)=tools
tools-all: export HOST_TOOLS_ALL=y
-- --
2.23.0 2.23.0

View File

@ -2,7 +2,7 @@
Name: uboot-tools Name: uboot-tools
Version: 2020.01 Version: 2020.01
Release: 0.6%{?candidate:.%{candidate}}%{?dist} Release: 0.7%{?candidate:.%{candidate}}%{?dist}
Summary: U-Boot utilities Summary: U-Boot utilities
License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+ License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+
URL: http://www.denx.de/wiki/U-Boot URL: http://www.denx.de/wiki/U-Boot
@ -233,7 +233,7 @@ cp -p board/warp/README builds/docs/README.warp
cp -p board/warp7/README builds/docs/README.warp7 cp -p board/warp7/README builds/docs/README.warp7
%files %files
%doc README doc/imx doc/README.kwbimage doc/README.distro doc/README.gpt %doc README doc/README.kwbimage doc/README.distro doc/README.gpt
%doc doc/README.odroid doc/README.rockchip doc/uefi doc/uImage.FIT doc/arch/arm64.rst %doc doc/README.odroid doc/README.rockchip doc/uefi doc/uImage.FIT doc/arch/arm64.rst
%doc doc/README.chromium builds/docs/* %doc doc/README.chromium builds/docs/*
%{_bindir}/* %{_bindir}/*
@ -253,6 +253,10 @@ cp -p board/warp7/README builds/docs/README.warp7
%endif %endif
%changelog %changelog
* Thu Dec 5 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2020.01-0.7-rc4
- Enable the Khadas Edge and VIM series of devices
- Minor other fixes
* Tue Dec 3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2020.01-0.6-rc4 * Tue Dec 3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2020.01-0.6-rc4
- Fixes for AllWinner, Raspberry Pi, Rockchip, Xilinx ZynqMP - Fixes for AllWinner, Raspberry Pi, Rockchip, Xilinx ZynqMP

View File

@ -1,9 +1,9 @@
From patchwork Tue Dec 3 13:34:58 2019 From patchwork Thu Dec 5 08:46:57 2019
Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0 MIME-Version: 1.0
Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Michal Simek <michal.simek@xilinx.com> X-Patchwork-Submitter: Michal Simek <michal.simek@xilinx.com>
X-Patchwork-Id: 1203703 X-Patchwork-Id: 1204536
Return-Path: <u-boot-bounces@lists.denx.de> Return-Path: <u-boot-bounces@lists.denx.de>
X-Original-To: incoming@patchwork.ozlabs.org X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org
@ -18,24 +18,24 @@ Authentication-Results: ozlabs.org;
dkim=fail reason="signature verification failed" (2048-bit key; dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=monstr-eu.20150623.gappssmtp.com unprotected) header.d=monstr-eu.20150623.gappssmtp.com
header.i=@monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com
header.b="jRbgIEeD"; dkim-atps=neutral header.b="F7yFmrcr"; dkim-atps=neutral
Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits)) key-exchange X25519 server-signature RSA-PSS (4096 bits))
(No client certificate requested) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 47S3BR4jKtz9sR7 by ozlabs.org (Postfix) with ESMTPS id 47T8mj1rxFz9sPT
for <incoming@patchwork.ozlabs.org>; for <incoming@patchwork.ozlabs.org>;
Wed, 4 Dec 2019 00:44:47 +1100 (AEDT) Thu, 5 Dec 2019 19:59:49 +1100 (AEDT)
Received: by phobos.denx.de (Postfix, from userid 109) Received: by phobos.denx.de (Postfix, from userid 109)
id CC7BF81624; Tue, 3 Dec 2019 14:44:44 +0100 (CET) id DC15F81730; Thu, 5 Dec 2019 09:59:15 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.denx.de X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.denx.de
X-Spam-Level: X-Spam-Level:
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED,
MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,
URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2
Received: from phobos.denx.de (localhost [IPv6:::1]) Received: from phobos.denx.de (localhost [IPv6:::1])
by phobos.denx.de (Postfix) with ESMTP id B50BD80901; by phobos.denx.de (Postfix) with ESMTP id AD3C281702;
Tue, 3 Dec 2019 14:44:12 +0100 (CET) Thu, 5 Dec 2019 09:47:37 +0100 (CET)
Authentication-Results: mail.denx.de; Authentication-Results: mail.denx.de;
dmarc=none (p=none dis=none) header.from=xilinx.com dmarc=none (p=none dis=none) header.from=xilinx.com
Authentication-Results: mail.denx.de; Authentication-Results: mail.denx.de;
@ -44,59 +44,60 @@ Authentication-Results: mail.denx.de;
dkim=fail reason="signature verification failed" (2048-bit key; dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=monstr-eu.20150623.gappssmtp.com unprotected) header.d=monstr-eu.20150623.gappssmtp.com
header.i=@monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com
header.b="jRbgIEeD"; dkim-atps=neutral header.b="F7yFmrcr"; dkim-atps=neutral
Received: by phobos.denx.de (Postfix, from userid 109) Received: by phobos.denx.de (Postfix, from userid 109)
id C809980901; Tue, 3 Dec 2019 14:44:09 +0100 (CET) id EFEE0816D6; Thu, 5 Dec 2019 09:47:35 +0100 (CET)
Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com
[209.85.221.68]) [209.85.128.68])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))
(No client certificate requested) (No client certificate requested)
by phobos.denx.de (Postfix) with ESMTPS id 32C4081828 by phobos.denx.de (Postfix) with ESMTPS id 13F3481702
for <u-boot@lists.denx.de>; Tue, 3 Dec 2019 14:35:05 +0100 (CET) for <u-boot@lists.denx.de>; Thu, 5 Dec 2019 09:47:05 +0100 (CET)
Authentication-Results: mail.denx.de; Authentication-Results: mail.denx.de;
dmarc=none (p=none dis=none) header.from=xilinx.com dmarc=none (p=none dis=none) header.from=xilinx.com
Authentication-Results: mail.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Authentication-Results: mail.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu
Received: by mail-wr1-f68.google.com with SMTP id c14so3678946wrn.7 Received: by mail-wm1-f68.google.com with SMTP id p9so2672948wmc.2
for <u-boot@lists.denx.de>; Tue, 03 Dec 2019 05:35:05 -0800 (PST) for <u-boot@lists.denx.de>; Thu, 05 Dec 2019 00:47:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=monstr-eu.20150623.gappssmtp.com; s=20150623; d=monstr-eu.20150623.gappssmtp.com; s=20150623;
h=sender:from:to:cc:subject:date:message-id:mime-version h=sender:from:to:cc:subject:date:message-id:mime-version
:content-transfer-encoding; :content-transfer-encoding;
bh=Cm6gQWLkk/+5jek3dvRRAOkfCxAi+n+YRN+ZTQR2FHo=; bh=zKC9njDJvxTe218gXlGDt/iSWcQwlzyEn/MHFrB1GUk=;
b=jRbgIEeDUORknOe9qVPm4LptQigs2tytbss1dEwuK+OXROAETXd9oUKQ4lUG+1iOvX b=F7yFmrcrJYGseyeuyhzqQujaDM8FvSqw3O1Pfmlh+SK6+tZ7BLQ6+XIDpi5DQAIzHs
Tid7F+uJZ3urEn2pwCtU89SWYZAYA5XdKZgrQfk6Fs8jgoojVbHdWLCdLFDi8N6WE0TB 9Oe0co+RlaN+ypuEKw69o+zmaAHwbQoupL2LBoVJkAcVDseWpjatJtapzpyfUVqhfUaw
TefM3xfA7QwJeV9QQEJS+IqDNItUcrFBKzw09ABBVRqXsUHB2luZuaw1w72PXdcCP65o XRFXuVzSyRx64eELCzcR7Hl5ioK9Q7Y/tjvV07IHac4Uc8N0N/LS66Rj/49Reo4DGIhT
TWHYXVjIo5BGAn4XTNDuK9LyLaSVCld5zRHZvAYfDDGReHAtXGfkpcIohgmicVPjoDZd ThR6PDhriY0ANIDa8KnxQpQBiMuSuC4lTz3BuDMM/7LbS4r7Yy89EC+4wwXE4ZzXYAsO
qpUbc+6jK7aFnXNzxxJ1eqpjvnmX+7md9aS+e96pdPJ+Q3yRKgeSXcLbiIYBhBPEuu7S Kykj/rvg7d+BW8O1g3bxbDQVy/5IVDqslArlUH6xZpNOKDxwfLAvkAIvQiV/YJlNC1hQ
nuDg== f+OQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025; d=1e100.net; s=20161025;
h=x-gm-message-state:sender:from:to:cc:subject:date:message-id h=x-gm-message-state:sender:from:to:cc:subject:date:message-id
:mime-version:content-transfer-encoding; :mime-version:content-transfer-encoding;
bh=Cm6gQWLkk/+5jek3dvRRAOkfCxAi+n+YRN+ZTQR2FHo=; bh=zKC9njDJvxTe218gXlGDt/iSWcQwlzyEn/MHFrB1GUk=;
b=XXEYwNGUqe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tjHg==
X-Received: by 2002:adf:fe12:: with SMTP id n18mr5128119wrr.158.1575380104990; X-Received: by 2002:a7b:cc0c:: with SMTP id f12mr3835348wmh.5.1575535624294;
Tue, 03 Dec 2019 05:35:04 -0800 (PST) Thu, 05 Dec 2019 00:47:04 -0800 (PST)
Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) Received: from localhost (nat-35.starnet.cz. [178.255.168.35])
by smtp.gmail.com with ESMTPSA id by smtp.gmail.com with ESMTPSA id
72sm3710284wrl.73.2019.12.03.05.35.03 a7sm11805025wrr.50.2019.12.05.00.47.03
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Tue, 03 Dec 2019 05:35:04 -0800 (PST) Thu, 05 Dec 2019 00:47:03 -0800 (PST)
From: Michal Simek <michal.simek@xilinx.com> From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de, To: u-boot@lists.denx.de,
git@xilinx.com, git@xilinx.com,
pbrobinson@gmail.com pbrobinson@gmail.com
Subject: [PATCH] arm64: zynqmp: Add support for u-boot.itb generation with ATF. Subject: [PATCH v2] arm64: zynqmp: Add support for u-boot.itb generation with
Date: Tue, 3 Dec 2019 14:34:58 +0100 ATF
Message-Id: <5568e78d8e06c2ce6a86c88ee42509a0c80fc4ef.1575380094.git.michal.simek@xilinx.com> Date: Thu, 5 Dec 2019 09:46:57 +0100
Message-Id: <311b20ae349e6a93714c227df5907667d1cb9463.1575535613.git.michal.simek@xilinx.com>
X-Mailer: git-send-email 2.24.0 X-Mailer: git-send-email 2.24.0
MIME-Version: 1.0 MIME-Version: 1.0
X-BeenThere: u-boot@lists.denx.de X-BeenThere: u-boot@lists.denx.de
@ -110,8 +111,7 @@ List-Post: <mailto:u-boot@lists.denx.de>
List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help>
List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, List-Subscribe: <https://lists.denx.de/listinfo/u-boot>,
<mailto:u-boot-request@lists.denx.de?subject=subscribe> <mailto:u-boot-request@lists.denx.de?subject=subscribe>
Cc: Marek Vasut <marex@denx.de>, Stefan Roese <sr@denx.de>, Cc: Marek Vasut <marex@denx.de>, Stefan Roese <sr@denx.de>
Chris Packham <judge.packham@gmail.com>
Errors-To: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de
Sender: "U-Boot" <u-boot-bounces@lists.denx.de> Sender: "U-Boot" <u-boot-bounces@lists.denx.de>
X-Virus-Scanned: clamav-milter 0.101.4 at mail.denx.de X-Virus-Scanned: clamav-milter 0.101.4 at mail.denx.de
@ -124,9 +124,17 @@ this gap.
Tested on zcu102, zcu104 and zcu100/Ultra96. Tested on zcu102, zcu104 and zcu100/Ultra96.
zcu100/Ultra96 v2.2 ATF build by:
make DEBUG=0 ZYNQMP_CONSOLE=cadence1 RESET_TO_BL31=1 PLAT=zynqmp bl31
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
--- ---
Changes in v2:
- Exchange u-boot/atf in config section
- Use default ATF baseaddr from mainline
- Update commit message
Kconfig | 3 +- Kconfig | 3 +-
arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 99 +++++++++++++++++++++++++ arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 99 +++++++++++++++++++++++++
include/configs/xilinx_zynqmp.h | 6 +- include/configs/xilinx_zynqmp.h | 6 +-
@ -156,7 +164,7 @@ index e22417ec4471..7efafffec0a4 100644
Specifies a (platform specific) script file to generate the FIT Specifies a (platform specific) script file to generate the FIT
diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
new file mode 100755 new file mode 100755
index 000000000000..1a4f396d1c3a index 000000000000..c50aba45ca5c
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh +++ b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
@@ -0,0 +1,99 @@ @@ -0,0 +1,99 @@
@ -170,7 +178,7 @@ index 000000000000..1a4f396d1c3a
+ +
+BL33="u-boot-nodtb.bin" +BL33="u-boot-nodtb.bin"
+[ -z "$BL31" ] && BL31="bl31.bin" +[ -z "$BL31" ] && BL31="bl31.bin"
+[ -z "$ATF_LOAD_ADDR" ] && ATF_LOAD_ADDR="0xfffe0000" +[ -z "$ATF_LOAD_ADDR" ] && ATF_LOAD_ADDR="0xfffea000"
+[ -z "$BL33_LOAD_ADDR" ] && BL33_LOAD_ADDR="0x8000000" +[ -z "$BL33_LOAD_ADDR" ] && BL33_LOAD_ADDR="0x8000000"
+ +
+if [ ! -f $BL31 ]; then +if [ ! -f $BL31 ]; then
@ -247,8 +255,8 @@ index 000000000000..1a4f396d1c3a
+cat << __CONF_SECTION1_EOF +cat << __CONF_SECTION1_EOF
+ config_$cnt { + config_$cnt {
+ description = "$(basename $dtname .dtb)"; + description = "$(basename $dtname .dtb)";
+ firmware = "uboot"; + firmware = "atf";
+ loadables = "atf"; + loadables = "uboot";
+ fdt = "fdt_$cnt"; + fdt = "fdt_$cnt";
+ }; + };
+__CONF_SECTION1_EOF +__CONF_SECTION1_EOF