diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-18 10:22:48 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-18 10:22:48 +0200 |
commit | 8757f93089b0f2a9f4bb504813eea4aac3ae4fbe (patch) | |
tree | 22a4f269a85614336e599017945a6fa22ea464ba /recipes-ti/beagleboard/gadget-init | |
parent | ff7221f486bda6c89690b441523f3e75fb4ed1ab (diff) | |
download | meta-ti-8757f93089b0f2a9f4bb504813eea4aac3ae4fbe.tar.gz |
gadget-init: add ugly, ugly hack to make USB work on ti33x boards
This is NOT suitable for customers or production.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-ti/beagleboard/gadget-init')
-rw-r--r-- | recipes-ti/beagleboard/gadget-init/hokey-pokey.service | 9 | ||||
-rw-r--r-- | recipes-ti/beagleboard/gadget-init/storage-gadget-init.service | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes-ti/beagleboard/gadget-init/hokey-pokey.service b/recipes-ti/beagleboard/gadget-init/hokey-pokey.service new file mode 100644 index 00000000..ac92d734 --- /dev/null +++ b/recipes-ti/beagleboard/gadget-init/hokey-pokey.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Hokey Pokey modprobe dance to get the USB host port working | ||
3 | After=storage-gadget-init.service | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/sbin/modprobe g_zero | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=basic-user.target | ||
diff --git a/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service b/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service new file mode 100644 index 00000000..366d2fd4 --- /dev/null +++ b/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Start usb mass storage gadget | ||
3 | After=dev-mmcblk0p1.device | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1 | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=basic-user.target | ||