Forum Discussion
Altera_Forum
Honored Contributor
21 years agoProgram UBoot
Hi all, A couple of questions that people might be able to help me out with. There seems to be a common issue with setting up the initial boot sequence for a NIOS boot loader and whilst there i...
Altera_Forum
Honored Contributor
21 years agoHi 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