[#4136] BF526-EZKIT 08R1 kernel cant boot
Submitted By: Bryan Wu
Open Date
2008-05-30 00:12:27 Close Date
2008-06-11 05:00:30
Priority:
Medium Assignee:
Bryan Wu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
EZKIT Lite
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
SVN TRUNK Toolchain version or rev.:
08r1-rc8
App binary format:
N/A
Summary: BF526-EZKIT 08R1 kernel cant boot
Details:
--
Bytes transferred = 4764619 (48b3cb hex)
Loading .text @ 0x00001000 (1072928 bytes)
Loading .rodata @ 0x00107000 (244528 bytes)
Loading __ksymtab @ 0x00142b30 (14936 bytes)
Ack! Something bad happened to the Blackfin!
SEQUENCER STATUS:
SEQSTAT: 00000021 IPEND: 3fa00ac SYSCFG: 0032
HWERRCAUSE: 0x0
EXCAUSE : 0x21
physical IVG7 asserted : <0x03fa026c> { _evt_default + 0x0 }
RETE: <0x6a88fb34> { ___smulsi3_highpart + 0x668dac08 }
RETN: <0x7dd0e215> { ___smulsi3_highpart + 0x79d592e9 }
RETX: <0x03f3b7bc> /* unknown address */
RETS: <0x03f3b7bc> /* unknown address */
PC : <0x03fa00ac> { _start + 0xac }
DCPLB_FAULT_ADDR: <0x001465a0> /* unknown address */
ICPLB_FAULT_ADDR: <0x03f3b7bc> /* unknown address */
PROCESSOR STATE:
R0 : 00142b30 R1 : 00146588 R2 : 00142b20 R3 : 00000000
R4 : 01404f20 R5 : 00000003 R6 : 00000078 R7 : 03fa843a
P0 : 001465a0 P1 : 00146588 P2 : ffe00004 P3 : 010000b4
P4 : 01405074 P5 : 03f3c000 FP : 01000000 SP : 03f3b6e4
LB0: 03fa0932 LT0: 03fa0932 LC0: 00000000
LB1: 03faf286 LT1: 03faf280 LC1: 00000000
B0 : ffb00400 L0 : 00000000 M0 : fb0559c3 I0 : 00000032
B1 : 00000000 L1 : 00000000 M1 : d1136306 I1 : 01146588
B2 : 00000000 L2 : 00000000 M2 : 23986286 I2 : 16492a8e
B3 : 00000000 L3 : 00000000 M3 : 758b0dc9 I3 : 15016381
A0.w: 00018f9a A0.x: 00000000 A1.w: 000001ca A1.x: 00000000
USP : ffb00ffc ASTAT: 00000000
Hardware Trace:
0 Target : <0x03fa073c> { _bfin_panic + 0x0 }
Source : <0x03fa08b4> { _trap_c + 0x13c }
1 Target : <0x03fa08a8> { _trap_c + 0x130 }
Source : <0x03fa0794> { _trap_c + 0x1c }
2 Target : <0x03fa0778> { _trap_c + 0x0 }
Source : <0x03fa0212> { _trap + 0x56 }
3 Target : <0x03fa01bc> { _trap + 0x0 }
Source : <0x03fb2840> { _blackfin_dcache_flush_range + 0x14 }
4 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
5 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
6 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
7 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
8 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
9 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
10 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
11 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
12 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
13 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
14 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
15 Target : <0x03fb2836> { _blackfin_dcache_flush_range + 0xa }
Source : <0x03fb283a> { _blackfin_dcache_flush_range + 0xe }
Please reset the board
### ERROR ### Please RESET the board ###
--
Follow-ups
--- Mike Frysinger 2008-05-30 00:19:24
you could try booting with dcache/icache turned off in both u-boot and the
kernel and see if that makes a difference ... although the cache handling
nowadays should be pretty stable/dynamic ...
--- Bryan Wu 2008-05-30 00:47:15
Exactly, I am trying this.
dcache and icache off in u-boot, disable dcache and icache in kernel.
Kernel can boot, but still crash after a while.
---
U-Boot 1.1.6-svn1226 (ADI-2008R2-pre) (May 29 2008 - 18:47:27)
CPU: ADSP bf526-0.0 (Detected Rev: 0.0)
Board: ADI BF526 EZ-Kit board
Support: blackfin.uclinux.org/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 9A:96:71:39:1B:00
Hit any key to stop autoboot: 0
bfin>
bfin>
bfin>
bfin> help
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootldr - boot ldr image from memory
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
cplbinfo- display current CPLB tables
crc32 - checksum calculation
date - get/set/reset date & time
dcache - enable or disable data cache
dhcp - invoke DHCP client to obtain IP/boot params
echo - echo args to console
eeprom - EEPROM sub-system
erase - erase FLASH memory
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
icache - enable or disable instruction cache
icrc32 - checksum calculation
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
otp - One-Time-Programmable sub-system
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
strings - display strings
tftpboot- boot image via network using TFTP protocol
version - print monitor version
bfin> help cache
Unknown command 'cache' - try 'help' without arguments for list of all known
commands
bfin> help dcache
dcache [on, off]
- enable or disable data (writethrough) cache
bfin> dcache off
Data (writethrough) Cache is OFF
bfin> icache off
Instruction Cache is OFF
bfin> print
bootcmd=run ramboot
bootdelay=5
baudrate=57600
loads_echo=1
autoload=no
rootpath=/romfs
gatewayip=192.168.0.1
netmask=255.255.255.0
hostname=bf526-ezkit
loadaddr=0x1000000
ubootfile=u-boot.ldr
update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase
0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)
addip=set bootargs $(bootargs)
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600
console=tty0 console=ttyBF0,57600
nfsargs=set bootargs root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3
nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm
flashboot=bootm 0x20100000
ethaddr=9A:96:71:39:1B:00
ethact=Blackfin EMAC
ipaddr=10.100.4.50
ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote
bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0
console=ttyBF0,57600
ip=10.100.4.50:addr:10.100.4.174:192.168.0.1:255.255.255.0:f
serverip=10.100.4.174
stdin=serial
stdout=serial
stderr=serial
Environment size: 1079/8188 bytes
bfin> run ramboot
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'linux'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####################
done
Bytes transferred = 4764428 (48b30c hex)
Loading .text @ 0x00001000 (1072720 bytes)
Loading .rodata @ 0x00107000 (244440 bytes)
Loading __ksymtab @ 0x00142ad8 (14936 bytes)
Loading __ksymtab_gpl @ 0x00146530 (4136 bytes)
Loading __ksymtab_gpl_future @ 0x00147558 (24 bytes)
Loading __ksymtab_strings @ 0x00147570 (45896 bytes)
Loading __param @ 0x001528b8 (480 bytes)
Loading .data @ 0x00153000 (77824 bytes)
Loading .init.text @ 0x00166000 (91268 bytes)
Loading .init.data @ 0x0017c484 (3252 bytes)
Loading .init.setup @ 0x0017d138 (584 bytes)
Loading .initcall.init @ 0x0017d380 (428 bytes)
Loading .con_initcall.init @ 0x0017d52c (4 bytes)
Loading .init.ramfs @ 0x0017d530 (2630775 bytes)
Loading .text_l1 @ 0xffa00000 (5708 bytes)
sh_addr: FFA00000, p_paddr: 003FF9A7
Loading from: 01400000 to 003FF9A7, size: 5708
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 00400FF3
Loading from: 01402000 to 00400FF3, size: 192
Clearing .bss @ 0x00402000 (62416 bytes)
## Starting application at 0x00166000 ...
Linux version 2.6.22.19-ADI-2008R1-svn4788 (test@adam-desktop2) (gcc version
4.1.2 (ADI svn)) #9 Fri May 30 12:42:38 CST 2008
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x00106e50
rodata = 0x00107000-0x00152a98
data = 0x00153000-0x00166000
stack = 0x00154000-0x00156000
init = 0x00166000-0x00402000
bss = 0x00402000-0x004113d0
available = 0x004113d0-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Built 1 zonelists. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600
console=tty0 console=ttyBF0,57600
ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255f
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-rtc: invalid date; resetting
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: 59764k/65536k RAM, (2672k init code, 1047k kernel code, 441k
data, 1024k dma, 584k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 32 KB (31 KB free)
Blackfin Data B SRAM: 32 KB (32 KB free)
Blackfin Instruction SRAM: 48 KB (42 KB free)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
Generic PHY: Registered new driver
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, ?dma?, peripheral, debug=0
musb_hdrc: USB Peripheral mode controller at ffc03800 using PIO, IRQ 59
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
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-otp: initialized
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0,
regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:00:19 (19)
IP-Config: Device `eth0' not found.
Freeing unused kernel memory: 2672k freed
Undefined instruction
- May be used to emulate instructions that are not defined for
a particular processor implementation.
Defered Exception context
CURRENT PROCESS:
COMM=mdev PID=90
TEXT = 0x00180040-0x001ccd20 DATA = 0x001ccd24-0x001e0e44
BSS = 0x001e0e44-0x001e72b4 USER-STACK = 0x001eef88
return address: [0x001ede90]; contents of:
0x001ede70: 1ab4 001e 0000 0000 732f 7379 ef8c 001e
0x001ede80: 93ec 0019 0000 0000 0000 0000 0000 0000
0x001ede90: [732f] 7379 622f 6f6c 6b63 722f 6d61 3031
0x001edea0: 312f 313a 0a30 6200 656c 0000 0000 0000
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000021 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x0
EXCAUSE : 0x21
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x00168000> { _inflate_dynamic + 0x500 }
RETX: <0x001ede90> [ mdev + 0x6de90 ]
RETS: <0x001ede90> [ mdev + 0x6de90 ]
PC : <0x001ede90> [ mdev + 0x6de90 ]
DCPLB_FAULT_ADDR: <0x001edcac> [ mdev + 0x6dcac ]
ICPLB_FAULT_ADDR: <0x001ede90> [ mdev + 0x6de90 ]
PROCESSOR STATE:
R0 : 00000001 R1 : ffffffff R2 : 00000000 R3 : 00000000
R4 : 00169008 R5 : 001edea1 R6 : 001b4d94 R7 : 00000fe8
P0 : 00000020 P1 : 001edea4 P2 : 001facca P3 : 00000000
P4 : 00000002 P5 : 0000003b FP : 001edd58 SP : 00167f24
LB0: 0018017d LT0: 00180170 LC0: 00000000
LB1: 0018acdd LT1: 0018acdc LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 001cdfb8
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 001eef8c
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000001
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 001edcb0 ASTAT: 02003004
Hardware Trace:
0 Target : <0x0000489c> { _trap_c + 0x0 }
Source : <0xffa006f4> { _exception_to_level5 + 0xb4 }
1 Target : <0xffa00640> { _exception_to_level5 + 0x0 }
Source : <0xffa00598> { _ex_trap_c + 0x5c }
2 Target : <0xffa0053c> { _ex_trap_c + 0x0 }
Source : <0xffa00794> { _trap + 0x28 }
3 Target : <0xffa0076c> { _trap + 0x0 }
Source : <0x001b4d3e> [ mdev + 0x34cfe ]
4 Target : <0x001b4d36> [ mdev + 0x34cf6 ]
Source : <0x001b4d26> [ mdev + 0x34ce6 ]
5 Target : <0x001b4d22> [ mdev + 0x34ce2 ]
Source : <0x00180380> [ mdev + 0x340 ]
6 Target : <0x0018035c> [ mdev + 0x31c ]
Source : <0x0018043c> [ mdev + 0x3fc ]
7 Target : <0x00180434> [ mdev + 0x3f4 ]
Source : <0x00180422> [ mdev + 0x3e2 ]
8 Target : <0x00180416> [ mdev + 0x3d6 ]
Source : <0x00180192> [ mdev + 0x152 ]
9 Target : <0x0018018e> [ mdev + 0x14e ]
Source : <0x00180184> [ mdev + 0x144 ]
10 Target : <0x00180168> [ mdev + 0x128 ]
Source : <0x0018018a> [ mdev + 0x14a ]
11 Target : <0x00180188> [ mdev + 0x148 ]
Source : <0x00180412> [ mdev + 0x3d2 ]
12 Target : <0x00180406> [ mdev + 0x3c6 ]
Source : <0x00180184> [ mdev + 0x144 ]
13 Target : <0x00180168> [ mdev + 0x128 ]
Source : <0x00180402> [ mdev + 0x3c2 ]
14 Target : <0x001803fc> [ mdev + 0x3bc ]
Source : <0x001803ee> [ mdev + 0x3ae ]
15 Target : <0x001803e4> [ mdev + 0x3a4 ]
Source : <0x00180192> [ mdev + 0x152 ]
Stack from 00167f04:
00000000 ffa006f8 00158568 00158568 00158564 001ede90 00000005
0018039e
001ede90 00000030 00000021 00000000 00168000 001ede90 001ede90
001ede90
00000001 02003004 0018acdd 0018017d 0018acdc 00180170 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000001 001eef8c 001cdfb8 001edcb0 001edd58 0000003b
00000002
Call Trace:
[<00169008>] _rd_load_image+0xe54/0xe90
Illegal instruction
_____________________________________
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...
Undefined instruction
- May be used to emulate instructions that are not defined for
a particular processor implementation.
Defered Exception context
CURRENT PROCESS:
COMM=sh PID=95
TEXT = 0x00300040-0x0034cd20 DATA = 0x0034cd24-0x00360e44
BSS = 0x00360e44-0x003672b4 USER-STACK = 0x0036efa0
return address: [0x0034cd46]; contents of:
0x0034cd20: cd24 0034 ffff ffff 0000 0000 0000 0000
0x0034cd30: 0000 0000 0000 0000 0000 0000 0000 0000
0x0034cd40: 0000 0000 0000 [0001] 0001 0001 0000 0001
0x0034cd50: 0001 0100 0000 0000 2300 2323 0022 2323
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060021 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x18
EXCAUSE : 0x21
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x003f2000> /* unknown address */
RETX: <0x0034cd46> [ sh + 0x4cd46 ]
RETS: <0x00314504> [ sh + 0x144c4 ]
PC : <0x0034cd46> [ sh + 0x4cd46 ]
DCPLB_FAULT_ADDR: <0x0036ef90> [ sh + 0x6ef90 ]
ICPLB_FAULT_ADDR: <0x0034cd46> [ sh + 0x4cd46 ]
PROCESSOR STATE:
R0 : 00000000 R1 : 00360e3c R2 : 52455400 R3 : 0000002f
R4 : 0031942c R5 : 00000001 R6 : 003618b0 R7 : 00000000
P0 : 0036ef19 P1 : 0034cd34 P2 : 003618b8 P3 : 0036efa4
P4 : 00360e3c P5 : 0034cd24 FP : 0036ef60 SP : 003f1f24
LB0: 0030be05 LT0: 0030be04 LC0: 00000000
LB1: 00000001 LT1: 00000000 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 0036eeb9
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 003d7e28
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 0036ef54 ASTAT: 02003005
Hardware Trace:
0 Target : <0x0000489c> { _trap_c + 0x0 }
Source : <0xffa006f4> { _exception_to_level5 + 0xb4 }
1 Target : <0xffa00640> { _exception_to_level5 + 0x0 }
Source : <0xffa00598> { _ex_trap_c + 0x5c }
2 Target : <0xffa0053c> { _ex_trap_c + 0x0 }
Source : <0xffa00794> { _trap + 0x28 }
3 Target : <0xffa0076c> { _trap + 0x0 }
Source : <0x0034cd44> [ sh + 0x4cd44 ]
4 Target : <0x0034cd34> [ sh + 0x4cd34 ]
Source : <0x00314502> [ sh + 0x144c2 ]
5 Target : <0x003144fc> [ sh + 0x144bc ]
Source : <0x003144ea> [ sh + 0x144aa ]
6 Target : <0x003144b2> [ sh + 0x14472 ]
Source : <0x0030c450> [ sh + 0xc410 ]
7 Target : <0x0030c444> [ sh + 0xc404 ]
Source : <0x0030bf18> [ sh + 0xbed8 ]
8 Target : <0x0030bf10> [ sh + 0xbed0 ]
Source : <0x0030bf64> [ sh + 0xbf24 ]
9 Target : <0x0030bf56> [ sh + 0xbf16 ]
Source : <0x0030bf46> [ sh + 0xbf06 ]
10 Target : <0x0030bf1c> [ sh + 0xbedc ]
Source : <0x0030bf00> [ sh + 0xbec0 ]
11 Target : <0x0030bef8> [ sh + 0xbeb8 ]
Source : <0x0030bf0e> [ sh + 0xbece ]
12 Target : <0x0030bef8> [ sh + 0xbeb8 ]
Source : <0x0030bf0e> [ sh + 0xbece ]
13 Target : <0x0030bf0c> [ sh + 0xbecc ]
Source : <0x0030bef4> [ sh + 0xbeb4 ]
14 Target : <0x0030bedc> [ sh + 0xbe9c ]
Source : <0x0030c440> [ sh + 0xc400 ]
15 Target : <0x0030c436> [ sh + 0xc3f6 ]
Source : <0x0030c446> [ sh + 0xc406 ]
Stack from 003f1f04:
00000000 ffa006f8 0015856c 0015856c 00158564 0036ef18 0031942c
00302098
0034cd46 00000030 00060021 00000000 003f2000 0034cd46 0034cd46
00314504
00000000 02003005 00000001 0030be05 00000000 0030be04 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 003d7e28 0036eeb9 0036ef54 0036ef60 0034cd24
00360e3c
Call Trace:
External Memory Addressing Error
Kernel OOPS in progress
HW Error context
CURRENT PROCESS:
COMM=syslogd PID=97
TEXT = 0x00300040-0x0034cd20 DATA = 0x0034cd24-0x00360e44
BSS = 0x00360e44-0x003672b4 USER-STACK = 0x0036ef8c
return address: [0x6c2f7664]; contents of:
0x6c2f7640: ???? ???? ???? ???? ???? ???? ???? ????
0x6c2f7650: ???? ???? ???? ???? ???? ???? ???? ????
0x6c2f7660: ???? ???? [????] ???? ???? ???? ???? ????
0x6c2f7670: ???? ???? ???? ???? ???? ???? ???? ????
SEQUENCER STATUS: Not tainted
SEQSTAT: 0000c03f IPEND: 8030 SYSCFG: 0006
HWERRCAUSE: 0x3
EXCAUSE : 0x3f
physical IVG15 asserted : <0xffa00db4> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa00250> { _timer_interrupt + 0x0 }
logical irq 31 mapped : <0x0008bb20> { _bfin_serial_rx_int + 0x0 }
logical irq 32 mapped : <0x0008bcc0> { _bfin_serial_tx_int + 0x0 }
logical irq 59 mapped : <0x000a7740> { _blackfin_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x007f4000> /* unknown address */
RETX: <0x0000676f> { _module_finalize + 0xd7 }
RETS: <0x642f0001> /* unknown address */
PC : <0x6c2f7664> /* unknown address */
PROCESSOR STATE:
R0 : 00000000 R1 : 00000000 R2 : 00000000 R3 : 00000000
R4 : 00000000 R5 : 00000000 R6 : 00000000 R7 : 00000000
P0 : 00000000 P1 : 00000000 P2 : 00000000 P3 : 00000000
P4 : 00000000 P5 : 00000000 FP : 00000000 SP : 007f3f24
LB0: 00000000 LT0: 00000000 LC0: 00000000
LB1: 00000000 LT1: 00000000 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00000000
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00000000
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00000000 ASTAT: 00000000
Hardware Trace:
0 Target : <0x0000489c> { _trap_c + 0x0 }
Source : <0xffa00ce2> { _evt_ivhw + 0x7e }
1 Target : <0xffa00c64> { _evt_ivhw + 0x0 }
Source : <0xffa00c62> { __common_int_entry + 0xca }
2 Target : <0xffa00c00> { __common_int_entry + 0x68 }
Source : <0xffa00e18> { _evt_system_call + 0x64 }
3 Target : <0xffa00e18> { _evt_system_call + 0x64 }
Source : <0xffa0091c> { _system_call + 0xb8 }
4 Target : <0xffa00918> { _system_call + 0xb4 }
Source : <0xffa00908> { _system_call + 0xa4 }
5 Target : <0xffa00902> { _system_call + 0x9e }
Source : <0xffa008f2> { _system_call + 0x8e }
6 Target : <0xffa008cc> { _system_call + 0x68 }
Source : <0xffa00110> { _sys_rt_sigreturn + 0x10 }
7 Target : <0xffa0010c> { _sys_rt_sigreturn + 0xc }
Source : <0x0000242c> { _do_rt_sigreturn + 0x48 }
8 Target : <0x00002420> { _do_rt_sigreturn + 0x3c }
Source : <0x000029ea> { _do_rt_sigreturn + 0x606 }
9 Target : <0x000029e8> { _do_rt_sigreturn + 0x604 }
Source : <0x000029e4> { _do_rt_sigreturn + 0x600 }
10 Target : <0x000029e0> { _do_rt_sigreturn + 0x5fc }
Source : <0x000167e6> { _do_sigaltstack + 0x66 }
11 Target : <0x000167e0> { _do_sigaltstack + 0x60 }
Source : <0x00016888> { _do_sigaltstack + 0x108 }
12 Target : <0x00016886> { _do_sigaltstack + 0x106 }
Source : <0x00016880> { _do_sigaltstack + 0x100 }
13 Target : <0x0001687a> { _do_sigaltstack + 0xfa }
Source : <0x0001685a> { _do_sigaltstack + 0xda }
14 Target : <0x00016854> { _do_sigaltstack + 0xd4 }
Source : <0x0001684e> { _do_sigaltstack + 0xce }
15 Target : <0x00016832> { _do_sigaltstack + 0xb2 }
Source : <0xffa001cc> { __access_ok + 0xb4 }
Stack from 007f3f04:
00000000 ffa00ce6 00000000 00000000 00000000 00300784 0000004b
00000406
0000676f 00008030 0000c03f 00000000 007f4000 0000676f 6c2f7664
642f0001
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Call Trace:
Modules linked in:
Kernel panic - not syncing: Kernel exception
---
-Bryan
--- Mike Frysinger 2008-05-30 00:58:48
i dont think we have any memory stresser to make sure things are truely sane in
the external memory ... the u-boot "mtest" command is pretty simple
btw, does "mtest" work on your board ?
--- Bryan Wu 2008-05-30 04:44:14
mtest works on my board. And I found the board named BF527-EZKIT installed with
a BF526. Grace gave me another board BF526-EZKIT which is totally different from
the BF527-EZKIT, IMO.
This crash is reported by u-boot when load_elf_image. And what is the memory
stresser you mentioned?
-Bryan
--- Mike Frysinger 2008-05-30 04:52:49
the bf526-ezkit looks nothing like the bf527-ezkit. it doesnt have an lcd or
anything. a bf527-ezkit with a bf526 on it is still a bf527-ezkit.
--- Bryan Wu 2008-05-30 04:58:28
bf527-ezkit with bf526 is just a low frequency version ofr bf527-ezkit, right?
i tried tftp uimage and bootm, uboot did not crash but kernel crashed. do you
think icache is different between bf526 and bf527?
--- Mike Frysinger 2008-05-30 05:16:15
yes, the low power ones (like bf526) have a clock limit of 400cclk/80sclk (see
datasheet)
the on-chip srams are all the same for all BF52x processors
--- Bryan Wu 2008-05-30 05:56:04
thx. I got your points here:
in uboot, 'make bf527-ezkit' is for the board named bf527-ezkit even if it's
been installed a bf526 processor and 'make bf526-ezkit' is for another totally
different board name bf526-ezkit which does not have lcd at all.
I did following test:
I modified the include/configs/bf527-ezkit.h to set the cclk=400M and
sclk=80M.
and programmed the u-boot.ldr to the board. u-boot also crashed at
load_elf_image as a u-boot.ldr produced by 'make bf526-ezkit'. Need I modify the
sdram setting?
And how do you program the bf526-ezkit u-boot.ldr to the bf526-ezkit board?
even VDSP5.0 does not support it. or should I upgrade VDSP?
And Jie is adding BF526 support in gdbproxy and jtag tool.
-Bryan
--- Mike Frysinger 2008-05-30 14:08:54
i dont know what memory parts are on that bf527-ezkit which has a bf526
processor. you'd have to compare to make sure all the parts are the same.
the tools team does not have a flash driver for the bf526-ezkit yet. just
bootstrap the board over the uart and then you can program the parallel/spi
flash just fine.
i already added the relevant support to gdbproxy/urjtag ... so there shouldnt
be anything for Jie to do ...
--- Bryan Wu 2008-06-11 03:40:38
bf526-ezkit works fine with u-boot and kernel. it also passed usb host mass
storage testing. But the bf527-ezkit board with bf526 processor installed still
fails and the board can not be reset by software. Maybe there are some hardware
bugs in the board.
So I plan to reject this bug and just focus on good bf527-ezkit board.
-Bryan
--- Mike Frysinger 2008-06-11 04:29:43
you mean focus on the good bf526-ezkit ?
since the bf527-ezkit will not be released to anyone with a bf526 on it, there
isnt any point in debugging the board ...
--- Bryan Wu 2008-06-11 05:00:29
Ok, we won't waste time to debug this weird board. I'll close this bug tracker.
-Bryan
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found