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

Re: [microblaze-uclinux] uclinux boots using the image stored inFLASH!!



Hi Emanuel,

emanuel stiebler wrote:
> anand_12 wrote:
> 
>>  on reset, the FPGA is configured with the bitstream and 
> 
> the processor starts executing from address 0x00000000 which
> is where we have our rather simple bootloader(downloaded
> along with bitstream) that copies the image from FLASH to
> SDRAM and then jumps to the starting address of the RAM...
> 
> Question here:
> Why do we have to do that this way ?
> Why can't we just use a bootloader in the flash ?
> 
> Seems to me like a waste, to use the FPGA internal RAM for the 
> bootloader ...

There's no reason at all - it just requires some fiddling with the 
bootloader link script and startup code to place the data and bss 
segments in to (B)RAM instead of flash.

You still need the reset and interrupt vectors in BRAM of course.

Cheers,

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