Hello E2E Community,
Our OEM platform consists of a C6748 and a DM368 that communicates over a Dual Ported RAM (DPR) implemented by RAM blocks in a FPGA. The C6748 does not have flash memroy and is configured to boot via NOR Legacy mode using the DPR as the NOR memory. This mode is as described at wiki site http://processors.wiki.ti.com/index.php/Secondary_Bootloaders_on_OMAP-L1x. Our secondary bootloader is written by the DM368 into the DPR. When the C6748 runs it reads the secondary bootloader code into L2RAM and gets executed. The secondary bootloader subsequently uses the DPR to load the actual application into DDR to execute it.
Since I am currently using CCS5 and JTAG to debug the application, it is working correctly. It is clear that CCS5 and JTAG uses the GEL file to initialize the C6748 hardware (PLL and DDR/EMIF). The procedure I am taking is that the secondary bootloader applies the common PLL and DDR/EMIF settings than copies the application to DDR and execute it.
I am generating the secondary bootloader binary image according to the instructions at the wiki site but I am not clear as to where the GEL file initialization procedure is put. Does the initialization gets put automatically into the final bootloader binary image? If not where in my secondary bootloader do I perform the hardware initialization?
Thanks,
JumpStart