[#4928] ad1981b add-on board fails to work on bf527-ezkit sport1
Submitted By: Vivi Li
Open Date
2009-02-23 04:11:14 Close Date
2009-03-29 23:30:35
Priority:
Medium Assignee:
Cliff Cai
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1_2009-01-19
App binary format:
N/A
Summary: ad1981b add-on board fails to work on bf527-ezkit sport1
Details:
ad1981b add-on board fails to work on bf527-ezkit sport1 port. It works well on bf527-ezkit sport0 port.
--
root:/> dmesg
Linux version 2.6.28.6-ADI-2009R1-pre-svn6120 (test@uclinux63-527-usbdev) (gcc version 4.1.2 (ADI s9
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0013a980
rodata = 0x0013a980-0x0019bc38
bss = 0x0019bc40-0x001ab2d8
data = 0x001ab2d8-0x001be000
stack = 0x001bc000-0x001be000
init = 0x001be000-0x00604000
available = 0x00604000-0x03dff000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
boot memmap: 0000000000604000 - 0000000003dff000 (usable)
On node 0 totalpages: 15871
free_area_init_node: node 0, pgdat 001ba370, node_mem_map 00609000
DMA zone: 124 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 15747 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15747
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.f
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Kernel managed physical pages: 15871
Memory available: 56744k/65536k RAM, (4376k init code, 1254k kernel code, 526k data, 2048k dma, 584)
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)
PDA for CPU0 reserved at 0019cb70
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezkit_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, peripheral, debug=0
musb_hdrc: ConfigData=0x00 (UTMI-8)
musb_hdrc: HDRC RTL version 0.0
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 128
musb_hdrc: hw_ep 1rx, max 128
musb_hdrc: hw_ep 2tx, max 128
musb_hdrc: hw_ep 2rx, max 128
musb_hdrc: hw_ep 3tx, max 128
musb_hdrc: hw_ep 3rx, max 128
musb_hdrc: hw_ep 4tx, max 128
musb_hdrc: hw_ep 4rx, max 128
musb_hdrc: hw_ep 5tx, max 1024
musb_hdrc: hw_ep 5rx, max 1024
musb_hdrc: hw_ep 6tx, max 1024
musb_hdrc: hw_ep 6rx, max 1024
musb_hdrc: hw_ep 7tx, max 1024
musb_hdrc: hw_ep 7rx, max 1024
musb_hdrc: USB Peripheral mode controller at ffc03800 using PIO, IRQ 59
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
Setting up Blackfin MMR debugfs
msgmni has been set to 110
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_d)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
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 c7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
hid_tmff: Unknown symbol _input_ff_create_memless
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:5 tx:6, err irq:16, regs:ffc00900
AD1980 SoC Audio Codec
dma_alloc_init: dma_page @ 0x03aa8000 - 512 pages at 0x03e00000
asoc: AC97 <-> bf5xx-ac97 mapping ok
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
bf5xx_ac97_cold_reset: Not implemented
AD1980 AC97 reset failed
AC97 link error
soc-audio: probe of soc-audio failed with error -5
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2014-12-25 16:07:09 UTC (1419523629)
IP-Config: Gateway not on directly connected network.
Freeing unused kernel memory: 4376k freed
PHY: 0:03 - Link is Up - 100/Full
root:/>
--
Follow-ups
--- Cliff Cai 2009-03-04 23:10:47
By default ,the pins needed by SPORT1 are connected to other devices,So we need
to turn off those connections before using SPORT1,but unfortunately,PF8(DR1PRI)
is occupied by LED1 or LCD,and the connection can't be turned off totally.So,I
couldn't get record work on SPORT1.
Following settings will make playback work:
SW11:OFF,OFF,OFF,OFF,ON;SW5:OFF,OFF,OFF,ON.
Cliff
--- Cliff Cai 2009-03-05 05:25:40
The cause is that the DR1PRI is shared with signal LED0,and LED0 has a
pull-up,after I removed the pull-up R176, receive works just fine.
SW11:OFF,OFF,OFF,ON;SW5:OFF,OFF,OFF,OFF
Cliff
--- Vivi Li 2009-03-29 23:30:35
OK now. Close it.
Thanks!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found