S3C2440: SD-Card access fails

Juergen Beisert jbe at pengutronix.de
Fri Oct 16 03:41:38 EDT 2009


Hi Ben,

On Freitag, 16. Oktober 2009, Ben Dooks wrote:
> On Thu, Oct 15, 2009 at 08:14:50PM +0200, Juergen Beisert wrote:
> > I'm using an S3C2440 based custom made board with a 2.6.31.3 kernel (with
> > a few modifications to add the boards specific file). When I do some
> > traffic on the SD card (1GiB SD type), for example untaring an archive I
> > get a failure like this one:
>
> Is your platform data marked __initdata?

Thanks for your answer. Yes, my local s3c24xx_mci_pdata structure was marked 
with __initdata, like the one in mach-s3c2440/mach-mini2440.c (seems I used 
the wrong example to create my own sources...).
I removed this __initdata marker in my sources and now SD card access seems to 
work (tests are still running).

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list