summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-10-04 23:09:59 -0500
committerPraneeth Bajjuri2018-10-04 17:14:39 -0500
commit34da81718c666fb16286f047299584d1b8a8ecb0 (patch)
treea26737a79aa43b1e6ec23c7cf9e7f43e5b429f2a /init.am65xevmboard.usb.rc
parent256ecd0c18f730440bb797152581e2fc1778b030 (diff)
downloaddevice-ti-am65xevm-34da81718c666fb16286f047299584d1b8a8ecb0.tar.gz
device-ti-am65xevm-34da81718c666fb16286f047299584d1b8a8ecb0.tar.xz
device-ti-am65xevm-34da81718c666fb16286f047299584d1b8a8ecb0.zip
am65x-evm: workaround: configure adb as default
more details of history from device/ti/am57xevm: commit dda6d31bf1a2 "workaround: configure adb as default." Need to configure as adb by default till UI is up. This needs to be reverted once home screen is up Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'init.am65xevmboard.usb.rc')
-rw-r--r--init.am65xevmboard.usb.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.am65xevmboard.usb.rc b/init.am65xevmboard.usb.rc
index 51f08bb..748253f 100644
--- a/init.am65xevmboard.usb.rc
+++ b/init.am65xevmboard.usb.rc
@@ -20,6 +20,8 @@ on boot
20 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 20 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
21 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 21 mkdir /dev/usb-ffs/mtp 0770 mtp mtp
22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
23 setprop sys.usb.config adb
24 setprop persist.sys.usb.config adb
23 setprop sys.usb.mtp.device_type 3 25 setprop sys.usb.mtp.device_type 3
24 setprop sys.usb.configfs 1 26 setprop sys.usb.configfs 1
25 symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1 27 symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1