Altera_Forum
Honored Contributor
11 years agoYet an other QSPI booting problem
I'm attempting to boot my project from QSPI on the Arrow SoCKit development board (Cyclone V), but the preloader is not loaded correctly into on-chip ram by the boot rom.
The preloader is build using the standard tool provided by SoCEDS 14.0. The options "boot from QSPI" and QSPI_NEXT_BOOT_IMAGE 0x60000 were used, and the image including the boot rom header is created with 'mkpimage -o preloader-mkpimage.bin u-boot-spl.bin' The preloader is written to QSPI from U-BOOT and placed at address 0x00000. The BOOT_SEL pins are configured to '111' meaning 3V QSPI boot The CLK_SEL pins are configures to '00' meaning lowest possible CLK. As stated initially the preloader is not loaded correctly into ram during boot. The image that is written to QSPI is as follows: 0xEA00001A 0xE59FF014 0xE59FF014 0xE59FF014 0xE59FF014 0xE59FF014 0xE59FF014 0xE59FF014 0xFFFF0020 . . . However the data that gets loaded into ram at 0xFFFF0000 is shifted by one byte. By breaking execution of the bootrom I can see the ram containing the following 0x00001AFF 0x9FF014EA 0x9FF014E5 0x9FF014E5 0x9FF014E5 0x9FF014E5 0x9FF014E5 0x9FF014E5 0xFF0020E5 . . . The boot rom therefore doesn't find the image valid, and the preloader is not executed. I've tried the various settings for the CLK_SEL pins but without any luck. Does anybody have a suggestion? br, Jesper