[#7186] icc test crash in bf561-ezkit in trunk
Submitted By: Vivi Li
Open Date
2012-07-05 23:31:41 Close Date
2012-08-15 05:09:12
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF561 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2012_Feb_15
App binary format:
N/A
Summary: icc test crash in bf561-ezkit in trunk
Details:
icc test crash in bf561-ezkit in latest trunk.
--
Linux version 3.3.0-ADI-2012R1-pre-00774-gd296eab (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #126 Fri Jul 6 07:45:20 CST 2012
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 60MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00125298
rodata = 0x00125298-0x0017fd7c
bss = 0x00180000-0x0018fd3c
data = 0x0018fd3c-0x001a2000
stack = 0x001a0000-0x001a2000
init = 0x001a2000-0x00823000
available = 0x00823000-0x03b00000
DMA Zone = 0x03b00000-0x03c00000
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev 0.5
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 600 MHz core clock and 100 MHz System Clock
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-through) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14986
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 mem=60M max_mem=64M earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit: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: 51476k/61440k RAM, (6660k init code, 1168k kernel code, 500k data, 1024k dma, 612k reserved)
NR_IRQS:153
Configuring Blackfin Priority Driven Interrupts
start_kernel(): bug: interrupts were enabled early^M<8a>console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)
pid_max: default: 32768 minimum: 301
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: 16 KB (3 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
NET: Registered protocol family 16
gpiochip_add: registered GPIOs 0 to 47 on device: BFIN-GPIO
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@16
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 100
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART
brd: module loaded
physmap platform flash device: 00800000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000020 Chip ID 0x0022ed
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
physmap-flash.0: Swapping erase regions for top-boot CFI table.
number of CFI chips: 1
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x000000200000 : "linux kernel(nor)"
0x000000200000-0x0000007f0000 : "file system(nor)"
0x0000007f0000-0x0000007fe000 : "config(nor)"
0x0000007fe000-0x000000800000 : "u-boot env(nor)"
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>
eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:b1:3c
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
icc icc.0: initialized
TCP cubic registered
NET: Registered protocol family 17
smc91x smc91x.0: eth0: link down
smc91x smc91x.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf561-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
dma_alloc_init: dma_page @ 0x0289a000 - 256 pages at 0x03b00000ýFreeing unused kernel memory: 6660k freed
_____________________________________
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| - 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.18.4 (2012-07-05 19:40:07 CST) hush - the humble shell
root:/> version
kernel: Linux release 3.3.0-ADI-2012R1-pre-00774-gd296eab, build #126 Fri Jul 6 07:45:20 CST 2012
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764)
user-dist: release svn-10729, build #1443 Fri Jul 6 07:44:06 CST 2012
root:/> successful boot attempt
************** STEP 3: Starting test
cd /bin
root:/bin> ./icc_loader -l ./icc
Data access CPLB miss
<5> - Used by the MMU to signal a CPLB miss on a data access.
Deferred Exception context
CURRENT PROCESS:
COMM=icc_loader PID=186 CPU=0
TEXT = 0x02a60040-0x02a65880 DATA = 0x02a658a0-0x02a67740
BSS = 0x02a67740-0x02a679f0 USER-STACK = 0x02a68f5c
return address: [0x02a61f00]; contents of:
0x02a61ee0: 1818 4349 601a 5490 0c02 1019 44d1 c682
0x02a61ef0: 8441 c402 0411 c422 4411 3213 e0a2 1002
0x02a61f00: [9202] 0850 1002 0010 3013 3058 529a 3212
0x02a61f10: 0c42 1804 e0a2 2002 9a01 0010 4900 6020
ADSP-BF561-0.5 600(MHz CCLK) 100(MHz SCLK) (mpu off)
Linux version 3.3.0-ADI-2012R1-pre-00774-gd296eab (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #126 Fri Jul 6 07:45:20 CST 2012
SEQUENCER STATUS: Not tainted
SEQSTAT: 00002026 IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x26
physical IVG3 asserted : <0xffa007f8> { _trap + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x028d0000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x02a60428> [ icc_loader + 0x3e8 ]
PC : <0x02a61f00> [ icc_loader + 0x1ec0 ]
DCPLB_FAULT_ADDR: <0x0feb0000> /* unconnected memory */
ICPLB_FAULT_ADDR: <0x02a61f00> [ icc_loader + 0x1ec0 ]
PROCESSOR STATE:
R0 : 0feb0000 R1 : 00000000 R2 : 00000000 R3 : 0feb83d4
R4 : 02a60ac4 R5 : 02a6585c R6 : 02a68f60 R7 : 02a71000
P0 : 0feb0000 P1 : 000020f5 P2 : 0feb83d4 P3 : 02a675b4
P4 : 00000003 P5 : 00000000 FP : 02a68e0c SP : 028cff24
LB0: 02a61f01 LT0: 02a61f00 LC0: 000020f5
LB1: 02a92beb LT1: 02a92be0 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 02a77618
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02a675b4
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 0000147a A0.x: 00000000 A1.w: 0000147a A1.x: 00000000
USP : 02a68dd0 ASTAT: 02002021
Hardware Trace:
0 Targ
--
Follow-ups
--- steven miao 2012-07-10 02:26:15
fixed ICC load address
--- Vivi Li 2012-07-13 02:38:32
Still fail in trunk.
--- Mingquan Pan 2012-07-26 23:41:01
Now the issue changes to:
root:/> cd bin/
root:/bin> ./icc_loader -l ./icc
writing to 0xfeb08000, 0x8fc0 bytes: OK
writing to 0xff600000, 0xb8 bytes: OK
root:/bin> COREB: @@@ gen pool create0
COREB: @@@ gen pool create1
COREB: session table 3d00000
root:/bin> COREB: sm_handle_control_message type 0
icc_loader -e ./task1 COREB: sm_handle_control_message type 0
ERROR: CourOdesRinaEionBadd:ess looss wmong_ handle_control_message type
2000000
Cx3cO000R
TEe mBx m:m a ailsblem_h yaur nystdm slemseto _e 0c03co600n,
tut rhe oestlnat_on ms aeovesthas; aaortgng.e
0 ( e-r2n w0th 0-fo0ce 0o s0ip 0his
che2k)
w0iti0g t0 0x03c0000
C0xO18 R EyteB: F:ILE
ttsk_anitsaddk 3c 000i
tnsk_ixittadd 3c3024c
00000 exit 3c00248
COREB: sm_send_message_internal() dst 0 src 1 2000001
COREB: finish sm_handle_control_message task status 1
COREB: finish1 sm_handle_control_message task status 1
COREB: sm_handle_control_message type 0
root:/bin> COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
root:/bin>
root:/bin>
root:/bin>
root:/bin>
root:/bin> ./packet_test -s 123
sp CackOt 4REB: sm_handle_control_message type 4000000
CbegOn cReatE epB
fi:ish creste mp s_ssihn iadexn= 0d
le_control_message type
4000000
COREB: sm_handle_control_message type 4000000
COREB: error messag type 04000000
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
COREB: sm_handle_control_message type 0
--- steven miao 2012-08-03 03:00:38
fixed in task1.c
--- Mingquan Pan 2012-08-15 06:07:53
Yes, icc case pass now.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.config.icc application/octet-stream 52066 Vivi Li
config.linux.icc application/octet-stream 31499 Vivi Li