Menu

#283 cf card probe fails

master head
open
nobody
None
low
none
BF537-STAMP
2015-03-13
2015-03-13
panmingquan
No

cf card probe fails on master head.

Booting kernel from Legacy Image at 02000000 ...

Image Name: bf537-0.2-4.0.0-rc3-ADI-2014R1-p
Created: 2015-03-09 20:16:38 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5311729 Bytes = 5.1 MiB
Load Address: 00001000
Entry Point: 00295db8
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00295db8
Linux version 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db-dirty (test@uclinux55-bf537-stamp-cf) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Tue Mar 10 04:16:28 CST 2015
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001bd358
rodata = 0x001bd358-0x0025dfcc
bss = 0x0025e000-0x00273bc4
data = 0x00273be0-0x0028e000
stack = 0x0028c000-0x0028e000
init = 0x0028e000-0x00653000
available = 0x00653000-0x03800000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 62 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: 14224
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.99.24.1:255.255.255.0:bf537-stamp: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: 50260K/57344K available (1776K kernel code, 105K rwdata, 643K rodata, 3860K init, 86K bss, 7084K reserved, 0K cma-reserved, 1024K DMA)
NR_IRQS:146
Configuring Blackfin Priority Driven Interrupts
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
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 (32 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_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
Switched to clocksource bfin_cs_cycles
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
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18, base_baud = 3906250) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
brd: module loaded
m25p80 spi0.1: found m25p64, expected m25p80
m25p80 spi0.1: m25p64 (8192 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader(spi)"
0x000000040000-0x0000001c0000 : "linux kernel(spi)"
0x0000001c0000-0x000000800000 : "file system(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=11)@sclk=62MHz)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin_cf_pcmcia bfin_cf_pcmcia: Blackfin CompactFlash/PCMCIA Socket Driver
bfin_cf_pcmcia bfin_cf_pcmcia: : on irq 54
rtc (null): invalid alarm value: 1900-2-1 0:0:0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
TCP: cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 03:10:58 UTC (1085973058)
IP-Config: Gateway not on directly connected network
dma_alloc_init: dma_page @ 0x028cf000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 3860K (0028e000 - 00653000)
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 54)
pata_pcmcia: probe of 0.0 failed with error -12
bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx

BusyBox v1.23.1 (2015-03-09 12:09:41 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 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db-dirty, build #4 Tue Mar 10 04:16:28 CST 2015
toolchain: /home/test/workspace/src/kernel/label/BF537-STAMP-CF/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-012b3bb, build #1 Mon Mar 9 12:16:07 CST 2015
root:/> 
Linux version: 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db-dirty
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-012b3bb

** STEP 3: Start testing

[6ndmesg|grep pcmcia
bfin_cf_pcmcia bfin_cf_pcmcia: Blackfin CompactFlash/PCMCIA Socket Driver
bfin_cf_pcmcia bfin_cf_pcmcia: : on irq 54
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 54)
pata_pcmcia: probe of 0.0 failed with error -12
root:/>
Case 1 ...PASS

Case 1 ...PASS
pccardctl ident
Socket 0:
product info: "SanDisk", "SDP", "5/3 0.6", ""
manfid: 0x0045, 0x0401
function: 4 (fixed disk)
root:/> 
Case 2 ...PASS

Case 2 ...PASS
[6npccardctl status
Socket 0:
3.3V 16-bit PC Card
Subdevice 0 (function 0) [unbound]

root:/>
Last passed time: 2015-03-04_00-38-11
User-dist commit ad137cc8a8cd26eeb9e32ea296eab9f1daa94769
Kernel commit df9d9ecbbdb58e7c1b82d4b893909e58c43e3044
Testsuites commit d439853a44e2670da2a7a8d70d012383f6c8a07a

Case 3 ...FAIL

Case 3 ...FAIL

CFCARD TEST FAIL

Discussion


Log in to post a comment.