I have gone through the reference design for booting the Arria 10 board as described here: https://rocketboards.org/foswiki/Documentation/A10Gsrd170QspiBoot
It works for the development kit. However, the board I am need to get booting from flash only has 512 Mb as opposed to 1 Gb storage the reference design uses. This should be possible, according to the A10 Supported Flash Devices list (512 Mb storage is supported for boot).
My guess is that I need to edit the files listed in the notes of the flash layout in the reference design
Location of RBF file, Linux kernel and Linux Device Tree are hardcoded in U-Boot source code as U-Boot environment variables (qspirbfaddr, qspibootimageaddr, qspifdtaddr). Their default values can be changed by editing the U-Boot source code file include/configs/socfpga_arria10.h.
Location of root file system is defined in the Linux Device Tree.
Can anyone tell me if I’m approaching this correctly? Has anyone had to edit the flash layout in the past and can tell me if it is feasible? Thanks for any help you can provide.