Hey Slacker,
You said the following:
The issue you're going to run into, regardless of how you do this is that you'll always have to program the SOF and the software at one time. This is because the software follows directly after the hardware.....not on a sector boundary.
I was wondering that this is realy necessary when you change the bootloader.c file? New the bootlader calculates the position of the NIOS data (searching for 0x56 en then the calcalating the FPGA data length). Can we change the bootloader that way that he doesn't calculate this position but always starts from a fixed sector boundary ...
During EPCS programming we doen't use "sof2flash --after=FPGA.flash --EPCS --nios.elf --nios.flash " but for example "sof2flash --base = 0xAAAAAA ....."
So, I would like to keep the NIOS software data at a fixed address in the EPCS flash.
Kind regards
Karel