Forum Discussion

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

Downloading to EPCS flash on CycloneII DSP Board

I am trying to run uClinux on the Cyclone II 2c35 DSP Development Board. I have gone through the steps shown below to load the EPCS flash with the FPGA design, uClinux kernel, and filesystem.

I am not sure the kernel is being written to flash properly and I have not been able to write the filesystem to flash at all. Any ideas??

1. I put the FPGA image on EPCS flash using the following commands:

sof2flash --input=standard.sof --output=standard_srec --epcs --verbose --offset=0x0

nios2-flash-programmer --debug --base=0x0 --epcs --input=standard_srec --sof=altera_dsp_dev_board_cyclone_2c35_es.sof

2. I put the uClinux kernel on EPCS flash using the following commands:

elf2flash --input=vmlinux --output=vmlinux.flash --epcs --boot=C:/altera/kits/nios2/components/altera_nios2/boot_loader_epcs.srec --after standard_srec.flash --end=0x3fffffc

nios2-flash-programmer --debug --base=0x0 --epcs --input=vmlinux.flash --sof=altera_dsp_dev_board_cyclone_2c35_es.sof

**Can’t tell if this works. I don’t see linux trying to boot even to the point of trying to obtain the filesystem.

3. I have tried to load the filesystem onto EPCS flash unsuccessfully with the following commands:

bin2elf … this does not work because the resulting elf for the filesystem is not an executable.

bin2flash… this does not work because this command does not have the --boot or --end options as elf2flash does.
No RepliesBe the first to reply