[#4571] lmbench test case fails on bf527 ezkit board
Submitted By: Mingquan Pan
Open Date
2008-10-29 03:43:29 Close Date
2008-12-03 04:09:10
Priority:
Medium Assignee:
Sonic Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
Sep 23
App binary format:
N/A
Summary: lmbench test case fails on bf527 ezkit board
Details:
lmbench test case fails on bf527 ezkit board now, it didn't show the expected performance value when calling as :./lat_ctx -s 64 8, missing the numbers that should be on the second line.
get:
mbench3/bin/blackfin-Linux> ./lat_ctx -s 16 8^M
^M
"size=16k ovr=51.85^M
8 164.58^M
root:/lmbench3
Case 4 ...PASS
Case 4 ...PASS
/bin/blackfin-Linux> ./lat_ctx -s 64 8^M
^M
"size=64k ovr=630.86^M
root:/lmbench3/bin/blackfin-Linux>
Case 5 ...FAIL
It looks ok on other boards and this bug was first seen at about Sep 24.
Follow-ups
--- Sonic Zhang 2008-11-13 05:08:44
Can't replicate on SVN 5692
--- Mingquan Pan 2008-12-03 04:09:10
It is not happening every time, and on regression test machine, I still can see
this error show up from time to time.
Loading .text @ 0x00001000 (1189104 bytes)
Loading .rodata @ 0x001234f0 (296948 bytes)
Loading .init.rodata @ 0x0016bce4 (156 bytes)
Loading __ksymtab @ 0x0016bd80 (16680 bytes)
Loading __ksymtab_gpl @ 0x0016fea8 (5752 bytes)
Loading __ksymtab_strings @ 0x00171520 (50400 bytes)
Loading __init_rodata @ 0x0017da00 (172 bytes)
Loading __param @ 0x0017daac (640 bytes)
Clearing .bss @ 0x0017dd30 (66476 bytes)
Loading .data @ 0x0018e0dc (73508 bytes)
Loading .init.text @ 0x001a0000 (101488 bytes)
Loading .init.data @ 0x001b8c70 (20648 bytes)
Loading .init.setup @ 0x001bdd18 (584 bytes)
Loading .initcall.init @ 0x001bdf60 (644 bytes)
Loading .con_initcall.init @ 0x001be1e4 (4 bytes)
Loading .init.ramfs @ 0x001be1e8 (5293832 bytes)
Loading .text_l1 @ 0xffa00000 (5500 bytes)
sh_addr: FFA00000, p_paddr: 006CA8F0
Loading from: 026BB000 to 006CA8F0, size: 5500
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 006CBE6C
Loading from: 026BD000 to 006CBE6C, size: 192
## Starting application at 0x001ad480 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5790 (test@uclinux60-bf527-std) (gcc
version 4.1.2 (ADI svn)) #49 Wed Dec 3 14:58:15 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001234f0
rodata = 0x001234f0-0x0017dd2c
bss = 0x0017dd30-0x0018e0dc
data = 0x0018e0dc-0x001a0000
stack = 0x0019e000-0x001a0000
init = 0x001a0000-0x006cc000
available = 0x006cc000-0x03eff000
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-BF527 Rev 0.0
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 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: 16001
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:bf527-ezkit: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: 56968k/65536k RAM, (5296k init code, 1161k kernel code, 499k
data, 1024k dma, 584k reserved)
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
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 0017ed68
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_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, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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 111
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x0357f000 - 256 pages at 0x03f00000
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1,
mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)
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 channel@7
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
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 08:15:52 UTC
(1085991352)
usb 1-1: new high speed USB device using musb_hdrc and address 2
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf527-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 5296k freed
usb 1-1: configuration #1 chosen from 1 choice
_____________________________________
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-03 04:47:44 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
************** STEP 3: Start testing.
PHY: 0:03 - Link is Up - 100/Full
root:/> cd lmbench3/bin/blackfin-Linux
root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 0 2
"size=0k ovr=17.05
2 34.99
root:/lmbench3/bin/blac
Case 1 ...PASS
Case 1 ...PASS
kfin-Linux> ./lat_ctx -s 16 2
"size=16k ovr=48.52
2 172.27
root:/lmbench3
Case 2 ...PASS
Case 2 ...PASS
/bin/blackfin-Linux> ./lat_ctx -s 64 2
"size=64k ovr=631.70
root:/lmbench3/bin/blackfin-Linux>
Case 3 ...FAIL
Case 3 ...FAIL
LMBENCH TEST FAIL
And this issue happens every time to Bf548 ezkit board logged in bug [#3965]
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found