[#5779] SD card can not work properly in BF518F-EZBRD board revision 1.0

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5779] SD card can not work properly in BF518F-EZBRD board revision 1.0

Submitted By: Vivi Li

Open Date

2009-12-16 21:57:06     Close Date

2009-12-17 22:56:08


Medium High     Assignee:

Cliff Cai


Closed     Fixed In Release:


Found In Release:

N/A     Release:


N/A     Board:



BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: SD card can not work properly in BF518F-EZBRD board revision 1.0



SD/MMC card can not work properly in BF518F-EZBRD 09r1 branch. Partitions can not be recognized. Board revision is 1.0 and silicon is 0.1.


The same kernel image works alright in board revision 0.2 and silicon is 0.0.



Linux version (test@uclinux80-bf518f) (gcc version 4.1.2 (ADI svn)) #4 Thu Dec 17 05:34:35 CST 2009^M

bootconsole [early_shadow0] enabled^M

bootconsole [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x001128f0^M

  rodata    = 0x001128f0-0x00167f2c^M

  bss       = 0x00168000-0x001787d4^M

  data      = 0x001787d4-0x0018a000^M

    stack   = 0x00188000-0x0018a000^M

  init      = 0x0018a000-0x007ea000^M

  available = 0x007ea000-0x03eff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 1^M

Blackfin support (C) 2004-2009 Analog Devices, Inc.^M

Compiled for ADSP-BF518 Rev 0.1^M

Blackfin Linux support by http://blackfin.uclinux.org/^M

Processor Speed: 400 MHz core clock and 80 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001^M

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=^M

Configuring Blackfin Priority Driven Interrupts^M

PID hash table entries: 256 (order: 8, 1024 bytes)^M

console [ttyBF0] enabled, bootconsole disabled^M

console [ttyBF0] enabled, bootconsole disabled^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 55836k/65536k RAM, (6528k init code, 1094k kernel code, 478k data, 1024k dma, 572k reserved)^M

Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M

Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

ezbrd_init(): registering device resources^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 109^M

io scheduler noop registered (default)^M

Serial: Blackfin serial driver^M

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART^M

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)^M

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7^M

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc03400, dma channel@5^M

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

i2c /dev entries driver^M

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400^M

bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M

dma_alloc_init: dma_page @ 0x0399e000 - 256 pages at 0x03f00000^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 07:54:59 UTC (1085990099)^M

mmc0: new SD card at address e624^M

mmcblk0: mmc0:e624 SD02G 1.89 GiB ^M

mmcblk0:IP-Config: Complete:^M

     device=eth0, addr=, mask=, gw=,^M

     host=bf518f-ezbrd, domain=, nis-domain=(none),^M

     bootserver=, rootserver=, rootpath=^M

Freeing unused kernel memory: 6528k freed^M

PHY: 0:01 - Link is Up - 100/Full^M


        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |^M

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |^M

       8'    .88       \        | |   | |  _ \| | | | \  /        |^M

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |^M

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |^M

     dP   .    Y8b.       \   For embedded processors including   |^M

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /^M

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

   8a.   :     _a88P         For further information, check out:^M

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/^M

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/^M

/     \.___.d|    .'           - http://www.uclinux.org/^M

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin^M


Have a lot of fun...^M



BusyBox v1.13.4 (2009-12-17 04:44:49 CST) built-in shell (msh)^M

Enter 'help' for a list of built-in commands.^M


root:/> version^M

kernel:    Linux release, build #4 Thu Dec 17 05:34:35 CST 2009^M

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M

user-dist: release svn-9277, build #39 Thu Dec 17 05:33:58 CST 2009^M

root:/> dmesg|grep mmc

mmc0: new SD card at address e624

mmcblk0: mmc0:e624 SD02G 1.89 GiB

mmcblk0:IP-Config: Complete:


(mmcblk0p1 is not recognized)


root:/> mkdosfs -F 32 /dev/mmcblk0^M

mkdosfs 3.0.2 (28 Feb 2009)^M


(can not mkdosfs for whole SD card, and it hangs here)





--- Yi Li                                                    2009-12-16 22:25:55

I tested mmc on bf518-ezbrd (rev 0.1) in u-boot. MMC card can be detected with

"mmcinfo", however, "fatinfo mmc 0:1" would fail.



--- Cliff Cai                                                2009-12-17 02:09:37

try to disable SPORT0 first.




--- Vivi Li                                                  2009-12-17 22:56:08

Yes, it's ok now.

Close it.












File Name     File Type     File Size     Posted By

No Files Were Found