2 Feb 2009 16:46
Booting design from flash then FS-Boot, U-Boot, Kernel
Hi, I'm about to port Petalinux to the Spartan 3A Starter Kit (Rev D) Board. 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). What I would like to have is a Microblaze configuration that loads into the FPGA from SPI flash at reset time. I used IMPACT to put the bitstream in the ATMEL AT45DB161D serial flash. On reset it indeeds downloads Microblaze and fs-boot so that I can see its boot message: ================================================= FS-BOOT First Stage Bootloader (c) 2006 PetaLogix ================================================= FS-BOOT: System initialisation completed. FS-BOOT: Booting from FLASH. Press 's' for image download. FS-BOOT: Booting image... then nothing happens. If I interrupt the boot process and press 's'. I can download(Continue reading)
I currently do not work with XMD, but given my problem I probably
will
So - configuring from SPI flash and then booting from parallel
NOR flash on the Spartan 3A starter kit remains an open issue here....
However, I found a way to boot the kernel on power on nevertheless:
I tried to configure the FPGA from platform flash XF04S (using the
correct jumper settings from the manual) and programmed the
platform flash with the bitstream using IMPACT.
This works!
The FPGA is configured from platform flash including fs-boot,
this boots u-boot from parallel NOR flash
which then boots the linux kernel right into the login prompt.
So - in this configuration the Spartan 3A Starter Kit becomes
a self contained PetaLinux computer that boots on power on
RSS Feed