We are trying to start our own PCIe bootloader on our custom board without IBL. The PCIe booting works for the bootloader. After the bootloader configures DDR3, we would like the bootloader to jump back to BOOTROM so that we can use the same procedure to download the DSP application code once more. We also cleared the BOOTMAGIC and the last 0xD23f bytes (RAM used by BOOTROM) before we jump back to BOOTROM.
We could single step and trace the code branched back to 0x20b0000 and executing. But the bootrom eventually brings the code to some strange places (such as L2SRAM for corePack1). It is very difficult to trace code by dissemble. Is the source code for C6657 bootrom available?
Do we also have to clear the BOOTCOMPLETE register before we branch back to BOOTROM?
thanks
Weichun