2011-03-16 01:16:36     SD card with BF53x

Document created by Aaronwu Employee on Aug 26, 2013Last modified by Aaronwu Employee on Aug 26, 2013
Version 2Show Document
  • View in full screen mode

2011-03-16 01:16:36     SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 98955   

 

HI,

 

I'm trying to use the SD card driver over SPI, this is the connection used:   wiki.linuxencaja.net/images/6/63/Sch_uSD.jpeg

 

I have kernel version 2010R1. Reading the documentation (spi and spi_mmc) I made some changes to the file:linux-2.6.x/arch/blackfin/mach-bf533/boards/stamp.c

 

.....

# if defined (CONFIG_MMC_SPI) | | defined(CONFIG_MMC_SPI_MODULE)

# define MMC_SPI_CARD_DETECT_INTIRQ_PF7 / * Default PF5 * /

.....

 

and

 

.....

# if defined (CONFIG_MMC_SPI) | | defined(CONFIG_MMC_SPI_MODULE)

{

. modalias = "mmc_spi"

. max_speed_hz = 20000000 / * max spi clock(SCK) speed in Hz * /

. bus_num = 0,

. chip_select = GPIO_PF4 + MAX_CTRL_CS,

. platform_data = & bfin_mmc_spi_pdata,

. controller_data = & mmc_spi_chip_info,

. mode = SPI_MODE_0, / * default SPI_MODE_3* /

}

# endif

....

 

 

 

after when linux boot, i try some commands looking for info

 

-----------------------------------------------------------------

root:/>  dmesg | grep spi

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma 5

 

root:/> cat /proc/devices

Character devices:

  1 mem

  5 /dev/tty

  5 /dev/console

  5 /dev/ptmx

10 misc

13 input

128 ptm

136 pts

204 ttyBF

254 rtc

 

Block devices:

  1 ramdisk

259 blkext

31 mtdblock

--------------------------------------

 

what im doing wrong? which spi-mode i need to activate (i have a 1GB sandisk  )?

 

.config files attached

 

Regards,

 

sergio

 

uclinux01.config

kernel01.config

Sch_uSD.jpeg

QuoteReplyEditDelete

 

 

2011-03-16 16:26:37     Re: SD card with BF53x

Mike Frysinger (UNITED STATES)

Message: 98977   

 

post the full boot output please

QuoteReplyEditDelete

 

 

2011-03-16 18:48:17     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 98979   

 

Hi mike, here is the boot.

 

U-Boot 2010.06 (ADI-2010R1-RC2) (Jan 30 2011 - 00:00:49)                               

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.5) (spi flash boot)                             

Board: emQbit ECB-BF532 board                                                          

       Support:   wiki.linuxencaja.net/wiki/ECB-BF532                             

Clock: VCO: 442.368 MHz, Core: 442.368 MHz, System: 147.456 MHz                        

RAM:   32 MiB                                                                          

Flash: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB                           

0 Bytes                                                                                

SF: Detected M25P32 with page size 256, total 4 MiB                                    

In:    serial                                                                          

Out:   serial                                                                          

Err:   serial                                                                          

KGDB:  [on serial] ready                                                               

Hit any key to stop autoboot:  0                                                       

SF: Detected M25P32 with page size 256, total 4 MiB                                    

4096 KiB M25P32 at 0:2 is now current device                                           

Wrong Image Format for bootm command                                                   

ERROR: can't get kernel image!                                                         

bfin> loady 0x1000000                                                                  

## Ready for binary (ymodem) download to 0x01000000 at 115200 bps...                   

COH)/0(STX)/0(CAN) packets, 7 retries                                                  

## Total Size      = 0x0030178d = 3151757 Bytes                                        

bfin> bootm 0x1000000                                                                  

## Booting kernel from Legacy Image at 01000000 ...                                    

   Image Name:   bf533-2.6.34.7-ADI-2010R1                                             

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)                         

   Data Size:    3151693 Bytes = 3 MiB                                                 

   Load Address: 00001000                                                              

   Entry Point:  0011dcec                                                              

   Verifying Checksum ... OK                                                           

   Uncompressing Kernel Image ... OK                                                   

Starting Kernel at = 0011dcec                                                          

console [ttyBF0] enabled, bootconsole disabled                                         

Calibrating delay loop... 880.64 BogoMIPS (lpj=1761280)                                

Security Framework initialized                                                         

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: 64 KB (51 KB free)                                       

Blackfin DMA Controller

stamp_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_base@ffc00500, dma 5

Switching to clocksource bfin_cs_cycles

msgmni has been set to 49

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

brd: module loaded

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

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

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 03:43:27 UTC (13407)

dma_alloc_init: dma_page @ 0x01660000 - 256 pages at 0x01f00000

Freeing unused kernel memory: 5068k freed

sh: can't execute 'hostname': No such file or directory

sh: can't execute 'ifconfig': No such file or directory

 

BusyBox v1.16.2 (2011-03-15 23:25:39 COT) hush - the humble shell

root:/>

QuoteReplyEditDelete

 

 

2011-03-16 23:13:32     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 98981   

 

Thanks, could you also please 1) give a whold diff file of your stamp.c against the original one 2)turn on the debug MMC debugging in MMC/SDIO driver support and see what happens, also attache your log.   And is there a special reason for your to change the SPI mode from the default mode 3 to 1? I will also have a try on my side.

QuoteReplyEditDelete

 

 

2011-03-17 09:12:59     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99006   

 

hi Aaron,

 

1.

 

checho@checho-kde:~/diff$ diff original.c stamp.c

1d0

6c5

<  *

---

>  *Modificado por Sergio ECB-BF532

32c31

< const char bfin_board_name[] = "ADI BF533-STAMP";

---

> const char bfin_board_name[] = "ADI BF533-STAMP-ecb_bf532";

203c202

< #define MMC_SPI_CARD_DETECT_INT IRQ_PF5

---

> #define MMC_SPI_CARD_DETECT_INT IRQ_PF7 /*Default PF5*/

279c278

<               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in HZ */

---

>               .max_speed_hz = 20000000    /* max spi clock (SCK) speed in HZ*/

281c280

<               .chip_select = 4,

---

>               .chip_select = GPIO_PF4 + MAX_CTRL_CS, /*Default 4 */

284c283

<               .mode = SPI_MODE_3,

---

>               .mode = SPI_MODE_0, /*default SPI_MODE_3*/

 

2. Already active the debbugging option, but...How can i read the log file? (my first time in uClinux)

 

3.Because I do not use the pull-up resistors for SPI_MODE_3, so i was trying other SPI_MODE... which is recommended?

QuoteReplyEditDelete

 

 

2011-03-17 15:10:28     Re: SD card with BF53x

Mike Frysinger (UNITED STATES)

Message: 99013   

 

please do not post diffs in that format.  it's pretty hard to read.  always post in the unified diff format (-u).

 

the spi mode must be 0 or 3 when using the SPI_MMC code in general.  on Blackfin systems, it must always be SPI_MODE_3 in order to use a GPIO CS.

QuoteReplyEditDelete

 

 

2011-03-17 17:56:21     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99014   

 

ok sorry,

 

checho@checho-kde:~/diff$ diff -u original.c stamp.c

--- original.c  2011-03-17 00:36:26.025258001 -0500

+++ stamp.c     2011-03-17 16:53:54.990139001 -0500

@@ -29,7 +28,7 @@

/*

  * Name the Board for the /proc/cpuinfo

  */

-const char bfin_board_name[] = "ADI BF533-STAMP";

+const char bfin_board_name[] = "ADI BF533-STAMP-ecb_bf532";

 

#if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE)

static struct platform_device rtc_device = {

@@ -200,7 +199,7 @@

#endif

 

#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)

-#define MMC_SPI_CARD_DETECT_INT IRQ_PF5

+#define MMC_SPI_CARD_DETECT_INT IRQ_PF7 /*Default PF5*/

static int bfin_mmc_spi_init(struct device *dev,

        irqreturn_t (*detect_int)(int, void *), void *data)

{

@@ -276,12 +275,12 @@

#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)

        {

                .modalias = "mmc_spi",

-               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in HZ */

+               .max_speed_hz = 20000000    /* max spi clock (SCK) speed in HZ*/

                .bus_num = 0,

-               .chip_select = 4,

+               .chip_select = GPIO_PF4 + MAX_CTRL_CS, /*Default 4 */

                .platform_data = &bfin_mmc_spi_pdata,

                .controller_data = &mmc_spi_chip_info,

-               .mode = SPI_MODE_3,

+               .mode = SPI_MODE_0, /*default SPI_MODE_3*/

        },

#endif

};

 

and.. how to read the log file???

QuoteReplyEditDelete

 

 

2011-03-17 23:18:25     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 99018   

 

After trun on the debug option, you can check the debug info by "dmesg"

QuoteReplyEditDelete

 

 

2011-03-18 00:02:39     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 99020   

 

I just tried on my side with a BF533 stamp board and a SPI interface expansion board for spi_mmc add on card, it turns out to be working fine. So I suggest you to start with a environment same as mine, or at least compare your harware connection with my environment.

 

Some details of my environment: 1) Software is 2010R1 release 2) the spi_mmc add on card switches is set to 5 on all other off

 

Attached is the boot info with mmc debug option on. Following is the output I tried to mount and write to the the mmc partition:

 

root:/> ls /dev/mmcblk0

/dev/mmcblk0    /dev/mmcblk0p1

root:/> mount /dev/mmcblk0p1 /mnt

root:/> ls /mnt

1.BIN    busybox

root:/> cp boot.log /mnt

root:/> ls /mnt

1.BIN     boot.log  busybox

root:/> umount /mnt

root:/> mount /dev/mmcblk0p1 /mnt

root:/> ls /mnt

1.BIN     boot.log  busybox

 

boot.log

QuoteReplyEditDelete

 

 

2011-03-19 02:22:41     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99056   

 

Aaron,  could you show me the connection schematic of the add on card please? and the modified sources files to make it work?

 

would be really useful

QuoteReplyEditDelete

 

 

2011-03-19 02:29:59     Re: SD card with BF53x

Mike Frysinger (UNITED STATES)

Message: 99057   

 

the schematics are already posted to the wiki:

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:spi_mmc

QuoteReplyEditDelete

 

 

2011-03-20 22:21:12     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 99079   

 

No extra modification required, the default 2010R1 release works well on the add on card, please refer to   docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:spi_mmc

QuoteReplyEditDelete

 

 

2011-03-26 03:06:55     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99271   

 

thanks for the reply, now... comparing the schematics of Rubico addon or SDcard in blackfin-one with the schematic of my platform (ECB_BF532) in my case don't have the pull-up resistors in MOSI and CS/DAT3 connectors.

 

What changes should I make in the sources to use CS like active low and what to do with the MISO?.... what other settings should i made?

 

ecb_bf532 schematic:   download.analog.com/27516/forummessage/8/8/4/8848/Sch_uSD.jpeg

 

Here SDCARD Blackfin ONE (page #3):   download.analog.com/27516/frsrelease/2/6/4/2647/bf1-2.1.1.sch.pdf

 

and rubico SD:   www.rubico.se/docs/spi-mmc_schematic.pdf

 

QuoteReplyEditDelete

 

 

2011-03-26 03:12:03     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99272   

 

What changes should I make in the sources to use CS like active low?....

 

---

 

I meant: how to work/configure with CS active high?... (active low is default)

QuoteReplyEditDelete

 

 

2011-03-27 21:58:07     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 99319   

 

Is there any special reason for your board to be diffrent with the ADI evaluation board on the schematic for SD connection? if not, you may try to rework your board to be the same as that of ADI and check if it works, if there is a problem please enable the debug option and post your kernel message. If yes please elaborate the reason and your requirement so we will see what we can help

QuoteReplyEditDelete

 

 

2011-03-28 18:48:30     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99385   

 

i'm trying to fix it, i will put a pull-up in MOSI, but CS could work easy (just 1 modification in the source) in Active Low isn't?

 

Is a little tricky try to put the other pullup

QuoteReplyEditDelete

 

 

2011-03-28 20:28:49     Re: SD card with BF53x

Mike Frysinger (UNITED STATES)

Message: 99386   

 

i'm pretty sure the card was designed with the SPI MMC spec in mind

QuoteReplyEditDelete

 

 

2011-04-02 00:01:41     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99507   

 

Hi, well finally I fix the pull-up resistors on MOSI and CS/DAT3.

 

The scheme eventually is this:   wiki.linuxencaja.net/wiki/File:Sch_uSD.jpeg

 

If you look at all the pins are the same except for the CD (card detect) and CS (chipselect), the question is:

"how I can modify the driver (or config files) to work with the CD=PF7 and CS= PF4 ?, which I'm supposed to do?"

 

I read the guide "spi_mmc" but does not say how to get what I need

 

That's it, thanks in advance

QuoteReplyEditDelete

 

 

2011-04-02 00:09:51     Re: SD card with BF53x

Mike Frysinger (UNITED STATES)

Message: 99509   

 

mmm, sure the documentation tells you where to change things

 

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:spi_mmc

QuoteReplyEditDelete

 

 

2011-04-02 16:45:25     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99543   

hey mike, sorry but i need a answer more explained than that... because reading the guide i try this in the stamp.c file (only change 1 line), then i compile with the suggestions in the guide (activating the driver)

 

#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)

#define MMC_SPI_CARD_DETECT_INT IRQ_PF7 /*this configure CD in PF7 right???*/

static int bfin_mmc_spi_init(struct device *dev,

irqreturn_t (*detect_int)(int, void *), void *data)

{

return request_irq(MMC_SPI_CARD_DETECT_INT, detect_int,

IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,

"mmc-spi-detect", data);

}

 

static void bfin_mmc_spi_exit(struct device *dev, void *data)

{

free_irq(MMC_SPI_CARD_DETECT_INT, data);

}

 

static struct mmc_spi_platform_data bfin_mmc_spi_pdata = {

.init = bfin_mmc_spi_init,

.exit = bfin_mmc_spi_exit,

.detect_delay = 100, /* msecs */

};

 

static struct bfin5xx_spi_chip  mmc_spi_chip_info = {

.enable_dma = 0,

.bits_per_word = 8,

.pio_interrupt = 0,

};

#endif

 

[snip]

 

#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)

{

.modalias = "mmc_spi",

.max_speed_hz = 20000000    /* max spi clock (SCK) speed in HZ*/

.bus_num = 0,

.chip_select = 4, /*The Chip select is in PF4 isn't ???*/

.platform_data = &bfin_mmc_spi_pdata,

.controller_data = &mmc_spi_chip_info,

.mode = SPI_MODE_3,

},

#endif

};

 

Is everything okay?????,

Boot is:

 

bfin> loady 0x1000000                                                                  

## Ready for binary (ymodem) download to 0x01000000 at 115200 bps...                   

CCRC mode, 24311(SOH)/0(STX)/0(CAN) packets, 6 retries                                 

## Total Size      = 0x002f7a31 = 3111473 Bytes                                        

bfin> bootm 0x1000000                                                                  

## Booting kernel from Legacy Image at 01000000 ...                                    

   Image Name:   bf533-2.6.34.7-ADI-2010R1                                             

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)                         

   Data Size:    3111409 Bytes = 3 MiB                                                 

   Load Address: 00001000                                                              

   Entry Point:  0011dcec                                                              

   Verifying Checksum ... OK                                                           

   Uncompressing Kernel Image ... OK                                                   

Starting Kernel at = 0011dcec                                                          

console [ttyBF0] enabled, bootconsole disabled                                         

Calibrating delay loop... 880.64 BogoMIPS (lpj=1761280)                                

Security Framework initialized                                                         

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: 64 KB (51 KB free)                                       

Blackfin DMA Controller                                                                

stamp_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_base@ffc00500, dma 5

Switching to clocksource bfin_cs_cycles

msgmni has been set to 49                                                              

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

brd: module loaded

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

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

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 03:40:56 UTC (13256)

dma_alloc_init: dma_page @ 0x0164c000 - 256 pages at 0x01f00000

Freeing unused kernel memory: 4992k freed

sh: can't execute 'hostname': No such file or directory

sh: can't execute 'ifconfig': No such file or directory

 

 

i activate the mmc debugging, so with the dmesg command:

 

root:/> dmesg

Linux version 2.6.34.7-ADI-2010R1 (checho@checho-kde) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #42 Sa1

register early platform devices

bootconsole [early_shadow0] enabled

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000b20a8

  rodata    = 0x000b20a8-0x000f8f8c

  bss       = 0x000f9000-0x00107794

  data      = 0x00107794-0x00116000

    stack   = 0x00114000-0x00116000

  init      = 0x00116000-0x005f6000

  available = 0x005f6000-0x01f00000

  DMA Zone  = 0x01f00000-0x02000000

Hardware Trace Active and Enabled

Boot Mode: 6

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF533 Rev 0.3

Warning: Compiled for Rev 3, but running on Rev 5

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 442 MHz core clock and 147 MHz System Clock

boot memmap: 00000000005f6000 - 0000000001f00000 (usable)

On node 0 totalpages: 7936

free_area_init_node: node 0, pgdat 00111610, node_mem_map 005f8000

  DMA zone: 62 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 7874 pages, LIFO batch:0

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: 7874

Kernel command line: root=/dev/mtdblock0 rw console=tty0 console=ttyBF0,115200

PID hash table entries: 128 (order: -3, 512 bytes)

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Kernel managed physical pages: 7936

Memory available: 25352k/32768k RAM, (4992k init code, 708k kernel code, 400k data, 1024k dma, 292)

Hierarchical RCU implementation.

NR_IRQS:81

Configuring Blackfin Priority Driven Interrupts

bfin-rtc: invalid date; resetting

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 880.64 BogoMIPS (lpj=1761280)

Security Framework initialized

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: 64 KB (51 KB free)

Blackfin DMA Controller

stamp_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_base@ffc00500, dma 5

Switching to clocksource bfin_cs_cycles

Setting up Blackfin MMR debugfs

msgmni has been set to 49

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

brd: module loaded

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

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

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 03:40:56 UTC (13256)

dma_alloc_init: dma_page @ 0x0164c000 - 256 pages at 0x01f00000

Freeing unused kernel memory: 4992k freed

 

I REALLY dont know what to change, what to do....im just a uClinux newbie.

QuoteReplyEditDelete

 

 

2011-04-05 23:40:41     Re: SD card with BF53x

Aaron Wu (CHINA)

Message: 99615   

 

Your chipselect and CD pin setting is correct.

 

I doubt your MMC debugging option is really enabled, as we can't see any related log. On my side it's someting like:

 

mmc_spi spi0.4: ASSUMING SPI bus stays unshared!

mmc_spi spi0.4: ASSUMING 3.2-3.4 V slot power

mmc_spi spi0.4: SD/MMC host mmc0, no DMA, no WP, no poweroff

QuoteReplyEditDelete

 

 

2011-04-07 13:43:02     Re: SD card with BF53x

Sergio Morales (COLOMBIA)

Message: 99660   

 

Hi,  checking the card, because the configurations according to Aaron are good, I found a bug in the hardware, correct the error and loading uClinux get this:

 

mmc0: host does not support reading read-only switch. Assuming write-enable.

mmc0: new SD card on SPI

mmcblk0: mmc0: 0000 SU01G 968 MiB

  mmcblk0:

  p1

root: / dev> ls / dev/mmcblk0p *

/ dev/mmcblk0p1

 

Yes! is working. Thanks

 

Here some info that i made for spanish language users:   wiki.linuxencaja.net/wiki/ECB-BF532/schematic/uSD

Outcomes