Hi NXP,
In demo board, NXP is setting usb OTG port for usb disk mount used.
In "device\fsl\sabresd_6dq\fstab_sd.freescale" file. (nxp android 6.0.1 source code)
NXP is setting "usb/ci_hdrc.0*" for OTG port.
----------------------------------------------------------------------------------------------------------------
/devices/soc0/soc.0/2100000.aips-bus/2194000.usdhc/mmc_host* auto auto defaults voldmanaged=sdcard:auto,encryptable=userdata
/devices/soc0/soc.0/2100000.aips-bus/2184000.usb/ci_hdrc.0* auto auto defaults voldmanaged=usb:auto
----------------------------------------------------------------------------------------------------------------
Our board setting host usb for usb disk mount used.
How to setting or modify parameter for mount USB disk in host USB port?
Thanks
Clayder
The root cause if that if you need host1, you need change fstab.freescale to host1 then android vold can know this.
Change /devices/soc0/soc.0/2100000.aips-bus/2184000.usb/ci_hdrc.0* to
/devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1*
Yes, The original configuration is just for usb0, I think.
Hi Jim
I modify fstab.freescale. (Please find and check attached files.)
---> Change /devices/soc0/soc.0/2100000.aips-bus/2184000.usb/ci_hdrc.0* to /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1*.
(1) The test_otg.log is log message when I plug usb disk in OTG port.
(2) The test_usb1.log is log message when I plug usb disk in USB port. (Boot fail)
(Please find and check attached files.)
Hello Clayder,
as we discussed in the morning, you need to test WITHOUT USB disk inserted to USB Host port first.
"can't boot to Android desktop with USB inserted" may be another issue, please focus on USB disk found on USB host port in Android first and provide related log.
by the way, please also include the following messages in the log:
1. "cd /devices/soc0"
2. "ls -R"
Jim.
Hello Clayder,
as we discussed off-line in the e-mail, since you have USB Hub connected to the USB Host port, the setting will be different from what AE provided.(the setting I post on 2016/8/1 下午 7:40)
you would need to customize that for your system, to adopt the change introduced by USB Hub.
Jim.
2016/8/1 下午 7:40