Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Rootfilesystem issues on SDHC with Linux 3.0.3(AT91SAM9G45)
PostPosted: Tue Aug 23, 2011 8:05 pm 
Offline

Joined: Wed May 25, 2011 9:44 am
Posts: 31
Hi all,

I'm using Linux 3.0.3 on a custom board based on AT91SAM9G45-EKES. My root filesystem (approx size is 1.6GB) is on SD Card (2GB SD Card).

I want to move my root filesystem to SDHC card (4GB SDHC). So I create a partition of approx size 3GB and move my root filesystem. While booting I get this error message from the mmc subsystem:
mmcblk0: retrying using single block read.
I probed into the error message and it is being printed from file drivers/mmc/card/block.c
The exact error in the transfer sequence is in brq.data & the error no. is -110.

When I use this SDHC card with Root file system partition size of 1.6GB as my SD card then it works fine.

Can anyone suggest what may be causing the error? Is it do with MMC Drivers or with my root filesystem or there is some parameters which I have ignored.

I'm using ext3 rootfilesystem.

-PJ


Top
 Profile  
 
 Post subject: Re: Rootfilesystem issues on SDHC with Linux 3.0.3(AT91SAM9G45)
PostPosted: Tue Nov 01, 2011 5:17 pm 
Offline

Joined: Fri Dec 10, 2010 12:17 am
Posts: 5
I get this same problem when accessing my uSD card as well. It used to be unrecoverable until I built the kernel with:

CONFIG_MMC_ATMELMCI_DMA

After this I get the errors, but the driver is able to recover.


Top
 Profile  
 
 Post subject: Re: Rootfilesystem issues on SDHC with Linux 3.0.3(AT91SAM9G45)
PostPosted: Tue Nov 01, 2011 6:07 pm 
Offline

Joined: Wed May 25, 2011 9:44 am
Posts: 31
Hi mark,

If I read the help given in this configuration, it reads that this code is still not stable enough.
But, it has worked for you, then I will surely give a try.

For me, micro SDHC 4GB class 2 cards cards were giving a problem, but class 4 cards worked fine. I have no clue about the mmc, so I'm not able to reason it out yet. This is not a permanent fix, but working for the time being.

If anyone can give some suggestions it will be helpful.

-PJ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: