2009-02-24 20:37:42     spi_mmc problem

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

2009-02-24 20:37:42     spi_mmc problem

zhao kaituo (AFGHANISTAN)

Message: 69847   

 

hi , I am engaging in stabilizing  SPI_MMC card on the ezkit_BF561 board recently,

I find that when the SPI clock was set to 20MHZ, and I used mount  -t  vfat  /dev/spi_mmc  /mnt/mmc,

when I copyed datas into the MMC card through the FTP on the board,

the uclinux OS will esaily crash,but when added -o sync,the speed turned much too slow,

I was puzzled by this question for a week around,could you tell me how to fix it?Is there any problem on the drivers of SPI_MMC ?

 

Thanks ,

jay

QuoteReplyEditDelete

 

 

2009-02-24 22:30:07     Re: spi_mmc problem

Yi Li (CHINA)

Message: 69848   

 

Jay,

 

What is the crash message you saw? (I assumed you are using 2008R1.5-RC3, this is the release we support).

 

"mount -o sync"  should not be used, This bypasses pagecache for every single file I/O.

 

-Yi

QuoteReplyEditDelete

 

 

2009-02-24 22:37:02     Re: spi_mmc problem

zhao kaituo (AFGHANISTAN)

Message: 69849   

 

Jay,

 

What is the crash message you saw? (I assumed you are using 2008R1.5-RC3, this is the release we support).

 

"mount -o sync"  should not be used, This bypasses pagecache for every single file I/O.

 

-Yi

---

新建 文本文档.txt

QuoteReplyEditDelete

 

 

2009-02-24 22:39:09     Re: spi_mmc problem

zhao kaituo (AFGHANISTAN)

Message: 69850   

 

I'm sorry , the last post was wrong,the system didn't crashed,but only the network card crashed,then the FTP on the

board didn't work.(YES,I'm using 2008R1.5-RC3)

Thanks ,

jay

QuoteReplyEditDelete

 

 

2009-02-24 22:43:24     Re: spi_mmc problem

zhao kaituo (AFGHANISTAN)

Message: 69851   

 

IF the datas are huge,the network card will soon crash,and it will work well while the data is small.My card capacity is 1G.

Thanks ,

jay

 

---

QuoteReplyEditDelete

 

 

2009-02-24 23:08:57     Re: spi_mmc problem

Yi Li (CHINA)

Message: 69852   

 

What is the error messsage when "the network card crash"?

 

-Yi

QuoteReplyEditDelete

 

 

2009-02-25 00:34:11     Re: spi_mmc problem

zhao kaituo (AFGHANISTAN)

Message: 69854   

 

The message is the datas copied into the MMC often stoped at 8% or so,and then I used"dmesg",it showed "check staus failed :187(the number is not the same every time)",and the FTP on the target board cannot connecting any more,but the system seemed still works,I can still do sth in the uClinux.I download all the necessary tools and fies from this site.

QuoteReplyEditDelete

Outcomes