[#4715] sport test unable to request sport rx dma channel
Submitted By: Mingquan Pan
Open Date
2008-12-11 04:12:18 Close Date
2009-03-02 05:40:04
Priority:
Medium High Assignee:
Cliff Cai
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
Nov 11
App binary format:
N/A
Summary: sport test unable to request sport rx dma channel
Details:
sport test unable to request sport rx dma channel.
Loading .text @ 0x00001000 (1087808 bytes)
Loading .rodata @ 0x0010a940 (262960 bytes)
Loading .init.rodata @ 0x0014ac70 (80 bytes)
Loading __ksymtab @ 0x0014acc0 (15872 bytes)
Loading __ksymtab_gpl @ 0x0014eac0 (5064 bytes)
Loading __ksymtab_strings @ 0x0014fe88 (46774 bytes)
Loading __init_rodata @ 0x0015b540 (172 bytes)
Loading __param @ 0x0015b5ec (380 bytes)
Clearing .bss @ 0x0015b770 (65120 bytes)
Loading .data @ 0x0016b5d0 (68144 bytes)
Loading .init.text @ 0x0017c000 (101736 bytes)
Loading .init.data @ 0x00194d68 (13600 bytes)
Loading .init.setup @ 0x00198288 (596 bytes)
Loading .initcall.init @ 0x001984dc (556 bytes)
Loading .con_initcall.init @ 0x00198708 (4 bytes)
Loading .init.ramfs @ 0x0019870c (4802360 bytes)
Loading .text_l1 @ 0xffa00000 (6928 bytes)
sh_addr: FFA00000, p_paddr: 0062CE44
Loading from: 0261E000 to 0062CE44, size: 6928
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 0062E954
Loading from: 02620000 to 0062E954, size: 192
## Starting application at 0x0018a350 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5794 (test@my-local-machine) (gcc version 4.1.2 (ADI svn)) #39 Thu Dec 11 16:56:14 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010a940
rodata = 0x0010a940-0x0015b768
bss = 0x0015b770-0x0016b5d0
data = 0x0016b5d0-0x0017c000
stack = 0x0017a000-0x0017c000
init = 0x0017c000-0x0062f000
available = 0x0062f000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:BF537:eth0:off
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)
Memory available: 50428k/65536k RAM, (4812k init code, 1062k kernel code, 454k data, 1024k dma, 7756k reserved)
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
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 (41 KB free)
PDA for CPU0 reserved at 0015c960
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
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 98
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-02 23:20:58 UTC (170458)
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=BF537, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 4812k freed
dma_alloc_init: dma_page @ 0x0062b000 - 256 pages at 0x03f00000
_____________________________________
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| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.13.1 (2008-12-09 14:02:48 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> successful boot attempt
*******************************************************************
STEP 3: Start testing.
cd /bin
root:/bin> ./spPHY: 0:01 - Link is Up - 100/Full
ort_test -t /sample.wav
Unable to request sport rx dma channel
Trying to free already-free IRQ 13
Trying to free already-free IRQ 12
root:/bin>
Follow-ups
--- Cliff Cai 2009-01-08 05:17:39
This bug is the same with bug#4639
Cliff
--- Cliff Cai 2009-01-14 04:56:00
This bug doesn't exist now,I restored ENABLE_AD73311 in the driver for
sport_tset,it works.
Cliff
--- Mike Frysinger 2009-01-14 06:02:50
as you said, this was a dupe of bug 4639
as for the ENABLE_AD73311 code, that should not be in the driver. it's easy to
do it in userspace so any test code you have should be changed, not the driver.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
sport.config application/octet-stream 31456 Mingquan Pan