I need to do additional configuration during the boot process of the OMAP L-137 related to L1P cache. I have placed a fast-code section inside L1P configured as SRAM. The problem is that the device defaults to L1P configuread as "all cache", so before code reaches the cache configuration routine I have the fast-code in L1P damaged by cache activity. The program works correctly if I could disable cache L1P on the boot process (now done via .gel file) and then re-enable it from the main program.
The question could be extended to similar problems as well: how can we do device configuration directly in the domain of the D800K001 bootloader? Is there a way to add hand-written configuration code that will be executed by the bootloader (before the main routine starts)? Thank you.