public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC8280 USB console
@ 2005-08-12  8:32 KokHow Teh
  2005-08-12 13:12 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: KokHow Teh @ 2005-08-12  8:32 UTC (permalink / raw)
  To: u-boot

Hi;
      I am trying to bring up the USB controller on PQ2FADS-ZU with MPC8280
onboard. I have finished with the initialization and transaction routines
but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source
tree that I am using is a release version that is definitely not from the
top of the CVS. I notice that the usbtty is only implemented for the SX1
board in drivers/usbdcore_omap1510.c. Is omap1550 the name of the usb
controller in arm925t core of the card?
      Some questions pertaining to USB requirements for usbtty to work.
Sorry if this is more of usb-related rather than u-boot related.
(1) The USB connector on PQ2FADS-ZU is a Type-A connector. Would this work
as a console port?
(2) What type of usb connections is neccessary for usbtty to work? I mean,
is host PC running usb-host or usb-function and PQ2FADS-ZU running usb-host
or usb-function?
(3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC
USB cable would work? How about a USB2.0 Link cable? www.usbcable.com

      Thanks for any input.

Regards,
TEH

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] MPC8280 USB console
@ 2005-08-12  8:40 KokHow Teh
  0 siblings, 0 replies; 6+ messages in thread
From: KokHow Teh @ 2005-08-12  8:40 UTC (permalink / raw)
  To: u-boot

One additional piece of information:

"The host controller programming model does not coform to the OHCI or UHCI
standards in which software drivers are hardware-independant".


Regards,
TEH



"KokHow Teh" <KokHow.Teh@marconi.com>@lists.sourceforge.net on 08/12/2005
04:32:06 PM

Sent by:    u-boot-users-admin at lists.sourceforge.net


To:    u-boot-users at lists.sourceforge.net
cc:

Subject:    [U-Boot-Users] MPC8280 USB console


Hi;
      I am trying to bring up the USB controller on PQ2FADS-ZU with MPC8280
onboard. I have finished with the initialization and transaction routines
but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source
tree that I am using is a release version that is definitely not from the
top of the CVS. I notice that the usbtty is only implemented for the SX1
board in drivers/usbdcore_omap1510.c. Is omap1550 the name of the usb
controller in arm925t core of the card?
      Some questions pertaining to USB requirements for usbtty to work.
Sorry if this is more of usb-related rather than u-boot related.
(1) The USB connector on PQ2FADS-ZU is a Type-A connector. Would this work
as a console port?
(2) What type of usb connections is neccessary for usbtty to work? I mean,
is host PC running usb-host or usb-function and PQ2FADS-ZU running usb-host
or usb-function?
(3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC
USB cable would work? How about a USB2.0 Link cable? www.usbcable.com

      Thanks for any input.

Regards,
TEH




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] MPC8280 USB console
  2005-08-12  8:32 [U-Boot-Users] MPC8280 USB console KokHow Teh
@ 2005-08-12 13:12 ` Wolfgang Denk
  2005-08-15 11:31   ` Jerry Van Baren
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-08-12 13:12 UTC (permalink / raw)
  To: u-boot

In message <OF148161B0.215740C5-ON4825705B.001BEE4A@uk.marconicomms.com> you wrote:
>
>       I am trying to bring up the USB controller on PQ2FADS-ZU with MPC8280
> onboard. I have finished with the initialization and transaction routines
> but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source

Don't use such old code. Please use a current version from  CVS,  for
example CVS tag LABEL_2005_08_12_0050

> tree that I am using is a release version that is definitely not from the
> top of the CVS. I notice that the usbtty is only implemented for the SX1

This will become a major problem if you should ever have any problems
or questions.

> (1) The USB connector on PQ2FADS-ZU is a Type-A connector. Would this work
> as a console port?

Can it operate in device mode?

> (2) What type of usb connections is neccessary for usbtty to work? I mean,
> is host PC running usb-host or usb-function and PQ2FADS-ZU running usb-host
> or usb-function?

The PC is a standard USB host, and U-Boot will register itself  as  a
serial device.

> (3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC

You better check what your hardware allows. Using a A-to-A cable with
hartdware that is not compatible may ruin both your target board  and
the PC.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only way you could make a happy  marriage  is  by  cuttin'  their
heads  off  as  soon  as  they say `I do', yes? You can't make happi-
ness...                           - Terry Pratchett, _Witches Abroad_

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] MPC8280 USB console
@ 2005-08-13  4:00 KokHow Teh
  2005-08-13  7:30 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: KokHow Teh @ 2005-08-13  4:00 UTC (permalink / raw)
  To: u-boot

Hi;

> (2) What type of usb connections is neccessary for usbtty to work? I
mean,
> is host PC running usb-host or usb-function and PQ2FADS-ZU running
usb-host
> or usb-function?

WD# Can it operate in device mode?

WD# The PC is a standard USB host, and U-Boot will register itself  as  a
serial device.

According to the MPC8280 Reference Manual, the USB controller, which does
not conform to OHCI and UHCI programming model, operates in 2 modes, USB
Functiona nd USB Host. I guess what you mean with "device mode" would be
USB function mode in this context....

> (3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC

WD# You better check what your hardware allows. Using a A-to-A cable with
hartdware that is not compatible may ruin both your target board  and
the PC.


The only USB connector on the board is a Type-A connector. So I have to use
Type-A-to-Type-A cable. My question is, would this cable naturally be a
cross-connect cable?


Thanks & Regards,
TEH



Wolfgang Denk <wd@denx.de>@denx.de on 08/12/2005 09:12:16 PM

Sent by:    wd at denx.de


To:    "KokHow Teh" <KokHow.Teh@marconi.com>
cc:    u-boot-users at lists.sourceforge.net

Subject:    Re: [U-Boot-Users] MPC8280 USB console


In message <OF148161B0.215740C5-ON4825705B.001BEE4A@uk.marconicomms.com>
you wrote:
>
>       I am trying to bring up the USB controller on PQ2FADS-ZU with
MPC8280
> onboard. I have finished with the initialization and transaction routines
> but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source

Don't use such old code. Please use a current version from  CVS,  for
example CVS tag LABEL_2005_08_12_0050

> tree that I am using is a release version that is definitely not from the
> top of the CVS. I notice that the usbtty is only implemented for the SX1

This will become a major problem if you should ever have any problems
or questions.

> (1) The USB connector on PQ2FADS-ZU is a Type-A connector. Would this
work
> as a console port?

Can it operate in device mode?

> (2) What type of usb connections is neccessary for usbtty to work? I
mean,
> is host PC running usb-host or usb-function and PQ2FADS-ZU running
usb-host
> or usb-function?

The PC is a standard USB host, and U-Boot will register itself  as  a
serial device.

> (3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC

You better check what your hardware allows. Using a A-to-A cable with
hartdware that is not compatible may ruin both your target board  and
the PC.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only way you could make a happy  marriage  is  by  cuttin'  their
heads  off  as  soon  as  they say `I do', yes? You can't make happi-
ness...                           - Terry Pratchett, _Witches Abroad_

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] MPC8280 USB console
  2005-08-13  4:00 KokHow Teh
@ 2005-08-13  7:30 ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-08-13  7:30 UTC (permalink / raw)
  To: u-boot

In message <OF78D6146B.9ED0D2B2-ON4825705C.00148F71@uk.marconicomms.com> you wrote:
> 
> According to the MPC8280 Reference Manual, the USB controller, which does
> not conform to OHCI and UHCI programming model, operates in 2 modes, USB
> Functiona nd USB Host. I guess what you mean with "device mode" would be
> USB function mode in this context....

Yes, but does the PQ2FADS-ZU support this mode?

> WD# You better check what your hardware allows. Using a A-to-A cable with
> hartdware that is not compatible may ruin both your target board  and
> the PC.
> 
> The only USB connector on the board is a Type-A connector. So I have to use
> Type-A-to-Type-A cable. My question is, would this cable naturally be a
> cross-connect cable?

Again: you better check what your hardware *allows*. There is more to
USB than just the controller in the processor.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would be illogical to kill without reason
	-- Spock, "Journey to Babel", stardate 3842.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] MPC8280 USB console
  2005-08-12 13:12 ` Wolfgang Denk
@ 2005-08-15 11:31   ` Jerry Van Baren
  0 siblings, 0 replies; 6+ messages in thread
From: Jerry Van Baren @ 2005-08-15 11:31 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> In message <OF148161B0.215740C5-ON4825705B.001BEE4A@uk.marconicomms.com> you wrote:
> 
>>      I am trying to bring up the USB controller on PQ2FADS-ZU with MPC8280
>>onboard. I have finished with the initialization and transaction routines
>>but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source

[snip]

>>(3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC
> 
> 
> You better check what your hardware allows. Using a A-to-A cable with
> hartdware that is not compatible may ruin both your target board  and
> the PC.
> 
> Best regards,
> 
> Wolfgang Denk

IIRC, the PQ2FADS board has an errata on using USB in slave mode: the 
circuitry does not disconnect the +5v power properly when in slave mode 
(sneak path through the MOSFET intrinsic diode?) and so the PQ2FADS 
board (as slave) could fight with the host (as master).  CHECK THIS 
BEFORE CONNECTING IT UP.

gvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-15 11:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12  8:32 [U-Boot-Users] MPC8280 USB console KokHow Teh
2005-08-12 13:12 ` Wolfgang Denk
2005-08-15 11:31   ` Jerry Van Baren
  -- strict thread matches above, loose matches on Subject: below --
2005-08-12  8:40 KokHow Teh
2005-08-13  4:00 KokHow Teh
2005-08-13  7:30 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox