STM32H7 BSP: Add SDMMC-driver (Note: Extends libbsd media01)

Christian MAUDERER christian.mauderer at embedded-brains.de
Thu Mar 25 16:08:28 UTC 2021


Hello Gedare,

Am 25.03.21 um 16:51 schrieb Gedare Bloom:
> I'm not confident about assessing the libbsd patches. Hopefully
> someone else may comment, but not too many experts in that area yet :)
> 
> I guess the one thing that concerned me is filling the media with a
> pattern. I suppose one should know what the test does, and that it
> will destroy all data on the disk. Maybe that is already
> documented/expected, but it should be clear.

I only implemented a command that _can_ be used to fill a file. It 
doesn't do that automatically but is used on the shell. If you call it 
without arguments it will only print a help text. So it's something that 
need activity by the user to destroy the disk ;-)

The command has been useful for me for the last two or three storage 
drivers. Therefore I thought I wanted to put it into the public. It 
isn't really useful as a general purpose command so I put it into 
media01 which is the test that (from my point of view) will be used most 
often to develop storage drivers in libbsd.

Best regards

Christian

> 
> On Thu, Mar 25, 2021 at 2:35 AM Christian Mauderer
> <christian.mauderer at embedded-brains.de> wrote:
>>
>> Hello,
>>
>> the patch set for RTEMS, libbsd and docs add a SDMMC driver for STM32H7
>> to libbsd. Note that I added the md5 command to media01 which is useful
>> when testing storage devices. Beneath that I added a command that can
>> fill a disk or a file with an incrementing number which - again - can be
>> useful for testing storage media. The later command is only added to
>> media01 because I don't think it's a useful general purpose command but
>> rather a pure test command.
>>
>> Patches belonging to this set:
>>
>> RTEMS:
>> [PATCH rtems 1/2] stm32h7: Add SDMMC modules to clock.
>> [PATCH rtems 2/2] stm32h7: Add init for sdmmc pins.
>>
>> libbsd:
>> [PATCH rtems-libbsd 1/3] testsuite/media01: Enable md5 command
>> [PATCH rtems-libbsd 2/3] testsuite/media01: Add pattern test.
>> [PATCH rtems-libbsd 3/3] STM32H7: Add SDMMC driver
>>
>> docs:
>> [PATCH rtems-docs] user/bsps: Add STM32H7 SDMMC driver
>>
>> Best regards
>>
>> Christian
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel

-- 
--------------------------------------------
embedded brains GmbH
Herr Christian MAUDERER
Dornierstr. 4
82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
phone: +49-89-18 94 741 - 18
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list