soft brick with ayufan
#2
UPDATE:
  • I can get into Maskrom mode. Actually I didn’t do anything, I gather it falls back to maskrom because it can’t boot from anything else. The only reason I know it's in Maskrom is because rkdeveloptool says so.
  • Just to be sure, I disabled emmr with the hard switch and removed the sd card. Still no visible sign of life on the device, but rkdeveloptool sees it and says it's in Maskrom mode.
  • Any rkdeveloptool command other than `ld` fails after about 20 seconds, with "Creating Comm Object failed!".
Like this:
Code:
~
❯ rkdeveloptool ld                                                                        [1]
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=309    Maskrom

~
❯ rkdeveloptool db Downloads/rk3399_loader_spinor_v1.15.114.bin                             
Creating Comm Object failed!

~ took 23s
  • The initial USB connection works OK according to `journalctl -f`:
Code:
Jul 15 14:31:09 banquo kernel: usb 3-9: new high-speed USB device number 8 using xhci_hcd
Jul 15 14:31:09 banquo kernel: usb 3-9: New USB device found, idVendor=2207, idProduct=330c, bcdDevice= 1.00
Jul 15 14:31:09 banquo kernel: usb 3-9: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jul 15 14:31:09 banquo mtp-probe[2944]: checking bus 3, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9"
Jul 15 14:31:09 banquo mtp-probe[2944]: bus: 3, device: 8 was not an MTP device
Jul 15 14:31:09 banquo mtp-probe[2972]: checking bus 3, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9"
Jul 15 14:31:09 banquo mtp-probe[2972]: bus: 3, device: 8 was not an MTP device

But after about 20 seconds of any other rkdeveloptool command, the device fails to setup.
Code:
15 14:31:36 banquo kernel: usb 3-9: reset high-speed USB device number 8 using xhci_hcd
Jul 15 14:31:41 banquo kernel: usb 3-9: device descriptor read/64, error -110
Jul 15 14:31:52 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:52 banquo kernel: usb 3-9: reset high-speed USB device number 8 using xhci_hcd
Jul 15 14:31:52 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:52 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:52 banquo kernel: usb 3-9: reset high-speed USB device number 8 using xhci_hcd
Jul 15 14:31:52 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:53 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:53 banquo kernel: usb 3-9: device not accepting address 8, error -71
Jul 15 14:31:53 banquo kernel: usb 3-9: reset high-speed USB device number 8 using xhci_hcd
Jul 15 14:31:53 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:53 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:53 banquo kernel: usb 3-9: device not accepting address 8, error -71
Jul 15 14:31:53 banquo kernel: usb 3-9: USB disconnect, device number 8
Jul 15 14:31:54 banquo kernel: usb 3-9: new high-speed USB device number 9 using xhci_hcd
Jul 15 14:31:54 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:54 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:54 banquo kernel: usb 3-9: new high-speed USB device number 10 using xhci_hcd
Jul 15 14:31:54 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:54 banquo kernel: usb 3-9: device descriptor read/64, error -71
Jul 15 14:31:55 banquo kernel: usb usb3-port9: attempt power cycle
Jul 15 14:31:55 banquo kernel: usb 3-9: new high-speed USB device number 11 using xhci_hcd
Jul 15 14:31:55 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:55 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:55 banquo kernel: usb 3-9: device not accepting address 11, error -71
Jul 15 14:31:56 banquo kernel: usb 3-9: new high-speed USB device number 12 using xhci_hcd
Jul 15 14:31:56 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:56 banquo kernel: usb 3-9: Device not responding to setup address.
Jul 15 14:31:56 banquo kernel: usb 3-9: device not accepting address 12, error -71
Jul 15 14:31:56 banquo kernel: usb usb3-port9: unable to enumerate USB device

I’ve tried:
  • validated udev rule is in place for the device.
  • connecting to the PBP’s USB-A port, but there’s nothing there.
  • running with sudo
  • rebooting the host machine
  • connecting USB directly to my laptop, and through a powered dock (dell TB16)
According to the kernel docs, error -110 is -ETIMEDOUT: "Synchronous USB message functions use this code to indicate timeout expired before the transfer completed, and no other error was reported by HC.". Error -71 is -EPROTO: "1. bitstuff error, 2. no response packet received within the prescribed bus turn-around time, 3. unknown USB error"


There's a note on -EPROTO: "errors like [-EPROTO] normally indicate hardware problems such as bad devices (including firmware) or cables.Error codes like -EPROTO, -EILSEQ and -EOVERFLOW normally indicate hardware problems such as bad devices (including firmware) or cables."

So timeout expired before data transfer completed, and then the device goes away completely.
  Reply


Messages In This Thread
soft brick with ayufan - by DimHummingbird - 07-15-2021, 03:11 AM
RE: dd ayufan to emmc causes no boot, no leds - by DimHummingbird - 07-15-2021, 01:08 PM
RE: soft brick with ayufan - by DimHummingbird - 07-17-2021, 02:05 PM
RE: soft brick with ayufan - by wdt - 07-17-2021, 03:08 PM
RE: soft brick with ayufan - by DimHummingbird - 07-17-2021, 04:07 PM
RE: soft brick with ayufan - by wdt - 07-17-2021, 05:31 PM
RE: soft brick with ayufan - by DimHummingbird - 07-18-2021, 02:12 AM
RE: soft brick with ayufan - by wdt - 07-18-2021, 02:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro Gnome 22.06 pamac update fail/soft-bricked-OS u974615 5 2,460 08-21-2022, 12:00 PM
Last Post: u974615
  Ayufan's Ubuntu Focal Gnome (20.04) mlentink 24 27,298 07-02-2020, 11:04 AM
Last Post: mlentink
  ayufan Ubuntu Mate 0.9.14 black screen boot on new Pinebook Pro EricL 3 5,447 06-22-2020, 09:45 PM
Last Post: trinapicot
  Boot splash on ayufan's Ubuntu brent.thierens 1 2,603 12-22-2019, 12:10 PM
Last Post: aristocrat

Forum Jump:


Users browsing this thread: 1 Guest(s)