Other Parts Discussed in Thread: 4460
I would like to modify the SPL so that it loads the U-boot image into OCM 2 starting at address 0x4040 0000 instead of into SDRAM.
So I added the following to the /include/configs/am57xx_evm.h file:
/* load the u-boot image into the 1Mbyte OCMC_RAM2 */
#define CONFIG_SYS_TEXT_BASE 0x40400000
I compile using the following command and everything builds fine.
make O=am57xx_evm am57xx_evm_config all
(I first deleted the output folder: am57xx_evm before running the above make command)
However, when I create the SD card and plug it into the target, the output in the serial window freezes like this and goes no further:
U-Boot SPL 2015.07-00064-g1c259e6-dirty (Aug 01 2016 - 15:36:36)
DRA752-GP ES2.0
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
Any idea what I am doing wrong? It seems this should be very easy to do!!!
I am running linux sdk 2.00.02.11 with u-boot 20015.07 for am57xx evm.