Forum Discussion
Altera_Forum
Honored Contributor
12 years agoRetrieving usercode from binary configuration image
Hello, there have been various discussions about the raw binary file format, solutions for the basically simple problem of retrieving the usercode have been already posted. http://www.alterafo...
Altera_Forum
Honored Contributor
12 years agoHey Frank,
--- Quote Start --- Now I want to add usercode decoding to a remote system update package --- Quote End --- I took a slightly different approach to validating images for the FPGAs on this board; http://www.ovro.caltech.edu/~dwh/carma_board/ In this document http://www.ovro.caltech.edu/~dwh/carma_board/fpga_configuration.pdf I describe how I use U-Boot's mkimage tool to add a header to the .RBF files. This allows me to use mkimage to get a summary of the image too. My MAXII configuration controller also reads this header before allowing FPGA configuration, but that would be optional if you used a processor to validate the header, and then write the .RBF contents to flash. This saves having to know anything about the .RBF format. Cheers, Dave