[#6600] dma copy fails now on bf537 board now
Submitted By: Mingquan Pan
Open Date
2011-05-17 02:55:56 Close Date
2011-05-25 03:27:04
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
5013
App binary format:
N/A
Summary: dma copy fails now on bf537 board now
Details:
dma copy fails now on bf537 board, it stops at case 3.
bfin> bootm^M
## Booting kernel from Legacy Image at 02000000 ...^M
Image Name: bf537-0.2-2.6.39-rc7-ADI-2011R1-^M
Created: 2011-05-15 22:47:15 UTC^M
Image Type: Blackfin Linux Kernel Image (gzip compressed)^M
Data Size: 1998407 Bytes = 1.9 MiB^M
Load Address: 00001000^M
Entry Point: 00193c1c^M
Verifying Checksum ... OK^M
Uncompressing Kernel Image ... OK^M
Starting Kernel at = 00193c1c^M
Linux version 2.6.39-rc7-ADI-2011R1-pre-svn9883 (test@uclinux52-bf537-spinet) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #444 Mon May 16 06:47:11 CST 2011^M
register early platform devices^M
bootconsole [early_shadow0] enabled^M
bootconsole [early_BFuart0] enabled^M
early printk enabled on early_BFuart0^M
Limiting kernel memory to 56MB due to anomaly 05000263^M
Board Memory: 64MB^M
Kernel Managed Memory: 64MB^M
Memory map:^M
fixedcode = 0x00000400-0x00000490^M
text = 0x00001000-0x00114be0^M
rodata = 0x00114be0-0x0016ac18^M
bss = 0x0016b000-0x0017b8c0^M
data = 0x0017b8c0-0x0018c000^M
stack = 0x0018a000-0x0018c000^M
init = 0x0018c000-0x003ab000^M
....
Build test program done
ifconfig eth0 10.100.4.50 up^M
root:/> ^[[6n^M
root:/> ^[[6nifconfig eth0^M
eth0 Link encap:Ethernet HWaddr 00:E0:22:FE:BF:96 ^M
inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0^M
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1^M
RX packets:2 errors:0 dropped:0 overruns:0 frame:0^M
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0^M
collisions:0 txqueuelen:1000 ^M
RX bytes:120 (120.0 B) TX bytes:42 (42.0 B)^M
^M
root:/> ^[[6n
************** STEP 5: Copy testcase to target board
spawn rcp src/dmacopy root@10.100.4.50:/^M
Copy dmacopy to target board done
************** STEP 6: Start testing
uname -a^M
Linux blackfin 2.6.39-rc7-ADI-2011R1-pre-svn9883 #444 Mon May 16 06:47:11 CST 2011 blackfin GNU/Linux^M
root:/> ^[[6n
It's not a SMP kernel.
taskset 1 ./dmacopy^M
TEST: --- SRAM (L1 INST) <-> SDRAM w/4 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
...
FAIL: dma_memcpy(dst, src) test case 46, memcmp result is -16^M
offsets differ: 65476...65477 65524...65525 131014...131015 262086...262087 262132...262133 393160...393161 458696...458697 458740...458741 589812...589813 655308...655309 655348...655349 851918...851919 851956...851957 1048528...1048529 1048564...1048565 1245138...1245139 1245172...1245173 1441748...1441749 1441780...1441781 1507286...1507287 1638358...1638359 1638388...1638389 1834968...1834969 1834996...1834997 1966068...1966069 2031580...2031581 2031604...2031605 2228190...2228191 2228212...2228213 2424800...2424801 2424820...2424821 2555892...2555893 2621412...2621413 2621428...2621429 2818022...2818023 2818036...2818037 2883572...2883573 2949108...2949109 3014636...3014637 3014644...3014645 3211246...3211247 3211252...3211253^M
PASS: dma_memcpy SDRAMx16[s] to SDRAMx16[c]^M
PASS: dma_memcpy(chk, src) test case 47, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, chk) test case 47, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 47, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SDRAMx8[c]^M
PASS: dma_memcpy(chk, src) test case 48, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, chk) test case 48, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 48, memcmp result is 0^M
SUMMARY: 19 tests failed
Last passed time: 2011_May_05_08_44, ucdist ver: 10163, kernel ver: 9869
Case 3 ...FAIL
Case 3 ...FAIL
DMACOPY TEST FAIL
DMACOPY TEST ............[FAIL]
Follow-ups
--- steven miao 2011-05-17 23:39:35
caused by [#6188] anomaly 05000480 work around
disable MDMA traffic control now to fix it
--- Mingquan Pan 2011-05-25 03:27:04
Yes, it passes now. Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found