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
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to