I am using imx6dl sabresd reference board, and I want to run a sample application using OCRAM, and I referred the link mentioned below.
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iRAM-OCRAM-i-MX6-SDK-Application/ta-p/11...
I compiled the imx6 sdk and I got iram.bin and iram.elf, then flashed the u-boot image as well as iram.bin to sdcard, then I booted the board, and I executed the command in u-boot prompt, and I mentioned the log here, please verify and help me to run the application in OCRAM memory.
U-Boot 2017.03 (Feb 14 2019 - 15:48:31 +0530)
CPU: Freescale i.MX6DL rev1.1 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 31C
Reset cause: POR
Model: Freescale i.MX6 DualLite SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1 is current device
Net:
Warning: ethernet@02188000 using MAC address from ROM
eth0: ethernet@02188000 [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
=> bootelf 0x10800000
## No elf image at address 0x10800000
=> mmc dev 1
switch to partitions #0, OK
mmc1 is current device
=> mmc read 0x10800000 0x800 512
MMC read: dev # 1, block # 2048, count 1298 ... 1298 blocks read: OK
=> bootelf 0x10800000
## No elf image at address 0x10800000
Regards
Winston