Forum Discussion
Altera_Forum
Honored Contributor
16 years agoOk,
So I am in for a custom bootloader. Based on what I have discovered AN458 assumes you are using the NEEK and the following is an understatement: This example is designed to run on the Altera Nios II Embedded Evaluation Kit, Cyclone III Edition (NEEK). If you are using a different development kit, you may need to alter some of the steps and board support package (BSP) files as appropriate. I am trying to wade through and modify the build scripts, but I still have one fundemental question, where should I tell the tool that my image is? I want my application image at 0x100000 in a EPCS16. this is right in the middle of the device. Is this what I should use for the# define BOOT_IMAGE_1_ADDR ( 0x00100000 )? Thanks, John ------------------------------------------------------------------# elif BOOT_METHOD == BOOT_EPCS_FROM_ONCHIP_ROM // In an EPCS, the data is not present in the CPU's memory map, so we just // specify the image addresses as offsets within the EPCS. The CopyFromFlash // routine will work out the details later. // It is important to carefully choose the offsets at which to place boot images // in EPCS devices, ensuring they do not overlap FPGA configuration data. These // offsets should be sufficient for a Cyclone II 2C35 development board.# define BOOT_IMAGE_1_ADDR ( 0x00100000 )# define BOOT_IMAGE_2_ADDR ( 0x00100000 )