Hi tns1,
> Are there two bootloaders?
Sort-of ... the code in the epcs on-chip rom is built-in to the device
configation. At reset, this code searches for the end of the config
data in the epcs device, then loads the records that follow (which
in this case would be u-boot). It then jumps to the u-boot entry
point. The epcs u-boot command will tell you the size of the
configuration data.
> How do you figure out how much app code you can fit?
In my case, it's purely observation ... my fpga configuration data
is about 192 KB (compressed). I'm using an EPCS4 ... so that leaves
me plenty of room for u-boot (which ends up being roughly another
128 KB).
> Do you lose the ability to use compressed files when you program
> with the flash programmer?
I use compressed bit streams & haven't had any problems.
Regards,
--Scott