wiki:GSoC/2015/RaspberryPiUSBSupport
Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Version 2 (modified by Yurii Shevtsov, on 08/25/15 at 09:19:10) (diff)

--

Raspberry Pi USB Support

Raspberry Pi USB support via RTEMS-libbsd.

Mentors

Alan Cudmore, Gedare Bloom, Joel Sherrill

Student

Yurii Shevtsov

Introduction

Enabling USB Support is porting specific drivers from FreeBSD The first one is DWC OTG

Getting started

  • Raspberry Pi required
  • Configure and RTEMS with these args --enable-rtemsbsp=raspberrypi --enable-posix --disable-networking (you will need mailbox sources, if not yet merged, you can get them here)
  • Get libbsd sources with DWC OTG driver (if not yet merged, here)
  • Ensure testsuite app, you want to try, has these lines:
    #include <bsp/nexus-devices.h>
    SYSINIT_NEED_USB_CORE;
    SYSINIT_DRIVER_REFERENCE(bcm283x_dwcotg, nexus);
    
  • Configure and build libbsd
  • Run testsuites and enjoy!

References

Github
Blog