Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.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 smtp.lore.kernel.org (Postfix) with ESMTPS id B6093C433F5 for ; Fri, 25 Feb 2022 09:25:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 6BC5940372; Fri, 25 Feb 2022 09:25:57 +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 r4CpKW_9-nAH; Fri, 25 Feb 2022 09:25:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 762714032E; Fri, 25 Feb 2022 09:25:55 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id EE57F1BF395 for ; Fri, 25 Feb 2022 09:25:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DC8F24032E for ; Fri, 25 Feb 2022 09:25:42 +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 1-U-BP6HXTNY for ; Fri, 25 Feb 2022 09:25:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from Atcsqr.andestech.com (exmail.andestech.com [60.248.187.195]) by smtp4.osuosl.org (Postfix) with ESMTPS id B6E8F4031B for ; Fri, 25 Feb 2022 09:25:41 +0000 (UTC) Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 21P9PRPu056760; Fri, 25 Feb 2022 17:25:27 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from atcfdc88.andestech.com (10.0.15.120) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Fri, 25 Feb 2022 17:25:22 +0800 From: Yu Chien Peter Lin To: Date: Fri, 25 Feb 2022 17:25:07 +0800 Message-ID: <20220225092509.16478-2-peterlin@andestech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220225092509.16478-1-peterlin@andestech.com> References: <20220225092509.16478-1-peterlin@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.120] X-DNSRBL: X-MAIL: Atcsqr.andestech.com 21P9PRPu056760 Subject: [Buildroot] [PATCH v5 1/3] board/andes: rearrange andes folder structure X-BeenThere: buildroot@buildroot.org 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: Yu Chien Peter Lin , alankao@andestech.com, Thomas Petazzoni , Romain Naour , Giulio Benetti , Thomas De Schampheleire Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" In order to add ae350 RISC-V platform, rename ae3xx to ae300 for NDS32 architecture. AE300 (NDS32): - http://www.andestech.com/en/products-solutions/andeshape-platforms/ae300/ AE350 (RISC-V): - http://www.andestech.com/en/products-solutions/andeshape-platforms/ae350-axi-based-platform-pre-integrated-with-n25f-nx25f-a25-ax25/ Signed-off-by: Yu Chien Peter Lin Signed-off-by: Alan Kao Reviewed-by: Giulio Benetti Tested-by: Giulio Benetti --- Changes v3 -> v4: - rename ae3xx folder to ae300 - rename andes_ae3xx_defconfig to andes_ae300_defconfig - update readme.txt - update help message in toolchain-external-andes-nds32/Config.in --- .../{ae3xx/ae3xx.fragment => ae300/ae300.fragment} | 0 .../linux/0001-nds32-Fix-boot-messages-garbled.patch | 0 ...-dtc-Remove-redundant-YYLOC-global-declaratio.patch | 0 board/andes/{ => ae300}/readme.txt | 10 +++++----- .../{andes_ae3xx_defconfig => andes_ae300_defconfig} | 4 ++-- .../toolchain-external-andes-nds32/Config.in | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename board/andes/{ae3xx/ae3xx.fragment => ae300/ae300.fragment} (100%) rename board/andes/{ => ae300}/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch (100%) rename board/andes/{ => ae300}/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch (100%) rename board/andes/{ => ae300}/readme.txt (71%) rename configs/{andes_ae3xx_defconfig => andes_ae300_defconfig} (69%) diff --git a/board/andes/ae3xx/ae3xx.fragment b/board/andes/ae300/ae300.fragment similarity index 100% rename from board/andes/ae3xx/ae3xx.fragment rename to board/andes/ae300/ae300.fragment diff --git a/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch b/board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch similarity index 100% rename from board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch rename to board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch diff --git a/board/andes/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch b/board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch similarity index 100% rename from board/andes/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch rename to board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch diff --git a/board/andes/readme.txt b/board/andes/ae300/readme.txt similarity index 71% rename from board/andes/readme.txt rename to board/andes/ae300/readme.txt index 0f95c65549..51c05c9235 100644 --- a/board/andes/readme.txt +++ b/board/andes/ae300/readme.txt @@ -1,10 +1,10 @@ Intro ===== -Andestech(nds32) AE3XX Platform +Andestech(nds32) AE300 Platform -The AE3XX prototype demonstrates the AE3XX example platform on the FPGA. -It is composed of one Andestech(nds32) processor and AE3XX. +The AE300 prototype demonstrates the AE300 example platform on the FPGA. +It is composed of one Andestech(nds32) processor and AE300. How to build it =============== @@ -12,10 +12,10 @@ How to build it Configure Buildroot ------------------- -The andes_ae3xx_defconfig configuration is a sample configuration with +The andes_ae300_defconfig configuration is a sample configuration with all that is required to bring the FPGA Development Board: - $ make andes_ae3xx_defconfig + $ make andes_ae300_defconfig Build everything ---------------- diff --git a/configs/andes_ae3xx_defconfig b/configs/andes_ae300_defconfig similarity index 69% rename from configs/andes_ae3xx_defconfig rename to configs/andes_ae300_defconfig index 52634caa50..ffcb4d7d38 100644 --- a/configs/andes_ae3xx_defconfig +++ b/configs/andes_ae300_defconfig @@ -1,10 +1,10 @@ BR2_nds32=y -BR2_GLOBAL_PATCH_DIR="board/andes/patches/" +BR2_GLOBAL_PATCH_DIR="board/andes/ae300/patches" BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/andes/ae3xx/ae3xx.fragment" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/andes/ae300/ae300.fragment" BR2_TARGET_ROOTFS_INITRAMFS=y diff --git a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in index 9c937b8c44..ecd50cc805 100644 --- a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in +++ b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in @@ -12,4 +12,4 @@ config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32 help nds32 toolchain for the nds32 architecture. It uses GCC 8.2.1, GDB 8.1.1, glibc 2.28, Binutils 2.30. It generates - code that runs on ae3xx platform + code that runs on ae300 platform -- 2.17.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot