Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] nios2: Add new architecture
Date: Wed, 21 Aug 2013 08:13:48 +0200	[thread overview]
Message-ID: <52145A9C.9040902@mind.be> (raw)
In-Reply-To: <1376999946-3314-1-git-send-email-ezequiel.garcia@free-electrons.com>

On 08/20/13 13:59, Ezequiel Garcia wrote:
> From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
>
> This commit adds very basic support to build for the Nios II
> architecture. Toolchain support is still missing and instead
> we need to use an external custom toolchain.

  Then you probably want to exclude it from the buildroot toolchain.

  Regards,
  Arnout

>
> Notice that this architecture had been previously removed in
> Buildroot 2010.05-rc1 release (as explained in the CHANGES file)
> and this commit adds it back.
>
> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> ---
>   arch/Config.in       | 11 +++++++++++
>   arch/Config.in.nios2 |  5 +++++
>   2 files changed, 16 insertions(+)
>   create mode 100644 arch/Config.in.nios2
>
> diff --git a/arch/Config.in b/arch/Config.in
> index 0b5b218..2495110 100644
> --- a/arch/Config.in
> +++ b/arch/Config.in
> @@ -124,6 +124,13 @@ config BR2_mips64el
>   	  http://www.mips.com/
>   	  http://en.wikipedia.org/wiki/MIPS_Technologies
>
> +config BR2_nios2
> +	bool "Nios II"
> +	help
> +	  Nios II is a soft core processor from Altera Coporation.
> +	  http://www.altera.com/
> +	  http://en.wikipedia.org/wiki/Nios_II
> +
>   config BR2_powerpc
>   	bool "PowerPC"
>   	help
> @@ -305,6 +312,10 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
>   source "arch/Config.in.mips"
>   endif
>
> +if BR2_nios2
> +source "arch/Config.in.nios2"
> +endif
> +
>   if BR2_powerpc
>   source "arch/Config.in.powerpc"
>   endif
> diff --git a/arch/Config.in.nios2 b/arch/Config.in.nios2
> new file mode 100644
> index 0000000..ed63898
> --- /dev/null
> +++ b/arch/Config.in.nios2
> @@ -0,0 +1,5 @@
> +config BR2_ARCH
> +	default "nios2"
> +
> +config BR2_ENDIAN
> +	default "LITTLE"
>


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  parent reply	other threads:[~2013-08-21  6:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 11:59 [Buildroot] [PATCH 1/2] nios2: Add new architecture Ezequiel Garcia
2013-08-20 11:59 ` [Buildroot] [PATCH 2/2] toolchain-external: Add Sourcery CodeBench for Nios-II Ezequiel Garcia
2013-08-21  6:15   ` Arnout Vandecappelle
2013-08-21 13:32     ` Ezequiel García
2013-08-21 16:57       ` Arnout Vandecappelle
2013-08-21 19:23         ` Ezequiel García
2013-08-21 19:27           ` Arnout Vandecappelle
2013-08-21 18:47       ` Thomas Petazzoni
2013-08-21 19:18         ` Ezequiel García
2013-08-20 21:13 ` [Buildroot] [PATCH 1/2] nios2: Add new architecture Thomas De Schampheleire
2013-08-20 23:59   ` Ezequiel García
2013-08-21  6:13 ` Arnout Vandecappelle [this message]
2013-08-21 13:30   ` Ezequiel García
2013-08-21 18:52     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52145A9C.9040902@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox