From patchwork Thu Nov 26 16:58:30 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: 1406768 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=fraxinus.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=MmazNyrC; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Chkf90CH7z9sSs for ; Fri, 27 Nov 2020 04:05:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B7718740E; Thu, 26 Nov 2020 17:05:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QD8MVcz5DRky; Thu, 26 Nov 2020 17:05:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E17BE87490; Thu, 26 Nov 2020 17:05:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A37DD1BF861 for ; Thu, 26 Nov 2020 17:05:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A013587490 for ; Thu, 26 Nov 2020 17:05:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WGz-cG7_K6C1 for ; Thu, 26 Nov 2020 17:05:16 +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.108]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C0DB18740E for ; Thu, 26 Nov 2020 17:05:15 +0000 (UTC) X-mail-filterd: {"version":"1.1.4", "queueID":"4ChkVR0M7nzFpTx", "contextId":"bc4eb922-74e6-4b05-bb8e-37819e2070ea"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0101.laposte.net (SMTP Server) with ESMTP id 4ChkVR0M7nzFpTx; Thu, 26 Nov 2020 17:58:39 +0100 (CET) X-mail-filterd: {"version":"1.1.4", "queueID":"4ChkVQ4rX5zFpTy", "contextId":"ef9c2871-0f54-4739-bb18-17c78315655d"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgedujedrudehvddgleeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffogggtgfesthekredtredtjeenucfhrhhomhepgghinhgtvghnthcuufhtvghhlhoruceovhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpefhteekgefghefghfduveejudevvdektdegleehtdeiveffvedvvdejveekuedtgeenucffohhmrghinheprghrmhdrtghomhenucfkphepkeekrdduvddurddugeelrdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehrohhmuhgrlhgurdgsvghrghgvrhhivgdpihhnvghtpeekkedruddvuddrudegledrgeelpdhmrghilhhfrhhomhepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepsghuihhlughrohhothessghuihhlughrohhothdrohhrghdprhgtphhtthhopehvihhntggvnhhtrdhsthgvhhhlvgeslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopeihrghmrggurgdrmhgrshgrhhhirhhosehsohgtihhonhgvgihtrdgtohhm 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 mlpnf0101.laposte.net (SMTP Server) with ESMTPSA id 4ChkVQ4rX5zFpTy; Thu, 26 Nov 2020 17:58:38 +0100 (CET) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with ESMTPS id 252B23D783AD; Thu, 26 Nov 2020 17:58:38 +0100 (CET) Received: from vincent by radicelle.bergerie with local (Exim 4.94) (envelope-from ) id 1kiKbN-0001hp-Ro; Thu, 26 Nov 2020 17:58:37 +0100 To: buildroot@buildroot.org Date: Thu, 26 Nov 2020 17:58:30 +0100 Message-Id: <20201126165831.6341-1-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1606410312; bh=dup5GDe55EO/GaI2/uBl06zhgfzF5bZgefIqt9JUEjk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MmazNyrCrDCo4a+I/c0/NwJuPzRv6/BuD6PdY3syceig2COcmG2ulqloa7aFzx62loooJSTtt3hm0+tqIq0JxaSSqJDl+rqbPTdA12MGxQSNgNzPw+UBrLA1U+olCdLfWIIR8yr0zybTEr+0DbL5nJT8l6hgrO9EBXSztqB9JAjSo7Gd98vD0fpFNKkNGka2GZ7CS8i40Pxq4kRzxobCOnKA4tHnxbxDJELIflR+gngb8+lmL9lx1db59BM1Z9Ngnd0HaZqRcsHLNaFooPK5w5vs2hBMC0YmA8KaavSSLQ2Vvoscdnh+3RfvyAIuEGZJdcN40c+Obl/ihndwARNlJg==; Subject: [Buildroot] [PATCH] 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. - Switch to PSCI for bringing up the secondary CPUs. - 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, Here is a first step to "modernize" the arm_foundationv8_defconfig. I think turning on more than one core with PSCI makes sense. Let me know if this is ok for you. Also, in the future I would like to switch to GICv3 but I am not there yet. Best regards, Vincent. board/arm/foundation-v8/readme.txt | 8 +++++--- configs/arm_foundationv8_defconfig | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/board/arm/foundation-v8/readme.txt b/board/arm/foundation-v8/readme.txt index 1dedf68cba..359aeda1e1 100644 --- a/board/arm/foundation-v8/readme.txt +++ b/board/arm/foundation-v8/readme.txt @@ -3,17 +3,19 @@ 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 \ + --no-gicv3 \ + --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..0f84103690 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,15 +1,16 @@ 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-psci" 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_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw" +BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI=y