2009-07-23 10:42:33     MMC card support in 2009R1-2010pre

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

2009-07-23 10:42:33     MMC card support in 2009R1-2010pre

Peter Gombos (HUNGARY)

Message: 77968   

 

Hi,

 

My custom board have an SD card on SPI SSEL5.

 

Speed is 20MHz, SPI_MODE_3. The card is a 2G Sandisk micro SD.

 

The file system is ext3 or vfat, doesn't matter.

 

I wrote a simple script which fills the card with data. A new directory created in every seconds and textfiles created inside the dir.

 

The problem is that after 130-160 seconds an exception occures, page allocation failure.

 

 

 

My question is: is it stable for others? What can I do? Any suggestion?

QuoteReplyEditDelete

 

 

2009-07-23 10:51:32     Re: MMC card support in 2009R1-2010pre

Mike Frysinger (UNITED STATES)

Message: 77970   

 

flush the page cache manually with /proc/sys/vm/drop_caches

QuoteReplyEditDelete

 

 

2009-07-29 04:33:21     Re: MMC card support in 2009R1-2010pre

Peter Gombos (HUNGARY)

Message: 78144   

 

I tried. Nothing changed but i have more free memory and less allocated buffers.

 

I did the same test in initramfs and the result is the same. The system hangs before running out of memory.

 

I'll attach my test script after my summer holiday ended.

Attachments

    Outcomes