Just a quick update. Running the Gel file before booting fixes it because it sets the MPU PLL to a lower speed : /.
So this allows the board to boot up fine:
MPU_PLL_Config( CLKIN, 23, 800, 1);
CORE_PLL_Config( CLKIN, 23, 1000, 10, 8, 4);
DDR_PLL_Config( CLKIN, 23, 400, 1);
PER_PLL_Config( CLKIN, 23, 960, 5);
DISP_PLL_Config( CLKIN, 23, 48, 1);
And this fails:
MPU_PLL_Config( CLKIN, 23, 1000, 1);
CORE_PLL_Config( CLKIN, 23, 1000, 10, 8, 4);
DDR_PLL_Config( CLKIN, 23, 400, 1);
PER_PLL_Config( CLKIN, 23, 960, 5);
DISP_PLL_Config( CLKIN, 23, 48, 1);
So it is directly tied with the 1GHz speed in the kernel. If i start up at 800MHz and then try to change to 1GHz via:
echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
Then everything locks up. Is there something i could be doing somewhere in the kernel config or board init file that is changing things?
I am going to keep playing around to see if i can figure it out. I guess i would have to have messed something up in the kernel setup, not sure what though : /.