- assigned_to: Scott Jiang
- Resolution: none --> assigned
ad1836 fails to record on stamp board.
Image Name: bf537-0.2-4.0.0-rc3-ADI-2014R1-p
Created: 2015-03-20 1:22:05 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5410237 Bytes = 5.2 MiB
Load Address: 00001000
Entry Point: 00279db8
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00279db8
Linux version 4.0.0-rc3-ADI-2014R1-pre-00466-gf4bded5-dirty (test@uclinux50-537stamp-ad1836) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #2 Fri Mar 20 09:22:01 CST 2015
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: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001ae768
rodata = 0x001ae78c-0x002442bc
bss = 0x00245000-0x0025a390
data = 0x0025a3a0-0x00272000
stack = 0x00270000-0x00272000
init = 0x00272000-0x0065c000
available = 0x0065c000-0x03800000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 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:bf537-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: 50224K/57344K available (1717K kernel code, 95K rwdata, 598K rodata, 4008K init, 84K bss, 7120K reserved, 0K cma-reserved, 2048K DMA)
NR_IRQS:146
Configuring Blackfin Priority Driven Interrupts
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
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: 48 KB (32 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@7
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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
debug-mmrs: setting up Blackfin MMR debugfs
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18, base_baud = 7812500) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
brd: module loaded
m25p80 spi0.1: unrecognized JEDEC id bytes: ff, ff, ff
libphy: bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
rtc (null): invalid alarm value: 1900-2-1 0:0:0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
bfin-i2s bfin-i2s.0: dma rx:3 tx:4, err irq:45, regs:ffc00800
dma_alloc_init: dma_page @ 0x024f8000 - 512 pages at 0x03e00000
bfin-snd-ad1836 bfin-snd-ad1836: ad1836-hifi <-> bfin-i2s.0 mapping ok
TCP: cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 03:27:22 UTC (1085974042)
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:58:b9, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf537-stamp, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
ALSA device list:
#0: bfin-ad1836
Freeing unused kernel memory: 4008K (00272000 - 0065c000)
BusyBox v1.23.1 (2015-03-20 09:14:16 CST) hush - the humble shell
root:/>successful boot attempt ifconfig eth0 bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 4.0.0-rc3-ADI-2014R1-pre-00466-gf4bded5-dirty, build #2 Fri Mar 20 09:22:01 CST 2015
toolchain: /home/test/workspace/src/kernel/label/BF537-STAMP-AD1836/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-d61e0ed, build #1 Fri Mar 20 09:18:15 CST 2015
root:/>
Linux version: 4.0.0-rc3-ADI-2014R1-pre-00466-gf4bded5-dirty
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-d61e0ed
** STEP 3: Start testing
spawn mpg123 -Z ./audiotest.mp3
Please listen to the earphone or amplifier.
root:/> free
total used free shared buffers
Mem: 54232 12800 41432 0 0
-/+ buffers: 12800 41432
root:/> [free_mem_start=41432
Case 1 ...PASS
Case 1 ...PASS
alsa_rec_play Round 1: format S32_LE; rate 48000; channel Stereo
6narecord -f S32_LE -r 48000 -c 2 -t wav -d 5 wav
Recording WAVE 'wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
timeout in arecord!
Last passed time: 2014-07-16_15-56-00
User-dist commit acb4fc8f4d7a54c9216528d0c4775242505f2d76
Kernel commit 0fedefadd79fa919adc8a34a299c70090df189be
Testsuites commit 8e97e8bb2469ec9b570d156af8909fcb26ce92bd
Case 2 ...FAIL
Case 2 ...FAIL
AUDIO TEST (audio_ad1836) FAIL
AUDIO TEST (audio_ad1836) ............[FAIL]
Test Period is: 105 seconds.