From patchwork Mon May 31 21:27:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485781 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=EcURQkpm; 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 4Fv7gh4fNtz9sXL for ; Tue, 1 Jun 2021 07:28:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6477083C3E; Mon, 31 May 2021 21:28:13 +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 NLtpjBFoE5tJ; Mon, 31 May 2021 21:28:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id B1CE983C3F; Mon, 31 May 2021 21:28:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0C8001BF334 for ; Mon, 31 May 2021 21:27:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id EFB2060755 for ; Mon, 31 May 2021 21:27:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 qDCdvBywDYpW for ; Mon, 31 May 2021 21:27:57 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by smtp3.osuosl.org (Postfix) with ESMTPS id 0B45160658 for ; Mon, 31 May 2021 21:27:56 +0000 (UTC) Received: by mail-lf1-x133.google.com with SMTP id f11so9695447lfq.4 for ; Mon, 31 May 2021 14:27:56 -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=9SHU5lluYMc7UZAltr8yjM3Qde78wAh2VAROCypI348=; b=EcURQkpmLpr3jg7XSXTLVCFU9g20EX8H2QqAZMKFloxogQApdw7pxnsz0heA40hU8S ZM1VAI/QM2X714G07TRIZenvmZexAJKkjjHTThetRrmHjYU02n9pJNElziMInC+XGydJ 5kPJUud5ef+Hn5jW7VCnmPOtOrLit6csZqN0NOdH/8IlhRKcqoI9lJZid3+n1ajWKDkR IfMihoBw34XsHc6gzZrRbjsdIjwCsHg1NZbIkxqEMjvhpbjlJsNcRdrBOaALskgFsvtW rlA2XrUmNCqZ+s/G45KpbdSe5qlY53pJ2PXxTTCNplW/N9n9xPHazxmPLAAjEqxj+vnw 3zmQ== 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=9SHU5lluYMc7UZAltr8yjM3Qde78wAh2VAROCypI348=; b=qPc9WXfdcdzoJJWZETyl+HYwXOamLXNgxpf6yXAi5WkInNHusopWdFSyKC02Gt7i2n XO5SLJY9EdYdElbAZNora1o3qTT/t2RWGg1VCp9h1w3UxRCI/hZR+0YBj70SrB5n8hf4 Zzvpx9EN2ToT/sYQxIsT/drMAgkhci950OIRPVIAEz/7NXk1sG51HexKCUnQEi1GihRQ 2cxhWg2v65MtPSEUPZK75ZVm091u0Bp8IpQrbfBKuLBuOqlx5X2F6Ytv5ENvFLo9+26l RiIocDugmqzymM7lvdiECBRUjGltEy9P5M0ZuSfecD9DnJANt1Ro1Vi9uqt21m/NNh6W CNBg== X-Gm-Message-State: AOAM5309uCZKCvKO+OTA8hVUbKJ/TgFem+1fXFtnlhwmQN0uvJF/4hjc QhcOBRaVxssLt+9O3ZHAqib1Wh8XvNKR6Q== X-Google-Smtp-Source: ABdhPJxJ5elh5MKJhpkPeQhw2c1Uo3mVdVy2diEiJbC1f1lYABOQwi/87LaDWS2MXsIXxDXNxGRg/g== X-Received: by 2002:a05:6512:220c:: with SMTP id h12mr16664542lfu.374.1622496474797; Mon, 31 May 2021 14:27:54 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:54 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:21 +0300 Message-Id: <20210531212748.2378872-2-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 01/28] boot/arm-trusted-firmware: option to disable stack protection 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Default value for ATF build flag ENABLE_STACK_PROTECTOR is "none". Buildroot sets appropriate ENABLE_STACK_PROTECTOR build flag value based on the enabled BR2_SSP_* options. For any values other than "none", ATF platform specific hook 'plat_get_stack_protector_canary' should be implemented. However this hook is not implemented by all the platforms supported by ATF. For instance, allwinner does not provide such a hook. Add new option BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP to disable GCC stack protecton when selected ATF platform does not provide support for this feature. Signed-off-by: Sergey Matyukevich --- boot/arm-trusted-firmware/Config.in | 7 +++++++ boot/arm-trusted-firmware/arm-trusted-firmware.mk | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/boot/arm-trusted-firmware/Config.in b/boot/arm-trusted-firmware/Config.in index c06294040e..9b851845b9 100644 --- a/boot/arm-trusted-firmware/Config.in +++ b/boot/arm-trusted-firmware/Config.in @@ -175,4 +175,11 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN Select this option if your ATF board configuration requires an ARM32 bare metal toolchain to be available. +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP + bool "Disable stack protection" + help + Select this option to explicitly disable stack protection checks in GCC. + Such checks need to be disabled if ATF platform port does not implement + plat_get_stack_protector_canary() hook. + endif diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk index 0597cecf71..3fb65a01b3 100644 --- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk @@ -100,6 +100,9 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += MV_DDR_PATH=$(MV_DDR_MARVELL_DIR) ARM_TRUSTED_FIRMWARE_DEPENDENCIES += mv-ddr-marvell endif +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=none +else ifeq ($(BR2_SSP_REGULAR),y) ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=default else ifeq ($(BR2_SSP_STRONG),y) @@ -107,6 +110,7 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=strong else ifeq ($(BR2_SSP_ALL),y) ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=all endif +endif ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all From patchwork Mon May 31 21:27:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485782 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::133; helo=smtp2.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=pc8NvU1/; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Fv7gw6Yb3z9sXL for ; Tue, 1 Jun 2021 07:28:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E650840244; Mon, 31 May 2021 21:28:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 eXfg7ZfiVYDn; Mon, 31 May 2021 21:28:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 3D1EA40236; Mon, 31 May 2021 21:28:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 09B771BF334 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 05D7A403D2 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jy-3Ztnp3HGS for ; Mon, 31 May 2021 21:27:58 +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 smtp4.osuosl.org (Postfix) with ESMTPS id C607540379 for ; Mon, 31 May 2021 21:27:57 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id f30so18601039lfj.1 for ; Mon, 31 May 2021 14:27:57 -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=zkMLNZgdsPFY5hLu5d9ZJAAYDfUsGMwGJWCMCyed+5w=; b=pc8NvU1/z6g2i7BWildca5ofCO0wRC43eiso0iCY8vUvgnvmbwA1q1bjm88QqnTwXn yRt1HbdaXHoq6nQHs1YQzR77UxeYg5ZmNl00UzvgTcq2a2jbJbM8AqqNFCaEtPSQIoId IM1arPfteCLED9G+fvY/T5RWEg5xU0gEg/kGm9TZ/u+e4qhBn5T9eX3xXAFh70pUPC5g ZKq6Rr4SBYGn8HfMDY1W3o1AMnZpiRo+Z0niNmCZGyPWPk6n4wor1lmxO5tQo2OxDALW ZBcv4fGFp/jnHDoheWJcuDiPeEh14DpEC3OdO90AZL9Nlsv/UXWfLuKOVzQHDLXsLZaJ 5ztw== 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=zkMLNZgdsPFY5hLu5d9ZJAAYDfUsGMwGJWCMCyed+5w=; b=Vgm7A9+j/0yRypBgrLjmU/IiJxaK0p69ND7+peK3GvdDSZlNwXBdADp+6Yy/FFfC2Y 1tLWpKjyKcCiyaamDI3meMC16rczhKhVJrljBeZK1JprGH5f9h0qdRgOzng34Llfj4dp xVgDO5KxwVNOIn7TRSRT0lHb9Wa9pnOWE235nFXf2tgxWVG/VUoSuANWCD8Cs4/SI8j+ PJDSX9VBdC4c4ZqGoQc+orNTzddFfjbFzVh3TxQepu/EYpiQ/dZbg8QcfHqThdzOMLde 7WPY9gZTTVN7kEvE29DtcjZwWjKRTawJDg77bBdZTwXx11TOw5aRohDjCmUuuwoSCOsJ ih+g== X-Gm-Message-State: AOAM5306NKhjyverkzdT2NUOB+qfD37QzEq6QeA8so1E9h0eiMePFgL0 P3PqkDZmnRHGn8Y1vDFe+dWqBIR6FfQ9NQ== X-Google-Smtp-Source: ABdhPJyfL0dBV2iUuKmuDqA3ZL/MA319AKlmHV4Fs0j3py/A93OvzpeyNARww/KQSGmTj1BlJsW5SA== X-Received: by 2002:a05:6512:2351:: with SMTP id p17mr15682626lfu.319.1622496475544; Mon, 31 May 2021 14:27:55 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:55 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:22 +0300 Message-Id: <20210531212748.2378872-3-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 02/28] support/testing: switch TestATFAllwinner to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- support/testing/tests/boot/test_atf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py index e6c11aa742..c86c32092c 100644 --- a/support/testing/tests/boot/test_atf.py +++ b/support/testing/tests/boot/test_atf.py @@ -33,10 +33,11 @@ class TestATFAllwinner(infra.basetest.BRTest): BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y BR2_TARGET_ARM_TRUSTED_FIRMWARE=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" + BR2_TARGET_ARM_TRUSTED_FIRMWARE=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y From patchwork Mon May 31 21:27:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485783 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::133; helo=smtp2.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=DNN9G16C; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Fv7h84bCHz9sXL for ; Tue, 1 Jun 2021 07:28:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 96AC040259; Mon, 31 May 2021 21:28:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 3WTuae0p8OyP; Mon, 31 May 2021 21:28:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C61464024C; Mon, 31 May 2021 21:28:36 +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 8CD1B1BF334 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 884DC401F3 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 xqugj8wj7rh3 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by smtp2.osuosl.org (Postfix) with ESMTPS id B7D2E400BF for ; Mon, 31 May 2021 21:27:58 +0000 (UTC) Received: by mail-lj1-x22c.google.com with SMTP id a4so9771750ljq.9 for ; Mon, 31 May 2021 14:27:58 -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=2J5ts1bwyGn/SbQaVl7BloGuKGoS+GqHT7mJkY30mIA=; b=DNN9G16C+Sg9ra+V/8xPxsJAoU4KhPjOrVkY6pRkwNbBd/A2+gnpmE895+3WJ2eV8m 6HRHLjfj7w6AFqRf/V6q2eEuKT4LPE6Gx+bDBZ/ytoaeM5XJRlj3dPYYurqZhEbLH5O9 eXt8ZlxNhEYyb+82tDFUrTpQudPrRZwkWdLiJXuW62g/R8jNK180W4sDhOt3jyuBRW6x 8JQBdOIyCSLypGtqGVvCr1fw9idGR6wLivhp2rAoPtf0+cQ9wivrFsZBJnGCztZ6VYb1 EkLEi90Jy2f3oxpktCrP7fSJsGO/4raEI4kscAw5PyprvaUTkK5koKw/xnsaVZvHbLVk CXmQ== 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=2J5ts1bwyGn/SbQaVl7BloGuKGoS+GqHT7mJkY30mIA=; b=HHDYmgzu0BunqOCLFOH7zZpmyIp/xHFerNTprsX52v0W0PJWz/+swdjv+8/4ojtzQG 6YVbz8RqY9Xzp5iK4MquT5+qeLWhoHDPoip/O4/39HjpfvS4gie2oaXWTu8mr50jUzq3 kRPTp+wctL8XMWCv4T9qDH2khqBMi7/gXmW0E9gXOxHJpkx0+amlV9OsJVyiuOk9R3yd yjhWnACWhuLhZc/zI2A32p/ZAtiX7ysVRgK0FAdUtOtTO6Pz8NeweqLze7OWque1ZpJD sl0GgnCYb0dVcCKTNxm6UWvo9OKgGqU1nTFL04zXvBG/2MqdxUmYDaNYP7Q83LfKIoxK 8nGg== X-Gm-Message-State: AOAM530kJcLLC211LpkD9dG+DA5ZpwTePQsoVy1c1fMxZZ0GNZmquwwm M17NwAMIOBY3EClP5m4XkbQ4HWKsYoZDqw== X-Google-Smtp-Source: ABdhPJwc/hcnYI8gScXwDKfPGkKt6pMAt8SytoutxpVPoEupUvKztsq0seSaVvShIZ+nBRf12j8dgg== X-Received: by 2002:a2e:81c6:: with SMTP id s6mr17819351ljg.227.1622496476267; Mon, 31 May 2021 14:27:56 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:55 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:23 +0300 Message-Id: <20210531212748.2378872-4-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 03/28] 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: Louis Aussedat , Sergey Matyukevich , Jan Kraval , Marcin Niestroj , Jagan Teki , Suniel Mahesh , Chakra Divi 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 c86c32092c..a5037b4b27 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): From patchwork Mon May 31 21:27:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485784 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=140.211.166.137; helo=smtp4.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=I5ei3KGN; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7hQ5TxHz9sXL for ; Tue, 1 Jun 2021 07:28:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4E77F401EC; Mon, 31 May 2021 21:28:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yVTy_AA9P6go; Mon, 31 May 2021 21:28:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 5FF3F40199; Mon, 31 May 2021 21:28:49 +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 4814B1BF334 for ; Mon, 31 May 2021 21:28:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 354DB40236 for ; Mon, 31 May 2021 21:28:00 +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 EVLIRo45-85f for ; Mon, 31 May 2021 21:27:59 +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 3D30C401D6 for ; Mon, 31 May 2021 21:27:59 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id a2so18509284lfc.9 for ; Mon, 31 May 2021 14:27:59 -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=Pdz85qrG+2h7aVypg6kDVBRp5ddiNcCuaRep9FtKjXk=; b=I5ei3KGNMF39LyHfAi3PLHkHef8M1ZNdJoVH1YElRKtbutSogbidHVtThjgFDnTi5I yuoaThhBKjHv48pSfb6Fh40gDeKA6W6CTy734tic8oH83Lg1rxHWrOxfXl/e3JUoaupu OFgKd8RP0UYRDbywt9pcIEHGOmWVHO0057E0D/Y2RL2s2xZJPTTs3IZcW7VcF8JnN3KO myFFRM/tY5jxYkCMpSJ1flLmA3ii28rjzZu77+sZ8xwAooB3DfHHqeY5Ulap3RONUGtJ LMTSuFCq7rVhCefkfUU2ekSQy7dybG/VLzYNxK4gVBF3dP58y2xz2R+VSv7L+KR7gbaW ocXg== 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=Pdz85qrG+2h7aVypg6kDVBRp5ddiNcCuaRep9FtKjXk=; b=NX6LS07AMkvLq6C7Bi4MhxC915y3tRqhRhbZrS3UwCb+R7staO70JNrlq/xHhnetJO UnYHStbt/eY8UAZ2hLAwHUNF9KVrnbmGoFuDLbjJapIJye+nvBVOLs5WwcmM6FCqWHiw /6OZEm2ksitsOdDM4O1UZRBnK/oqyjxOCq+c7vTDKY48CwbIuBNmp6IkELXS3T9RsRdu o0SpuddDZgQBXxNR1YBJEGSQd9kUZ6Ypm/UH940vjD2TI7waeBCpnvTndfIAMJkiyy+D Mvs9iiQAoHFjUNHANIcCnTHXzp9GxZrUaL3trhRATczawini/TiXz1aYWFwvlagYDdBA DxLw== X-Gm-Message-State: AOAM532473wcnSsSj7Ow87bKwbeYwgcQeqfESmJDHiHkXkQqYN/4Chhr C4XozcRDFrb2qMm7wL4I6CZI2HqUa3wobA== X-Google-Smtp-Source: ABdhPJyMaXLqnMhLdTPaP8NrALHm+5xxfyExe/KUvTkZNdLr8xAxYaAww8NnUtlsqfEHUxUmz9yxsw== X-Received: by 2002:ac2:4577:: with SMTP id k23mr15620389lfm.648.1622496476996; Mon, 31 May 2021 14:27:56 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:56 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:24 +0300 Message-Id: <20210531212748.2378872-5-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 04/28] configs/orangepi_zero_plus2_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/orangepi_zero_plus2_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/orangepi_zero_plus2_defconfig b/configs/orangepi_zero_plus2_defconfig index aa4c5c9413..282418885f 100644 --- a/configs/orangepi_zero_plus2_defconfig +++ b/configs/orangepi_zero_plus2_defconfig @@ -8,10 +8,10 @@ BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485785 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=140.211.166.133; helo=smtp2.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=ADUjCx+F; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4Fv7hd5tqwz9sXL for ; Tue, 1 Jun 2021 07:29:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 59FAA40244; Mon, 31 May 2021 21:29:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 VoSjCx4JvGnW; Mon, 31 May 2021 21:29:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id A96D9400CF; Mon, 31 May 2021 21:29:02 +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 2BDF31BF334 for ; Mon, 31 May 2021 21:28:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 26A8940236 for ; Mon, 31 May 2021 21:28:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 XsW5MfZuYl1c for ; Mon, 31 May 2021 21:28:00 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by smtp2.osuosl.org (Postfix) with ESMTPS id 31DAA401F3 for ; Mon, 31 May 2021 21:28:00 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id p20so16521128ljj.8 for ; Mon, 31 May 2021 14:27:59 -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=M2DCWmPVnKCaHlVV/gSN4Urr0rRY9qxYOVU5nWLG+24=; b=ADUjCx+FKvtqigaoWhaw1F4NJ6Jt6BzOJadSnymieL11j+MTisBednVQ0PWb0jDOaK kMHmgjx93gpBbPBUQhKivHrGJd67LrQx7hiLFoS+Tf/GCpqx2CZTZnnlnmUPyiSvjC4E +XJwTH1cgvdIKJvSd5X3GXU2W4AQDih9plEtWQ15A5Cp63Q0UBQXcR4qcO954+ApHqpv G1ZwTqjdmxCjYy1AMf+kT++ohyPs8Wki5SR4GksCKUDQiFWgxtO5eEIwyfpXpRmjfyz1 PihrmV9Lsc5VYotQ8U4OdGG5IiUcwDkgfuTKI8DO2P/EooadmNW3E1ipCm8lBbK5iY29 MK3w== 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=M2DCWmPVnKCaHlVV/gSN4Urr0rRY9qxYOVU5nWLG+24=; b=UF0G5W9ZQkkwKowF5hxg0lH9pCPZV14XUigbEKSCTChXElcSCoOq7JRVx4I8p9xwK+ G0pCTylUPDCh1aA94RLn8ZOoJXJmIYBNtbHcsrDxOVOXOfzrfAPLV0TIdAz2D4b8FiMr FtnuV7wZVZgHWcEnEKGbiQJtl3tTnyampqQPNdjFaIpT+i73IvYb230ZM1aDk2fVQS2V O/boqs+RPAOs7l8LYYPlF8ILG1vCiNCq6Z2ank2BXg/i2PFJ8azG30J2Yh4EElLISpIP o/hWkvKc4CbJLW8PpvXpI97O5HPbkVs7ydY8zfDbmlXsa9abKWohw83oB4Il7ZO9yLcv KEcg== X-Gm-Message-State: AOAM530CwcGwHPyzf9U0ot53FZ4VZJFGziWuUCkbvi/9f3t1nYkwPS07 9IopzYV5oQlMWPUbEjQTRPouA14FeQj9kw== X-Google-Smtp-Source: ABdhPJxSHe1AArMdp5Lp+qSKokG+A3fP//fo1Dl3DQzMrHhSwDSzdYKd6L1Ycikzqxl1Fzjql7VOuA== X-Received: by 2002:a2e:988b:: with SMTP id b11mr18364037ljj.87.1622496477785; Mon, 31 May 2021 14:27:57 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:57 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:25 +0300 Message-Id: <20210531212748.2378872-6-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 05/28] configs/bananapi_m64_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/bananapi_m64_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig index b93332ed21..4bf8f1e96c 100644 --- a/configs/bananapi_m64_defconfig +++ b/configs/bananapi_m64_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485786 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::133; helo=smtp2.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=g4XD6vjj; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Fv7ht6t4Yz9sXL for ; Tue, 1 Jun 2021 07:29:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E12D9400CF; Mon, 31 May 2021 21:29:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 j2wFFwc-L8n0; Mon, 31 May 2021 21:29:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 3630D40259; Mon, 31 May 2021 21:29:15 +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 596151BF334 for ; Mon, 31 May 2021 21:28:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id BD89E40236 for ; Mon, 31 May 2021 21:28:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 gbGNsqJlhfkL for ; Mon, 31 May 2021 21:28:01 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by smtp2.osuosl.org (Postfix) with ESMTPS id AE4B64013A for ; Mon, 31 May 2021 21:28:00 +0000 (UTC) Received: by mail-lj1-x236.google.com with SMTP id 131so16546195ljj.3 for ; Mon, 31 May 2021 14:28:00 -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=jcuxkmQmu+QQBex62aeFPlNcBZmGS0UVUFOuj+FRPKQ=; b=g4XD6vjjubDT7PWxAOVbBoy7/eYPFO6vZ5RrO/g4CezJQhA1Maz0tOfg5oUA9BT5S2 tmsIToYj5Gntqcg1KWexCfNHuMEbp5bGgqqfE4GM3wNaB2Nn6ebtJFgZr3W2QUeeveG6 BcMo7lBt+RAhnmd1/qx7ET8U7uQujsutcNjmIp+xn7EOy+fVFsrInzhoe4zafc0W9RmI V+MgfDSWLZVYYFzs7df9WV5MovxA+VdlKS19N32XvmPkYE6ZCbTi8puXtyO6sA+hJkSt bpnu6AR9QLKfvFbSIXodFVCNt5ZglgVAhKN/Y0NaxOwJM+UNMPkKAfb97J2uJ9QQXXxS XeNQ== 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=jcuxkmQmu+QQBex62aeFPlNcBZmGS0UVUFOuj+FRPKQ=; b=kWKLrWN2pUeqYYzNbphzRK881PHE+OwRcp0sR41tLQ/gxKjZejSSHML06mJ1q06gb5 vIB/NfE0j/YnbSW9aoRUa0gAuK5+MJtvWdlfBwY/aJ4SOoZ8ck/mpCjywBg5/b49dw8t 8wgAYs6eh4JigqUtMcY47OUm8Rl6iroZMRAmxL5CTa7qFxYXD+pmBWR3liyY+fGPhQfV 7dVWPbDx0HKCVCcwtmC7nsewuQayenq5AhnmNgXYimNkpVw1yHJE2ygKfLqeqLohltsD nLpIGXlRtYW8jtsbcyNOHKA5W3Eu/qtG77JkrbYqk4+RzEYdm+ZTgq/UzX8S7+xUV6aA qJug== X-Gm-Message-State: AOAM530hIb6wbN/Iy+aFflBwW2F2xDSlnveW6vA5bRhmsxQZz/72y4sS l2c/7LrodLsOjcStj3PnmQlm9PmcExq+rA== X-Google-Smtp-Source: ABdhPJzg7HddygzajFxXMnQHB49v7u6rpo7OE3mI/q1q+A78p2lwLEOQx1eB/4denrWCxe2YbhYbTA== X-Received: by 2002:a2e:87cb:: with SMTP id v11mr17953055ljj.113.1622496478490; Mon, 31 May 2021 14:27:58 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:58 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:26 +0300 Message-Id: <20210531212748.2378872-7-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 06/28] configs/orangepi_zero_plus_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/orangepi_zero_plus_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/orangepi_zero_plus_defconfig b/configs/orangepi_zero_plus_defconfig index cf82f8b3cc..d3cd1d1b63 100644 --- a/configs/orangepi_zero_plus_defconfig +++ b/configs/orangepi_zero_plus_defconfig @@ -8,10 +8,10 @@ BR2_SYSTEM_DHCP="eth0" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485787 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=140.211.166.137; helo=smtp4.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=goj0HRWh; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7j70s3Bz9sXL for ; Tue, 1 Jun 2021 07:29:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 91CDA402C0; Mon, 31 May 2021 21:29:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T2pWipHoHH3o; Mon, 31 May 2021 21:29:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id C48B8402BE; Mon, 31 May 2021 21:29:27 +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 0F5331BF334 for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8EC37400BF for ; Mon, 31 May 2021 21:28:02 +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 NjOTVOfqjBdz for ; Mon, 31 May 2021 21:28:01 +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 smtp2.osuosl.org (Postfix) with ESMTPS id 9088F401F3 for ; Mon, 31 May 2021 21:28:01 +0000 (UTC) Received: by mail-lf1-x12b.google.com with SMTP id j10so18493895lfb.12 for ; Mon, 31 May 2021 14:28:01 -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=tIGDoPpCVU3PGkw62IKHtFXOiPG60iIw+FHxpKdBzs8=; b=goj0HRWhBe3dIkpxbOi2m8inbRKJMJOJWZfF4ZMhHAVcHUSaV3E7F032ZpCXtp9/N+ nIuI1IVd+spvi9flHDVDXXVlcGNFYRkLhlgUUOzKxRRIBxBkAgAyDRdyvR6tJMqrvSNC XUhp94Rmx14UJiiSTU0sF5Mh6mqw5CRsbV+Gfz+enAizxQwS8vHiZShcjhm8Qv3Dl11r TC14ItoYjxmtp+MpgCHOaUoDixN6qvzklRvfQpzjjUcUDdWvzTC7hSoRZt42q5671pvp w6tsOuKPJickvTw8bZRV7+85Rq49ewfVeRlFyn+nrb3gWQGOIy5uzjkGG7OQMsC43Fc1 pHQg== 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=tIGDoPpCVU3PGkw62IKHtFXOiPG60iIw+FHxpKdBzs8=; b=XA7aSx1oVXbelZH6DbgMFDely3MB2mfsc54d2r0Zx9KgcnPBZF5ii7MbvsrHVF8U3+ Nbhgwa5tjjhsTkWgihT8z1XHb4gAXtdCh5DGcKRtmgByuQw/6S12cb6oGDlPp/toU4JL jLM4kC2MCsQFJReP/DVWtRRiY4LIOWdWAmn5akKBnhm/vT1y+SQu5RHKOrA7UOXG9nWM 11zjrYMsyz/azvtRDQHS8OBU3bEMOZG82ScXd4TD4TKoKqjXv4quFQhrzEaiMaNI8cV2 yS08Rk6IfvQJev2/auxAMys04IXyE88X1cWNZYZkX0QOo5mBCwJvyAXtjJZVfEnvG42J iNQQ== X-Gm-Message-State: AOAM533INU1/szUPiAJvfQ1Cnil6TcMSvJhls57H5XzazRkkO6U9Z8mf 2CtqQFmtNW+SBTlo4o+rd4/r4cskYNiRnQ== X-Google-Smtp-Source: ABdhPJwjdZZIj8CKfsCnXG+2X9sbTyAuyYqrD5vJiYO3TG8ydXRbszt2tA6FaTs6hMaZb/cPWpc6TA== X-Received: by 2002:a05:6512:2295:: with SMTP id f21mr15696550lfu.524.1622496479373; Mon, 31 May 2021 14:27:59 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:59 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:27 +0300 Message-Id: <20210531212748.2378872-8-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 07/28] configs/orangepi_pc2_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/orangepi_pc2_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig index c7e17c8eb1..e7af1d4276 100644 --- a/configs/orangepi_pc2_defconfig +++ b/configs/orangepi_pc2_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485788 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::137; helo=smtp4.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=hMROlJuK; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (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 4Fv7jP3nT9z9sXL for ; Tue, 1 Jun 2021 07:29:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 18446402C0; Mon, 31 May 2021 21:29:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rNpWF_ConRmO; Mon, 31 May 2021 21:29:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 00E28403F7; Mon, 31 May 2021 21:29:40 +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 8B9B91BF334 for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7A78283C3E for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 fz47r3zIIt1I for ; Mon, 31 May 2021 21:28:02 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by smtp1.osuosl.org (Postfix) with ESMTPS id 954E883C3D for ; Mon, 31 May 2021 21:28:02 +0000 (UTC) Received: by mail-lj1-x22a.google.com with SMTP id p20so16521248ljj.8 for ; Mon, 31 May 2021 14:28:02 -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=ahyBZ90JEdRaA3lxmFNI18qoUkr+/i0khqbrWLrhiUo=; b=hMROlJuKkxSsctnrUPcmPqLCUF1VtcrRC3cIhkX5bx/+S/FrjclGomujwmgd9nWotA gj87RC4xy3Evii91J0nx47IEaZatsbI7MbGKpvY8IJmmtLZD1i/Vk4F1X2n10fpRmT4R Ux8pl/rq0AXTEZ+lEM1laLjc78L0q+8cQ424tJATH4X+TZ/n833uzcKgvLDlrpx/JvXF yBM6g1JxBCjOzdwAk00rpylcJzucIb9Wy9aPRbHqKhexzCM/kkwEbbwsv67CAXdnYHQz h0r7h+4AYOCrqhtb3fKoQa4jk/6l4QRAerWC1loeM0IEBS909M6dafVpDZGibIsIeK0b KbXA== 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=ahyBZ90JEdRaA3lxmFNI18qoUkr+/i0khqbrWLrhiUo=; b=ETl/71a2prTTqf/Pv8vxvOh/V8DQPRfzbNnbanJLPlqildqZbiRpBIa5VOccyIZnoz K5PDbNENOReXbGd7wtU7sD3PvWu7idWgyrz1DubuJpgsPbK/Z82nNIdcasMWRv65Sa5Z LWaw8UHkXzyfdPpvwlXQMCuw8u5/0r0OgZR/9EDG36OVH528q/dO6EZ6YaOQm8pmY79X NvoOoocdPBzoU8Vyj4DlSlGgeiNOU7fVC9mSi3q76qxxjhMTexJRAG7RQkc62VTkfpAz WIov4yN3GzdN58/4PPx7LL5RDZv97UwdnNkTSm+JINykyFPAJ1Oz6gA+RwkaSNmi3GdW Oglg== X-Gm-Message-State: AOAM530VlULtSgqCbax/MNVnhdvPnrYUTj0jndAUiXpeAjK5F1uNka9y ifevrSOKxqS2MFvVpleMXydxIveWtTajWA== X-Google-Smtp-Source: ABdhPJyY0AZh9oKy9PC9bqg5paG794kaVsJzP9Ipi6EBgReKZDC3R2H/pegnNLI67nRFtoFWehYmfw== X-Received: by 2002:a2e:8108:: with SMTP id d8mr3346322ljg.239.1622496480265; Mon, 31 May 2021 14:28:00 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.27.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:27:59 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:28 +0300 Message-Id: <20210531212748.2378872-9-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 08/28] configs/orangepi_prime_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/orangepi_prime_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/orangepi_prime_defconfig b/configs/orangepi_prime_defconfig index f8f958c67b..ddee65c185 100644 --- a/configs/orangepi_prime_defconfig +++ b/configs/orangepi_prime_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485789 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=Eq5oV0TP; 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 4Fv7jf0Q1sz9sXL for ; Tue, 1 Jun 2021 07:29:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id DD6BC83BB0; Mon, 31 May 2021 21:29:55 +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 DRCGpPibtv6A; Mon, 31 May 2021 21:29:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 55A1883B07; Mon, 31 May 2021 21:29:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 526921BF334 for ; Mon, 31 May 2021 21:28:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4E5AD403D2 for ; Mon, 31 May 2021 21:28:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ea3bd0p9uFZs for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by smtp4.osuosl.org (Postfix) with ESMTPS id 259E040379 for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) Received: by mail-lf1-x12f.google.com with SMTP id f11so9695709lfq.4 for ; Mon, 31 May 2021 14:28:02 -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=dW1puEZJG5c5QPbHyRvKeDvN6B/CGvAgqY12Q77hC8g=; b=Eq5oV0TPtB7xQ76RxuOsZeYrybQST0O5BpWeY5PcZ8uIQYgBNw9an6xYCnpaoELwfl FYcy24+VV66XLBZXXOuAdUtnf1ScZdD8dRmXcNNI10u4acQC8pYnK1M6s4fLoqUriPKh wzKhfyq0ejZQOJE8DdgLSijua8OyTeD0V5ZUzzYhc6UMrscoY833oTWEJYUXJEKNmO3G ts817IacoMv3B6qXvKMm+wsA2XN+F5MObjF0MNKRXvul7DEgzDDydL/dA6rVRjOlzzoc dCsMX4ivnBUlKQfCPWx1pC11Qei4A8IfmThCRaAH+MaDsrEcOHf6KpVoN4ZQ+C0rZLW5 IECw== 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=dW1puEZJG5c5QPbHyRvKeDvN6B/CGvAgqY12Q77hC8g=; b=BUgXqpr2iITDejh/gsVHslt8jsi7Pw95T+sqXPtVtf7PdURTcHClMAcHCDw091mvqP Ob4VASY4NquUFwYexYT8puU1XPPzgf0JLB1AaAzE5iQ6vW8c9LNpEFsiGUO8ZLfg7so+ JdSXJHRWyjk4IlliIAv4HK3zxglKcQTOck5Kgh9utls28yZJc0KZKDWdpLhI7WY30RpS S7Y2Ft2esTUyXM/fZIU+hDi3xZSlUfLoagFfC1nQvwZxQ8/7KCHokUTSJR+sKG82L7M6 854Z74IAGKAGQ0dgx1OsgSWewJrJjCAiAwtwEzaJ8B2/JgNmFRSTKrUgRDR5dt4VM4Ps iuzQ== X-Gm-Message-State: AOAM533G1al5aJ0fVJ4GyAHo9dlS1yyQiRLKBhDhO3SU9UI2p8T1AlvC KQgOKNJl1RKqm3jXgh3OOBD9ll2lMSMVFA== X-Google-Smtp-Source: ABdhPJyvJUX4IZVKnLKqkTv4/vAKajApi8ryPMQY3XVssS1yetGld72yUBYfCtwttaMUYNMy9CyiKQ== X-Received: by 2002:a05:6512:3302:: with SMTP id k2mr1240009lfe.378.1622496480962; Mon, 31 May 2021 14:28:00 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:00 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:29 +0300 Message-Id: <20210531212748.2378872-10-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 09/28] configs/orangepi_win_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/orangepi_win_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/orangepi_win_defconfig b/configs/orangepi_win_defconfig index 715ff3b711..217f3e1e42 100644 --- a/configs/orangepi_win_defconfig +++ b/configs/orangepi_win_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485790 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=140.211.166.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=AwGdBy9s; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4Fv7jw15Ybz9sXL for ; Tue, 1 Jun 2021 07:30:10 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6051D607A0; Mon, 31 May 2021 21:30:08 +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 WcoQNbQkcyrl; Mon, 31 May 2021 21:30:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id C622E6077B; Mon, 31 May 2021 21:30:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 4557C1BF334 for ; Mon, 31 May 2021 21:28:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2F2DF607C7 for ; Mon, 31 May 2021 21:28:05 +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 qMN3jRaCwZ6E for ; Mon, 31 May 2021 21:28:04 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by smtp3.osuosl.org (Postfix) with ESMTPS id 1223360658 for ; Mon, 31 May 2021 21:28:03 +0000 (UTC) Received: by mail-lf1-x12c.google.com with SMTP id q1so18553510lfo.3 for ; Mon, 31 May 2021 14:28:03 -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=m7mg/V6eqP/YsLq4CVbauETvzR6OywS8lcHNAxTLlfA=; b=AwGdBy9sqT0VZ8/wOsMVQpza7M5Au54rQx1h3BFBkunkAo0MxzoD6e5lKVwBo1Lmo6 YXLB0ilssVWxzRd2Q9ZTgkMIgIsfeSYGGacfRnX8oSB4t04zc6l9LuazfntG28bWzbpH sTGFUel3k35KqdwNCeKZ2SUSzSSImdPMGcvWJZJ2EWhs3ujNzSAaDjQKypLAiUuwjBuh Fwh4vAOa6lTf1J9iaWxXmSa9WD1wpViqTFMGkZP9pT7DWHLSRQLJeq6qVVFdXPnBJYD4 v5fmzrAaVtszhl+fhKtDd8+dNgiwd8vPxKeXCtj+ODZWuzzxHzyTey74k8zEEV0liGmJ NgFw== 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=m7mg/V6eqP/YsLq4CVbauETvzR6OywS8lcHNAxTLlfA=; b=RT7FXbsX2BvJo9sECE+9hSnV1C2DsHW5npMvVDIxfkbQXm0KtEDRKRk6qmi/bjiSyR UZy7sCYWV4vgOKYlGsm3XAe+yXP6N0EYaGt8Dor0PeW8sgzKDru9xtjL09dpFpY+lmNQ wp6KP3cEwYdNGNusvHm+reWqrdcJ+VZPWypxGcdQNrDGXJTNS30diH0HBxFRsHxZI/An dSZ8izX0EHEEqcBYPN1PFfHaAfwEHlpHsu8rEFwmMK1JbYQPp4FWC7mcFMLbLPE3NxdK dWG3Ki/8A+oQpVUBub3pvwxBkLoZDy4k4Jg1BM557d7fUPYgUpJjOtFqU17VHVF/9l9i fRow== X-Gm-Message-State: AOAM533cekT1dTR+ee0k8n9QFpqi1DTuBEH2F4tW4buBvX/7f35kL1NT bMj+uRYUJWmEGBMjTeufLHJ905y7MmwBiA== X-Google-Smtp-Source: ABdhPJw7Km3X+QKbkNZUx4KnZ4KwJakA8qxjZTtrj/NALFq9uBeSD88wTnoJhoQqOGwG18OIpteYPg== X-Received: by 2002:a19:c510:: with SMTP id w16mr16308230lfe.433.1622496481838; Mon, 31 May 2021 14:28:01 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:01 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:30 +0300 Message-Id: <20210531212748.2378872-11-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 10/28] configs/friendlyarm_nanopi_a64_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/friendlyarm_nanopi_a64_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/friendlyarm_nanopi_a64_defconfig b/configs/friendlyarm_nanopi_a64_defconfig index 4df22b2a2f..d0c2f71960 100644 --- a/configs/friendlyarm_nanopi_a64_defconfig +++ b/configs/friendlyarm_nanopi_a64_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485791 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=jusvuSw8; 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 4Fv7k72SSJz9sXL for ; Tue, 1 Jun 2021 07:30:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E1DF6607FB; Mon, 31 May 2021 21:30:20 +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 9BFXled0CCa2; Mon, 31 May 2021 21:30:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 49F9B607CF; Mon, 31 May 2021 21:30:19 +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 38E001BF334 for ; Mon, 31 May 2021 21:28:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 28719400BF for ; Mon, 31 May 2021 21:28:06 +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 A2-ZP9MRuarz for ; Mon, 31 May 2021 21:28:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by smtp2.osuosl.org (Postfix) with ESMTPS id 32DAB4023B for ; Mon, 31 May 2021 21:28:05 +0000 (UTC) Received: by mail-lf1-x12c.google.com with SMTP id w33so18519121lfu.7 for ; Mon, 31 May 2021 14:28:04 -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=9OuYfubFTpdfhY1b7Ag9OLnT4bX9x2p//xiouFbEgOU=; b=jusvuSw8+WaH8+q98T+7kQ69eeWXPhzimoHsC66m1oJ/apdg41EI++X/jw4JfF18AV BPBq5lUbiFAUC77wYagd66DS0+8ERFZHGi8OdQ5yVsNs+7xNA/s7wC4GYPeQxmjbW0Ex 3xlKYwnssRdCSYsYosjfficFud0V2J4BMVL1x1AVb0JJi03grmtEUMDk8kyPaRYgANwR qMPoTcP/c8SrMXhkZmGN/k8lQnt9Og3CLjEYoJhTZz2Do36z+gt9Ih4DQ50B46Qkftvf XDcMFlHs7XfT/ZnE16TMB8/Rk07Mu/AgTnOscwhHGcKDFtw/nlzoDG7B+Nb7B+INaAcg Q29w== 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=9OuYfubFTpdfhY1b7Ag9OLnT4bX9x2p//xiouFbEgOU=; b=NgCSgzGK8+hHKGibzo2lXa+iIwCBPMRpatS+BPSBEzYURtUxCvyZsucvEqpEHe3JvT FO/zhvyLZhZ9joH9+FbezLIEwM57vKD5YtuxQ3x1hbPTOGBL4arRHwUGOpWjQU6lNZzQ yofwAMmbY/7OfnxOomjbclu5HnBwzvuRR0PZIh0DwEFzZyobqWmYyIf5Ty0GNHk2MTE6 BJs1QTSLfotlRbCooET0+U60p0Uvt08vQ16lsn7kAgIBxQH70xVvBGhacBnWrqb71ifA 1N4N+R8X8rHbuT3G6xNS5aviz+yn9sjNatTC8gqC8qHvumGdnBNff2HlAalp9cUZkPXd 2/iQ== X-Gm-Message-State: AOAM533KlniM23dkzGRenQ+hs3exLmRPgosv8S9UgfJ1JPdnqZKJQu0f mkKHrCDmcJvwq88pS8YcKWxIYNe+IoRpTA== X-Google-Smtp-Source: ABdhPJypQaQOcBTy/Sp+v5iuuC5v1QlBgGL50kwXbZmcXiLO6SpE6fMcj6mjE6I/uRk+GZtoYbJR/g== X-Received: by 2002:ac2:4a7a:: with SMTP id q26mr3935129lfp.395.1622496482953; Mon, 31 May 2021 14:28:02 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:02 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:31 +0300 Message-Id: <20210531212748.2378872-12-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 11/28] configs/friendlyarm_nanopi_neo2_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/friendlyarm_nanopi_neo2_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig index 9262737b88..c695150ce3 100644 --- a/configs/friendlyarm_nanopi_neo2_defconfig +++ b/configs/friendlyarm_nanopi_neo2_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y R2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485792 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=140.211.166.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=iSnSRmu1; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4Fv7kM2YQLz9sXL for ; Tue, 1 Jun 2021 07:30:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5904383C40; Mon, 31 May 2021 21:30:33 +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 9QR0OpSLfp53; Mon, 31 May 2021 21:30:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id AD86B83C34; Mon, 31 May 2021 21:30:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id DC9D61BF334 for ; Mon, 31 May 2021 21:28:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D6D70607CF for ; Mon, 31 May 2021 21:28:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 ec3pY1Nr04Xn for ; Mon, 31 May 2021 21:28:06 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by smtp3.osuosl.org (Postfix) with ESMTPS id E0DC6607A0 for ; Mon, 31 May 2021 21:28:05 +0000 (UTC) Received: by mail-lf1-x12f.google.com with SMTP id a5so18582759lfm.0 for ; Mon, 31 May 2021 14:28:05 -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=R9LtFJx1FOEp/3cA72SgSmTJ6CCNTYx/Ad8UXLYg/iI=; b=iSnSRmu1TtsaXY5rhOGjdyXK+xWHxpbHA9LTXMj38BBSx6/rYzpUitS/jR5SzhZF1T ord9J+IB8sx5+UY/8F06E1tWJJ9yHvlog45mmo3IxP9ZRtsUbdb3QRyQ1jTlzXwXbVKe FWEdO/WLBQyUUKo84Wj/WTBIXeGqhrYf7t89mTxb2Z4/kiaAHjIpusu+9Hu3yaDoBd7W yyTCnQ8aHk4gN/wqc4lAv2UkiKTmkwk4fBIbOTP0UlqSkKTn9abz5ynulwtPUsw1GDsz +P39stvJ/9/JfRWingF8wSh9qRgmMdLzshVpBrba1OtmQiTcHIoPm7RS8OQSku0iyrUy c00w== 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=R9LtFJx1FOEp/3cA72SgSmTJ6CCNTYx/Ad8UXLYg/iI=; b=Vo7WV+X1v1spd6zAG32fvSX+nEixAC0iMvglUdAq2R8gBt7fTq1pFBVTZj7YoIFXbw /elMNgdTd9HuBLti7UFfAb6T+vFbOK5dCvRzkQZtaD+H32pWJifrb16tWKTeyHjhp/1m 6pz842J86Hvp7g9tgHIdDvK6F+kMli9zzMRTANqS98VEaETmG4Dp+fpacnaRe4mRtZjf ARzWG4jflQQoMetVOutncNY0q3Jl38TLD9EnuLyz3TinQ3Jvl8RU6LtEivGnHGID69IY 4IkUKzIXSI9u/KtXIvFeohLpvSNPKoWoX+Gb/8LkHlbdSXPghWYdncNRFC45yuufBcdS t3Qw== X-Gm-Message-State: AOAM531OQy21OkdQ2YYAzbilmTUUOScxUsMZ+DVfeRgHeXxKLo+QecK5 p2K1LUfZG1Gnjeu2Kbg223mpQ90PNSduyA== X-Google-Smtp-Source: ABdhPJxDzAU3uNUKdvlqktgRxRqSG7b0cW3JjDbFOImO3uxM9p4bj8mV49NuvgUERNp99AVnsYV2vg== X-Received: by 2002:a19:f706:: with SMTP id z6mr1978507lfe.122.1622496483735; Mon, 31 May 2021 14:28:03 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:03 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:32 +0300 Message-Id: <20210531212748.2378872-13-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 12/28] configs/friendlyarm_nanopi_neo_plus2_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/friendlyarm_nanopi_neo_plus2_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/friendlyarm_nanopi_neo_plus2_defconfig b/configs/friendlyarm_nanopi_neo_plus2_defconfig index 461e468cb6..91b8ad1a22 100644 --- a/configs/friendlyarm_nanopi_neo_plus2_defconfig +++ b/configs/friendlyarm_nanopi_neo_plus2_defconfig @@ -8,10 +8,10 @@ BR2_ROOTFS_OVERLAY="board/friendlyarm/nanopi-neo-plus2/rootfs_overlay" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y R2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485793 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::137; helo=smtp4.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=RTOGaF/s; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (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 4Fv7kb6v7cz9sXL for ; Tue, 1 Jun 2021 07:30:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E8013402CA; Mon, 31 May 2021 21:30:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKODl0PIJdOy; Mon, 31 May 2021 21:30:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 0D1294029F; Mon, 31 May 2021 21:30:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id CDAE61BF334 for ; Mon, 31 May 2021 21:28:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id BD0C160658 for ; Mon, 31 May 2021 21:28:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 krYn0TWozBQ0 for ; Mon, 31 May 2021 21:28:07 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by smtp3.osuosl.org (Postfix) with ESMTPS id C30C460755 for ; Mon, 31 May 2021 21:28:06 +0000 (UTC) Received: by mail-lj1-x22c.google.com with SMTP id p20so16521366ljj.8 for ; Mon, 31 May 2021 14:28:06 -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=ioEX/ODtosNZyDwECj3XWh4OlNKbQJBFr5drm1rLn4I=; b=RTOGaF/sK0HeWTZTsT2UA1OksQOqSTGGMIuy5ESFcsEh+bGoXh6osqZ2dqP3Oca/9W 7EURF0jxMNjjVYfI5BLoQg/qmCY/Rs1lBinbbjAsghvfcznU/GxFAU2bVlZRqibjzTUx R9uhhjs5CgfNGF4EycmGiwbOZh705YfX7UvqunbqbUREliCIkOFpNM0CLJ2+Dt8FeZeq ma5RRZZmvWvOv208/tdXVp1psqJK+AgMLxn4IDIBwjX1miAB36/w41c2ADe965RKFC/N GHv4TNsONiXqiOjw1igEdzlBQsJZgdVZFZ/dEOo8xhiwxAZXyelaAoCR5vQkuFV9C9AB JiCg== 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=ioEX/ODtosNZyDwECj3XWh4OlNKbQJBFr5drm1rLn4I=; b=RRorcpAQdceC9aViNyj8cQLl74JBqEoSmEdIIZo+4nHXgNZbdlY/Jie2KHtvpdMgpK 2qgraExIZqWDJpJwrz4fSKMbUz47PGn25g/506HgwU1OyluhFR2m9020fo1swJFdDOEW 2GUyXgcn8hOlks9nXYetQR66/NFVhDVlOrPonyueA6M2+y5T2KE8nRATvFSUxaWL9qVL ycgDITXMwZVTLZOfb7V9n0TzSbKfzR/OLgxur39iuSLFw8fBRQPcwCnlPWUdkJI1/F+f I5BxqHTuklmLID7NenSD4cpx87ZPhRq7idUuswTy5ilt73yafpGRrpcps1C73uYDuPED FA4w== X-Gm-Message-State: AOAM531BXdwOA/W3FjFASNulBPjz32fcQGDxHmDjmLK8m4/Be6wCkoC5 3ACwW5JIvTja2td91bT6uxo8f2q6TaVTiA== X-Google-Smtp-Source: ABdhPJxuZLWnA0AUpEnwLhbuxm6pZt9OT/hh1vIYU3393VRcR0FwgkrGicVxfVCQKqQv9r/of3/Tww== X-Received: by 2002:a2e:8257:: with SMTP id j23mr10423074ljh.396.1622496484507; Mon, 31 May 2021 14:28:04 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:04 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:33 +0300 Message-Id: <20210531212748.2378872-14-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 13/28] configs/amarula_a64_relic_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/amarula_a64_relic_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/amarula_a64_relic_defconfig b/configs/amarula_a64_relic_defconfig index 304a3ef824..3e51cefdbc 100644 --- a/configs/amarula_a64_relic_defconfig +++ b/configs/amarula_a64_relic_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485794 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=140.211.166.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=dEHDOTkp; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4Fv7kr0wTwz9sSn for ; Tue, 1 Jun 2021 07:31:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id AA88E607DB; Mon, 31 May 2021 21:30:58 +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 UbCu6emdbX-K; Mon, 31 May 2021 21:30:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 15EE46077B; Mon, 31 May 2021 21:30:57 +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 9BA4E1BF334 for ; Mon, 31 May 2021 21:28:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7CFEB4023B for ; Mon, 31 May 2021 21:28:08 +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 HYeoG5tqY2Te for ; Mon, 31 May 2021 21:28:07 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by smtp2.osuosl.org (Postfix) with ESMTPS id 7735D401F3 for ; Mon, 31 May 2021 21:28:07 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id v8so18539298lft.8 for ; Mon, 31 May 2021 14:28:07 -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=REsZZgnMlzQghUnrk9dmaVsl2ec1BKjLNI3S9g69h5A=; b=dEHDOTkpnpiPshNJVstdGi4XwO+berv1unuHC6gcvOIlGmNHewNrkD7Uun5Vtj1xtL Nq/JS/OdvFgZq3cVTFnK79a/Xz8xe2NHhhzUDfxa7FGpBruebeatDUsgCRKQMEjwUrDM VYg1wpO8bmFVTTnB5y4NjmxsPyOX+Q6E363VOnb+YbPB2o1rND7dXH+70d+nY4viAtB9 klSBRdHt6wjZCZMqWiwhlAc9+9b58C3hfNsvWx6uwTsVjFgjf+QbXX0rR2yGAwePI8u1 izSKqpR1ikbMyet+8Y85myeRSVQQ6XR/pzmi1Xcptr1GsuCzwQsS0eWqCmrgD/YCvraW y7LA== 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=REsZZgnMlzQghUnrk9dmaVsl2ec1BKjLNI3S9g69h5A=; b=mIefkdZnJ0C6TIcztHQKCrlzO/nzQ4EgyIVPnBPF/2QG7aOqIT2wZOfG0h9Sd9YhfA yHwJnOT1ZC/3TL9aAjTfmxJTZNas5UmpaW7FbVFEv3OlGkkxrq3DkMNO+2YMWd/gcXZO dXMfdRT9b9IijMq1Z5WL4hDRqI3vcDz8axQXW9hpQR53SscIXh3iktAb9tEMfSXO3em1 76xWASu3JB3eF3PWvh0CHwVkZpi1y9VlbX7nQe7CANbr/bK8puJJ9FlVIjaeCidEPqig dbLj40KYRcOzieNYlGOxIyj2s5rf7Xs5HMKV6VpOKRdF1iNUsdowEhEfqWJVtDZoFl/b iIBA== X-Gm-Message-State: AOAM532gFJbtCQ/0g+4HhaZeGXn2SNJy1Rv4FQNG8FP29rIF3dm9L+z2 PFxB75Z5gB0BuoJju8DsrsCt9Rz1jtP/Cw== X-Google-Smtp-Source: ABdhPJw6ewmc6PDkp5s8LN4cUHB1LEvIF4vJYIBIyvOG8fr6C2E3JMdsoPDQXayKw1HtIOeiXQ7KlQ== X-Received: by 2002:a05:6512:3313:: with SMTP id k19mr15915040lfe.235.1622496485281; Mon, 31 May 2021 14:28:05 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:04 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:34 +0300 Message-Id: <20210531212748.2378872-15-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 14/28] configs/olimex_a64_olinuxino_defconfig: switch to mainline ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/olimex_a64_olinuxino_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_a64_olinuxino_defconfig b/configs/olimex_a64_olinuxino_defconfig index e35c6014bd..f9b40410ce 100644 --- a/configs/olimex_a64_olinuxino_defconfig +++ b/configs/olimex_a64_olinuxino_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27: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: 1485795 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=140.211.166.137; helo=smtp4.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=IhagyNJP; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7l53Qlnz9sXM for ; Tue, 1 Jun 2021 07:31:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 62001403F8; Mon, 31 May 2021 21:31:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0pVsL1V5anfR; Mon, 31 May 2021 21:31:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 777F7403F3; Mon, 31 May 2021 21:31:09 +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 5A2C21BF334 for ; Mon, 31 May 2021 21:28:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 499B683C3E for ; Mon, 31 May 2021 21:28:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 LgVPuGdDZmVl for ; Mon, 31 May 2021 21:28:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by smtp1.osuosl.org (Postfix) with ESMTPS id 55D0883C3D for ; Mon, 31 May 2021 21:28:08 +0000 (UTC) Received: by mail-lf1-x130.google.com with SMTP id q7so18544016lfr.6 for ; Mon, 31 May 2021 14:28:08 -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=4miD+dHD2TdJcZeI6MJ7KIoEll2ypFCdskvOe6kjDHw=; b=IhagyNJPNhCWhBmB75/M8FGEB1dipyCPcUsSJGK+tQ3tSetuEh6/rom8SjwPXTF1ya kuCTIkN8a/Abpju+epL0Uf5f9zXUKr3kMYiUQ7YWAfVZg/TYFcl+P8lO53qa89GgCY1A VvS3g5lpbOcuXUWq6nEzIUeW+0FKrZH8Xz9lEp1+MqDxqtDwvBw+ZLfohzJl7odE6I0x FJhXn2KAnCfi2NXPOC4qx8n+ns2bXFelqS2izRsYWjlQm7iYGuRQmKND+SjcxsXwcCAH unxDeI5hb4QcrmpgJdK6ylOx6o5bXaLpvplWpIcelaSdWCUF+dIZ1j2j984a1ANCtCst CUPQ== 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=4miD+dHD2TdJcZeI6MJ7KIoEll2ypFCdskvOe6kjDHw=; b=GPhE5NS42pJ/ukCOdUCF2RhXDysnslnJbso4GWV0IHAPqTY2jRtyA8lurSz/rG8jVv RPbn5JItSbdSFWYIbaJCnL4pZhV1HZhnt/4EMbfR0WxY7+MVfxME+RO2GJtI+TJ2UfV8 P3UdBXb+WDTRS+MV537LNXk+IO3BhsFjy0arMlFlI5pT5QllIfeKbWvH/114tWevzE5m unVV4jUqFaMXh446M1vRf8ulEhZTiRe7XNc6CQidcx5FQBIOqpBh2CB3UvXmuWJyHIA1 bNnTAE5RnafL/UhHJgh+AWIuJMzSOA6nfD0Wa/g56iXtNNPX0CCsOqAh5SMVu6APCQf4 a8aQ== X-Gm-Message-State: AOAM530va/75f2nNvFnMDl7XJppkqbug1N0p9GuaaltPG6uWI0WAblk8 ev31/9LrfcNp+pj4bNdZfLL8Fc6G9AA+yQ== X-Google-Smtp-Source: ABdhPJwH3SiO10NXV8VkxCNC22iZoYSKnuzMHyTu5FtzHoalAAljQS2BBhk/SfdQn36q/ieaj7ml5A== X-Received: by 2002:a19:7e0c:: with SMTP id z12mr15775997lfc.20.1622496485967; Mon, 31 May 2021 14:28:05 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:05 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:35 +0300 Message-Id: <20210531212748.2378872-16-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 15/28] configs/pine64_defconfig: switch to mainline ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/pine64_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/pine64_defconfig b/configs/pine64_defconfig index 2bdb6f6ae1..981360b934 100644 --- a/configs/pine64_defconfig +++ b/configs/pine64_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485796 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=ek5YQIeu; 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 4Fv7lL0gSYz9sSn for ; Tue, 1 Jun 2021 07:31:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 25E8083C44; Mon, 31 May 2021 21:31:24 +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 M2DmcTju-aKJ; Mon, 31 May 2021 21:31:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 8316283C43; Mon, 31 May 2021 21:31:22 +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 2B3851BF334 for ; Mon, 31 May 2021 21:28:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1FBA94025B for ; Mon, 31 May 2021 21:28:10 +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 ybh-0H5OgDCj for ; Mon, 31 May 2021 21:28:09 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by smtp2.osuosl.org (Postfix) with ESMTPS id DD151401F3 for ; Mon, 31 May 2021 21:28:08 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id j10so18494220lfb.12 for ; Mon, 31 May 2021 14:28:08 -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=Fts4Na+dP0HetjUtDCnmK3VnSzofpaqLbeHObTUioI8=; b=ek5YQIeuOapJszjbATdRlmp0t0Wljqrhrqxd5aVsAS+34tNfIyERYq2Zj0KGbwJU// nmgvpbPi04NM5h9PudFSxZOj44UHqjwma8/I4irUE2LUT0YHW0CyrE2H3840nxN0CWCt /CwZ4C7FwGK1IjIcBpoB78d91YlHfWmMgliN5J9J17oFgXF1+R0x9IfZGv+K+lHoOS0m lGSASt3M07eCiKl2A42lfm0GPkgYRzAQjie26pFGspB+hBqWLZq7K8OZKFtVc/QgMt2t ab97VO2I6Gt1MPM683QmBQOLIy5yVZtQVLMtBHYqi5iLkwV3HcbReCXXfd+XGoLZumMG 1emA== 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=Fts4Na+dP0HetjUtDCnmK3VnSzofpaqLbeHObTUioI8=; b=TAhvW24eYI5ceyk1n5qH+xLjAnYtORmwluwfJpsKFakbVqGa9SYQeq8hTRM0u7R/4c ZYUJtc1Eki8PUuA6BAvnv3NXpjr+QYRO1bOV+eUYbN5XwcprH5zBY6bYt2fYN3biKaD0 4OwDDFjzpyD7f0kgExEphdkfP+tuwFScE8MUR2ACtNPwcc1rBMztkC5xDlFx/KzT3mOY A+gSg4MVRhHFiOQhQwQ2iLLFjwDhRx0dbdaIQtOqDWWlj6qOGqDaWeL5T1wk9hoXOQn5 bj2huWR3bOQafehn0zkcxWzCIs7aZEQ/01ZfkhjLm2OpkuxQ3hYUz8a9SHBduRjXnUah g0fA== X-Gm-Message-State: AOAM530jpLSGGkssMpG99mdd55LyXwOWWujj53U+y2qHQoLkjbJM5I94 X91Pr4MAfMalQfzMQPxcFosKSJsu4OsOsA== X-Google-Smtp-Source: ABdhPJzH0fYKNpNRgEnOxFy4lp2D5RhsbsAYwpHMkNk+HxUks//aR+HSoavTDaJd6MeyM8EKCXDUyA== X-Received: by 2002:ac2:4f92:: with SMTP id z18mr15781874lfs.530.1622496486706; Mon, 31 May 2021 14:28:06 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:06 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:36 +0300 Message-Id: <20210531212748.2378872-17-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 16/28] configs/pine64_sopine_defconfig: switch to upstream ATF 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch to upstream ATF that provides basic support for H5 and A64. Note that allwinner platform layer does not provide support for GCC stack protection, so make sure to disable this ATF feature. Signed-off-by: Sergey Matyukevich --- configs/pine64_sopine_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/pine64_sopine_defconfig b/configs/pine64_sopine_defconfig index 6fa511477c..11539ac671 100644 --- a/configs/pine64_sopine_defconfig +++ b/configs/pine64_sopine_defconfig @@ -7,10 +7,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_DISABLE_SSP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon May 31 21:27:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485797 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=140.211.166.133; helo=smtp2.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=DYIAKFRh; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4Fv7lZ5FGbz9sSn for ; Tue, 1 Jun 2021 07:31:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 93BC7401D6; Mon, 31 May 2021 21:31:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 PC_Tuhku5eyC; Mon, 31 May 2021 21:31:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id DA0E64013A; Mon, 31 May 2021 21:31:34 +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 1AE671BF334 for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8819A401F3 for ; Mon, 31 May 2021 21:28:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 CGDhlEtlPnyS for ; Mon, 31 May 2021 21:28:09 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by smtp2.osuosl.org (Postfix) with ESMTPS id 982044024C for ; Mon, 31 May 2021 21:28:09 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id v8so18539404lft.8 for ; Mon, 31 May 2021 14:28:09 -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=HSS3xiDy2PTgmm4sHVq1S6tkFVTsfmTVEU561uBsJ40=; b=DYIAKFRh19Hx8IxRF8XoeEWR5JkGb+XElnsda7HYuHMVdAYdCUZHDjD6Bo3RXysZqi Jeayula0L7l6G3xjyX9QbAcG2XS6oT32szrnwpSEgPfn5SBbHVUCeKzpu4sEp+kJajeD czbHzbkMHlhK+JJ8kkWuxoiit428JwKk1XRwl7Hi8bW7dKj20VBGFfhYB/c3sWaOGfii 8blyM0/RaBv75QcYoJHPk6aqseEmQRaxovenyENeAbdhJCWMT6jcvFQmq0vcEQLhjIVJ ha5FtJ8EluI1HgEZboBy92r8qQMmWiJVpOkPV+5GdHMM0R139VJ7CHH6Ihu724DxfzJa aioA== 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=HSS3xiDy2PTgmm4sHVq1S6tkFVTsfmTVEU561uBsJ40=; b=YBDfEOG8z1HUXuUDg6t6sx7A89DnAdnqIMFHbj+J2QS0/CU7KfakdjGL5EK2SdbTUx dkwyub/HX20jpVO9qEpg5v8lbu14TxMlb1pUyznrdwH1/v5Od/l60+R+b23I6iuRDWyY Tkk0bEXVrDhMmt/VUYukysQA97h/2JMZU3MQfEW0Gu5UmmhePZJTiv24ByhBcQA+G2Dk PRL9YM5MdUACM6hWIRGn43LWw58YampvxPxVjbVecXg++JLevCue58yMLSghDCqyULtY Jy4kqT+vav+qazi4LeWwxZAZhOKUqe85DdHsvyk6BHE+fuEKQTuuWOaWSVE3XVS5KLNI DBHA== X-Gm-Message-State: AOAM532sylxsvdJptySVLdqdSzk+woEkA3Nil7P4qUDCxHwCPhseU0TG jvpMuW37BLz2IJolri1efo5NvNhR4iHFZw== X-Google-Smtp-Source: ABdhPJz+Rs0TITM4NFJFzm3C3uclGqgCpmQfC71EOyM8xDXlz5l24r2qeJlwXiV9I920WMHJeWNvCg== X-Received: by 2002:ac2:530c:: with SMTP id c12mr1677482lfh.514.1622496487425; Mon, 31 May 2021 14:28:07 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:07 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:37 +0300 Message-Id: <20210531212748.2378872-18-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 17/28] configs/orangepi-zero-plus2: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/orangepi/orangepi-zero-plus2/genimage.cfg | 10 ++-------- configs/orangepi_zero_plus2_defconfig | 11 +++++------ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/board/orangepi/orangepi-zero-plus2/genimage.cfg b/board/orangepi/orangepi-zero-plus2/genimage.cfg index 98ebf5b475..255acdbecb 100644 --- a/board/orangepi/orangepi-zero-plus2/genimage.cfg +++ b/board/orangepi/orangepi-zero-plus2/genimage.cfg @@ -19,15 +19,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1024000 # 1MB - 40K + 16K(GPT) + size = 1056768 # 1MB - 8K + 16K(GPT) } partition boot { diff --git a/configs/orangepi_zero_plus2_defconfig b/configs/orangepi_zero_plus2_defconfig index 282418885f..53f035a7ac 100644 --- a/configs/orangepi_zero_plus2_defconfig +++ b/configs/orangepi_zero_plus2_defconfig @@ -2,7 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay" @@ -18,16 +18,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y 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="orangepi_zero_plus2" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-plus2/boot.cmd" @@ -35,7 +34,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-pl # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2" From patchwork Mon May 31 21:27:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485798 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=140.211.166.133; helo=smtp2.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=MANleZMn; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4Fv7lp6f0gz9sSn for ; Tue, 1 Jun 2021 07:31:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 441E6401D6; Mon, 31 May 2021 21:31:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 PRmZB7qYcYO1; Mon, 31 May 2021 21:31:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 6A009403F1; Mon, 31 May 2021 21:31:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 96F311BF334 for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8609B60755 for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 N57_EPYVAz46 for ; Mon, 31 May 2021 21:28:10 +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 smtp3.osuosl.org (Postfix) with ESMTPS id 9697B60658 for ; Mon, 31 May 2021 21:28:10 +0000 (UTC) Received: by mail-lf1-x12b.google.com with SMTP id a2so18509788lfc.9 for ; Mon, 31 May 2021 14:28:10 -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=cDb1bYoowv5Zqw8l+eVLJEal4R+bvmyMhmogz/WYYcA=; b=MANleZMn9VARQMH0flznT1Jh2toTn25cQMpXZeVttfPScWTjAXXTxyiO2fkLFBk0lH /S5NlT5/c+qImzvkLyp5u5zOcc7mORRvCWXWfe7bdIMRpyCpbn1V8frjhyn6EeLA3EZh 1AbuTcQKDOSPECFCgRa7LLR5RuzX6M5qtXQNdiGUIOeA804SGh4pqFlk6cSjS9OPbRzi 4LyGL0z8fKkl8k9oa/ePCjNhp+5+xgCWsh/Gxm1WYKpW2L7CBAakPaRF5abe2+Mm9ckI kcJ9C68EFdZUJggcp74J2XUYg9fSEkKws9KzgbejpY+pS0BM4wCKjuOUcCVbi0Pv3u/e QV3w== 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=cDb1bYoowv5Zqw8l+eVLJEal4R+bvmyMhmogz/WYYcA=; b=bbtqgU+833ilcXFLdUxws2IssMzUu24AJuzY7heOS9pk6+MAo7rUuKcZdzpCKm8jU5 w4kFsLw98EsVuV5+KeJvRREkEH8bu/+ajHbbdxPyljWkOWehx8ocrGn3wWcmFOk8OCqr a2l3bIcAr9pGa7KFDUKao4gWO6R2ZJUOosF0Q7JafvALE6QuU+67mwLoZo+WEoW6kTPW u2akW8Vg5VZiNTBh/LPfi22IKg9EkLilN5VwZE7lEPqwuRVQQkv39tlllkao1XPio/wM sSkuqNVwGyNwErluC5z7ueb0bsitpOIcomTAkJLAnPb/WZzCKcrQmztGLf9x8b0fowhu 6l2w== X-Gm-Message-State: AOAM530PItjDPB+ew/pLRYJxBYyclWuWpfwnF/nbWckSo36GAQ+9x3bR pM7SvVrSzVABcb04sWqHjuFSbnW+mxNmqw== X-Google-Smtp-Source: ABdhPJyoyYS4AWn/RqUmZxXMactiJcixQcRXwZ8BSxlnqiVoEhDxvpRYMKA9cZkrOpAuSQPXceXDcg== X-Received: by 2002:a19:ca5a:: with SMTP id h26mr1838578lfj.305.1622496488210; Mon, 31 May 2021 14:28:08 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:07 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:38 +0300 Message-Id: <20210531212748.2378872-19-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 18/28] configs/bananapi_m64_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/bananapi/bananapi-m64/genimage.cfg | 10 ++-------- configs/bananapi_m64_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/bananapi/bananapi-m64/genimage.cfg b/board/bananapi/bananapi-m64/genimage.cfg index 9730d8faac..dcd57f8f97 100644 --- a/board/bananapi/bananapi-m64/genimage.cfg +++ b/board/bananapi/bananapi-m64/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig index 4bf8f1e96c..a9d7d69606 100644 --- a/configs/bananapi_m64_defconfig +++ b/configs/bananapi_m64_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m64/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m64/boo # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-bananapi-m64" From patchwork Mon May 31 21:27:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485799 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::133; helo=smtp2.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=FwAZPS0X; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Fv7m40yQ8z9sXM for ; Tue, 1 Jun 2021 07:32:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id EB96A403F5; Mon, 31 May 2021 21:32:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 4mm7cyZ5Hg8W; Mon, 31 May 2021 21:32:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 15F7E403F8; Mon, 31 May 2021 21:32:00 +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 56D711BF334 for ; Mon, 31 May 2021 21:28:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4525383C42 for ; Mon, 31 May 2021 21:28:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 2tRmGnvsHw4w for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4986A83C3D for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id a2so18509837lfc.9 for ; Mon, 31 May 2021 14:28:11 -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=LfaJ9Gr/nyyQY28NpSOzJEaRO7xX27gN8DP6Pqlfhdk=; b=FwAZPS0XyzRgRNMDhgavwfGbl3JOPPwuVl1IKr498FqqvQdLdG5x0MKjkUAoVMgpbs cjSGdv9sHi/m6e1uh4GU0nU00STKftMcb/Oa4z0kowz4df25V1mw9ml5Fvn/UPp0Jxi6 xTnGszi9hxFxa1rR4cUPwGRDzHcVd07B1WiJ/5xsh2FLa2nCmCalxIIOrx58ljxfmLgh 0bADwJu3qehiP2HySEhTktgyqR3mH6Gm0hCSvwojEEq62c/MFWFjkvY4lPr+JW9NbkRb kLBYpINIKMJnEgGj4RpgzPh+GAPElWK+dawd54D5Ft701C0MeIOenMP46Hp3yJ8ppuwc tQUw== 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=LfaJ9Gr/nyyQY28NpSOzJEaRO7xX27gN8DP6Pqlfhdk=; b=ABIOmZHsu9N59lRZbT0KIIzW1emDxIWdA0wqWgvDf0MbLV8uwRlx3nLyZVuD6mdRjX kSFSG05zBMhaoWMLXva789BH8Qj+mr3nUjXV4P3gQwdeQ+pZ4ChEvZgkobjoUza6/VmW TJvpf6/lgIssAf+6t0xgbTBE6X/MMBEesO7vHDu0CeeDGhSXMp9hm9QdeLhO9U8QJSPk iRKropF3E2ZK+4Cr7Vc+TG/+TikeDg/iynclQG0gW7/XtM+zuY2tSznHwLd0wIHUz1Sx 1GuFMJI4FCGPd3WcbTLJwFM5YpQRutkq5SGlXWa6NQ2k88pmTjVP1JeV24ntwJV49G/u u/7Q== X-Gm-Message-State: AOAM532qPhOnVt6R9S9k/DHKGbshmvkF5nVaaM3Ndx3uZokuRSdSfegY hR1b38OC4fABV/dy1ogFcdbKQnB6DqcQzg== X-Google-Smtp-Source: ABdhPJxZOeXHBJGFS15oz9bQolANrD4R5pyhutBORuLUntTrTywk3j5I4nY2f1UhHAb+ZKKd8yTsPg== X-Received: by 2002:a05:6512:1328:: with SMTP id x40mr15436090lfu.589.1622496488973; Mon, 31 May 2021 14:28:08 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:08 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:39 +0300 Message-Id: <20210531212748.2378872-20-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 19/28] configs/orangepi_zero_plus_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/orangepi/orangepi-zero-plus/genimage.cfg | 10 ++-------- configs/orangepi_zero_plus_defconfig | 11 +++++------ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/board/orangepi/orangepi-zero-plus/genimage.cfg b/board/orangepi/orangepi-zero-plus/genimage.cfg index ec15898ddd..13f42533ca 100644 --- a/board/orangepi/orangepi-zero-plus/genimage.cfg +++ b/board/orangepi/orangepi-zero-plus/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/orangepi_zero_plus_defconfig b/configs/orangepi_zero_plus_defconfig index d3cd1d1b63..23b2d71fcd 100644 --- a/configs/orangepi_zero_plus_defconfig +++ b/configs/orangepi_zero_plus_defconfig @@ -2,7 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_SYSTEM_DHCP="eth0" @@ -18,16 +18,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y 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="orangepi_zero_plus" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-plus/boot.cmd" @@ -35,7 +34,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-pl # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.19" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus" From patchwork Mon May 31 21:27:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485800 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::133; helo=smtp2.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=MqFPKjEh; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Fv7mJ4LVxz9sSn for ; Tue, 1 Jun 2021 07:32:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 958A14013A; Mon, 31 May 2021 21:32:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 9pKfDuCHmYQG; Mon, 31 May 2021 21:32:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id BD84A40400; Mon, 31 May 2021 21:32:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 171B81BF334 for ; Mon, 31 May 2021 21:28:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 05E7260755 for ; Mon, 31 May 2021 21:28:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 h4fQJuhHuZBG for ; Mon, 31 May 2021 21:28:12 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by smtp3.osuosl.org (Postfix) with ESMTPS id 207EB60658 for ; Mon, 31 May 2021 21:28:11 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id a5so18583038lfm.0 for ; Mon, 31 May 2021 14:28:11 -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=Nb94ZYtUcSQ2ss6v2ttpTVR3EMhxChXGfaFy81tceTw=; b=MqFPKjEhv+5kGnuZPt/j92bLTd8Uc0NiuEBbw385evEX88NtE5Zdm3zRjh4xM4rcBr /Y7aqmDkT70n3FpaoCbBBbp8UWnF5atZyLt2Cdo9uyYhsnE2Pu5Vph2OH9aHB9p+pbFv Hmm0E83D/aVqTC5z3j7TNZ4lsxK/7tyUuW96WNmXqwNShjmNjR9tqPaNspw2hleIlScy 9vUYk6KR0F/MBME3oIP46du8o1lXnYaYuM3ow16+l3bXh09kgg7nBpjyUUIdMbSuak1R F/+gi/Si16ynIoci5JduToWfe63RDGbqz4nZl4NM/dPSKZLzsiNd67lhEZXkW9J/o9oC Vp0A== 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=Nb94ZYtUcSQ2ss6v2ttpTVR3EMhxChXGfaFy81tceTw=; b=iBFVGwHICVqpziLs1MXNKkWXUp0HYo/mkr54mQO1oqv5qiTjtxXckFxasqJmKXGQag A4IHcYkkWy9W6c7HyNatE1e/54nzLU2FaQ8TN/aaGr4PFhwHBO+OJiKkNPDDFGDgTbOy 0hiMMLvFB7cbANG7OBfNCOpN+r14wCdQ4K2d+Rj/Rq/7G003FRrQLV1MRF//W5tfj+yK /nBqGCq95FMK+Zzr7jRy3wstPSSAmQs1VGp8zpDr7g7/ScD5XP+uKtq+I0I7CUtiTxjv OWgB4XvZ7ROgqxRC04oLzk7J1Cccvr2y3IJKXLXWrU+drDmnTpmPRA6YBT6bwXbrdVA2 NWLg== X-Gm-Message-State: AOAM532uOME3cy+nT76tSxUMZEfC1XVJX0DCIccVgYOY8c95ChVxYakR UUEz+IxH6cTBnLwD1BGa6nlnA0y66pUa7Q== X-Google-Smtp-Source: ABdhPJxTYXyrioK/Yp9BTwu+iAzWqNVcmGTm7Xzx7D7sWbSt/MmyDl3VGPV6bz87v7pbu4mdVvz+Tw== X-Received: by 2002:a05:6512:48d:: with SMTP id v13mr2267154lfq.284.1622496489858; Mon, 31 May 2021 14:28:09 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:09 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:40 +0300 Message-Id: <20210531212748.2378872-21-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 20/28] configs/orangepi_pc2_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/orangepi/orangepi-pc2/genimage.cfg | 10 ++-------- configs/orangepi_pc2_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/orangepi/orangepi-pc2/genimage.cfg b/board/orangepi/orangepi-pc2/genimage.cfg index e10c67ffc3..c179efcc19 100644 --- a/board/orangepi/orangepi-pc2/genimage.cfg +++ b/board/orangepi/orangepi-pc2/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig index e7af1d4276..d88a54ad3b 100644 --- a/configs/orangepi_pc2_defconfig +++ b/configs/orangepi_pc2_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc2" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-pc2/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-pc2/boo # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-pc2" From patchwork Mon May 31 21:27:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485801 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=140.211.166.137; helo=smtp4.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=UD+Hps8Z; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7mX55MWz9sSn for ; Tue, 1 Jun 2021 07:32:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3429F40401; Mon, 31 May 2021 21:32:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KICSN8HC2i_F; Mon, 31 May 2021 21:32:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 67833403FD; Mon, 31 May 2021 21:32:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0404E1BF334 for ; Mon, 31 May 2021 21:28:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E6F4E403D2 for ; Mon, 31 May 2021 21:28:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cd4HYJVjxlcr for ; Mon, 31 May 2021 21:28:13 +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 smtp4.osuosl.org (Postfix) with ESMTPS id DD76640379 for ; Mon, 31 May 2021 21:28:12 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id a5so18583066lfm.0 for ; Mon, 31 May 2021 14:28:12 -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=AyXiL+xa6xRYkTNplWUlYzsw9VjVLLzsqbItIzaA3TA=; b=UD+Hps8Zy/gjAUlQGWpR05eqRQARwdIA/pAxK47mFIPG4Ft4U1yferOrf+xk7DQLoL S4bqUtOtmSrePegEgumKRsoS4rTC9oXiWVd8eQqgQDsIE7YNRIB5DRFbrmVRExonb9rp NATTD1pYYHGREzTORybduCCbT36yeDvt3HMUI6gMfP9QllmBsj8fkfWKZlLlS1O/j3Kb K57FhZdnXMdBnuGEiLKRbUi4k8KCK7Pgzi9N84ieirlm2+pjC+qDw7FFwY/SRmQEOCNX 6ojgyaIjf9ZHtzWTmhQj9apTCLPeKWuK+hUsdtVoK8zBoDtV2F129g55mBRjxIuHcd7u dLLw== 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=AyXiL+xa6xRYkTNplWUlYzsw9VjVLLzsqbItIzaA3TA=; b=QomnzuHNbL7CNRbFZb2qO69rhViZNVp/oOMTkEsTv/26Ecq/pUaVZoGpbeLUf6kggS 6bzWxWObuf6KzaCji8JTDaYCjxabaZGAZ/E3XsZ492fmvKVUO+TN0UzzC6GuXpPJEj8F y4L6JoHgexwbT5sIia/jrmlJYbYgjL+thras+lH5GhYg0XaVgBPzH7Et8iLJIoz7AcDV 37dUCiS6QR7DJW5tgHbElu37OnaPKgtq3c+992oQ/gjVRwhtVwsQHBOYqsfaz2AP7MEc AsCB2X1AtB51Mqkh3ngZEIjiy+oXRsWbQd0MUTNQrG2sEVm3VUTDZ4g09x0zy/qgCOrI Ge2w== X-Gm-Message-State: AOAM532g+LUeBox0Tcoeh9UPQxYSVIA96bfyt2WkRZLpcrkLIN6JL582 8C/wgtxWKZwjF5o7WQ+Bgd5kLXxCyZC7dg== X-Google-Smtp-Source: ABdhPJxVjd03TdRHPimSD/eTnXnEpMPo2B45RsMULB/Q0wFcdrUh/OT659K06wrkDdLzB3/RLZX5lA== X-Received: by 2002:ac2:5990:: with SMTP id w16mr15956679lfn.270.1622496490654; Mon, 31 May 2021 14:28:10 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:10 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:41 +0300 Message-Id: <20210531212748.2378872-22-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 21/28] configs/orangepi_prime_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/orangepi/orangepi-prime/genimage.cfg | 10 ++-------- configs/orangepi_prime_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/orangepi/orangepi-prime/genimage.cfg b/board/orangepi/orangepi-prime/genimage.cfg index bb01ed9f10..be7e9d7908 100644 --- a/board/orangepi/orangepi-prime/genimage.cfg +++ b/board/orangepi/orangepi-prime/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/orangepi_prime_defconfig b/configs/orangepi_prime_defconfig index ddee65c185..580a2baf5b 100644 --- a/configs/orangepi_prime_defconfig +++ b/configs/orangepi_prime_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_prime" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-prime/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-prime/b # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-prime" From patchwork Mon May 31 21:27:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485802 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=140.211.166.137; helo=smtp4.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=WjKZSdQA; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7mp1BVpz9sSn for ; Tue, 1 Jun 2021 07:32:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A278040406; Mon, 31 May 2021 21:32:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTtEyRXh2KoU; Mon, 31 May 2021 21:32:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 7FAB740410; Mon, 31 May 2021 21:32:38 +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 2320E1BF334 for ; Mon, 31 May 2021 21:28:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8A70483C3F for ; Mon, 31 May 2021 21:28:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 5VScoBCwOl5H for ; Mon, 31 May 2021 21:28:14 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by smtp1.osuosl.org (Postfix) with ESMTPS id B974783C43 for ; Mon, 31 May 2021 21:28:13 +0000 (UTC) Received: by mail-lj1-x236.google.com with SMTP id c11so987534ljd.6 for ; Mon, 31 May 2021 14:28: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:in-reply-to:references :mime-version:content-transfer-encoding; bh=DicAEAN8Ql+xxbkFMEYs8yoUnPvR8GFV3xFp1V1yOsQ=; b=WjKZSdQAztCfzPt207PoQMzJP0hODsBqvWVLhPuwVm5+HlQcbhRJVy1hO0O3Lxe02E azGaiAMDBzeB1RsQA1W/KmQtQDe03v+fjjZWand3PVxH3b0S7KP+nxptFQfkoIlqxBjx uXhi13ooWxXJGSaKuwJF29fUu6cv7ACqTMMszsF4gPGCB7DojdMizySFwVlhEU0Vj8VR NcG7Bfqdl8DvmX3d+OMbAZbgpIneziT+mKJCvpC8Ecr8glbSjbUrVDt1FoOqdCCBbonv wp6ZO5QIIhCynLx5Yk2LXuSKqqkG82rEvhAT6TcjIKfzC+Q5RZH6yOVvDFfZPYim4QwH IYHQ== 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=DicAEAN8Ql+xxbkFMEYs8yoUnPvR8GFV3xFp1V1yOsQ=; b=floB1wQ6byQDbP2jRjjbeTT0zDqalnOmUF7h3PfKtliE2lztSV5uA+vU8ZZBS8Je/7 554FfRb7erm+p7bRLrNxQcfwGVvGid+EUWKH3Qs0KU093ELMJqlJF6v93SKO/ps/0o/F VMJFeLvpkmeVjd9AeaFqhgoslfkifr7d5JCaRSsXqiuEtqU014VtpIdCfa35D8NKcFAX yMEye2orN1FtaN3xVAISIhLS2k4fm61mZ9Y/fyWnsACSqjbtf0wDi78fVniNuuxsppwq NAhGxWLKWT3b+tK/y6LZXcRGF3iG+0oxCRhik3RNelRwXnDON5A8LkVWocOpA8HEEAGW Db8g== X-Gm-Message-State: AOAM533o2QJev53vLxQaINa6oi5hTCGnud7S+dW07a7XtjlpqNhAT8+D 4/oGwqppj0YmdNMbx4EJPoV7Jtqo1wt3kQ== X-Google-Smtp-Source: ABdhPJyvH9afKF2NDKGZByVU7+Hc/Cz/MScLFoMM23jq6v9cEe+BkzEQ4krZfA4/9qREniQR9yMuPA== X-Received: by 2002:a2e:7d19:: with SMTP id y25mr18385242ljc.82.1622496491424; Mon, 31 May 2021 14:28:11 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:11 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:42 +0300 Message-Id: <20210531212748.2378872-23-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 22/28] configs/orangepi_win_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/orangepi/orangepi-win/genimage.cfg | 10 ++-------- configs/orangepi_win_defconfig | 15 ++++++++------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/board/orangepi/orangepi-win/genimage.cfg b/board/orangepi/orangepi-win/genimage.cfg index db025d55ca..f24ea32584 100644 --- a/board/orangepi/orangepi-win/genimage.cfg +++ b/board/orangepi/orangepi-win/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/orangepi_win_defconfig b/configs/orangepi_win_defconfig index 217f3e1e42..cf7c0d5e3c 100644 --- a/configs/orangepi_win_defconfig +++ b/configs/orangepi_win_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,14 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_win" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-win/boot.cmd" @@ -32,10 +32,11 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-win/boo # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-orangepi-win" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y # Filesystem BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Win/Win Plus" From patchwork Mon May 31 21:27:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485803 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=140.211.166.133; helo=smtp2.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=hJdz3+mK; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4Fv7n34phyz9sSn for ; Tue, 1 Jun 2021 07:32:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E45A640255; Mon, 31 May 2021 21:32:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 Og9A2DkR2ehv; Mon, 31 May 2021 21:32:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 3E51F4023B; Mon, 31 May 2021 21:32:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 949291BF334 for ; Mon, 31 May 2021 21:28:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 83CEB60755 for ; Mon, 31 May 2021 21:28:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 Ury4Avv28T-x for ; Mon, 31 May 2021 21:28: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 smtp3.osuosl.org (Postfix) with ESMTPS id B03D860658 for ; Mon, 31 May 2021 21:28:14 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id q1so18553946lfo.3 for ; Mon, 31 May 2021 14:28:14 -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=cH3X9vUr585R/T7y1ZcnLSx0L7XRlHyXs8hEoDt+wS4=; b=hJdz3+mKndOGi6uaVliefq8908YgjJvq/LziSOGuk3nrKjWKhta39fwfMjbIdoxqzE jEvsLr9n3aS9tZ6hltWapFcI9/+YN77hHHtccZd+SzT841OXUv1JTXr/sO32ydxu8iSn 3asIoVNJU25XitYoE3BmqXvRtBKRnYmQFKwvVklnGGKNW/f56HrkSKy7S2xRvBWRykuC i5mBTOb3XW28L/VF+vnT/zR2HRcxEfoAg2KeO0ipZEWXOj1unJg6SLH3J6wGlZONZTnz kY/2nUDbx18EWVuxsuXy6KWu3/iKKPChVVz7ylDjBCKKs5LfzamPXBqS1MSL77c4sz5R +7pg== 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=cH3X9vUr585R/T7y1ZcnLSx0L7XRlHyXs8hEoDt+wS4=; b=JTmp2y92l0nMXSbfBf6pVqxCi+oYVxK69dG/Xv/F7FFrCUKc8MGGr1jMEUrkRK96ag tMkm603k3qGV7ytaKqkPeF0buPBwv+0ixEovuGX04M8J+IrP2Z6ZYjRpn0E8zvirMXiB 8gXQ+MuklmgzKKhjLJBnTo0a2n1cSHBswrJFCjKm6KlbFwVqPSE9cmWrAJeyT1x+Fpnn eX3Qab7hFrMgnd5T07sqdEDgiafDnbcg/cFEESI02ETLjI8qPdiMk0P5KiOOHoOo++gv doA2WlwA9GmkProzn2LjvpTU9L/50Ih1tnhV2O/pIE0gQhW0Dhwi5UZd2PF1lX5B7/+A KD+w== X-Gm-Message-State: AOAM533sZ4Hqr9RGelak3O2irwMFevtzj61IGHMP+5FnEJN0/VNZX/r4 i1uvhDB49rulyFL+KnYu32rHcmgUPgBO4A== X-Google-Smtp-Source: ABdhPJzyw+SwRyvF0YUU4m9JSVeAF/kLgRl7BI4az/f6Ph8FNijJ3R3vAgbrAAq8oyIuYcKC+50z+Q== X-Received: by 2002:a05:6512:10d4:: with SMTP id k20mr15718036lfg.210.1622496492397; Mon, 31 May 2021 14:28:12 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:12 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:43 +0300 Message-Id: <20210531212748.2378872-24-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 23/28] configs/friendlyarm_nanopi_a64_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/friendlyarm/nanopi-a64/genimage.cfg | 10 ++-------- configs/friendlyarm_nanopi_a64_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/friendlyarm/nanopi-a64/genimage.cfg b/board/friendlyarm/nanopi-a64/genimage.cfg index 66b6c5f461..778d89b2f6 100644 --- a/board/friendlyarm/nanopi-a64/genimage.cfg +++ b/board/friendlyarm/nanopi-a64/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/friendlyarm_nanopi_a64_defconfig b/configs/friendlyarm_nanopi_a64_defconfig index d0c2f71960..5292462fc2 100644 --- a/configs/friendlyarm_nanopi_a64_defconfig +++ b/configs/friendlyarm_nanopi_a64_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_a64" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-a64/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-a64/bo # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-nanopi-a64" From patchwork Mon May 31 21:27:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485804 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=140.211.166.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=AsDPIRLX; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4Fv7nJ2Fzjz9sSn for ; Tue, 1 Jun 2021 07:33:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 71897607CF; Mon, 31 May 2021 21:33:06 +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 vjSPRcxHrT4t; Mon, 31 May 2021 21:33:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id B0650607A0; Mon, 31 May 2021 21:33:04 +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 4C6401BF334 for ; Mon, 31 May 2021 21:28:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3A4CD4024C for ; Mon, 31 May 2021 21:28: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 p07UwK1TOHjl for ; Mon, 31 May 2021 21:28:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6F87540236 for ; Mon, 31 May 2021 21:28:15 +0000 (UTC) Received: by mail-lj1-x22b.google.com with SMTP id e11so16480312ljn.13 for ; Mon, 31 May 2021 14:28:15 -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=NTDyk2YI4sMBi0olMNPX/0axvlTSIDOg4gAA2bAEjBs=; b=AsDPIRLXS7q5iPlUS9pifVOmkNd3BHiTXlvn68nGP0fyLlQ7WpwkSKg19RccdBDx5p ajxLkZ1EEA1oOHnvFqbxH25kKqmlZFxqAyUBsnsZD06zDQOh87bUL0MKgR/sp0d7cl76 LXW2Kyp0/ywfkGghD679vl37TaNaCq6uuoX+usbePfFcP/GAZnznfQG8lMPAacK76VHw LA7F/rEqwrdCZ7YqW76X5c6Fc/w5n3n47S5qg5hBsPrzqkWQxcBQSFT204QbTdQfRaOU RdJItZsxXJe7dhbC8+deL02Dg+jx+tg/DbMh+D8eMbaijTSt7fIFfalnKFMnHX6cBDuh 4RjQ== 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=NTDyk2YI4sMBi0olMNPX/0axvlTSIDOg4gAA2bAEjBs=; b=TRjvipEerSH1ZJZXyW3EiE6zn6iM4VrVbhE9NweHn/azbNPis927vmTHmjsJrRvPeN HnY8Laf/U+zbHnHUOH0+RHqRZVHe+rXYOimZWfYKWVWd1rvRimxMQv0W55c7R3zbEKKW CnUOX8M/8NhkTzjX3GC2zV26267Y2xFD/nKsgFkCxYH70RtZe73YGTLZlY+6j03Qaa4r SoV5MO/yB5wSzezv8oIBk/K1rFCqWJhRPNkx1r857LBNrMOqOM3Ir32axdFtAXC6hrrb TDrGtjji1tJuNMOgJ3YXQG/6uk2qTfAJbSZbYhmYURiDs/29Kupvf0aro6TPb0V22RIF Ex3A== X-Gm-Message-State: AOAM530qLsRLVfL+wewWmopQ9vfoYR7UBREagPSqimsYcFxN6ZoacjDC LmBv7N11kmj6jfiYLJ1PvbDQbhAMtBgwmw== X-Google-Smtp-Source: ABdhPJyYPFfymb+2ONgCca4R3LvHjb/VgI4EHX5xpX6MkmYcdrFOuseAHzWIm+Q5pDGeVm0tREYmuA== X-Received: by 2002:a2e:95d0:: with SMTP id y16mr3906605ljh.140.1622496493187; Mon, 31 May 2021 14:28:13 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:12 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:44 +0300 Message-Id: <20210531212748.2378872-25-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 24/28] configs/friendlyarm_nanopi_neo2_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/friendlyarm/nanopi-neo2/genimage.cfg | 10 ++-------- configs/friendlyarm_nanopi_neo2_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/friendlyarm/nanopi-neo2/genimage.cfg b/board/friendlyarm/nanopi-neo2/genimage.cfg index ebe123b758..c025289cb5 100644 --- a/board/friendlyarm/nanopi-neo2/genimage.cfg +++ b/board/friendlyarm/nanopi-neo2/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig index c695150ce3..5018cf2edc 100644 --- a/configs/friendlyarm_nanopi_neo2_defconfig +++ b/configs/friendlyarm_nanopi_neo2_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ R2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo2" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-neo2/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-neo2/b # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo2" From patchwork Mon May 31 21:27:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485805 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=140.211.166.137; helo=smtp4.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=lwYzUCvG; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4Fv7nY3hTMz9sSn for ; Tue, 1 Jun 2021 07:33:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C79CC403F7; Mon, 31 May 2021 21:33:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WCoIrsrECpWF; Mon, 31 May 2021 21:33:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id CE32F403FF; Mon, 31 May 2021 21:33:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1791B1BF334 for ; Mon, 31 May 2021 21:28:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 072DA60755 for ; Mon, 31 May 2021 21:28:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 tGDrdrxG6ZwQ for ; Mon, 31 May 2021 21:28:16 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2126260658 for ; Mon, 31 May 2021 21:28:16 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id v8so18539673lft.8 for ; Mon, 31 May 2021 14:28:15 -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=L3IQ7yUR2Ma+EaIngz4NAQf65w3Vw/X/7zQM9oz3xDY=; b=lwYzUCvG6fSEpJ1eyE7plKaPWDC7tduIdHR2a6TvNpmUyVfquuClYwU/tBEBJVYfpf yjQyP4TpY65qand0nRAq2vnkhQj4X4G+i7hfFnc0/0TwpOqiInZ7/qXTVBUMf1v0yL7u f76f4MLHtU9lBvFtCnMfNVyaIKLSmb8lSZEV8ikJTP5e1ksi4L7zrS/mI5X2sLsFVxIN d5TsK7xu2hJEG56lx5eGofGfXoSoGtQ6gAyxTRSE3v85xjBGJBo+Mn1b1YGmH3N9s//N Y6btMc/8sZKoMAZOWvsSk7lquM7AazDTwP1wtZ7jHKVyM3EtFfaIeVvXeK3ZTyawpWV6 HjAw== 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=L3IQ7yUR2Ma+EaIngz4NAQf65w3Vw/X/7zQM9oz3xDY=; b=La9FSrA2HxEzggkISw7aixGDrA541FMZtgDX3NLCTshMjMEvxRb8obJUGFL4n1Nlb9 TOFnM0LrMc9ifxYp9b4tdCKJ02t/ujhDKJLEMOlBtwDejCodh2YVNEzxZogj0yeK9kRP 4S86SY4Ke30AMMUxiOAX9Mqf/UcrYdMC4Edg8HIJMIXySkPPwJyg9fxc2ByllZgRkRVb WG8BPH7zIntoaRSmHxsqL42O6hpDNg3034dwowXZWGMyJ9jTpDDxsOPuBolBRjlC6H3T iYQa7T+9hy6xCBp8TM18hLJs37+IavjyPbhwiWXa3iSKa9+MUEfIOGh7OP326b3KD4Hy /e4A== X-Gm-Message-State: AOAM532+FezjYNzhhlHJBsoYx4hKaxZ3dfoCzQzbQQon/TAqoPbSyPEB 6msBPVbw3g8g94rMsl4imsSpLO9X+969Mg== X-Google-Smtp-Source: ABdhPJx8JMoY5XxzP3vtrACFS/WB1iHSXpNsk4oymhxxRQb7YAoguD1ow2csPYQksqH0GaqlBvWpag== X-Received: by 2002:a19:7b05:: with SMTP id w5mr16006727lfc.476.1622496493853; Mon, 31 May 2021 14:28:13 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:13 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:45 +0300 Message-Id: <20210531212748.2378872-26-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 25/28] configs/friendlyarm_nanopi_neo_plus2_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/friendlyarm/nanopi-neo-plus2/genimage.cfg | 10 ++-------- configs/friendlyarm_nanopi_neo_plus2_defconfig | 12 ++++++------ 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/board/friendlyarm/nanopi-neo-plus2/genimage.cfg b/board/friendlyarm/nanopi-neo-plus2/genimage.cfg index fb871abd43..e883cbf725 100644 --- a/board/friendlyarm/nanopi-neo-plus2/genimage.cfg +++ b/board/friendlyarm/nanopi-neo-plus2/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/friendlyarm_nanopi_neo_plus2_defconfig b/configs/friendlyarm_nanopi_neo_plus2_defconfig index 91b8ad1a22..a3cd3c4626 100644 --- a/configs/friendlyarm_nanopi_neo_plus2_defconfig +++ b/configs/friendlyarm_nanopi_neo_plus2_defconfig @@ -2,7 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_ROOTFS_OVERLAY="board/friendlyarm/nanopi-neo-plus2/rootfs_overlay" @@ -18,20 +18,20 @@ R2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo_plus2" 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" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.4" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo-plus2" From patchwork Mon May 31 21:27:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485806 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::137; helo=smtp4.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=NgD7peE3; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (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 4Fv7nq0ykSz9sSn for ; Tue, 1 Jun 2021 07:33:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1B80940401; Mon, 31 May 2021 21:33:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z36OcmFlR__w; Mon, 31 May 2021 21:33:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id F114C40409; Mon, 31 May 2021 21:33:30 +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 1C2EF1BF96B for ; Mon, 31 May 2021 21:28:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0A41983C3D for ; Mon, 31 May 2021 21:28:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 3-uW5BkerKCV for ; Mon, 31 May 2021 21:28:17 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by smtp1.osuosl.org (Postfix) with ESMTPS id 288EC83C3F for ; Mon, 31 May 2021 21:28:17 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id j10so18494586lfb.12 for ; Mon, 31 May 2021 14:28:17 -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=NbVqehvUg6eyXyhCBmjjcNu6uKZGYSp3ZYv1GS55c9g=; b=NgD7peE3OWInXlaxQLxyey8sACyF3qmjIlta25Zj/4Rj++erLVK+GgUZgCD26u5G5k Hq3M6PYSwbjpJOnxOt3Z+2rU8OB+YD+Ix7xJhXRZy/Zxgrq2Ng/5EMwnyypGN5I7wa3Y CC6nY9scddjq88nUjqutQim1iDOmMqY0HUKUtplT0LYblYIyoK2Y1ZgZisgJfuuId116 6jfNY9uTrD/wXrJ5a4tx53rJjaed84eVuGoR3FfzoNRAz47znfqmMkAy22ENaboQ4wd+ ec81P8/7WDpwAPwWbKFXiLpaq1Aj3OYIoqHgJuxBfL7+RBtwYWNh5HnP7jQyUI/5egLx wDVA== 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=NbVqehvUg6eyXyhCBmjjcNu6uKZGYSp3ZYv1GS55c9g=; b=CybBaNNY03PIARnCaQzRFZXQKj2TBr7xa9X1XiiFl4RJ3IPSAh2mnw7jkWDyDkulm3 F6EplGB3wHsxGJp9fqsTDcqWfO3d6/4EkTdlJfw7cdz3O7/Yx6jl8Xj6u90qSbOV2hU9 hMprOVyj1vDN0U6B/VBgBqSkkNq0ZjFyNzTyhABhqZ3ly0gYkJNY46aCD4wzHKFp39+3 W5jfnpsFzUwU9zP6X65XOLVjjGFGrpq7HvSBTR0n014tDjpaey0y8u/awuImGFPhfkqo AUZatDVtCzkSnj1+GBryJrmL/rJjDb/vdZO/M+zZZOGkBe+SmupaVcyvfS5v2+Esg//n OB4g== X-Gm-Message-State: AOAM532pZBXcKPsPVf29DEphcDXQJmwZIYdZ7CJ8CFLEhWcz/wvnjHa4 imn59i/xTekVsA0qF2kYonoRP3KNBiWbdw== X-Google-Smtp-Source: ABdhPJxohFdwXvPPe9xCR5CeNSGYvnnUypo+nhk6/jxo8sX2ruhMwOQgSv4hWrrz8IB13SOGOYw/YQ== X-Received: by 2002:ac2:5bd0:: with SMTP id u16mr1295003lfn.635.1622496494876; Mon, 31 May 2021 14:28:14 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:14 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:46 +0300 Message-Id: <20210531212748.2378872-27-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 26/28] configs/olimex_a64_olinuxino_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/olimex/a64-olinuxino/genimage.cfg | 10 ++-------- configs/olimex_a64_olinuxino_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/olimex/a64-olinuxino/genimage.cfg b/board/olimex/a64-olinuxino/genimage.cfg index 328b68be19..0fe8c0283c 100644 --- a/board/olimex/a64-olinuxino/genimage.cfg +++ b/board/olimex/a64-olinuxino/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/olimex_a64_olinuxino_defconfig b/configs/olimex_a64_olinuxino_defconfig index f9b40410ce..f0e407590b 100644 --- a/configs/olimex_a64_olinuxino_defconfig +++ b/configs/olimex_a64_olinuxino_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="a64-olinuxino" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a64-olinuxino/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a64-olinuxino/boot # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-olinuxino" From patchwork Mon May 31 21:27:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485807 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=140.211.166.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=dn2nx//X; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4Fv7p35ZKbz9sSn for ; Tue, 1 Jun 2021 07:33:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id EADDF83C46; Mon, 31 May 2021 21:33:45 +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 GdikvAIHuhum; Mon, 31 May 2021 21:33:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 3670783C44; Mon, 31 May 2021 21:33:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 32B9A1BF334 for ; Mon, 31 May 2021 21:28:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 21750403D2 for ; Mon, 31 May 2021 21:28:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L49QO6iWCcPO for ; Mon, 31 May 2021 21:28:18 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by smtp4.osuosl.org (Postfix) with ESMTPS id 14A4840379 for ; Mon, 31 May 2021 21:28:17 +0000 (UTC) Received: by mail-lj1-x22b.google.com with SMTP id a4so9772408ljq.9 for ; Mon, 31 May 2021 14:28:17 -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=mcH60DVO+V2TJsov0+XXfXe9KEPHyC5NmS3otqiHp0c=; b=dn2nx//XXki5NMvFq4KgWVvfmOWSzukgbvQu8FHEMFDG49SMz1M+8TQd3lheUT5HGT Bu9R4cvNzjgQgVHfsEfLNjwzF6FtEE1HmOdbW1jxKWBsO1uLB1ppqP+9ew6kVlY7235q 3q3NCI6uuJgDVOLQd7he7lsPGE2cqLLst+hNmlsv6vfx3jr5q7wBxAhm2OZng3OHoWKM rM04UsWz9dNXL04U0G7fiTi//5VVuDzHksEizc/5QtSe/CyhqisxCW9Bkwg1jx5/TrN9 wx05zddGdhcRG4aK9fC6uvbWG02ZY+EeZriH3lhfKza6UxF3DC9XaWcPavMcgKnbrPne qM7A== 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=mcH60DVO+V2TJsov0+XXfXe9KEPHyC5NmS3otqiHp0c=; b=TUQZLPiAGjA5FryRZbePfpJ8oXR6BVgysAEhUrwjdQAhdtz02lXQPgoaMplWrbWL9K KTMidUYfRo2KNFX1nWnOc5fTzo/fxQt+qaHFibwdt2Dk33eUDTeMWkXGrXBJ8DcXfd1H RQmLyujfUePnpVjxojR7GnspeWYvskC5BYy4fTBQPapM4/gke8U00WANMdWngI50SCTd b58MjhGsOo8UA1rX1LqEP+odM160dcy2LP5r6imdmd4cg5e1wMnz/+70SDpVY7Xw8LUd H+rpmL92PFjNTNiY0a6ucWOa37erz5Rn/11fOsxzrAE4eusKlswMwVkp3nW9EpRWR/7O CYfA== X-Gm-Message-State: AOAM531GmMR0fB9LKGsYbCk4DGE1+iMAkmMeY6y8CD1OxXGq4tecs4Yj i0ukHvCf7AghaoL/aMgOGA6Rzgr5CVWifA== X-Google-Smtp-Source: ABdhPJw1ECZK29HH1wyv0NkLShrnEYckMzQv60Cjbcp07KVYDU131u1oPBTFKlJHXwsBh9xaBhGY5A== X-Received: by 2002:a2e:2f07:: with SMTP id v7mr18192961ljv.308.1622496495639; Mon, 31 May 2021 14:28:15 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:15 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:47 +0300 Message-Id: <20210531212748.2378872-28-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 27/28] configs/pine64_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/pine64/pine64/genimage.cfg | 10 ++-------- configs/pine64_defconfig | 14 +++++++------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/board/pine64/pine64/genimage.cfg b/board/pine64/pine64/genimage.cfg index 2ff38d5415..f1f276a877 100644 --- a/board/pine64/pine64/genimage.cfg +++ b/board/pine64/pine64/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/pine64_defconfig b/configs/pine64_defconfig index 981360b934..5b85d37087 100644 --- a/configs/pine64_defconfig +++ b/configs/pine64_defconfig @@ -2,8 +2,8 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +# Linux headers same as kernel, a 5.12 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +17,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pine64_plus" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/pine64/boot.cmd" @@ -33,7 +33,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/pine64/boot.cmd" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-pine64" From patchwork Mon May 31 21:27:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1485808 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=140.211.166.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=FfX010oj; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4Fv7pJ0C2Mz9sSn for ; Tue, 1 Jun 2021 07:34:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 82D1F83C4A; Mon, 31 May 2021 21:33:58 +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 2dLJGaQoa6iv; Mon, 31 May 2021 21:33:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id C7C6083C4D; Mon, 31 May 2021 21:33:56 +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 1D06A1BF334 for ; Mon, 31 May 2021 21:28:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D9D4A83C3D for ; Mon, 31 May 2021 21:28:19 +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 D7Kfaz6Qea19 for ; Mon, 31 May 2021 21:28:19 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by smtp1.osuosl.org (Postfix) with ESMTPS id 0664183C41 for ; Mon, 31 May 2021 21:28:18 +0000 (UTC) Received: by mail-lj1-x22e.google.com with SMTP id o8so16589644ljp.0 for ; Mon, 31 May 2021 14:28:18 -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=rnaYWZtRqGH6FyPqB/3yYbtzcDgvDbvXlalG+wV/Kts=; b=FfX010ojjzWpxu9Vgj3pu1sjzo2E05FFLZca0PMOhQPhmiTa9Mqhd/A1SkHJCP0V77 M8qyYXalt8YxWDdONL24K314Ldz4aCu2EVpRutWHmOj9qKGa8IIYL9dUxNBpcduGTehW KeyimupC2IPteWEpXSuiFpoEbbvh3kpbeqCt1F5jNqloyZRk/A/6cprEuCPB7qfjQxl3 IScdxZ2nb6hof7t0GHpjMOSDphuZr/FN5Vc4w9u6q4Wj+uxROqAxKYYjUgIxG1jcExiz afGwi6y2VVOT7AbC6XMn2vn0NieOKMryZO+GZimd9Qb+OSBjqMRm1Kb0++8Rwu3Vie9N 2KMw== 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=rnaYWZtRqGH6FyPqB/3yYbtzcDgvDbvXlalG+wV/Kts=; b=du3r4Aj9pcAnYaSYFeqQpWpotAdsFpPImweVdG4bJhrvbmItSkk1M8/sGGimUg9MED dZwGzHj2SWNzrp/q+83h6Cimgiy75cBr7u9lDWmJG2lIoEsyIcW6wDwZuIbMtbftp4FI sfShTKcPKdqFghydOxGN/bs0Dm9lCrefbcYNrqAc3rYgqVvgz4laeE8W0KlRaEEnWx+o iWfWrji79bTPlNzFpJShhyhEf3oV1dstgyDWhqrLdH3GPy6WceDGnwZmTNUYIj4Y1VH9 9mMF6ku1Y4Obxr9+CSZJVo5HAmVBP12HF6iU1jMGsEGAVJZZNfApf7ZcZutPE8Q175rZ +Sxw== X-Gm-Message-State: AOAM530cKVBxx/X9wx8ftz1FgsD5y388AcWD+3Mq+NZAW5GAwF+X2w2W LYMRc3khYPNCnb6wsNn16VvDNsxZOemY3g== X-Google-Smtp-Source: ABdhPJxGhIxoza8hSI/eSG0nhpLL62a71hQTM1hZJ9TqemQZHCW/ahiTtDNmzeHBQlfx18FPpQiSJg== X-Received: by 2002:a2e:8e78:: with SMTP id t24mr8917114ljk.499.1622496496606; Mon, 31 May 2021 14:28:16 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id z22sm830892ljg.27.2021.05.31.14.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 14:28:16 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 1 Jun 2021 00:27:48 +0300 Message-Id: <20210531212748.2378872-29-geomatsi@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531212748.2378872-1-geomatsi@gmail.com> References: <20210531212748.2378872-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/RFC 28/28] configs/pine64_sopine_defconfig: bump BSP versions 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 , Chakra Divi Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump U-Boot and Linux kernel versions. Updating U-Boot 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 --- board/pine64/sopine/genimage.cfg | 10 ++-------- configs/pine64_sopine_defconfig | 13 ++++++------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/board/pine64/sopine/genimage.cfg b/board/pine64/sopine/genimage.cfg index 02ebe7ab9b..1f8c76c698 100644 --- a/board/pine64/sopine/genimage.cfg +++ b/board/pine64/sopine/genimage.cfg @@ -15,15 +15,9 @@ image sdcard.img { partition spl { in-partition-table = "no" - image = "sunxi-spl.bin" + image = "u-boot-sunxi-with-spl.bin" offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K + size = 1040384 # 1MB - 8KB } partition boot { diff --git a/configs/pine64_sopine_defconfig b/configs/pine64_sopine_defconfig index 11539ac671..6d8c486ac5 100644 --- a/configs/pine64_sopine_defconfig +++ b/configs/pine64_sopine_defconfig @@ -2,8 +2,7 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -17,15 +16,15 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sopine_baseboard" 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" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/sopine/boot.cmd" @@ -33,7 +32,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/sopine/boot.cmd" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-sopine-baseboard"