cat debug mmr info on bf526 would make kernel panic.
Image Name: bf526-0.0-3.15.0-ADI-2014R1-pre-
Created: 2014-07-01 16:10:10 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4252795 Bytes = 4.1 MiB
Load Address: 00001000
Entry Point: 0027ecb0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0027ecb0
Linux version 3.15.0-ADI-2014R1-pre-00354-gc11e7cc-dirty (test@uclinux81-bf526) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Wed Jul 2 00:10:00 CST 2014
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart1] enabled
early printk enabled on early_BFuart1
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001aa398
rodata = 0x001aa398-0x0023a55c
bss = 0x0023b000-0x0025148c
data = 0x002514a0-0x00276000
stack = 0x00274000-0x00276000
init = 0x00276000-0x00545000
available = 0x00545000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF526 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf526-ezbrd: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: 58508K/64512K available (1700K kernel code, 146K rwdata, 576K rodata, 2876K init, 89K bss, 6004K reserved, 1024K DMA)
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 792.57 BogoMIPS (lpj=1585152)
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 (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
SCSI subsystem initialized
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@7
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01400
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 114
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31, base_baud = 5000000) is a BFIN-UART
console [ttyBF1] enabled
console [ttyBF1] enabled
bootconsole [early_BFuart1] disabled
bootconsole [early_BFuart1] disabled
bootconsole [early_shadow0] disabled
bfin-otp: initialized
brd: module loaded
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000020 Chip ID 0x008815
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
cfi_cmdset_0001: Erase suspend on write enabled
Creating 3 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x000000200000 : "linux kernel(nor)"
0x000000200000-0x000000400000 : "file system(nor)"
m25p80 spi0.1: sst25wf040 (512 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader(spi)"
0x000000040000-0x000000080000 : "linux kernel(spi)"
libphy: bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
usbcore: registered new interface driver usb-storage
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 03:04:50 UTC (1085972690)
dma_alloc_init: dma_page @ 0x027c4000 - 256 pages at 0x03f00000
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:63:4d, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf526-ezbrd, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 2876K (00276000 - 00545000)
bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control off
BusyBox v1.22.1 (2014-07-01 03:22:19 CST) hush - the humble shell
root:/>successful boot attempt ifconfig eth0 10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.15.0-ADI-2014R1-pre-00354-gc11e7cc-dirty, build #4 Wed Jul 2 00:10:00 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF526-EZBRD-STD/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-fb95edb, build #1 Tue Jul 1 03:32:24 CST 2014
root:/>
Linux version: 3.15.0-ADI-2014R1-pre-00354-gc11e7cc-dirty
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-fb95edb
** STEP 3: Start testing
root:/> find /sys/kernel/debug/blackfin/ -type f -print -exec cat '{}' \;
/sys/kernel/debug/blackfin/port/MISCPORT_SLEW
0x0000
/sys/kernel/debug/blackfin/port/MISCPORT_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/MISCPORT_DRIVE
0x0555
/sys/kernel/debug/blackfin/port/PORTH_SLEW
0x0000
/sys/kernel/debug/blackfin/port/PORTH_MUX
0x0005
/sys/kernel/debug/blackfin/port/PORTH_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/PORTH_DRIVE
0x5555
/sys/kernel/debug/blackfin/port/PORTH_FER
0x01ff
/sys/kernel/debug/blackfin/port/PORTG_SLEW
0x0000
/sys/kernel/debug/blackfin/port/PORTG_MUX
0x1002
/sys/kernel/debug/blackfin/port/PORTG_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/PORTG_DRIVE
0x5555
/sys/kernel/debug/blackfin/port/PORTG_FER
0xc01e
/sys/kernel/debug/blackfin/port/PORTF_SLEW
0x0000
/sys/kernel/debug/blackfin/port/PORTF_MUX
0x0800
/sys/kernel/debug/blackfin/port/PORTF_HYSTERESIS
0x0105
/sys/kernel/debug/blackfin/port/PORTF_DRIVE
0x5555
/sys/kernel/debug/blackfin/port/PORTF_FER
...
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_RXTYPE
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_TXINTERVAL
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_TXTYPE
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_RXCOUNT
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_RXCSR
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_RXMAXP
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_TXCSR
0x0000
/sys/kernel/debug/blackfin/usb/USB_EP_NI0_TXMAXP
0x0000
/sys/kernel/debug/blackfin/usb/USB_SRP_CLKDIV
0x0000
/sys/kernel/debug/blackfin/usb/USB_PLLOSC_CTRL
0x3028
/sys/kernel/debug/blackfin/usb/USB_PHY_TEST
System MMR Error
5 - An error occurred due to an invalid access to an System MMR location
5 Possible reason: a 32-bit register is accessed with a 16-bit instruction
5 or a 16-bit register is accessed with a 32-bit instruction.
Kernel OOPS in progress
HW Error context
CURRENT PROCESS:
COMM=cat PID=557 CPU=0
TEXT = 0x00300040-0x003691e0 DATA = 0x00369200-0x00384740
BSS = 0x00384740-0x00386050 USER-STACK = 0x00392f2c
return address: [0x00071216]; contents of:
0x000711f0: 3006 e309 bf17 6ce6 3007 0127 05a4 0010
0x00071200: 639f 6ce6 3007 0127 05a4 0010 304e 916a
0x00071210: a3a8 64a1 0062 [3038] 0c00 17eb a3ea a170
0x00071220: a1b1 307d 6447 b0f0 b131 3007 60c1 e302
CPU: 0 PID: 557 Comm: cat Not tainted 3.15.0-ADI-2014R1-pre-00354-gc11e7cc-dirty #4
task: 020b8060 ti: 020ce000 task.ti: 020ce000
ADSP-BF526-0.0 400(MHz CCLK) 80(MHz SCLK) (mpu off)
Linux version 3.15.0-ADI-2014R1-pre-00354-gc11e7cc-dirty (test@uclinux81-bf526) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Wed Jul 2 00:10:00 CST 2014
SEQUENCER STATUS: Not tainted
SEQSTAT: 0000a03f IPEND: 8030 IMASK: 0000 SYSCFG: 0006
Global Interrupts Disabled (IPEND[4])
Peripheral interrupts masked off
Kernel interrupts masked off
HWERRCAUSE: 0x2
EXCAUSE : 0x3f
interrupts disabled
physical IVG5 asserted : <0xffa00af8> { _evt_ivhw + 0x0 }
physical IVG15 asserted : <0xffa00de8> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa002b0> { _bfin_coretmr_interrupt + 0x0 }
logical irq 21 mapped : <0x0012acb8> { _bfin_rtc_interrupt + 0x0 }
logical irq 27 mapped : <0x0012ce58> { _bfin_twi_interrupt_entry + 0x0 }
logical irq 31 mapped : <0x000dc1ec> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 32 mapped : <0x000dc000> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 35 mapped : <0x0010d364> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> / Maybe null pointer? /
RETN: <0x020d0000> / kernel dynamic memory (maybe user-space) /
RETX: <0x00304272> / kernel dynamic memory (maybe user-space) /
RETS: <0x00071216> { _simple_attr_read + 0x7e }
PC : <0x00071216> { _simple_attr_read + 0x7e }
PROCESSOR STATE:
R0 : 00000000 R1 : 00000000 R2 : 00000000 R3 : 00000000
R4 : 00001000 R5 : 00391e24 R6 : 027ba680 R7 : 00000000
P0 : 027f2720 P1 : 020cfe88 P2 : ffc039ec P3 : 00000000
P4 : 020cfef0 P5 : 027ba640 FP : 00391de8 SP : 020cfd98
LB0: 0030f34b LT0: 0030f342 LC0: 0000000f
LB1: 02f0f5fb LT1: 02f0f5b8 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000004 I0 : 00392fdf
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 0037e7ac
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00392e70
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 0000147a A0.x: 00000000 A1.w: 0000147a A1.x: 00000000
USP : 00391ddc ASTAT: 02002021
Hardware Trace:
0 Target : <0x00004170> { _trap_c + 0x0 }
Source : <0xffa00ba2> { _evt_ivhw + 0xaa } JUMP.L
1 Target : <0xffa00b84> { _evt_ivhw + 0x8c }
Source : <0xffa00b76> { _evt_ivhw + 0x7e } IF !CC JUMP pcrel
2 Target : <0xffa00af8> { _evt_ivhw + 0x0 }
FAULT : <0x000981b4> { _debugfs_u16_get + 0x10 } RTS
3 Target : <0x000981a4> { _debugfs_u16_get + 0x0 }
Source : <0x00071214> { _simple_attr_read + 0x7c } CALL (P2)
4 Target : <0x0007120c> { _simple_attr_read + 0x74 }
Source : <0x000711d4> { _simple_attr_read + 0x3c } IF CC JUMP pcrel (BP)
5 Target : <0x000711c0> { _simple_attr_read + 0x28 }
Source : <0x001a96b4> { _mutex_lock_interruptible + 0x38 } RTS
6 Target : <0x001a9688> { _mutex_lock_interruptible + 0xc }
Source : <0x001a87a8> { cond_resched + 0x20 } RTS
7 Target : <0x001a8788> { cond_resched + 0x0 }
Source : <0x001a9684> { _mutex_lock_interruptible + 0x8 } JUMP.L
8 Target : <0x001a967c> { _mutex_lock_interruptible + 0x0 }
Source : <0x000711bc> { _simple_attr_read + 0x24 } JUMP.L
9 Target : <0x00071198> { _simple_attr_read + 0x0 }
Source : <0x00058e44> { _vfs_read + 0x5c } CALL (P2)
10 Target : <0x00058e24> { _vfs_read + 0x3c }
Source : <0x0005830e> { _rw_verify_area + 0x52 } RTS
11 Target : <0x000582bc> { _rw_verify_area + 0x0 }
Source : <0x00058e20> { _vfs_read + 0x38 } JUMP.L
12 Target : <0x00058e14> { _vfs_read + 0x2c }
Source : <0xffa00116> { access_ok + 0x5e } RTS
13 Target : <0xffa0010e> { access_ok + 0x56 }
Source : <0xffa00128> { access_ok + 0x70 } JUMP.S
14 Target : <0xffa00122> { access_ok + 0x6a }
Source : <0xffa000f2> { access_ok + 0x3a } IF !CC JUMP pcrel (BP)
15 Target : <0xffa000b8> { access_ok + 0x0 }
Source : <0x00058e10> { _vfs_read + 0x28 } CALL pcrel
Kernel Stack
Stack info:
SP: [0x020cff24] <0x020cff24> / kernel dynamic memory (maybe user-space) /
FP: (0x020cffe0)
Memory from 0x020cff20 to 020d0000
020cff20: 00000003 [00304272] 00008000 00002000 00000000 020d0000 00304272 00304272
020cff40: 00320ad0 ffa00e4c 02002020 02f0f5fb 0030f34b 02f0f5b8 0030f342 00000000
020cff60: 0000000f 0000147a 00000000 0000147a 00000000 00000000 00000000 00000000
020cff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
020cffa0: 00000004 00000000 00392e70 0037e7ac 00392fdf 00391ddc 00391de8 003858b8
020cffc0: 00000001 00000000 00385e30 <00392f60> 00000003 00001000 00391e24 00000003
020cffe0:(00000000)<00392f60> 00001000 00391e24 00000003 00000003 00000003 00000006
Return addresses in stack:
address : <0x00392f60> / kernel dynamic memory (maybe user-space) /
frame 1 : <0x00392f60> / kernel dynamic memory (maybe user-space) /
Modules linked in:
Kernel panic - not syncing: Kernel exception
---[ end Kernel panic - not syncing: Kernel exception
It looks this issue also happened for bf527 and bf548, and they fail from last release.
while on bf537 and bf533, this case can pass.
Fixed in commit a08e6b62fbfdb2744cafec77ba7a98a87619d688
yes, it passes now on bf526/527/548!
bfin> bootm 0x2000000
Booting kernel from Legacy Image at 02000000 ...
Image Name: bf526-0.0-3.16.0-ADI-2014R1-pre-
Created: 2014-09-08 2:25:45 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4411337 Bytes = 4.2 MiB
Load Address: 00001000
Entry Point: 00284da4
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00284da4
Linux version 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty (test@uclinux81-bf526) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Mon Sep 8 10:25:35 CST 2014
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart1] enabled
early printk enabled on early_BFuart1
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001aef08
rodata = 0x001aef08-0x002411b0
bss = 0x00242000-0x002584bc
data = 0x002584c0-0x0027c000
stack = 0x0027a000-0x0027c000
init = 0x0027c000-0x0056f000
available = 0x0056f000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF526 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf526-ezbrd: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: 58340K/64512K available (1719K kernel code, 142K rwdata, 584K rodata, 3020K init, 89K bss, 6172K reserved, 1024K DMA)
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 792.57 BogoMIPS (lpj=1585152)
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 (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
SCSI subsystem initialized
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@7
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01400
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 113
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31, base_baud = 5000000) is a BFIN-UART
console [ttyBF1] enabled
console [ttyBF1] enabled
bootconsole [early_BFuart1] disabled
bootconsole [early_BFuart1] disabled
bootconsole [early_shadow0] disabled
bfin-otp: initialized
brd: module loaded
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000020 Chip ID 0x008815
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
Intel/Sharp Extended Query Table at 0x0039
cfi_cmdset_0001: Erase suspend on write enabled
Creating 3 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x000000200000 : "linux kernel(nor)"
0x000000200000-0x000000400000 : "file system(nor)"
m25p80 spi0.1: sst25wf040 (512 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader(spi)"
0x000000040000-0x000000080000 : "linux kernel(spi)"
libphy: bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
usbcore: registered new interface driver usb-storage
rtc (null): invalid alarm value: 1900-1-31 0:0:0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 03:09:33 UTC (1085972973)
dma_alloc_init: dma_page @ 0x0280c000 - 256 pages at 0x03f00000
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:63:4d, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf526-ezbrd, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 3020K (0027c000 - 0056f000)
bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control off
BusyBox v1.22.1 (2014-09-07 11:55:49 CST) hush - the humble shell
root:/>successful boot attempt ifconfig eth0 10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty, build #4 Mon Sep 8 10:25:35 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF526-EZBRD-STD/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-426e749, build #2 Mon Sep 8 10:12:57 CST 2014
root:/>
Linux version: 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-426e749
** STEP 3: Start testing
root:/> find /sys/kernel/debug/ -name blackfin -type d
/sys/kernel/debug/blackfin
root:/> blackfin directory exists!
Case 1 ...PASS
Case 1 ...PASS
find /sys/kernel/debug/blackfin/ -type f -print -exec cat '{}' \;
/sys/kernel/debug/blackfin/port/MISCPORT_SLEW
0x0000
/sys/kernel/debug/blackfin/port/MISCPORT_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/MISCPORT_DRIVE
0x0555
/sys/kernel/debug/blackfin/port/PORTH_SLEW
0x0000
/sys/kernel/debug/blackfin/port/PORTH_MUX
0x0005
/sys/kernel/debug/blackfin/port/PORTH_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/PORTH_DRIVE
0x5555
/sys/kernel/debug/blackfin/port/PORTH_FER
0x01ff
/sys/kernel/debug/blackfin/port/PORTG_SLEW
0x0000
/sys/kernel/debug/blackfin/port/PORTG_MUX
0x1002
/sys/kernel/debug/blackfin/port/PORTG_HYSTERESIS
0x0000
/sys/kernel/debug/blackfin/port/PORTG_DRIVE
...
/sys/kernel/debug/blackfin/core_regs/syscfg
0x00000006
/sys/kernel/debug/blackfin/core_regs/seqstat
0x00002000
/sys/kernel/debug/blackfin/core_regs/emudat
0xacc196a3
/sys/kernel/debug/blackfin/core_regs/cycles2
0x0000000a
/sys/kernel/debug/blackfin/core_regs/cycles
0xa754afb5
/sys/kernel/debug/blackfin/core_regs/last_seqstat
0x00000000
/sys/kernel/debug/blackfin/core_regs/sclk
0x04c4b400
/sys/kernel/debug/blackfin/core_regs/cclk
0x17d78400
root:/>
Case 1 ...PASS
Case 1 ...PASS
DEBUG MMRS TEST ............[PASS]
Test Period is: 115 seconds.
close.