Skip to contentSkip to conversation

I can I boot u-boot from flash on Virtex-4 based board

DISCUSSION Lorenz Kolb 2 participants 2 messages Feb 26, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · On Mon, 26 Feb 2007 09:55:55 +0800 "yunfeizhang" <yunfeizhang ( a t )…

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

#1 lore raw
Quoted 1 line · Lorenz Kolb

Easiest way is: write some mini-bootloader that fits into BRAM and

loads=20

Quoted 1 line

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).

Quoted 2 lines

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.