All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] nios2: add README.nios2
Date: Tue, 20 Oct 2015 23:25:24 +0200	[thread overview]
Message-ID: <201510202325.25062.marex@denx.de> (raw)
In-Reply-To: <1445305726-10393-1-git-send-email-thomas@wytron.com.tw>

On Tuesday, October 20, 2015 at 03:48:46 AM, Thomas Chou wrote:
> Add README.nios2 about how to add nios2 boards to u-boot.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> v2
>   add ref and fix words as suggested by Marek.
> 
>  doc/README.nios2 | 97
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed,
> 97 insertions(+)
>  create mode 100644 doc/README.nios2
> 
> diff --git a/doc/README.nios2 b/doc/README.nios2
> new file mode 100644
> index 0000000..453c7c7
> --- /dev/null
> +++ b/doc/README.nios2
> @@ -0,0 +1,97 @@
> +Nios II is a 32-bit embedded-processor architecture designed
> +specifically for the Altera family of FPGAs.
> +
> +Please refer to the link for more information on Nios II,
> +https://www.altera.com/products/processors/overview.html
> +
> +Please refer to the link for Linux port and toolchains,
> +http://rocketboards.org/foswiki/view/Documentation/NiosIILinuxUserManual
> +
> +The Nios II port of u-boot is controlled by device tree. Please check
> +out doc/README.fdt-control.
> +
> +To add a new board/configuration (eg, mysystem) to u-boot, you will need
> +three files.
> +
> +1. The device tree source which describes the hardware, dts file.
> +    arch/nios2/dts/mysystem.dts
> +
> +2. Default configuration of Kconfig, defconfig file.
> +    configs/mysystem_defconfig
> +
> +3. The legacy board header file.
> +    include/configs/mysystem.h
> +
> +The device tree source must be generated from your qsys/sopc design
> +using the sopc2dts tool. Then modified to fit your configuration. Please
> +find the sopc2dts download and usage at the wiki,
> +http://www.alterawiki.com/wiki/Sopc2dts
> +
> +java -jar sopc2dts.jar --force-altr -i mysystem.sopcinfo -o mysystem.dts

Just a hint -- in case you're listing a command, add a dollar sign before
it to be explicit it's a command, like this:

$ java -jar ...

Otherwise,

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut

  reply	other threads:[~2015-10-20 21:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19  6:06 [U-Boot] [PATCH] nios2: add README.nios2 Thomas Chou
2015-10-19 12:35 ` Marek Vasut
2015-10-20  1:48 ` [U-Boot] [PATCH v2] " Thomas Chou
2015-10-20 21:25   ` Marek Vasut [this message]
2015-10-21  0:29     ` Thomas Chou
2015-10-21 14:42 ` [U-Boot] [PATCH v3] " Thomas Chou
2015-10-22  1:40   ` Marek Vasut
2015-10-23  0:19   ` Thomas Chou

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=201510202325.25062.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.