VAR-SOM-AM43 USB OTG host

From Variscite Wiki
Revision as of 14:20, 24 December 2015 by Aviad (talk | contribs) (Created page with "{{PageHeader|VAR-SOM-AM43 - USB OTG as host}} {{DocImage|category1=VAR-SOM-AM43|category2=Yocto}} __toc__ From a SW perspective, the developer should do the following: *Downlo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VAR-SOM-AM43 - USB OTG as host

From a SW perspective, the developer should do the following:

  • Download a VAR-SOM-AM43 kernel out-of-tree.
  • Update var-som-am43.dts, as follows:
$ gedit arch/arm/boot/dts/var-som-am43.dts
...
           usb@47401800 {
                               status = "okay";
                               dr_mode = "host"; /* <<-- Add this line */
                        };
...
  • Build var-som-am43.dtb and replace it on flash / NFS.

Once the var-som-am43.dtb has been replaced on the rootfs - The USB-OTG port will function in Host-only mode.

At this point, the user can simply connect a USB Mouse or DOK to the OTG port.