Help - Search - Members - Calendar
Full Version: FlashToolLinux: Failed to find USB port [SOLVED]
OESF Portables Forum > Model Specific Forums > Gemini PDA > Gemini PDA - Linux OS
tuk0z
Hi I try to reinstall a double boot on my Gemini Wifi only.
On up-to-date Arch64 with the appropriate udev rules (checked out and worked fine when I installed the firmwares last year) I run FlashToolLinux, plug the gemini and reboot it:

$ journalctl

CODE
mai 08 11:59:16 llewellyn kernel: usb 2-1.4: new high-speed USB device number 3 using xhci_hcd
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: New USB device found, idVendor=0e8d, idProduct=201d, bcdDevice=ff.ff
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: Product: Gemini Wifi                
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: Manufacturer: MediaTek              
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: SerialNumber: AUSSCATC7H6LMBY9      
  mai 08 11:59:16 llewellyn systemd-udevd[20683]: 2-1.4: Failed to create symlink '/dev/android/AUSSCATC7H6LMBY9.tmp-c189:130' to '../bus/usb/002/003': Not a directory


$ sudo ./flash_tool.sh » Download # note: all partitions are checked

CODE
libpng warning: iCCP: known incorrect sRGB profile
  QMetaObject::connectSlotsByName: No matching signal for on_pushButton_browser_clicked()
  QThread::setPriority: Cannot set priority, thread is not running
  "05-07-2019"                                                                      
  libpng warning: iCCP: known incorrect sRGB profile                                
  QObject::moveToThread: Cannot move objects with a parent                          
  Connecting to BROM...                                                            
  Scanning USB port...                                                              
  Search usb, timeout set as 3600000 ms
  ...

Rebooting the Gemini:

CODE
remove@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4                            
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4                              
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4/2-1.4:1.0                    
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4/2-1.4:1.1                    
  bind@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4

Stopping the 'download' process:

CODE
SearchUSBPortPool failed!                                                        
  Failed to find USB port                                                          
  Connect BROM failed: S_TIMEOUT                                                    
  Disconnect!                                                                      
  User stopped.


A couple hours later FlashTOol is still standing perfectly iddle as far as I can see.
Also a suggestion: FlashTool should print whether it sees the Gemini as needed *or not*, for the user to know that (and avoid countless try-and-fails)
TheKit
QUOTE(tuk0z @ May 9 2019, 02:20 PM) *
Hi I try to reinstall a double boot on my Gemini Wifi only.
On up-to-date Arch64 with the appropriate udev rules (checked out and worked fine when I installed the firmwares last year) I run FlashToolLinux, plug the gemini and reboot it:

Did you try it multiple times? Honestly I had more luck with vanilla MediaTek's SP FlashTool on Linux than with Planet's one, but you have to be careful about nvram partition with that one.
tuk0z
@TheKit yeah more times than I'd like to confess. And building FlashTool from source didn't work. Does vanilla MediaTek's SP FlashTool allows to do a multi boot with the provided 'modules'?
TheKit
QUOTE(tuk0z @ May 10 2019, 03:17 AM) *
@TheKit yeah more times than I'd like to confess. And building FlashTool from source didn't work. Does vanilla MediaTek's SP FlashTool allows to do a multi boot with the provided 'modules'?

Yes, the tool's job is just to flash images. What Planet did was to remove potentially dangerous options like Format All and Download.
tuk0z
So it takes the scatter file i.e. 'Gemini_WIFI_A20GB_L36GB_Multi_Boot.txt' as well?
TheKit
QUOTE(tuk0z @ May 10 2019, 06:52 PM) *
So it takes the scatter file i.e. 'Gemini_WIFI_A20GB_L36GB_Multi_Boot.txt' as well?

Correct. Scatter file is like partition table basically.
tuk0z
I happened to have tried with the other cable. It worked out well enough I write this from Firefox on Debian from the Gemini. That the (brand new) cable could be borken didn't even cross my mind, even tho it seems it shouldhave!o}
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.