Forum Discussion
Altera_Forum
Honored Contributor
21 years agoIs it possible to load a small custom bootloader
together with FPGA configuration file? If I understand correctly a common way to boot FPGA configuration file and application software is: 1. After power up a FPGA config file is loaded to interna...
Altera_Forum
Honored Contributor
21 years agoYou have it exactly right. That is how our flash boot-loader works for flash; for parallel flash, the boot-loader is placed at the beginng of flash, and the Nios reset vector pointing to the base of flash will cause the boot-loader to execute. The boot-loader examines the flash data (elf data) and copies data records to the appropriate area of memory before jumping to the application.
...I suppose the thing I'm getting at is that we've already done the boot-loaders for you... if you want to view the source they can be found in components/altera_nios2/sdk/src/boot_loader_sources