03-06-2016 01:00 AM
Hi,
This bootloader is working for me.... but I works very slow (takes 7 seconds)
How can I accelerate it?
I heard there is a dividor in the spi driver - how can I change it?
Thanks Alot,
Revital
03-06-2016 01:12 AM
SW can change it through XQspiPs_SetClkPrescaler function
But we don't use spi ps but axi spi....
There is no appropriate function for that....
Thanks,
Revital
03-06-2016 01:32 AM
Change type of bootloader.
Use a "Binary" bootloader instead of "SREC".
debugasm
03-06-2016 01:39 AM
I am using a template project
There is no binary bootloader in the templates only SREC
Thanks,
Revital
03-06-2016 06:39 AM
03-13-2016 11:02 PM
It is solved...
Thanks
12-08-2017 12:01 AM
Hi, revital.l:
How did you solve this problem ? I also met this problem, my boot period is more than 32s.
07-26-2018 06:55 AM - edited 07-26-2018 06:57 AM
This one is way faster:
write the elf file in your flash as it is (not in SREC format). From eb-config.h choose the base address of your elf file. You might want to change SPI_READ_OPERATION and SPI_FLASH_NDUMMY_CYCLES parameters depending on the flash setup you are using.
Btw, it is not mine, I just want to put it in here so that people with this problem can reach it easily.
07-26-2018 05:19 PM
Do you have
#define VERBOSE
in your bootloader.c file?
I found that commenting out/removing that line will make the bootloader run faster.