From patchwork Fri Nov 27 14:40:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 1407240 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=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=busybox.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=laposte.net header.i=@laposte.net header.a=rsa-sha256 header.s=lpn-wlmd header.b=bRlHXIJS; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CjHPH1DR1z9s1l for ; Sat, 28 Nov 2020 01:41:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 79ECE20384; Fri, 27 Nov 2020 14:41:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80IC721+CSYM; Fri, 27 Nov 2020 14:41:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9E3202E304; Fri, 27 Nov 2020 14:41:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1F2AC1BF288 for ; Fri, 27 Nov 2020 14:40:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1807B2E304 for ; Fri, 27 Nov 2020 14:40:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NuyeP6SHgPqh for ; Fri, 27 Nov 2020 14:40:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-outgoing.laposte.net (smtp-outgoing.laposte.net [160.92.124.96]) by silver.osuosl.org (Postfix) with ESMTPS id 0F4AD20384 for ; Fri, 27 Nov 2020 14:40:56 +0000 (UTC) X-mail-filterd: {"version":"1.1.4", "queueID":"4CjHNc1KjGz1spVD", "contextId":"f4e724ad-31b3-4791-9134-c19601728849"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0111.laposte.net (SMTP Server) with ESMTP id 4CjHNc1KjGz1spVD; Fri, 27 Nov 2020 15:40:32 +0100 (CET) X-mail-filterd: {"version":"1.1.4", "queueID":"4CjHNb5ScJz1spV8", "contextId":"f8dbe718-e17f-479c-9c4c-2aa9c69b6cd4"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgedujedrudehgedgieejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepgghinhgtvghnthcuufhtvghhlhoruceovhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpeeuhfehleevgeettdeftdfhgedvteduleeileduteekffdvhfefgeevtdelgffghfenucffohhmrghinheprghrmhdrtghomhenucfkphepkeekrdduvddurddugeelrdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehrohhmuhgrlhgurdgsvghrghgvrhhivgdpihhnvghtpeekkedruddvuddrudegledrgeelpdhmrghilhhfrhhomhepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepsghuihhlughrohhothessghuihhlughrohhothdrohhrghdprhgtphhtthhopehvihhntggvnhhtrdhsthgvhhhlvgeslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopeihrghmrggurgdrmhgrshgrhhhirhhosehsohgtihhonhgvgihtrdgtohhm Received: from romuald.bergerie (unknown [88.121.149.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0111.laposte.net (SMTP Server) with ESMTPSA id 4CjHNb5ScJz1spV8; Fri, 27 Nov 2020 15:40:31 +0100 (CET) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with ESMTPS id 5040D3D7DA8C; Fri, 27 Nov 2020 15:40:31 +0100 (CET) Received: from vincent by radicelle.bergerie with local (Exim 4.94) (envelope-from ) id 1kievG-0001Xv-VZ; Fri, 27 Nov 2020 15:40:30 +0100 To: buildroot@buildroot.org Date: Fri, 27 Nov 2020 15:40:24 +0100 Message-Id: <20201127144024.21604-1-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201126165831.6341-1-vincent.stehle@laposte.net> References: <20201126165831.6341-1-vincent.stehle@laposte.net> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1606488054; bh=oVjEloZ4gszRrc7NH80VZxlm/40vpqafJfupCp4KHPc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bRlHXIJSjkgImB+fRFC0A+enk9xGJwMs2KAaA7KPUnQX8EZD13Lif3tyoJblbQdONVsQmZLOIOGP1+nY7uOaHn/aUdQ28K+sUe6ouG1qrzkB19qRKHWt9XS5446VSEi3vbqlgTDFl3oYJ6yLPsjB2H1arUmv9p9Jvxcd01w2YLxsGe1JS50qPBwWRk+bBCk8gaIHVQfzyaxo610j5ZpshLkjtWGJCbDvRSi4MCB7PiwgAksl0jmvYGHlJySY9wyNRri1FrGu59TXR7HINIajn1LGnZGib+WByCWhgKmNLOj0r5QzL4k7+wj/B2vdRsG9yWFnW5bJZ/7IBMdIfywOCQ==; Subject: [Buildroot] [PATCH v2] configs/arm_foundationv8: bump to Linux 5.9.11 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: , From: =?utf-8?q?Vincent_Stehl=C3=A9_via_buildroot?= Reply-To: =?utf-8?q?Vincent_Stehl=C3=A9?= Cc: =?utf-8?q?Vincent_Stehl=C3=A9?= Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Bump to the latest kernel v5.9.11 and require openssl. - Switch to PSCI for bringing up the secondary CPUs. - Switch to GICv3. - Update the instruction in the readme.txt to use the latest FVP v8 Foundation Platform 11.12 build 38, and to start 4 cores in SMP. Signed-off-by: Vincent Stehlé Cc: Masahiro Yamada --- Hi, Changes since v1: - Fix desynchronization between kernel and boot-wrapper dts. - Switch to GICv3. - Require openssl for the kernel build. Best regards, Vincent. board/arm/foundation-v8/readme.txt | 7 ++++--- configs/arm_foundationv8_defconfig | 13 ++++++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/board/arm/foundation-v8/readme.txt b/board/arm/foundation-v8/readme.txt index 1dedf68cba..b5106f015e 100644 --- a/board/arm/foundation-v8/readme.txt +++ b/board/arm/foundation-v8/readme.txt @@ -3,17 +3,18 @@ ARM software simulator of the AArch64 architecture. First, one has to download the AArch64 software simulator from: - https://silver.arm.com/download/download.tm?pv=2663527 + https://silver.arm.com/download/download.tm?pv=4807186 Then, use the arm_foundationv8_defconfig configuration to build your Buildroot system. Finally, boot your system with: - ${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-4.7/Foundation_Platform \ + ${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-6.4/Foundation_Platform \ --image output/images/linux-system.axf \ --block-device output/images/rootfs.ext2 \ - --network=nat + --network=nat \ + --cores 4 You can get network access from within the simulated environment by requesting an IP address using DHCP (run the command 'udhcpc'). diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig index ea19f35502..363f288b87 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,15 +1,18 @@ BR2_aarch64=y -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +# Linux headers same as kernel, a 5.9 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.3" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_TARGET_ROOTFS_EXT2=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_BOOT_WRAPPER_AARCH64=y -BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="arm/foundation-v8" +BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="arm/foundation-v8-gicv3-psci" BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw" +BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI=y +BR2_TARGET_BOOT_WRAPPER_AARCH64_GICV3=y