Hi, I want to boot 6678 via nand flash in our custom board with IBL. I have browsed the source files under tools/boot_loader/ibl/src, I have some questions:
1. Since the frequency of the input clock for 6678 in our board has changed, which file should I change to configure the PLLs properly? Should I only change the parameters in function c6678_ibl_config() in device.c?
2. under tools/boot_loader/ibl/src/util/iblConfig/src, there is a file iblConfig.c, the main() function in it opens a file called "input.txt", should I create this file with the "input-example.txt" to tell which device I am using? what's the meaning of "offset" in it?
3. under tools/boot_loader/ibl/src/main, two main() functions in iblinit.c and iblmain.c sperately, when ibl booting, does the main() in iblinit.c exec first, and then main() in iblmain.c? I noticed t hat in iblinit.c there is a PLL initial function devicePllConfig(), why there is a function called deviceDdrconfig() in iblmain.c also configuring PLL?
thanks.