From 48bdd8374174494b5a1ae658edb32780e9f86052 Mon Sep 17 00:00:00 2001 From: Yu Chien Peter Lin Date: Fri, 25 Feb 2022 17:25:07 +0800 Subject: [PATCH] board/andes: rearrange andes folder structure 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 2 +- .../{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 +- 7 files changed, 9 insertions(+), 9 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/DEVELOPERS b/DEVELOPERS index 6f213e054f..26bcb508e5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2150,7 +2150,7 @@ F: package/tcf-agent/ N: Nylon Chen F: arch/Config.in.nds32 F: board/andes -F: configs/andes_ae3xx_defconfig +F: configs/andes_ae300_defconfig F: toolchain/toolchain-external/toolchain-external-andes-nds32/ N: Olaf Rempel 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