05-22-2011 10:55 PM
did someone tried to execute the simple loader directly from flash?
Is it possible by changing the linkerscript or will I run in more problems doing this?
I just want to avoid copying the image around to safe some boot time.
09-01-2011 02:38 AM
Why don't you run your simple image directly from internal block RAM (or memory cache block RAM) ?
If it is small enough it is possible.
Otherwise you may succeed changing the linker script only if there is no need of a driver to read/write from Flash, and you put your reset vector to the physical address of your Flash
09-01-2011 03:15 AM
Well, the simpleImage is approx. 1.5 to 2MB of size, this is definitely larger than fpga bram.
I've decided to write a small bootloader which is capable of booting a uImage. The device-tree will be stored in bram (dependent of the fpga image)
The bootloader will run directly from bram, and decompresses the kernel from flash to ram.
09-01-2011 05:01 AM
Ho ok I did not understand that your "simple loader" was the simpeImage.
That's the good way to do : put a small bootloader in BRAM. That's what I did too. However for me I think that the device-tree is stored inside the kernel, not in BRAM. I use a script from Xilinx to convert the simpleImage to a Flash friendly image