summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Protsenko2016-07-29 01:31:18 -0500
committerPraneeth Bajjuri2016-07-29 01:31:32 -0500
commit42ee8684373adbaaab55154d282f7193c40d4df1 (patch)
tree086c41047967c97026c85c93b1ba0e948910f900
parent7ce069c0cca7aafcf7078e220c5e95b88121391f (diff)
downloaddevice-ti-am57xevm-42ee8684373adbaaab55154d282f7193c40d4df1.tar.gz
device-ti-am57xevm-42ee8684373adbaaab55154d282f7193c40d4df1.tar.xz
device-ti-am57xevm-42ee8684373adbaaab55154d282f7193c40d4df1.zip
am57xevm: Fix USB controller address
OTG controller on AM57x EVM is usb2 (488d0000.usb) instead of usb1 (48890000.usb). Fix it in init.am57xevmboard.usb.rc, so ADB can work. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--init.am57xevmboard.rc2
-rw-r--r--init.am57xevmboard.usb.rc4
2 files changed, 3 insertions, 3 deletions
diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc
index d652694..c553bdd 100644
--- a/init.am57xevmboard.rc
+++ b/init.am57xevmboard.rc
@@ -1,4 +1,4 @@
1import init.am57xevmboard.usb.rc 1import /init.am57xevmboard.usb.rc
2 2
3on early-init 3on early-init
4 mount debugfs /sys/kernel/debug /sys/kernel/debug 4 mount debugfs /sys/kernel/debug /sys/kernel/debug
diff --git a/init.am57xevmboard.usb.rc b/init.am57xevmboard.usb.rc
index 0556708..6923e8d 100644
--- a/init.am57xevmboard.usb.rc
+++ b/init.am57xevmboard.usb.rc
@@ -17,12 +17,12 @@ on boot
17 mkdir /dev/usb-ffs 0770 shell shell 17 mkdir /dev/usb-ffs 0770 shell shell
18 mkdir /dev/usb-ffs/adb 0770 shell shell 18 mkdir /dev/usb-ffs/adb 0770 shell shell
19 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 19 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
20 20
21 # Create MTP and PTP functions 21 # Create MTP and PTP functions
22 mkdir /config/usb_gadget/g1/functions/mtp.gs0 0770 shell shell 22 mkdir /config/usb_gadget/g1/functions/mtp.gs0 0770 shell shell
23 mkdir /config/usb_gadget/g1/functions/ptp.gs1 0770 shell shell 23 mkdir /config/usb_gadget/g1/functions/ptp.gs1 0770 shell shell
24 24
25 setprop sys.usb.controller 48890000.usb 25 setprop sys.usb.controller 488d0000.usb
26 setprop sys.usb.configfs 1 26 setprop sys.usb.configfs 1
27 27
28on property:sys.usb.config=none && property:sys.usb.configfs=1 28on property:sys.usb.config=none && property:sys.usb.configfs=1