hi Tyler,
Sorry i missed this mail before.
I have been trying to flash Peter's u-boot port to my early access hikey board without success. I'm stuck trying to use the burn-boot tool as the usb-serial device used in download mode keeps disconnecting.
[ 165.408788] option 3-3:1.0: device disconnected [ 251.495189] usb 3-3: new full-speed USB device number 6 using xhci_hcd [ 251.624288] usb 3-3: New USB device found, idVendor=12d1, idProduct=3609 [ 251.624292] usb 3-3: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [ 251.624293] usb 3-3: Product: \xffffffe3\xffffff84\xffffffb0㌲㔴㜶㤸 [ 251.624295] usb 3-3: Manufacturer: 䕇䕎䥎 [ 251.624780] option 3-3:1.0: GSM modem (1-port) converter detected [ 251.624862] usb 3-3: GSM modem (1-port) converter now attached to ttyUSB0 [ 252.131320] usb 3-3: USB disconnect, device number 6 [ 252.131539] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [ 252.131560] option 3-3:1.0: device disconnected
Below are host PC's dump info from my side; from previous experience, the bootROM will firstly enable USB driver for download mode; but it will check timeout (on my board it will take ~78s) if there have no data is transferring on it, it will switch to use the UART to transfer data, so usually we can see the usb will be disconnected.
On your board, looks like the interval is very short (less than 1s); i'm curious whether the oscillator has issue so that introduce the timeout value so short.
[ 5504.796659] usb 1-1.1: new full-speed USB device number 14 using ehci-pci [ 5504.890448] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=3609 [ 5504.890458] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=0 [ 5504.890463] 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 [ 5504.890467] usb 1-1.1: Manufacturer: \xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e [ 5504.891140] option 1-1.1:1.0: GSM modem (1-port) converter detected [ 5504.891373] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 5582.211632] usb 1-1.1: USB disconnect, device number 14 [ 5582.212224] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [ 5582.212254] option 1-1.1:1.0: device disconnected
Here have two methods u can try: Method 1: Before you power on the board, could u firstly hotplug USB cable firstly and check if this can be helpful?
Method 2: Have u enabled the serial out on your board? https://lists.96boards.org/pipermail/dev/2015-March/000159.html
If so, then when you open minicom, u can see the log like below; then that means can download binaries with UART, so after the string "Switch to UART download..." has been printed out, u can use burn-boot tool to download image with the UART port (suppose it will be ttyUSB0 or ttyUSB1);
USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package usb data recieving 60s time out.... Switch to UART download...
Thanks, Leo Yan