I want to compile the imx6_platform_sdk for imx6dl without OCRAM patch, its compiling properly, after applied the both OCRAM patches, it's throwing error, that is mentioned below, please anybody give me the suggestion to compile this OCRAM application for imx6dl and imx6q EVK board.
imx6_platform_sdk/imx6_platform_sdk$ sudo ./tools/build_sdk -target=mx6sdl -board=smart_device -board_rev=c -app=iram
Building sdk [mx6sdl smart_device c]
Building lwip [mx6sdl smart_device c]
Building smart_device [mx6sdl smart_device c]
Building iram [mx6sdl smart_device c]
/home/firstview/wwww/imx6_platform_sdk/imx6_platform_sdk/output/mx6sdl/iram/smart_device_rev_c/obj/apps/common/basic_iram_sdk_app.ld:113 cannot move location counter backwards (from 0000000000923ec0 to 000000000090bfb8)
/home/firstview/wwww/imx6_platform_sdk/imx6_platform_sdk/mk/targets.mk:226: recipe for target '/home/firstview/wwww/imx6_platform_sdk/imx6_platform_sdk/output/mx6sdl/iram/smart_device_rev_c/iram.elf' failed
make: *** [/home/firstview/wwww/imx6_platform_sdk/imx6_platform_sdk/output/mx6sdl/iram/smart_device_rev_c/iram.elf] Error 1
Makefile:99: recipe for target 'iram' failed
make: *** [iram] Error 2
Build mx6sdl smart_device rev_c ALL failed with return code 2!