[#6002] Can not detect ad1836 on bf533-stamp in latest trunk
Submitted By: Vivi Li
Open Date
2010-04-12 04:02:00 Close Date
2010-04-18 22:31:07
Priority:
Medium Assignee:
Barry Song
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Drivers Board:
STAMP
Processor:
BF533 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
toolchain.2010_Jan_22
App binary format:
N/A
Summary: Can not detect ad1836 on bf533-stamp in latest trunk
Details:
Can not detect ad1836 on bf533-stamp in latest trunk. It works fine on bf537-stamp.
Last passed version:
--
kernel: Linux release 2.6.33.2-ADI-2010R1-pre-svn8603, build #25 Tue Apr 6 04:46:46 GMT+6 2010
toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9543, build #431 Tue Apr 6 04:45:14 GMT+6 2010
--
First failed version:
--
kernel: Linux release 2.6.33.2-ADI-2010R1-pre-svn8611, build #29 Thu Apr 8 05:15:30 GMT+6 2010
toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9545, build #507 Thu Apr 8 05:13:25 GMT+6 2010
--
Bellow is the log:
--
Linux version 2.6.33.2-ADI-2010R1-pre-svn8621 (test@uclinux77-533stamp-ad1836-spi) (gcc version 4.3.4 (ADI-trunk/svn-3815) ) #33 Sat Apr 10 05:12:39 GMT+6 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00133690
rodata = 0x00133690-0x0019666c
bss = 0x00197000-0x001a7b48
data = 0x001a7b48-0x001ba000
stack = 0x001b8000-0x001ba000
init = 0x001ba000-0x007a9000
available = 0x007a9000-0x03800000
DMA Zone = 0x07e00000-0x08000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF533 Rev 0.3
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 497 MHz core clock and 82 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf533-stamp:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 48932k/131072k RAM, (6076k init code, 1225k kernel code, 539k data, 2048k dma, 72252k reserved)
Hierarchical RCU implementation.
NR_IRQS:81
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 991.23 BogoMIPS (lpj=1982464)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (51 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
Advanced Linux Sound Architecture Driver Version 1.0.21.
Switching to clocksource bfin_cs_cycles
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 95
io scheduler noop registered
io scheduler cfq registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
brd: module loaded
spi spi0.4: please use a GPIO as chipselect while CPHA is 0
bfin-spi bfin-spi.0: can't setup spi0.4, status -22
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@5
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>
eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:07:5b
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
dma rx:1 tx:2, err irq:10, regs:ffc00800
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-08-01 10:59:58 UTC (18356398)
eth0: link down
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf533-stamp, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 6076k freed
dma_alloc_init: dma_page @ 0x027a0000 - 512 pages at 0x07e00000
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ e t h 0 : l i n k\
u p , 81"0P0YM8b p s , f u l l - d u_p l e x , l_p a_ 0Tx)4 5E 1 8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .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 - https://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.16.1 (2010-04-10 05:07:22 GMT+6) hush - the humble shell
root:/>
--
Follow-ups
--- Barry Song 2010-04-16 03:24:53
Fixed.
#if defined(CONFIG_SND_BF5XX_SOC_AD193X) ||
defined(CONFIG_SND_BF5XX_SOC_AD193X_MODULE)
{
.modalias = "ad193x",
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ
*/
.bus_num = 0,
.chip_select = 5,
.controller_data = &ad1938_spi_chip_info,
+ .mode = SPI_MODE_3,
},
#endif
--- Vivi Li 2010-04-18 22:29:24
AD1836 is detected.
Close this bug.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.audio_ad1836 application/octet-stream 35087 Vivi Li