Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

problems with elf2flash --boot

elf2flash is not inserting the boot record as it should. Is there a way to get the source for this to see why it is failing? --verbose only provided a start and stop time stamp which isn't very useful.

elf2flash is a step in "make_flash_image_script.sh" which is part of the advanced boot copier:

https://www.altera.com/en_us/pdfs/literature/an/an458.pdf

This is the step that is failing:

elf2flash --verbose --base=$flash_base --end=$flash_end --boot=$fake_copier --input=$tmp0_outfile_elf --output=$tmp1_outfile_srec --reset=$flash_base ;

It is behaving as if didn't pass the argument --boot=$fake_copier

This same elf2flash and make_flash_image_script.sh is used on many of our projects and I would like to understand why its failing.

QSYS:

epcq controller avl_mem: 0x0200 0000 -> 0x02FF FFFF

boot rom onchip memory: 0x0003 0000 -> 0x0003 C34F

run code onchip memory: 0x0104 0000 -> 0x0107 BFFF

elf2flash:

flash_base: 0x0

flash_end: 0x1FF FFFF
No RepliesBe the first to reply