All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Commands to use U-boot in fpga
Date: Fri, 27 Oct 2017 13:47:49 +0200	[thread overview]
Message-ID: <20171027134749.65779a3b@jawa> (raw)
In-Reply-To: <CAL0KrFP-KN8K5Hm+EO=4n+XdjAOOqNCCZzHf_B9roW2sL1XiXQ@mail.gmail.com>

On Fri, 27 Oct 2017 16:45:16 +0530
Ammu Lakshmy <ammulakshmy91@gmail.com> wrote:

> Architecture is LEON2 and is supported by U-Boot.
> But the steps involved in my work are
> 
> *1. Implement LEON2 processor in FPGA(Spartan3E or any other fpga)*

Ok.

> *2. Deploy OS in that processor.*

When you have working soft core of LEON2 - then you would need:

- U-boot ported to it (and this is not the problem - since you say that
  it is supported in U-Boot)

- Linux mainline kernel, which can run on this processor.

U-boot is only a bootloader, which means that its main purpose is to
setup environment (like initialize DRAM, load OS from persistent
storage) for pass execution flow to OS (Linux)

> *3. Implement a router on that processor with OS.*

If you have Linux running on the soft core and enough number of ETH phy
devices you can configure Linux box to work as a router (with proper
iproute[2] rules).

TO sum up:

You need 3 things:

- U-boot running on your soft core
- Linux running on your soft core
- Number of working ETH phys to connect network cables.

> 
> First step is possible as I have the HDL code of LEON2. I can
> implement it on spartan3E.
> Are the next 2 steps possible with U-Boot?
> 
> On Fri, Oct 27, 2017 at 4:28 PM, Lukasz Majewski <lukma@denx.de>
> wrote:
> 
> > Hi Ammu,
> >
> > > Hi,
> > >
> > > I am new to U-Boot and I want to use it for dumping linux to a
> > > sparc processor (leon2) which I have implemented in Spartan 3E
> > > fpga. Is it possible?
> >
> > First you need to check if the architecture on which you run u-boot
> > is supported (sparc?).
> >
> > There are some IP soft cores supported in u-boot:
> > arch/nios2/
> > arch/microblaze/
> >
> >
> > Regarding SPARC:
> >
> > http://git.denx.de/?p=u-boot/u-boot-sparc.git;a=summary
> >
> > But if I remember correctly it has been removed recently.
> >
> > However, if you want to re-add it for your platform -> patches are
> > as always welcome :-)
> >
> > >
> > > This is to implement a router code in my processor.
> > >
> >
> >
> >
> >
> > Best regards,
> >
> > Lukasz Majewski
> >
> > --
> >
> > DENX Software Engineering GmbH,      Managing Director: Wolfgang
> > Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell,
> > Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
> > wd at denx.de
> >
> 
> 
> 




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de

  reply	other threads:[~2017-10-27 11:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26 16:19 [U-Boot] Commands to use U-boot in fpga Ammu Lakshmy
2017-10-27 10:58 ` Lukasz Majewski
2017-10-27 11:15   ` Ammu Lakshmy
2017-10-27 11:47     ` Lukasz Majewski [this message]
2017-10-28 15:12       ` Calvin Johnson

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=20171027134749.65779a3b@jawa \
    --to=lukma@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.