* [U-Boot] Commands to use U-boot in fpga @ 2017-10-26 16:19 Ammu Lakshmy 2017-10-27 10:58 ` Lukasz Majewski 0 siblings, 1 reply; 5+ messages in thread From: Ammu Lakshmy @ 2017-10-26 16:19 UTC (permalink / raw) To: u-boot 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? This is to implement a router code in my processor. -- Thanks & Regards, Ammu Lakshmy R. M.Tech. VLSI Design VNIT, Nagpur ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Commands to use U-boot in fpga 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 0 siblings, 1 reply; 5+ messages in thread From: Lukasz Majewski @ 2017-10-27 10:58 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Commands to use U-boot in fpga 2017-10-27 10:58 ` Lukasz Majewski @ 2017-10-27 11:15 ` Ammu Lakshmy 2017-10-27 11:47 ` Lukasz Majewski 0 siblings, 1 reply; 5+ messages in thread From: Ammu Lakshmy @ 2017-10-27 11:15 UTC (permalink / raw) To: u-boot 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)* *2. Deploy OS in that processor.* *3. Implement a router on that processor with OS.* 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 > -- Thanks & Regards, Ammu Lakshmy R. M.Tech. VLSI Design VNIT, Nagpur ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Commands to use U-boot in fpga 2017-10-27 11:15 ` Ammu Lakshmy @ 2017-10-27 11:47 ` Lukasz Majewski 2017-10-28 15:12 ` Calvin Johnson 0 siblings, 1 reply; 5+ messages in thread From: Lukasz Majewski @ 2017-10-27 11:47 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Commands to use U-boot in fpga 2017-10-27 11:47 ` Lukasz Majewski @ 2017-10-28 15:12 ` Calvin Johnson 0 siblings, 0 replies; 5+ messages in thread From: Calvin Johnson @ 2017-10-28 15:12 UTC (permalink / raw) To: u-boot > -----Original Message----- > From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Lukasz > Majewski > Sent: Friday, October 27, 2017 5:18 PM > To: Ammu Lakshmy <ammulakshmy91@gmail.com> > Cc: u-boot at lists.denx.de > Subject: Re: [U-Boot] Commands to use U-boot in fpga > > 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) Ammu, once you have working LEON2, I guess you can use U-Boot from https://github.com/qoriq-open-source/u-boot/tree/master/arch/sparc/cpu/leon2 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-10-28 15:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2017-10-28 15:12 ` Calvin Johnson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox