OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> FlashToolLinux: Failed to find USB port [SOLVED]
tuk0z
post May 9 2019, 02:20 AM
Post #1





Group: Members
Posts: 45
Joined: 18-February 18
Member No.: 817,984



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)
Go to the top of the page
 
+Quote Post
TheKit
post May 9 2019, 02:16 PM
Post #2





Group: Members
Posts: 27
Joined: 19-February 18
Member No.: 818,021



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.
Go to the top of the page
 
+Quote Post
tuk0z
post May 9 2019, 03:17 PM
Post #3





Group: Members
Posts: 45
Joined: 18-February 18
Member No.: 817,984



@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'?
Go to the top of the page
 
+Quote Post
TheKit
post May 10 2019, 12:03 AM
Post #4





Group: Members
Posts: 27
Joined: 19-February 18
Member No.: 818,021



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.
Go to the top of the page
 
+Quote Post
tuk0z
post May 10 2019, 06:52 AM
Post #5





Group: Members
Posts: 45
Joined: 18-February 18
Member No.: 817,984



So it takes the scatter file i.e. 'Gemini_WIFI_A20GB_L36GB_Multi_Boot.txt' as well?
Go to the top of the page
 
+Quote Post
TheKit
post May 11 2019, 12:20 PM
Post #6





Group: Members
Posts: 27
Joined: 19-February 18
Member No.: 818,021



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.
Go to the top of the page
 
+Quote Post
tuk0z
post Jun 24 2019, 04:41 AM
Post #7





Group: Members
Posts: 45
Joined: 18-February 18
Member No.: 817,984



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}
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2019 - 02:30 AM