Hi There,
I am working on boot loader for a customized AM3703 board based on AM/DM37x EVM board but Crytal, Nand and memory are different. I am using U-boot. My understanding is I need to creat new customized _board.c in U-boot file structure, then make config the new .c file and finally compile the u-boot image to load in target board. But I see the clock configuration table for different crystal and speed is in lowlevel_init.S. Shoud I change this assembly code or there is another interface for me to configure clock parameters for different crystal and speed. In lowlevel_init.S, the configure table is as follows:
/*
* Tables for 36x/37x devices
*
* (Populated for 13MHz only)
*/
mpu_36x_dpll_param:
.word 300, 12, 0, 1
.word 300, 12, 0, 1
.word 300, 12, 0, 1
.word 300, 12, 0, 1
iva_36x_dpll_param:
.word 10, 0, 0, 1
.word 10, 0, 0, 1
.word 10, 0, 0, 1
.word 10, 0, 0, 1
core_36x_dpll_param:
.word 200, 12, 0, 1
.word 200, 12, 0, 1
.word 200, 12, 0, 1
.word 200, 12, 0, 1
per_36x_dpll_param:
/* SYSCLK M N M2 M3 M4 M5 M6 m2DIV */
.word 26000, 432, 12, 9, 16, 9, 4, 3, 1
.word 26000, 432, 12, 9, 16, 9, 4, 3, 1
.word 26000, 432, 12, 9, 16, 9, 4, 3, 1
.word 26000, 432, 12, 9, 16, 9, 4, 3, 1
Thanks for any help.
Frank