From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Tue, 2 Apr 2019 21:52:39 +0200 Subject: [Buildroot] [PATCH v4 1/2] arch: add support for Andes 32-bit(nds32) In-Reply-To: <20190402072340.17989-2-nylon7@andestech.com> References: <20190402072340.17989-1-nylon7@andestech.com> <20190402072340.17989-2-nylon7@andestech.com> Message-ID: <20190402195239.GA8892@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Nylon, All, On 2019-04-02 15:23 +0800, Nylon Chen spake thusly: > This commit provides basic support for the Andes 32-bit(nds32) architecture. > > Signed-off-by: Che-Wei Chuang > Signed-off-by: Greentime Hu > Signed-off-by: Nylon Chen Reviewed-by: "Yann E. MORIN" Regards, Yann E. MORIN. > --- > DEVELOPERS | 3 +++ > arch/Config.in | 12 ++++++++++++ > arch/Config.in.nds32 | 11 +++++++++++ > 3 files changed, 26 insertions(+) > create mode 100644 arch/Config.in.nds32 > > diff --git a/DEVELOPERS b/DEVELOPERS > index 1001d55815..ef4ff81ab1 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1655,6 +1655,9 @@ F: package/trousers/ > N: Norbert Lange > F: package/tcf-agent/ > > +N: Nylon Chen > +F: arch/Config.in.nds32 > + > N: Olaf Rempel > F: package/ctorrent/ > > diff --git a/arch/Config.in b/arch/Config.in > index f50760a0cf..d82803c828 100644 > --- a/arch/Config.in > +++ b/arch/Config.in > @@ -154,6 +154,14 @@ config BR2_mips64el > http://www.mips.com/ > http://en.wikipedia.org/wiki/MIPS_Technologies > > +config BR2_nds32 > + bool "nds32" > + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT > + select BR2_ARCH_HAS_MMU_MANDATORY > + help > + nds32 is a 32-bit architecture developed by Andes Technology. > + https://en.wikipedia.org/wiki/Andes_Technology > + > config BR2_nios2 > bool "Nios II" > select BR2_ARCH_HAS_MMU_MANDATORY > @@ -419,6 +427,10 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el > source "arch/Config.in.mips" > endif > > +if BR2_nds32 > +source "arch/Config.in.nds32" > +endif > + > if BR2_nios2 > source "arch/Config.in.nios2" > endif > diff --git a/arch/Config.in.nds32 b/arch/Config.in.nds32 > new file mode 100644 > index 0000000000..9c5db20e6f > --- /dev/null > +++ b/arch/Config.in.nds32 > @@ -0,0 +1,11 @@ > +config BR2_ARCH > + default "nds32" > + > +config BR2_GCC_TARGET_ARCH > + default "v3" > + > +config BR2_ENDIAN > + default "LITTLE" > + > +config BR2_READELF_ARCH_NAME > + default "Andes Technology compact code size embedded RISC processor family" > -- > 2.18.0 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'