Article [#5426] irda irtty test fails on bf548-ezkit as an anomaly of high speed transfer is not defined

[#5426] irda irtty test fails on bf548-ezkit as an anomaly of high speed transfer is not defined

Submitted By: Vivi Li

Open Date

2009-08-09 23:24:18     Close Date

2009-08-11 19:14:29

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc9

App binary format:

N/A     

Summary: irda irtty test fails on bf548-ezkit as an anomaly of high speed transfer is not defined

Details:

High speed anomaly is not defined for irtty on bf548-ezkit, so irda irtty will fail on bf548-ezkit.

Bfin sir is ok on bf548-ezkit.

--

U-Boot 2008.10-svn1977 (ADI-2009R1-rc3) (Jul 23 2009 - 18:15:56)

CPU:   ADSP bf548-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF548 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash: 16 MB

NAND:  256 MiB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:E0:22:FE:BD:B8

Hit any key to stop autoboot:  0

smc911x: initializing

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: MAC 00:e0:22:fe:bd:b8

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename \\\'uImage\\\'.

Load address: 0x1000000

Loading: T #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ###############################################

done

Bytes transferred = 5458812 (534b7c hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1-svn71

   Created:      2009-08-10  15:55:36 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5458748 Bytes =  5.2 MB

   Load Address: 00001000

   Entry Point:  00277b3c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00277b3c

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 52640k/65536k RAM, (7836k init code, 1673k kernel code, 763k data, 2048k dma, 572k reserved)

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, musb-dma, host, debug=0

musb_hdrc: USB Host mode controller at ffc03c00 using DMA, IRQ 82

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

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

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 23

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 102

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bf54x-lq043: FrameBuffer initializing...

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

bfin-uart.1: ttyBF1 at MMIO 0xffc03100 (irq = 42) is a BFIN-UART

brd: module loaded

smsc911x: Driver version 2007-07-13.

eth0: SMSC911x MAC Address: 00:e0:22:fe:bd:b8

Driver \\\'sd\\\' needs updating - please use bus_type methods

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

ata1.00: ATA-7: FUJITSU MHW2040AT, 0000000B, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHW2040A 0000 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn\\\'t support DPO or FUA

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn\\\'t support DPO or FUA

sda: sda1 sda2

sd 0:0:0:0: [sda] Attached SCSI disk

physmap platform flash device: 02000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on \\\"physmap-flash.0\\\":

0x00000000-0x00040000 : \\\"bootloader(nor)\\\"

0x00040000-0x00440000 : \\\"linux kernel(nor)\\\"

0x00440000-0x01000000 : \\\"file system(nor)\\\"

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on \\\"NAND 256MiB 3,3V 8-bit\\\":

0x00000000-0x00400000 : \\\"linux kernel(nand)\\\"

0x00400000-0x10000000 : \\\"file system(nand)\\\"

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on \\\"m25p80\\\":

0x00000000-0x00040000 : \\\"bootloader(spi)\\\"

0x00040000-0x00200000 : \\\"linux kernel(spi)\\\"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

input: bf54x-keys as /devices/platform/bf54x-keys/input/input0

bf54x-keys: Blackfin BF54x Keypad registered IRQ 76

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc00700

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc02200

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

bfin-sdh bfin-sdh.0: unable to request DMA channel

bfin-sdh: probe of bfin-sdh.0 failed with error -16

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

ASoC version 0.13.2

dma rx:0 tx:1, err irq:10, regs:ffc00800

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-04 03:40:31 UTC (272431)

eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175

eth0: link down

IP-Config: Complete:

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

     host=bf548-ezkit, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 7836k freed

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \\\\

       d888888b.         /       _     _                         \\\\

       8P\\\"YP\\\"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \\\\ \\\\/ /       |

       8\\\'    .88       \\\\        | |   | |  _ \\\\| | | | \\\\  /        |

       8`._.\\\' Y8.       \\\\       | |__ | | | | | |_| | /  \\\\        |

      d/      `8b.       \\\\      \\\\____||_|_| |_|\\\\____|/_/\\\\_\\\\       |

     dP   .    Y8b.       \\\\   For embedded processors including   |

    d8:\\\'  \\\"  `::88b        \\\\    the Analog Devices Blackfin      /

   d8\\\"         \\\'Y88b        \\\\___________________________________/

  :8P    \\\'      :888

   8a.   :     _a88P         For further information, check out:

._/\\\"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\\\\    YP\\\"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \\\\.___.d|    .\\\'           - http://www.uclinux.org/

`--..__)8888P`._.\\\'  jgs/a:f    - http://www.analog.com/blackfin

Have a lot of fun...

BusyBox v1.13.4 (2009-08-10 11:55:23 GMT) built-in shell (msh)

Enter \\\'help\\\' for a list of built-in commands.

root:/> modprobe irtty-sir

root:/> lsmod

Module                  Size  Used by

irtty_sir               3372  0

sir_dev                 8400  1 irtty_sir

hid_zpff                2168  0

hid_tmff                3020  0

ff_memless              3736  2 hid_zpff,hid_tmff

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls /dev/

audio               mtd2ro              pcmC0D0p            rtc0

bfin-otp            mtd3                ptmx                sda

console             mtd3ro              pts                 sda1

controlC0           mtd4                ram0                sda2

cpu_dma_latency     mtd4ro              ram1                snd

dsp                 mtd5                ram10               stderr

fb0                 mtd5ro              ram11               stdin

fd                  mtd6                ram12               stdout

full                mtd6ro              ram13               timer

i2c-0               mtdblock0           ram14               tty

i2c-1               mtdblock1           ram15               ttyBF0

kmsg                mtdblock2           ram2                ttyBF1

log                 mtdblock3           ram3                urandom

mem                 mtdblock4           ram4                usbdev1.1_ep00

mixer               mtdblock5           ram5                usbdev1.1_ep81

mtd0                mtdblock6           ram6                usbmon0

mtd0ro              network_latency     ram7                usbmon1

mtd1                network_throughput  ram8                watchdog

mtd1ro              null                ram9                zero

mtd2                pcmC0D0c            random

root:/> irattach /dev/ttyBF1 -s

root:/> sirdev_receive - too early: 0081741c / 5!

root:/>

root:/> cat /proc/net/irda/discovery

IrLMP: Discovery log:

nickname: localhost, hint: 0x0400, saddr: 0xeddc256c, daddr: 0x03ab5529

root:/> ircp -r

Waiting for incoming connection

IrLAP, no activity on link!

IrLAP, no activity on link!

IrLAP, no activity on link!

IrLAP, no activity on link!

^Croot:/>

root:/> ifconfig irda0

irda0     Link encap:UNSPEC  HWaddr 6C-25-DC-ED-00-00-02-00-00-00-00-00-00-00-00-00

          UP RUNNING NOARP  MTU:2048  Metric:1

          RX packets:73 errors:0 dropped:0 overruns:0 frame:0

          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:8

          RX bytes:1351 (1.3 KiB)  TX bytes:1118 (1.0 KiB)

root:/> irdaping 0x03ab5529

IrDA ping (0x03ab5529 on irda0): 32 bytes

32 bytes from 0x03ab5529: irda_seq=0 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=1 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=3 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=4 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=6 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=7 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=9 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=10 time=112.00 ms.

32 bytes from 0x03ab5529: irda_seq=12 time=112.00 ms.

^C

13 packets received by filter

root:/> ircp -r

Waiting for incoming connection

IrLAP, no activity on link!

IrLAP, no activity on link!

IrLAP, no activity on link!

^Croot:/>

root:/>

root:/> IrLAP, no activity on link!

root:/> ircp /bin/busybox

IrLAP, no activity on link!

Connecting...failed

root:/>

--

Follow-ups

--- Graf Yang                                                2009-08-11 01:31:15

I have committed a patch to sir_dev.c to report that our capability can not

support 115200 baud rate.

--- Vivi Li                                                  2009-08-12 00:14:44

OK now. Close it.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.