From patchwork Wed Jun 9 19:59:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1490050 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::136; helo=smtp3.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=NtKnlyUz; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (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 4G0dJL1d6mz9sRf for ; Thu, 10 Jun 2021 06:00:34 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0D0C0607F2; Wed, 9 Jun 2021 20:00:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xqM6H7fMXhaO; Wed, 9 Jun 2021 20:00:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 49417607B5; Wed, 9 Jun 2021 20:00:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 5A6B81BF9C1 for ; Wed, 9 Jun 2021 20:00:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 444B940217 for ; Wed, 9 Jun 2021 20:00:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AdJS_FI2Rmmo for ; Wed, 9 Jun 2021 20:00:14 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by smtp2.osuosl.org (Postfix) with ESMTPS id E57CA400AB for ; Wed, 9 Jun 2021 20:00:13 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id n12so32914105lft.10 for ; Wed, 09 Jun 2021 13:00:13 -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:mime-version :content-transfer-encoding; bh=cGIhOPl8u214dSZ2DvQzvD9fXEs/UyW5PtXKR4iradg=; b=NtKnlyUzpmCTgGpKKMgP2D7K6bkBjH8C1MecPS9VmlzN2ZQ4fuh8ncGZO9pvvKBHxm MneJN4zXx+W9u9rQ8LQW1FbYPPTmHcf/RNao4HQbJm4buAGlEoFksAwVZm/siS4XOGL8 YYKUkkvFW0jXIe0MA6TOzFCuM0AWa5xQHaBCVzR1E/yDKy8ayB6EVhUPCCeINMEApobY K2QCTwA43n/KbcKvhu8shMEOSETrMikdQThrXy+EWPKQ9GeOv7YzU4Y9r/qg43paDivO 7QwwTos1QdyUbWov34VrzeZBDsjBTKi7JTWY1ccZ5O379EPaVgdzpWzH/ijwm7UAfHj5 ot5A== 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:mime-version :content-transfer-encoding; bh=cGIhOPl8u214dSZ2DvQzvD9fXEs/UyW5PtXKR4iradg=; b=JMHoQWiddTnoMbKYj/35UIVDlF0usJjx/spdgmbD7NmAXbtnIPmG+RzxG3t5hnp577 0ONZyUi8sPgHb0sR03BrMIhMbifiPq+5hEd50W+d8n6AzHTkzQEhTdBdvUY7AseYi6rQ BLj6QHV9MQvCwfQIscmH7CSkOXYvjZhgR+whvjrTWfq4EAqJvukbMjUL/QxBbPbTThUL MRT5JZmoO7gdZpz+f7Vp8rqpqJkspOSP51V0cXEVUr2k1U2n8rlshgUwvUSPM4uOd2jP 0KdRjQYWfUStSllCBVJJcBnlU7ftNk2IO2C7V+Gfvh9x4hqpsMhMYw0I0J4ryv1acoF3 MRZA== X-Gm-Message-State: AOAM533cWIfPXzVGN/T3gqnEI9oVM4hJM5wQyidwxWrUKPxdhesk5656 deWL1sHs/QPWPehm4Z6P7a6Ck2M55g1Vtg== X-Google-Smtp-Source: ABdhPJyO23U7SL8s1jMcoLuk3fZEV+AbrDXBkshW2seHKETKD11Cjc8ow6nsWgWLqpbVlZL6KHzrBg== X-Received: by 2002:a05:6512:1392:: with SMTP id p18mr725137lfa.294.1623268811326; Wed, 09 Jun 2021 13:00:11 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id y21sm77100lfk.191.2021.06.09.13.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 13:00:10 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Wed, 9 Jun 2021 22:59:35 +0300 Message-Id: <20210609200003.2866122-1-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 00/28] sunxi: use mainline arm-trusted-firmware 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: Louis Aussedat , Sergey Matyukevich , Jan Kraval , Marcin Niestroj , Jagan Teki , Suniel Mahesh , Heiko Thiery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hi all, This is the second revision of the patch set that updates BSP on H5/A64 sunxi boards. The following changes are suggested: - introduce new ATF option to explicitly disable GCC stack protection when platform does not support it - switch from early Allwinner ATF port to mainline ATF for all H6/A64 boards - bump Linux kernel version - bump U-Boot version -- switch to combined u-boot-sunxi-with-spl.bin image -- for now disable support for Allwinner SCP firmware Note that only ATF is modified for amarula_a64_relic_defconfig. That board uses vendor kernel from their github repo. I do not have any idea which tag/branch is better to use. Finally, let me re-iterate once again: I have only orangepi-zero-plus2 board at my disposal. So only this board has been tested. For all the other boards only build tests have been completed. ATF provides only basic support for H5/A64 and SCP firmware is disabled, so I do not expect any surprises here. But still, any help with boot tests on other H5/A64 sunxi boards is more than welcome. Regards, Sergey v2: - as per Heiko Thiery suggestion, bump mainline ATF version to v2.5 - cleanup commit messages: use 'mainline' instead of 'upstream' Sergey Matyukevich (28): boot/arm-trusted-firmware: option to disable stack protection support/testing: switch TestATFAllwinner to mainline ATF support/testing/tests/boot/test_atf: update U-Boot in TestATFAllwinner configs/orangepi_zero_plus2_defconfig: switch to mainline ATF configs/bananapi_m64_defconfig: switch to mainline ATF configs/orangepi_zero_plus_defconfig: switch to mainline ATF configs/orangepi_pc2_defconfig: switch to mainline ATF configs/orangepi_prime_defconfig: switch to mainline ATF configs/orangepi_win_defconfig: switch to mainline ATF configs/friendlyarm_nanopi_a64_defconfig: switch to mainline ATF configs/friendlyarm_nanopi_neo2_defconfig: switch to mainline ATF configs/friendlyarm_nanopi_neo_plus2_defconfig: switch to mainline ATF configs/amarula_a64_relic_defconfig: switch to mainline ATF configs/olimex_a64_olinuxino_defconfig: switch to mainline ATF configs/pine64_defconfig: switch to mainline ATF configs/pine64_sopine_defconfig: switch to mainline ATF configs/orangepi-zero-plus2: bump BSP versions configs/bananapi_m64_defconfig: bump BSP versions configs/orangepi_zero_plus_defconfig: bump BSP versions configs/orangepi_pc2_defconfig: bump BSP versions configs/orangepi_prime_defconfig: bump BSP versions configs/orangepi_win_defconfig: bump BSP versions configs/friendlyarm_nanopi_a64_defconfig: bump BSP versions configs/friendlyarm_nanopi_neo2_defconfig: bump BSP versions configs/friendlyarm_nanopi_neo_plus2_defconfig: bump BSP versions configs/olimex_a64_olinuxino_defconfig: bump BSP versions configs/pine64_defconfig: bump BSP versions configs/pine64_sopine_defconfig: bump BSP versions board/bananapi/bananapi-m64/genimage.cfg | 10 ++------ board/friendlyarm/nanopi-a64/genimage.cfg | 10 ++------ .../friendlyarm/nanopi-neo-plus2/genimage.cfg | 10 ++------ board/friendlyarm/nanopi-neo2/genimage.cfg | 10 ++------ board/olimex/a64-olinuxino/genimage.cfg | 10 ++------ board/orangepi/orangepi-pc2/genimage.cfg | 10 ++------ board/orangepi/orangepi-prime/genimage.cfg | 10 ++------ board/orangepi/orangepi-win/genimage.cfg | 10 ++------ .../orangepi/orangepi-zero-plus/genimage.cfg | 10 ++------ .../orangepi/orangepi-zero-plus2/genimage.cfg | 10 ++------ board/pine64/pine64/genimage.cfg | 10 ++------ board/pine64/sopine/genimage.cfg | 10 ++------ boot/arm-trusted-firmware/Config.in | 7 ++++++ .../arm-trusted-firmware.mk | 4 ++++ configs/amarula_a64_relic_defconfig | 8 +++---- configs/bananapi_m64_defconfig | 21 ++++++++--------- configs/friendlyarm_nanopi_a64_defconfig | 21 ++++++++--------- configs/friendlyarm_nanopi_neo2_defconfig | 21 ++++++++--------- .../friendlyarm_nanopi_neo_plus2_defconfig | 20 ++++++++-------- configs/olimex_a64_olinuxino_defconfig | 21 ++++++++--------- configs/orangepi_pc2_defconfig | 21 ++++++++--------- configs/orangepi_prime_defconfig | 21 ++++++++--------- configs/orangepi_win_defconfig | 23 ++++++++++--------- configs/orangepi_zero_plus2_defconfig | 19 ++++++++------- configs/orangepi_zero_plus_defconfig | 19 ++++++++------- configs/pine64_defconfig | 22 +++++++++--------- configs/pine64_sopine_defconfig | 21 ++++++++--------- support/testing/tests/boot/test_atf.py | 16 ++++++------- 28 files changed, 168 insertions(+), 237 deletions(-)