public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Adding support to Technexion TAM3517 SOM
Date: Fri, 25 Nov 2011 08:35:47 +0100	[thread overview]
Message-ID: <4ECF4553.1030100@denx.de> (raw)
In-Reply-To: <20111125112501.32c36c0f@myhost>

On 25/11/2011 04:25, Tapani Utriainen wrote:
> Recompiled our kernel as well (was using someone elses pre-compiled earlier) and 
> tried again. No difference.
> 
> What steps did you take to verify that USB is working?
> For instance: I cannot mount/read a USB stick in linux when using your u-boot. 
> No problems using ours.

Yes, same steps - let's see:

the USB is correctly recognized as checked in the dmesg:

usb 2-1.1: new high speed USB device using ehci-omap and address 4
usb 2-1.1: New USB device found, idVendor=05e3, idProduct=0718
usb 2-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
usb 2-1.1: Product: USB Storage
usb 2-1.1: SerialNumber: 000000000033
scsi1 : usb-storage 2-1.1:1.0
scsi 0:0:0:0: Direct-Access     USB2.0   FlashDisk        0.00 PQ: 0 ANSI: 2
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 8055880 512-byte logical blocks: (4.12 GB/3.84 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk

There is a USB stick now connected to the EHCI-OMAP

mount reports no problem:

-bash-3.2# mount
/dev/nfs on / type nfs (rw)
none on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda1 on /mnt type vfat (rw)

And I can access the file(s) on /dev/sda1:

-bash-3.2# ls -la /mnt/
total 204
drwxr-xr-x  2 root root  16384 Jan  1  1970 .
drwxr-xr-x 17 root root   4096 Nov 24 16:14 ..
-rwxr-xr-x  1 root root 187344 Nov  9 10:47 u-boot.bin

> 
> You might very well be right that this difference is due to errors in our u-boot 
> *and* our kernel.

No, I have not said this. I meant that 2.6.32 kernel you have relies a
untouched USB controller, and that could not be the case now.
However, if you do not use the USB under U-Boot (you do not tip the "usb
start" command), only the MUX is set in U-Boot without touching the
controller. To understand which is the issue it is required some debugging.

> I have not verified the MUX setup etc, just (maybe foolishly) 
> trusted that the settings we have had working for long time (since before me starting 
> here) are somewhat correct. Would be tragic if two so crazy errors makes it work. :-(

As I said, the conditions are now slightly different and this can make
the system working or not. You see I have the same kernel, but surely
different conditions (rootfs on NFS server, different kernel parameters,
....) and it is working for me.

Take also into account that your customers could be very interested to
use the last kernel version or to have their board mainlined - and then
your board should / could run with several (and actual) kernel versions.
As far as I can see, there are a lot of patches from 2.6.32 to actual
kernel for the ehci-omap.c file, including fixing to make it working
after a suspend, and much more.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-11-25  7:35 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23  9:26 [U-Boot] Adding support to Technexion TAM3517 SOM Stefano Babic
2011-11-23  9:26 ` [U-Boot] [PATCH 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Stefano Babic
2011-11-23 12:44   ` Igor Grinberg
2011-11-23 13:08     ` Stefano Babic
2011-11-23 16:11     ` Wolfgang Denk
2011-11-23 16:29       ` Igor Grinberg
2011-11-23 16:21   ` Wolfgang Denk
2011-11-24  2:47     ` Tom Rini
2011-11-24  9:07     ` Stefano Babic
2011-11-24 12:07       ` Wolfgang Denk
2011-12-01  9:56   ` [U-Boot] [PATCH V3 " Stefano Babic
2011-12-01  9:56     ` [U-Boot] [PATCH V3 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2012-01-14  8:47       ` Albert ARIBAUD
2012-01-14  9:48         ` Stefano Babic
2012-01-14 10:06           ` Albert ARIBAUD
2012-01-14 10:15             ` Stefano Babic
2012-01-14 10:22               ` Albert ARIBAUD
2012-01-14 14:25         ` Tom Rini
2012-01-14 15:05           ` Stefano Babic
2011-12-05 23:31     ` [U-Boot] [PATCH V3 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Tom Rini
2011-11-23  9:26 ` [U-Boot] [PATCH 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2011-11-23 13:47   ` Igor Grinberg
2011-11-23 14:22     ` Stefano Babic
2011-11-23 14:18   ` Igor Grinberg
2011-11-23 14:41     ` Stefano Babic
2011-11-23 15:20       ` Igor Grinberg
2011-11-23 16:27   ` Wolfgang Denk
     [not found] ` <20111124145753.04084d1b@myhost>
2011-11-24  8:05   ` [U-Boot] Adding support to Technexion TAM3517 SOM Stefano Babic
2011-11-24 12:04     ` Wolfgang Denk
2011-11-24 12:30       ` Stefano Babic
2011-11-24 15:19   ` Stefano Babic
2011-11-25  3:25     ` Tapani Utriainen
2011-11-25  7:35       ` Stefano Babic [this message]
2011-11-24 15:44 ` [U-Boot] [PATCH V2 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Stefano Babic
2011-11-24 15:44   ` [U-Boot] [PATCH V2 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2011-11-24 20:40     ` Wolfgang Denk
2011-11-29 23:18     ` Tom Rini
2011-11-30  8:53       ` Stefano Babic
2011-12-01 11:33         ` Tapani Utriainen
2011-12-01 14:40           ` Wolfgang Denk
2011-11-24 20:43   ` [U-Boot] [PATCH V2 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Wolfgang Denk
2011-11-24 22:42     ` stefano babic

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=4ECF4553.1030100@denx.de \
    --to=sbabic@denx.de \
    --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