linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* I can I boot u-boot from flash on Virtex-4 based board
@ 2007-02-26  1:55 yunfeizhang
  0 siblings, 0 replies; 3+ messages in thread
From: yunfeizhang @ 2007-02-26  1:55 UTC (permalink / raw)
  To: linuxppc-embedded@ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]


Hi all,
I am confused for a long time about on how to boot a common program on Virtex. I want to porting a 

u-boot to Xilinx VIrtex-4 ML403 Evaluation Board, but I can even boot a common program from flash.

can someone give me some advice, thanks for all your kindness!



yunfeizhang
2007-02-26

[-- Attachment #2: Type: text/html, Size: 1212 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I can I boot u-boot from flash on Virtex-4 based board
@ 2007-02-26 15:37 Lorenz Kolb
  2007-02-26 17:28 ` Leonid
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenz Kolb @ 2007-02-26 15:37 UTC (permalink / raw)
  To: linuxppc-embedded

On Mon, 26 Feb 2007 09:55:55 +0800
"yunfeizhang" <yunfeizhang ( a t ) sjtu.edu.cn> wrote:
> 
> Hi all,
> I am confused for a long time about on how to boot a common program on Virtex. I want to porting a 
> 
> u-boot to Xilinx VIrtex-4 ML403 Evaluation Board, but I can even boot a common program from flash.
> 
> can someone give me some advice, thanks for all your kindness!

Hi,

I already found that non trivial.

Easiest way is: write some mini-bootloader that fits into BRAM and loads u-boot from flash.

If you need some more detailed instructions and a patch created from Xilinx'u-boot tree to patch u-boot 1.20 to work with ML403 I can send you the files.

Greetings,

Lorenz Kolb

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: I can I boot u-boot from flash on Virtex-4 based board
  2007-02-26 15:37 I can I boot u-boot from flash on Virtex-4 based board Lorenz Kolb
@ 2007-02-26 17:28 ` Leonid
  0 siblings, 0 replies; 3+ messages in thread
From: Leonid @ 2007-02-26 17:28 UTC (permalink / raw)
  To: Lorenz Kolb, linuxppc-embedded

On Monday, February 26, 2007 7:37 AM Lorenz Kolb wrote:
> Easiest way is: write some mini-bootloader that fits into BRAM and
loads=20
> u-boot from flash.

That what I've done myself. It works perfectly for my Spartan and
Virtex-4 based boards. Simplest way is to compile binary to run from RAM
always and make this BRAM based early mini-bootloader copy image from
flash to RAM and then start. Remember that start function is not in the
beginning of this binary (for PPC 405 it has offset 0x100 normally).

> If you need some more detailed instructions and a patch created from=20
> Xilinx'u-boot tree to patch u-boot 1.20 to work with ML403 I can send
you > the files.

Can I have these? Also I'd appreciate to know where to get EDK project
for ML403 whose xparameters.h matches this u-boot patch.

Thanks,

Leonid.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-26 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-26 15:37 I can I boot u-boot from flash on Virtex-4 based board Lorenz Kolb
2007-02-26 17:28 ` Leonid
  -- strict thread matches above, loose matches on Subject: below --
2007-02-26  1:55 yunfeizhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).