FAQ: [#5946] Disable anomaly 456 on bf526-ezbrd, gadget serial in dma mode fails to work(2010)

Document created by Aaronwu Employee on Sep 10, 2013
Version 1Show Document
  • View in full screen mode

[#5946] Disable anomaly 456 on bf526-ezbrd, gadget serial in dma mode fails to work

Submitted By: Vivi Li

Open Date

2010-03-05 05:16:59    

Priority:

Medium     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF526     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Jan_22

App binary format:

N/A     

Summary: Disable anomaly 456 on bf526-ezbrd, gadget serial in dma mode fails to work

Details:

 

Anomaly 456 is disabled on bf526-ezbrd, gadget serial driver in dma mode fails to work with Generic USB Serial driver or Linux ACM driver on Linux host.

 

Bellow is the log for gadget serial with Generic USB Serial driver.

 

On target:

--

root:/> modprobe g_serial use_acm=0

g_serial gadget: Gadget Serial v2.4

g_serial gadget: g_serial ready

g_serial gadget: high speed config #1: Generic Serial config

root:/>

root:/> dmesg|tail

dma_alloc_init: dma_page @ 0x0251f000 - 512 pages at 0x03e00000

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf526-ezbrd, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3464k freed

PHY: 0:01 - Link is Up - 100/Full

g_serial gadget: Gadget Serial v2.4

g_serial gadget: g_serial ready

g_serial gadget: high speed config #1: Generic Serial config

root:/>

--

 

On host:

--

uclinux63-527-usbdev:..testsuites/usbdev # sudo mount -t usbfs none /proc/bus/usb/

mount: none already mounted or /proc/bus/usb/ busy

uclinux63-527-usbdev:..testsuites/usbdev # mount

/dev/sda3 on / type ext3 (rw,acl,user_xattr)^M

proc on /proc type proc (rw)^M

sysfs on /sys type sysfs (rw)^M

debugfs on /sys/kernel/debug type debugfs (rw)^M

udev on /dev type tmpfs (rw)^M

devpts on /dev/pts type devpts (rw,mode=0620,gid=5)^M

/dev/sdb1 on /home type ext3 (rw,acl,user_xattr)^M

/dev/sda2 on /opt type ext3 (rw,acl,user_xattr)^M

fusectl on /sys/fs/fuse/connections type fusectl (rw)^M

securityfs on /sys/kernel/security type securityfs (rw)^M

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)^M

gvfs-fuse-daemon on /home/test/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=test)^M

none on /proc/bus/usb type usbfs (rw)^M

uclinux63-527-usbdev:..testsuites/usbdev # cat /proc/bus/usb/devices|grep -i gadget

S:  Product=Gadget Serial v2.4^M

uclinux63-527-usbdev:..testsuites/usbdev # sudo modprobe usbserial vendor=0x0525 product=0xA4A6

uclinux63-527-usbdev:..testsuites/usbdev # lsmod |grep usbserial

usbserial              51116  0

usbcore               164940  10 usbtest,usb_storage,cdc_acm,usbserial,cdc_ether,usbnet,usbhid,ehci_hcd,uhci_hcd

uclinux63-527-usbdev:..testsuites/usbdev # stty -F /dev/ttyUSB0 -icrnl

uclinux63-527-usbdev:..testsuites/usbdev # cat /dev/ttyUSB0 > host_file

 

On target:

--

root:/> ls /dev/tty*

/dev/tty  /dev/ttyBF1  /dev/ttyGS0

root:/> cat /proc/kallsyms > test_file

root:/> cat test_file > /dev/ttyGS0

(it hangs here)

--

 

Follow-ups

 

--- Sonic Zhang                                              2010-08-24 00:10:00

No hardware fix in bf526 v0.2 for anomaly 456 is reported to

processor.support@analog.com.

 

Duplicate of 5944.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

anomaly.diff    application/octet-stream    906    Vivi Li

config.linux.usbdev.dma    application/octet-stream    37916    Vivi Li

Outcomes