Re: [U-Boot] Commands to use U-boot in fpga
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Lukasz > Majewski > Sent: Friday, October 27, 2017 5:18 PM > To: Ammu Lakshmy <ammulakshm...@gmail.com> > Cc: u-boot@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 <ammulakshm...@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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Commands to use U-boot in fpga
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 Majewskiwrote: > 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: w...@denx.de > -- Thanks & Regards, Ammu Lakshmy R. M.Tech. VLSI Design VNIT, Nagpur ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Commands to use U-boot in fpga
On Fri, 27 Oct 2017 16:45:16 +0530 Ammu Lakshmywrote: > 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 > 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: > > w...@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: w...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Commands to use U-boot in fpga
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: w...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Commands to use U-boot in fpga
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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot