Skip to content

usb_bulk_send() ERROR -4: No such device (it may have been disconnected) #12

Description

@warrenc5
wget https://github.com/linux-sunxi/sunxi-tools/raw/master/bin/fel-sdboot.sunxi
dd if=fel-sdboot.sunxi of=/dev/sdd bs=1024 seek=8
./boot-tools/sunxi-tools/sunxi-fel -l
USB device 001:034   Allwinner A64     92c089ba:24204620:78f4c71c:0c030710

make pine64_ums
# 0x4A0000e0: is a work mode: the 0x55 is a special work mode used to force USB mass storage
# 0x4A0000e4: is a storage type: SD card
sunxi-tools/sunxi-fel -v spl boot/pine64/fes1-pine64-plus.bin
Stack pointers: sp_irq=0x00012000, sp=0x00015E08
MMU is not enabled by BROM
=> Executing the SPL... done.
sunxi-tools/sunxi-fel write-with-progress 0x4A000000 boot/pine64/u-boot-pine64-plus.bin \
        writel 0x4A0000e0 0x55 \
        writel 0x4A0000e4 0x0 \
        exe 0x4A000000
 13% [======                                          ] 509.6 kB/s, ETA 00:02 usb_bulk_send() ERROR -4: No such device (it may have been disconnected)
make: *** [Makefile:224: pine64_ums] Error 2
[132303.950131] usb 1-2: USB disconnect, device number 33
wozza@splice(1)~/mobian/boot-tools>[132304.459675] usb 1-2: new full-speed USB device number 34 using xhci_hcd
[132304.608267] usb 1-2: New USB device found, idVendor=1f3a, idProduct=efe8, bcdDevice= 2.b3
[132304.608268] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

So close - yet so far away.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions