lmbench fails on bf609-ezkit,while on other board, it looks ok,
Image Name: bf609-0.0-4.0.0-rc3-ADI-2014R1-p
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 8033224 Bytes = 7.7 MiB
Load Address: 00001000
Entry Point: 0032bb4c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0032bb4c
Linux version 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db (test@linux93-bf609-can) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #4 Mon Mar 9 14:41:41 CST 2015
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x002265d0
rodata = 0x002265f4-0x002e5014
bss = 0x002e6000-0x002fe728
data = 0x002fe740-0x00328000
stack = 0x00326000-0x00328000
init = 0x00328000-0x00944000
available = 0x00944000-0x07f00000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32258
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:192.168.0.1:255.255.255.0:"bf609-ezkit":eth0:off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119392K/130048K available (2197K kernel code, 166K rwdata, 762K rodata, 6256K init, 97K bss, 10656K reserved, 0K cma-reserved, 1024K DMA)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
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 (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (49 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
pinctrl core: initialized pinctrl subsystem
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
mcp230xx: probe of 0-0023 failed with error -1
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
NET: Registered protocol family 23
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
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, 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
physmap platform flash device: 01000000 at b0000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821
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
Creating 3 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000080000 : "bootloader(nor)"
0x000000080000-0x000000480000 : "linux kernel(nor)"
0x000000480000-0x000001000000 : "file system(nor)"
m25p80 spi0.59: w25q32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
0x000000200000-0x000000400000 : "file system(spi)"
adi-spi3 adi-spi3.0: registered ADI SPI controller spi0
adi-spi3 adi-spi3.1: registered ADI SPI controller spi1
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(®_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
stmmac - user ID: 0x10, Synopsys ID: 0x36
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
Driver 'mmcblk' needs updating - please use bus_type methods
dma_alloc_init: dma_page @ 0x04d76000 - 256 pages at 0x07f00000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 02:80:ad:20:31:e8
IP-Config: Gateway not on directly connected network
Freeing unused kernel memory: 6256K (00328000 - 00944000)
BusyBox v1.23.1 (2015-03-09 13:55:28 CST) hush - the humble shell
root:/>successful boot attempt ifconfig ethstmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
0 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-00463-gf3291db, build #4 Mon Mar 9 14:41:41 CST 2015
toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-CAN/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-db9494f)
user-dist: release git-012b3bb, build #1 Mon Mar 9 14:01:15 CST 2015
root:/>
inux version: 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db
GCC version: 4.3.5 (ADI-master/git-db9494f)
user-dist version: git-012b3bb
** STEP 3: Start testing
6nlat_ctx -s 0 processes 2 8 16
"size=0k ovr=11.12
2 25.07
8 30.80
16 34.50
root:/>
Case 1 ...PASS
Case 1 ...PASS
lat_ctx -s 16 processes 2 8 16
"size=16k ovr=61.53
2 131.58
8 139.50
mallocNULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=lat_ctx PID=435 CPU=0
TEXT = 0x05350000-0x05358e6c DATA = 0x05344e6c-0x05345688
BSS = 0x05345688-0x05380000 USER-STACK = 0x0539fe50
return address: [0x05351db4]; contents of:
0x05351d90: 0000 05b4 0010 0000 05f4 e800 0003 3073
0x05351da0: 3221 0c00 1024 6007 2012 320f 3218 640f
0x05351db0: 444d 5aab [9152] 321e 9110 e3ff fc99 ad62
0x05351dc0: 321e 5aaa 9152 a050 e3ff fc92 a0e0 0887
CPU: 0 PID: 435 Comm: lat_ctx Not tainted 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db #4
task: 053ac400 ti: 053ae000 task.ti: 053ae000
Compiled for cpu family 0x27fe (Rev 0), but running on:0x0000 (Rev 0)
ADSP-BF609-0.0 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db (test@linux93-bf609-can) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #4 Mon Mar 9 14:41:41 CST 2015
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 0008 IMASK: ffff SYSCFG: 2806
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa00744> { _trap + 0x0 }
RETE: <0x00000000> / Maybe null pointer? /
RETN: <0x053b0000> [ lat_ctx + 0x0 ]
RETX: <0x00000480> / Maybe fixed code section /
RETS: <0x05351e06> [ /usr/bin/lat_ctx + 0x1e06 ]
PC : <0x05351db4> [ /usr/bin/lat_ctx + 0x1db4 ]
DCPLB_FAULT_ADDR: <0x00000004> / Maybe null pointer? /
ICPLB_FAULT_ADDR: <0x05351db4> [ /usr/bin/lat_ctx + 0x1db4 ]
PROCESSOR STATE:
R0 : 00000004 R1 : 05345484 R2 : 05348d5c R3 : 00000008
R4 : 05349670 R5 : 0534538c R6 : 05345140 R7 : 00000001
P0 : 000000ae P1 : 00000000 P2 : 00000004 P3 : 00000004
P4 : 05345484 P5 : 00000000 FP : 05348d58 SP : 053aff24
LB0: 051a57e7 LT0: 051a57de LC0: 0000000d
LB1: 051a0fcf LT1: 051a0f9c LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00010000 I0 : 0539ffd7
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 053a1710
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000001 A0.x: 00000000 A1.w: 00000001 A1.x: 00000000
USP : 05348d4c ASTAT: 02002020
Case 2 ...FAIL
Case 2 ...FAIL
Lmbench test case on BF609-EZKIT using same image is passed in my test.