- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
Is there any way to put version information to a fixed address in FPGA configuration file and Nios' code? In our system, we created *.rbf for FPGA configuration file and stored it into Flash, when system reset, Control Micro would configurate FPGA by reading *.rbf from Flash to FPGA. We hope there is a way to store version information into a fixed location of *.rbf file. After finishing configurating FPGA, there exist a bootloader in onchipmemory, then the bootloader will read *.bin(Nios' code) from flash to SDRAM. Also, we hope there is a way to store version information into a fixed location of *.bin file. Anyone Help? Thanks in advance. David http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gifLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear David!
May be you create service request to Altera directly? Try it! It is more useful.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks slave...
I have posted the SR. If any update, I will share with all my friends... regards, David- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
what stops you from attaching a custom header/trailer that contains all the info you need? Thats how we do it, apart from version info there is also an integrity check and compatibility (SW/FW/HW revision) information. Same goes for NIOS software. Cheers, Roger- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roger,
Thanks for you reply. Could you kindly help me clarfy your method in detail? Thanks again, David- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
You could look at the mkimage source from the u-boot project as an example: http://cvs.sourceforge.net/viewcvs.py/u-bo...=1.17&view=auto (http://cvs.sourceforge.net/viewcvs.py/u-boot/u-boot/tools/mkimage.c?rev=1.17&view=auto) It adds a header that contains a timestamp & CRC-32 along with other information. Regards, --Scott- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Try and have a look on the entry on JTAG usercode. This gives you a way to parse an rbf file for the 32- bit JTAG usercode info that is generated or specified from within quartus. http://forum.niosforum.com/forum/index.php?showtopic=3481 (http://forum.niosforum.com/forum/index.php?showtopic=3481) The method has only been tested for a ep1c6, but should provide a pointer.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page