Altera_Forum
Honored Contributor
22 years agobin2flash problems
Hello,
I'm trying to upload a linux kernel image to the Microtronix Stratix development board. The "Nios II Linux Quickstart Guide" says to right click on the build/vmlinux.bin file and select 'upload'. When I do this, I get the following error: ------------------------------------------------ Microtronix Linux Extensions Version 1.1, Built Wed Jul 7 12:46pm EST 2004 ------------------------------------------------ Expected integer value for option 'location' Value was: 'null' Using default value: -1 The bin2flash utility converts any binary data file to a FLASH file that can be used by the flash programmer. usage: bin2flash [--help] [--debug] [--silent] [--flash=designator] [--input=file] [--quiet] [--epcs] [--base=addr] [--log=file] [--location=addr] [--output=file] [--verbose] Options may be specified in any order. --base=<addr> flash base address --debug debug mode --epcs epcs flash mode --flash=<designator> flash device reference designator --help print this message --input=<file> input Binary file to process --location=<addr> design location within the flash --log=<file> file for logging progress --output=<file> output flash file --quiet only print errors --silent silent mode - same as quiet --verbose lots of interesting information I've been able to sucessfully run bin2flash from the Nios II SDK shell command line where I can specify a value for the --location parameter. Does anybody know how to specify the location parameter through the Nios II IDE? Thanks, Terry