From patchwork Fri Jun 25 19:33:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1497427 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jcWpAsID; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GBRxy1MdPz9sTD for ; Sat, 26 Jun 2021 05:33:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 93EC2841E1; Fri, 25 Jun 2021 19:33:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BqsKKng0rAyi; Fri, 25 Jun 2021 19:33:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id E0D6F83FA7; Fri, 25 Jun 2021 19:33:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A76E91BF333 for ; Fri, 25 Jun 2021 19:33:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 94B1F83FE5 for ; Fri, 25 Jun 2021 19:33:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZkMzcwAj1Icb for ; Fri, 25 Jun 2021 19:33:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by smtp1.osuosl.org (Postfix) with ESMTPS id AF81183FA7 for ; Fri, 25 Jun 2021 19:33:25 +0000 (UTC) Received: by mail-lf1-x12b.google.com with SMTP id a15so10247407lfr.6 for ; Fri, 25 Jun 2021 12:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9tI8ir7teRzQXcqrqi4AN2ok47BjSXSl/ZwZDcYJ7bM=; b=jcWpAsIDM5TKs2R5p2rIatPF20yHuK4CdSjbNruoknlZyc8lkvOyo7mfXmF4O4P2Qx OufewpKIjIpjgpQYQsxUPWIHmU0jYJu9HFiwsT5f2fVw9hLaMbHoREYbvogZZdxdSBGh zz0ZfYZQ3hw7zBxpazhLGx5AjpzDr6ka6pmjus4TVWtbQDT0KCUJWKkBaCXM+2zPgPYG juzDa8i7hNZelJXZwFScsrHFhRpH5w8fI1BieEYtVluJHxKRdRAdOgcAziAwbDlD6ijm aWpLiYsHdy2KV8RSC2rgP8jQy/nhhYabcZNmZd04ty3bOwBeFKglIX9pNt+haV4fSwky eBvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9tI8ir7teRzQXcqrqi4AN2ok47BjSXSl/ZwZDcYJ7bM=; b=I6yJD23QSmE0MwK2Ei8W3doh3dXa05vAKO8VtJvenBmDt5lLgXwWNINk3Bpb2bgIz4 dkJMkrvLE74sZcS0rJXw7NIeYs5W0de5NrQCkUfYppjCnKf8KXkyPlu7ZI9iPywb5XVQ 1jAvquWb3kv1XcU2mxdYr9um+DXK5+stImsW7nPkEEU5CHaHv9P99XsKpdwL1QzQ6BkV RqVBbnRTtrNFxhWE5a4wczi81ie4oATDTEWiq/vFDU3GFtntxU9MiewYbb77s2gYaHf7 0J54/FCLSWpqF9pnNCX7ajyfTfK6bbXsp3Z8YlSQL14CTxQszI8mhYEkrZK6QMvz6WzA LZ3A== X-Gm-Message-State: AOAM530vwZigIOVxSabW3s19cmzux5bwyOps8RxNkUV/6thRlaGWswuq IMJ2Crlfd/kaq50LLP2tYH4v7Iy2ReY= X-Google-Smtp-Source: ABdhPJzIziAKrG6rPL2zKiNMOsm8GjbtHuQewW9gpTr3H5/V7i+pvFjsuSWkWiTXuWcZAK/ekcmaHA== X-Received: by 2002:a05:6512:1381:: with SMTP id p1mr9222956lfa.367.1624649603509; Fri, 25 Jun 2021 12:33:23 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id i13sm683114ljn.80.2021.06.25.12.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 12:33:23 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Fri, 25 Jun 2021 22:33:16 +0300 Message-Id: <20210625193318.635449-4-geomatsi@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210625193318.635449-1-geomatsi@gmail.com> References: <20210625193318.635449-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 3/5] support/testing/tests/boot/test_atf: update U-Boot in TestATFAllwinner X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Thiery , "Yann E . MORIN" , Sergey Matyukevich , =?utf-8?q?Christoph_M=C3=BCllner?= Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot version in TestATFAllwinner. Updating U-Boot version to 2021.04 requires the following two changes. First, after switching to binman, u-boot.itb is no more generated for 64-bit sunxi boards. Combined u-boot-sunxi-with-spl.bin image should be used instead. This image contains SPL, U-Boot, and FIT image, where FIT image contains other binaries such as BL31 and SCP. Second, new U-Boot enables support for System Control Processor (SCP) firmware. SCP firmware is included by default into FIT image in the combined u-boot-sunxi-with-spl.bin binary. When SCP is not available or not needed, it should be explicitly disabled by pointing to an empty file. Support for Allwinner SCP firmware is not yet available neither in Buildroot nor in mainline kernel. So disable it for now using custom U-Boot build options. Signed-off-by: Sergey Matyukevich --- support/testing/tests/boot/test_atf.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py index 8c29fbd594..915e0a5093 100644 --- a/support/testing/tests/boot/test_atf.py +++ b/support/testing/tests/boot/test_atf.py @@ -42,16 +42,15 @@ class TestATFAllwinner(infra.basetest.BRTest): BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y - BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" + BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y - BR2_TARGET_UBOOT_FORMAT_CUSTOM=y - BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" BR2_TARGET_UBOOT_SPL=y - BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" + BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" + BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" """ def test_run(self):