All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit
Date: Thu, 11 Sep 2008 21:00:13 +0900	[thread overview]
Message-ID: <48C9084D.3000807@renesas.com> (raw)
In-Reply-To: <19429512.post@talk.nabble.com>

Hi, thaoth.

thaoth wrote:
> 
> 
> Yoshihiro Shimoda wrote:
>> Hi, thaoth.
>>
>> I think that your board cannot communicate with USB device at all.
>> SH7727 has EXCPGCR register. Do you set this register?
>> When I used this CPU before, I did the following setting.
< snip >
>>
> Thank you very much,

You are welcome :)

> 
> Following your instruction, I did
> int usb_board_init(void)
> {
>     printf("usb_board_init\n");
> 
>     outw(0x18, STBCR3);
>     outw(0x18, SRSTR);
>     udelay(10);
> 
>     outw(0x28, EXCPGCR);
>     udelay(10);
> 	
>     outw(0x00, STBCR3);
>     outw(0x00, SRSTR);
>     return 0;
> }

These registers are 8-bit width. So please use outb() macro.

> 
>> STCBR3 = 0x18;
>>
> I couldn't see this register "STCBR3 ", I only saw STBCR3. Is it correct?

Oh, I am sorry. That's correct.

> But UBoot didn't work, Would you please tell me more detail ? 
> Thank you alot :)

I am sorry, my explanation was short. This EXCPGCR value was for an another board.
In the case of your board, it may be necessary to make it a defferent value.
And I used my board, I set 0x1500 in PKCR.

Best regards,
Yoshihiro Shimoda

  reply	other threads:[~2008-09-11 12:00 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
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 [this message]
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=48C9084D.3000807@renesas.com \
    --to=shimoda.yoshihiro@renesas.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.