If you just want to make a minor change, you can make your change in
and then run
make boot cfgmem-updated program-cfgmem-updated from current directory
which will burn the new bootloader into configuration memory (assuming
you already followed the build from source instructions)
You can just power cycle or press the reconfigure button at this point.
If you want to completely replace the boot loader, proceed as follows:
choose a template, e.g. hello.c
add foo wherever you see hello in $TOP/fpga/board/nexys4_ddr/Makefile
You can then make your changes to foo.c and run
make foo cfgmem-updated program-cfgmem-updated as before
On 21/02/18 02:49, Jawad Haj-Yahya wrote:
I would like to update the first bootloader that is being loaded into the
boot rom, could you please help me with how we can do it?