LibBSD | rtemsbsd/mmcsd: Fix inconsistent multi block read and writes (!91)

Aaron Nyholm (@eagleirony) gitlab at rtems.org
Thu Sep 4 21:04:02 UTC 2025



Aaron Nyholm created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/91

Project:Branches: eagleirony/rtems-libbsd:sdhci-auto-cmd12-fix to rtems/pkg/rtems-libbsd:6-freebsd-14
Author:   Aaron Nyholm




## Summary
Due to the `block_count` not always being zeroed the SDHCI driver would not set the auto stop bit causing the first read or write to never complete causing later commands to fail. This explicitly zeros the block count (used for CMD53 only).
Brought across from `7-freebsd-14`

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/91
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250904/0d6e7b78/attachment.htm>


More information about the bugs mailing list