[U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit
thaoth
thaoth at cybersoft-vn.com
Thu Aug 21 09:26:54 CEST 2008
Hi Nobuhiro Iwamatsu,
> Please set outside clock to CONFIG_SYS_CLK_FREQ.
Sorry I didn't see "outside clock" in T-Engine/SH7727 specification. Regard
to clock of board, there are 3 types
- Internal clock
- Peripheral clock
- Bus clock
And have a look initialization values of T-Monitor - a boot loader of
T-Engine/SH7727,
ICLK_VAL: .long 0x0060 // 96 Mhz
PCLK_VAL: .long 0x0018 // 24 Mhz
FRQCR_VAL: .long 0x0112 // PLL*2, IFC*1, PFC/4
RTCOR_VAL: .long 0xa50b // 48MHz /64 14.667us
FRQCR: frequency multipliers controller
RTCOR: reflash time constant counter
Does "outside clock" mean peripheral clock? It is 24 Mhz.
> I think that cpu_init is not carried out.
> I think that u-boot stopped on lowlevel_init function.
In lowlevel_init function, I put a LED debugging function which turn on LED
on debug board. It works.
mov.l LED_A, r1
mov.l LED_D, r0
mov.b r0, @r1
LED_A: .long 0xA1600000 /* LED_BASE address */
LED_D: .long 0xaa /* mh a1600000, 00 --> ALL LED ON */
But C function in sh_generic_init() cannot work. :(
> I will get T-Engine board ......
Thank you and hope hearing good news from you.
Best regards,
--
View this message in context: http://www.nabble.com/-T-Engine--UBoot-configuration-for-T-Engine-SH7727-MS7727CP02-DevKit-tp18868090p19083780.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
More information about the U-Boot
mailing list