All of lore.kernel.org
 help / color / mirror / Atom feed
From: thaoth <thaoth@cybersoft-vn.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit
Date: Thu, 21 Aug 2008 00:26:54 -0700 (PDT)	[thread overview]
Message-ID: <19083780.post@talk.nabble.com> (raw)
In-Reply-To: <29ab51dc0808200040i70fe61d3t66fa1b8326332902@mail.gmail.com>


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.

  reply	other threads:[~2008-08-21  7:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 11:03 [U-Boot-Users] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit thaoth
2008-08-08  1:35 ` Nobuhiro Iwamatsu
2008-08-08  7:51   ` thaoth
2008-08-08  8:59     ` Nobuhiro Iwamatsu
2008-08-20  4:02       ` [U-Boot] " thaoth
2008-08-20  7:40         ` Nobuhiro Iwamatsu
2008-08-21  7:26           ` thaoth [this message]
2008-08-21  9:54             ` thaoth
2008-08-21 11:27               ` thaoth
2008-09-03  3:48           ` thaoth
2008-09-10 11:51       ` thaoth
2008-09-10 12:13         ` Nobuhiro Iwamatsu
2008-09-11  2:17           ` Yoshihiro Shimoda
2008-09-11  7:41             ` thaoth
2008-09-11 12:00               ` Yoshihiro Shimoda
2008-09-12  5:46                 ` thaoth
2008-09-12  6:44                   ` Yoshihiro Shimoda
2008-09-12 10:05                     ` thaoth
2008-09-12 10:53                       ` Yoshihiro Shimoda
2008-09-12 10:58                         ` thaoth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19083780.post@talk.nabble.com \
    --to=thaoth@cybersoft-vn.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.