From mboxrd@z Thu Jan 1 00:00:00 1970 From: thaoth Date: Thu, 21 Aug 2008 00:26:54 -0700 (PDT) Subject: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit In-Reply-To: <29ab51dc0808200040i70fe61d3t66fa1b8326332902@mail.gmail.com> References: <18868090.post@talk.nabble.com> <29ab51dc0808071835u6248f23fyfc55165edf63497e@mail.gmail.com> <18887349.post@talk.nabble.com> <19062634.post@talk.nabble.com> <29ab51dc0808200040i70fe61d3t66fa1b8326332902@mail.gmail.com> Message-ID: <19083780.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.