Altera_Forum
Honored Contributor
11 years agoDoes the default HPS preloader/u-boot disable L1 and L2 cache?
Hi,
I am sharing the HPS DDR3 with a nios using the FPGA2SDRAM interface through and Address Span Extender (ASE). To boot Linux on the nios, u-boot running on the HPS follows these steps: 1. Copies (TFTP) the Linux binary image to the correct SDRAM address defined by the ASE. 2. Releases the reset for the nios. This works fine but I am concerned that perhaps the whole image is not copied because the FPGA2SDRAM interface does not provide coherent SDRAM access with respect to the L1 and L2 caches of the MPU. I believe that the caches are probably disabled in u-boot in which case there should be no problem but i am not sure. Does anyone know? I am using the u-boot this u-boot repository git://git.rocketboards.org/u-boot-socfpga.git where the socfpga_v2013.01.01-rel branch is checked out.