答复: SDHC driver of RTEMS
芮正新
ruizx at sciyon.com
Mon Aug 5 02:02:15 UTC 2013
Hi Ric,
Do you found such problems on your driver?
The u-boot has the "fatload" command, I can use it to load RTEMS image(about 4MB size) from SD card, and it's has no error.
I know the u-boot use poll method, but it should not be the reason.
Thanks & Best regards,
Rui Zhengxin
-----邮件原件-----
发件人: Claus, Ric [mailto:claus at slac.stanford.edu]
发送时间: 2013年8月4日 星期日 4:34
收件人: 芮正新; rtems-users at rtems.org
抄送: Huffer, Michael E.
主题: RE: SDHC driver of RTEMS
Hi,
I've been working on such a driver and should have something ready for consideration by the RTEMS community soon.
Ric
________________________________________
From: rtems-users-bounces at rtems.org [rtems-users-bounces at rtems.org] On Behalf Of 芮正新 [ruizx at sciyon.com]
Sent: Friday, August 02, 2013 6:41 PM
To: rtems-users at rtems.org
Subject: SDHC driver of RTEMS
Hi all,
I want to use SDHC SD card on my MPC8309SOM board.
RTEMS not include the SDHC driver, so I try to port the SDHC driver from u-boot code, but it seem to have too many problems.
When I set CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS >1, the driver can't work well.
The BRDA task looks like be blocked after read the number of CONFIGURE_BDBUF_BUFFER_MAX_SIZE blocks, and some seconds later, the fread function return error.
The fwrite function often failed.
I searched the web and know that P1020 also has SDHC, http://www.rtems.com/wiki/index.php/QorIQ.
Anyone can give me some help for the SDHC driver? Very thanks to you.
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list