[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Booting design from flash then FS-Boot, U-Boot, Kernel



Hi Ulrich,

On Tue, Feb 3, 2009 at 1:46 AM, Ulrich Hoffmann <uho@xxxxxxxx> wrote:
>
> I followed the Petalinux documentation closely and created a Microblaze
> design with
> fs-boot and also flashed u-boot and the kernel image fine. I can now boot
> Petalinux when I freshly download the Microblaze design via the JTAG
> interface (USB-Cable).

You're off to a good start

> What I would like to have is a Microblaze configuration that loads into the
> FPGA from SPI flash at reset time.

So, FPGA configuration from SPI flash, and u-boot/linux kernel from
parallel flash?

The SPI and parallel flash interfaces overlap some pins, for example
AB20 is spi_MISO and FLASH_D15.  This is why Base System Builder lets
you instantiate either SPI flash or parallel flash.
But, from a configuration perspective, it shouldn't matter - after
configuration the pins revert to user IO.  So, configuration via SPI
then access to parallel flash post-config should be fine.

You might need to do some lower level debugging to find out what's going on.

Also, try configuring the FPGA from SPI, then use XMD or
petalinux-jtag-boot to download u-boot directly into DDR and run it.
Does it work, and can it acess the (parallel) flash using the flinfo,
and erase commands?

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/