LibBSD | Backport to 6-freebsd-14: MMCSD reads and writes are inconsistant (#56)

Aaron Nyholm (@eagleirony) gitlab at rtems.org
Thu Sep 4 23:59:40 UTC 2025



Aaron Nyholm created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/56



## Summary
In `6-freebsd-14` 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`
## Steps to reproduce


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/56
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/83c3f34f/attachment.htm>


More information about the bugs mailing list