Mounting/Accessing SD-Card on BBB
Christian Mauderer
list at c-mauderer.de
Mon Aug 12 16:01:39 UTC 2019
On 12/08/2019 07:28, Nils Hölscher wrote:
> Hi,
>
> Can anyone help me with this?
> I need to access the BBB's SD-Card, so that I can load my pru example on
> the pru.
>
> Thanks,
> Nils
>
Hello Nils,
take a look at the following application:
https://gitlab.com/c-mauderer/rtems-bbb/blob/master/apps/wifi-sample/init.c#L64
https://gitlab.com/c-mauderer/rtems-bbb/blob/master/apps/wifi-sample/libbsdhelper.c#L122
You should mainly need the stuff from the libbsdhelper_init_sd_card()
and libbsdhelper_wait_for_sd().
Please note that the SD card needs quite some time to initialize on BBB.
I haven't had a look at it why that is the case.
Best regards
Christian
More information about the users
mailing list