public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Felix Radensky <felix@embedded-sol.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] SMSC LAN9514 on TI DM37x board
Date: Fri, 02 Nov 2012 08:38:39 +0200	[thread overview]
Message-ID: <50936A6F.8010701@embedded-sol.com> (raw)

Hi,

I'm running u-boot-2012.10 on a custom DM37x based board.
The board has LAN9514 USB Ethernet adapter connected
in EHCI host controller via USB3320 ULPI PHY. This is very
similar to BeagleBoard XM. Both Ethernet and USB hub work
in linux-2.6.37 from TI PSP 04.02.00.07. In u-boot however,
neither Ethernet nor mass storage devices attached to hub
are not detected.

Below is boot log:

U-Boot 2012.10 (Nov 02 2012 - 00:44:41)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Pro4Tech MVC404 board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
MVC404 > usb start
(Re)start USB...
USB:   Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
        scanning bus for storage devices... 0 Storage Device(s) found
        scanning bus for ethernet devices... 0 Ethernet Device(s) found

MVC404 > usb info
1: Hub,  USB Revision 2.0
  - u-boot EHCI Host Controller
  - Class: Hub
  - PacketSize: 64  Configurations: 1
  - Vendor: 0x0000  Product 0x0000 Version 1.0
    Configuration: 1
    - Interfaces: 1 Self Powered 0mA
      Interface: 0
      - Alternate Setting 0, Endpoints: 1
      - Class Hub
      - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

I have the following definitions in the code:

#define CONFIG_USB_OMAP3
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_OMAP
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS    3
#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO    24
#define CONFIG_USB_ULPI
#define CONFIG_USB_ULPI_VIEWPORT_OMAP
#define CONFIG_USB_STORAGE

static struct omap_usbhs_board_data usbhs_bdata = {
     .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
     .port_mode[1] = OMAP_USBHS_PORT_MODE_UNUSED,
     .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED
};

MUX_VAL(CP(ETK_D15_ES2),    (IDIS | PTD | DIS | M4)) /*GPIO_24*/

I'd appreciate any help in fixing the problem.

Thanks.

Felix Radensky.

             reply	other threads:[~2012-11-02  6:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02  6:38 Felix Radensky [this message]
2012-11-05  7:51 ` [U-Boot] SMSC LAN9514 on TI DM37x board Felix Radensky
2012-11-05 22:57   ` Marek Vasut
2012-11-06  8:24     ` Felix Radensky
2012-11-06 11:01       ` Ilya Yanok
     [not found]         ` <509A60B9.1060204@embedded-sol.com>
2012-11-07 14:14           ` Marek Vasut
2012-11-07 17:56         ` Felix Radensky

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=50936A6F.8010701@embedded-sol.com \
    --to=felix@embedded-sol.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox