Hi, I am trying to flash my early access hikey board without success. I am trying to boot the board in "install bootloader" mode with pin 1-2 and 3-4 installed. The USB device is getting registered but gets disconnected. I can see others have faced similar issue but i can't find a fix for this problem
dmesg log -
[ 6888.363849] usb 1-1.1: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [ 6888.363853] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [ 6888.364651] option 1-1.1:1.0: GSM modem (1-port) converter detected [ 6888.364923] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [ 6888.837543] usb 1-1.1: USB disconnect, device number 11 [ 6888.837936] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [ 6888.837996] option 1-1.1:1.0: device disconnected
Assuming the board/SoC is working correctly the /dev/ttyUSB0 port will only be available for about 90 seconds after power up. You need to use the python script to start the initial bootloader installed during this period. The log below suggests a hardware problem. Yang Zhang may be able to find you another board (we are awaiting more from CircuitCo).
George
On Sep 4, 2015, at 11:31 AM, Amit Khare amit.khare@linaro.org wrote:
Hi, I am trying to flash my early access hikey board without success. I am trying to boot the board in "install bootloader" mode with pin 1-2 and 3-4 installed. The USB device is getting registered but gets disconnected. I can see others have faced similar issue but i can't find a fix for this problem
dmesg log -
[ 6888.363849] usb 1-1.1: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [ 6888.363853] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [ 6888.364651] option 1-1.1:1.0: GSM modem (1-port) converter detected [ 6888.364923] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [ 6888.837543] usb 1-1.1: USB disconnect, device number 11 [ 6888.837936] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [ 6888.837996] option 1-1.1:1.0: device disconnected
-- Regards, Amit Khare _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
[14417.953271] usb 3-6: new full-speed USB device number 6 using xhci_hcd [14417.971411] usb 3-6: New USB device found, idVendor=12d1, idProduct=3609 [14417.971420] usb 3-6: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [14417.971425] usb 3-6: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [14417.971429] usb 3-6: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [14418.066561] usbcore: registered new interface driver usbserial [14418.066569] usbcore: registered new interface driver usbserial_generic [14418.066578] usbserial: USB Serial support registered for generic [14418.078402] usbcore: registered new interface driver option [14418.078412] usbserial: USB Serial support registered for GSM modem (1-port) [14418.078523] option 3-6:1.0: GSM modem (1-port) converter detected [14418.078594] usb 3-6: GSM modem (1-port) converter now attached to ttyUSB0 [14495.204951] usb 3-6: USB disconnect, device number 6 [14495.205234] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [14495.205272] option 3-6:1.0: device disconnected
-Guodong
On 4 September 2015 at 20:01, George Grey george.grey@linaro.org wrote:
Assuming the board/SoC is working correctly the /dev/ttyUSB0 port will only be available for about 90 seconds after power up. You need to use the python script to start the initial bootloader installed during this period. The log below suggests a hardware problem. Yang Zhang may be able to find you another board (we are awaiting more from CircuitCo).
George
On Sep 4, 2015, at 11:31 AM, Amit Khare amit.khare@linaro.org wrote:
Hi, I am trying to flash my early access hikey board without success. I
am trying to boot the board in "install bootloader" mode with pin 1-2 and 3-4 installed. The USB device is getting registered but gets disconnected. I can see others have faced similar issue but i can't find a fix for this problem
dmesg log -
[ 6888.363849] usb 1-1.1: Product:
\xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8
[ 6888.363853] usb 1-1.1: Manufacturer:
\xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e
[ 6888.364651] option 1-1.1:1.0: GSM modem (1-port) converter detected [ 6888.364923] usb 1-1.1: GSM modem (1-port) converter now attached to
ttyUSB0
[ 6888.837543] usb 1-1.1: USB disconnect, device number 11 [ 6888.837936] option1 ttyUSB0: GSM modem (1-port) converter now
disconnected from ttyUSB0
[ 6888.837996] option 1-1.1:1.0: device disconnected
-- Regards, Amit Khare _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel.
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [33950.064599] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver usbserial_generic [33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org
wrote:
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens
after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Amit,
So it's steadily repeatable on your HiKey. ... That's a phenomena I never heard before. I have 3 boards, and other LT members have at least 4. Also Huawei's team, they have several.
That behavior at this stage in board side is controlled by HiKey Hi6220's ROM code. I am checking with Huawei for what kind of issue this could be.
Or CircuitCo has an explanation for that?
-Guodong
On 8 September 2015 at 14:17, Amit Khare amit.khare@linaro.org wrote:
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [33950.064599] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver usbserial_generic [33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org
wrote:
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you
must
make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect
happens after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
I saw something similar when I had something plugged into the USB host connector as well as the OTG connector. Be sure have nothing plugged into the USB host connector when trying to (re)flash or use fastboot.
Kevin
On Mon, Sep 7, 2015 at 11:34 PM, Guodong Xu guodong.xu@linaro.org wrote:
Amit,
So it's steadily repeatable on your HiKey. ... That's a phenomena I never heard before. I have 3 boards, and other LT members have at least 4. Also Huawei's team, they have several.
That behavior at this stage in board side is controlled by HiKey Hi6220's ROM code. I am checking with Huawei for what kind of issue this could be.
Or CircuitCo has an explanation for that?
-Guodong
On 8 September 2015 at 14:17, Amit Khare amit.khare@linaro.org wrote:
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product: \xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [33950.064599] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver usbserial_generic [33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Thanks Kevin. I dont have anything else plugged to USB on my laptop apart from HiKey usb cable. Moreover, i have tried this with 3 different Linux machine and still have the same issue.
On 9 September 2015 at 00:06, Kevin Hilman khilman@kernel.org wrote:
I saw something similar when I had something plugged into the USB host connector as well as the OTG connector. Be sure have nothing plugged into the USB host connector when trying to (re)flash or use fastboot.
Kevin
On Mon, Sep 7, 2015 at 11:34 PM, Guodong Xu guodong.xu@linaro.org wrote:
Amit,
So it's steadily repeatable on your HiKey. ... That's a phenomena I never heard before. I have 3 boards, and other LT members have at least 4. Also Huawei's team, they have several.
That behavior at this stage in board side is controlled by HiKey Hi6220's ROM code. I am checking with Huawei for what kind of issue this could be.
Or CircuitCo has an explanation for that?
-Guodong
On 8 September 2015 at 14:17, Amit Khare amit.khare@linaro.org wrote:
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product:
\xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8
[33950.064599] usb 1-1.1: Manufacturer:
\xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e
[33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver
usbserial_generic
[33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read
urb
failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read
urb
failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read
urb
failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read
urb
failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org
wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
On 06/09/15 04:05, Guodong Xu wrote:
Amit,
The 90 seconds delay is key here. In "install bootloader" mode, you must make sure to start the USB download process within 90 seconds of powering up hikey.
The log you attached makes sense to me. Everything are reasonable. Here for your reference, is on mine board and PC. In this case, I should run 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens after half a second (rather than 90 seconds). I think that
is what
leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
I was referring to USB host on the hikey. IOW, you can't use the hikey USB host port and OTG port at the same time. This is a common problem when trying to use wired networking on the hikey using a USB ethernet dongle, for example.
Kevin
On Tue, Sep 8, 2015 at 11:55 AM, Amit Khare amit.khare@linaro.org wrote:
Thanks Kevin. I dont have anything else plugged to USB on my laptop apart from HiKey usb cable. Moreover, i have tried this with 3 different Linux machine and still have the same issue.
On 9 September 2015 at 00:06, Kevin Hilman khilman@kernel.org wrote:
I saw something similar when I had something plugged into the USB host connector as well as the OTG connector. Be sure have nothing plugged into the USB host connector when trying to (re)flash or use fastboot.
Kevin
On Mon, Sep 7, 2015 at 11:34 PM, Guodong Xu guodong.xu@linaro.org wrote:
Amit,
So it's steadily repeatable on your HiKey. ... That's a phenomena I never heard before. I have 3 boards, and other LT members have at least 4. Also Huawei's team, they have several.
That behavior at this stage in board side is controlled by HiKey Hi6220's ROM code. I am checking with Huawei for what kind of issue this could be.
Or CircuitCo has an explanation for that?
-Guodong
On 8 September 2015 at 14:17, Amit Khare amit.khare@linaro.org wrote:
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product:
\xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [33950.064599] usb 1-1.1: Manufacturer:
\xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver usbserial_generic [33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
On Sep 7, 2015, at 9:20 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
On 06/09/15 04:05, Guodong Xu wrote: > Amit, > > The 90 seconds delay is key here. In "install bootloader" mode, you > must > make sure to start the USB download process within 90 seconds of > powering up hikey. > > The log you attached makes sense to me. Everything are reasonable. > Here > for your reference, is on mine board and PC. In this case, I should > run > 'hisi-idt.py' before [14495.204951].
On Amit's board the logs do look very similar but the disconnect happens after half a second (rather than 90 seconds). I think that is what leads to a guess conclusion there is a hardware fault.
Daniel. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Hi Amit,
On Tue, Sep 08, 2015 at 03:20:02PM -0700, Kevin Hilman wrote:
I was referring to USB host on the hikey. IOW, you can't use the hikey USB host port and OTG port at the same time. This is a common problem when trying to use wired networking on the hikey using a USB ethernet dongle, for example.
Except Kevin's reminding, below are info as i can know, but not sure if can really resolve this issue :)
When J15's Pin 1-2 and 3-4 are shortcut, bootROM will execute with below flow:
- Scenario 1: If USB_OTG has connected with PC, bootROM will wait for it to download images; But there will have 60s timeout for USB_OTG have no any operation, then bootROM will switch to use UART0 (J16) to download images;
- Scenario 2: If USB_OTG is disconnect with PC, then bootROM will immediately switch to use UART0 (J16) to download images;
So your failure looks like:
- The bootROM gets the timeout quite quickly, then bootROM will quicky disconnect USB_OTG with PC port, finally have no chance to download image from USB_OTG;
if this is root cause, it's may be caused by bad oscillator?! so need change one board.
- If the bootROM has not detect USB_OTG has connected with PC correctly, maybe can change a usb cable for a quick try.
Thanks, Leo Yan
On Tue, Sep 8, 2015 at 11:55 AM, Amit Khare amit.khare@linaro.org wrote:
Thanks Kevin. I dont have anything else plugged to USB on my laptop apart from HiKey usb cable. Moreover, i have tried this with 3 different Linux machine and still have the same issue.
On 9 September 2015 at 00:06, Kevin Hilman khilman@kernel.org wrote:
I saw something similar when I had something plugged into the USB host connector as well as the OTG connector. Be sure have nothing plugged into the USB host connector when trying to (re)flash or use fastboot.
Kevin
On Mon, Sep 7, 2015 at 11:34 PM, Guodong Xu guodong.xu@linaro.org wrote:
Amit,
So it's steadily repeatable on your HiKey. ... That's a phenomena I never heard before. I have 3 boards, and other LT members have at least 4. Also Huawei's team, they have several.
That behavior at this stage in board side is controlled by HiKey Hi6220's ROM code. I am checking with Huawei for what kind of issue this could be.
Or CircuitCo has an explanation for that?
-Guodong
On 8 September 2015 at 14:17, Amit Khare amit.khare@linaro.org wrote:
Hi George, Here's the full log and it seems usbserial support is getting registered.
[33949.970976] usb 1-1.1: new full-speed USB device number 6 using ehci-pci [33950.064568] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [33950.064583] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [33950.064592] usb 1-1.1: Product:
\xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8 [33950.064599] usb 1-1.1: Manufacturer:
\xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [33950.129406] usbcore: registered new interface driver usbserial [33950.129429] usbcore: registered new interface driver usbserial_generic [33950.129447] usbserial: USB Serial support registered for generic [33950.144501] usbcore: registered new interface driver option [33950.144551] usbserial: USB Serial support registered for GSM modem (1-port) [33950.144690] option 1-1.1:1.0: GSM modem (1-port) converter detected [33950.144787] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 [33950.541308] usb 1-1.1: USB disconnect, device number 6 [33950.541773] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541783] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541789] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.541795] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19) [33950.542051] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [33950.542091] option 1-1.1:1.0: device disconnected amit@linaro:~$
On 7 September 2015 at 13:54, George Grey george.grey@linaro.org wrote:
One other possibility - I don’t see the usbserial support being registered in Amit’s log. Could it be that you have got the relevant usbserial detection support enabled on your Linux box …. George
> On Sep 7, 2015, at 9:20 AM, Daniel Thompson > daniel.thompson@linaro.org wrote: > > On 06/09/15 04:05, Guodong Xu wrote: >> Amit, >> >> The 90 seconds delay is key here. In "install bootloader" mode, you >> must >> make sure to start the USB download process within 90 seconds of >> powering up hikey. >> >> The log you attached makes sense to me. Everything are reasonable. >> Here >> for your reference, is on mine board and PC. In this case, I should >> run >> 'hisi-idt.py' before [14495.204951]. > > On Amit's board the logs do look very similar but the disconnect > happens after half a second (rather than 90 seconds). I think that > is what > leads to a guess conclusion there is a hardware fault. > > > Daniel. > _______________________________________________ > Dev mailing list > Dev@lists.96boards.org > https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- Regards, Amit Khare
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev