From patchwork Tue Jan 7 17:06:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1218956 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="FBnpJLAx"; dkim-atps=neutral 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) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47sf1T3JqDz9sRG for ; Wed, 8 Jan 2020 04:06:53 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EB3980379; Tue, 7 Jan 2020 18:06:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="FBnpJLAx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE0B180396; Tue, 7 Jan 2020 18:06:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 214FB80227 for ; Tue, 7 Jan 2020 18:06:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1578416797; bh=ra1U990S1M7AupysZyNhMAHyqWhEi8lEtulVtqIJCxE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=FBnpJLAx8tKg99vsm1+qhuXMQHzdzcvQInAX4lpo1SmWAZ9eEdHLvBTZhaMlFDfhR nAyccvvBvYw8jajg6Q40gjZBvvEg+WqF311QsmaA/gVEQMnDG5OuGAAfNChTw31nyt k8Vv/0E3kGC/3+eMELUG+kL86wTW6Q5OXQl7zoEE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([84.119.33.160]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N7i8O-1jkUyl0icE-014gjy; Tue, 07 Jan 2020 18:06:37 +0100 From: Heinrich Schuchardt To: Stephen Warren Subject: [PATCH 1/1] travis-ci: provide env__efi_fit_tftp_file Date: Tue, 7 Jan 2020 18:06:33 +0100 Message-Id: <20200107170633.2939-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:TEQOZEhfxK/yD/UgHjwnxS8LbtUcmDp1YtEtMQ/NlSnsLd64zsf WK53saPq50BCrG0U7OuJX8VwDWXQ3ZLoNhZMVge2zovU1H+0qn2BMbr2S3KajlOXIq2c/bL G5MpAhMg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TSFL9njO03YzR6GveDzA6sS4l+L YRGevePfISfpMPfkgJj/oNxQ9XtIlbrmNUfKfgb7Z+0pLuRQI/om7bwB9atmyIvDiQHPzmmKd a8jQiGxzQZ60wGYy6Jnw82bDVTezyuQoxEFuRvXWUvxWfvcIQQc6li8xdw1R31kkTx8tJNKWN jr1ACF23Ux/nNLBVD5sGegauaiSTQ7+pToboAwhxopJ31iS+nWdo6YeY7v+76o3pNphtTDhUZ FJycELsRR8wiXvi4tRxRciJa2zEeszHQHkxKZKpap5dfUBX1OSA3r3n22A3dJ94VsJ4aYvWyD FPKwXxIDK3X3HHZG8+WjLjmmjnL/js53JgQDjl+6TfS37qv8cyq/GTmD3Q/0= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Rini , Stephen Warren , Heinrich Schuchardt , Cristian Ciocaltea , u-boot@lists.denx.de, Alexander Graf Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Provide dictionary env__efi_fit_tftp_file describing the file used for the UEFI FIT image test. Signed-off-by: Heinrich Schuchardt Acked-by: Stephen Warren --- v3: do not supply 'fn' do not use a function to supply env__efi_fit_tftp_file v2: remove quotes around tftp_dir --- py/travis-ci/u_boot_boardenv_qemu_arm64_na.py | 5 +++++ py/travis-ci/u_boot_boardenv_qemu_arm_na.py | 5 +++++ py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py | 5 +++++ py/travis-ci/u_boot_boardenv_qemu_x86_na.py | 5 +++++ py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py | 4 ++++ py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py | 4 ++++ 6 files changed, 28 insertions(+) -- 2.24.1 diff --git a/py/travis-ci/u_boot_boardenv_qemu_arm64_na.py b/py/travis-ci/u_boot_boardenv_qemu_arm64_na.py index 2986115..c5fae0f 100644 --- a/py/travis-ci/u_boot_boardenv_qemu_arm64_na.py +++ b/py/travis-ci/u_boot_boardenv_qemu_arm64_na.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_uses_pci = True @@ -6,3 +7,7 @@ env__net_dhcp_server = True env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000) env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi', 0x40400000) env__efi_loader_grub_file = travis_tftp.file2env('grub_arm64.efi', 0x40400000) +env__efi_fit_tftp_file = { + 'addr' : 0x40400000, + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} diff --git a/py/travis-ci/u_boot_boardenv_qemu_arm_na.py b/py/travis-ci/u_boot_boardenv_qemu_arm_na.py index 391e3c4..2a1cd90 100644 --- a/py/travis-ci/u_boot_boardenv_qemu_arm_na.py +++ b/py/travis-ci/u_boot_boardenv_qemu_arm_na.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_uses_pci = True @@ -6,3 +7,7 @@ env__net_dhcp_server = True env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000) env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi', 0x40400000) env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi', 0x40400000) +env__efi_fit_tftp_file = { + 'addr' : 0x40400000, + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} diff --git a/py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py b/py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py index 6f7c593..2e6cb94 100644 --- a/py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py +++ b/py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_uses_pci = True @@ -8,3 +9,7 @@ env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworl env__efi_loader_check_smbios = True env__efi_loader_grub_file = travis_tftp.file2env('grub_x64.efi') + +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} diff --git a/py/travis-ci/u_boot_boardenv_qemu_x86_na.py b/py/travis-ci/u_boot_boardenv_qemu_x86_na.py index 70dc0ae..b4b886c 100644 --- a/py/travis-ci/u_boot_boardenv_qemu_x86_na.py +++ b/py/travis-ci/u_boot_boardenv_qemu_x86_na.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_uses_pci = True @@ -8,3 +9,7 @@ env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworl env__efi_loader_check_smbios = True env__efi_loader_grub_file = travis_tftp.file2env('grub_x86.efi') + +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} diff --git a/py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py b/py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py index 7437ae6..8b7dcc6 100644 --- a/py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py +++ b/py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_dhcp_server = True @@ -5,3 +6,6 @@ env__net_dhcp_server = True env__net_tftp_readable_file = travis_tftp.file2env('u-boot') env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi') env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi') +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} diff --git a/py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py b/py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py index 7437ae6..8b7dcc6 100644 --- a/py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py +++ b/py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py @@ -1,3 +1,4 @@ +import os import travis_tftp env__net_dhcp_server = True @@ -5,3 +6,6 @@ env__net_dhcp_server = True env__net_tftp_readable_file = travis_tftp.file2env('u-boot') env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi') env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi') +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +}