Hi customer met LIBUSB_ERR0R_TIMEOUT during downloading the roofs.tar.bz2 which is compiled with bitbake fsl-image-validation-imx. but smaller rootfs.tar.bz is working well.
below is the uuu log..
C:\uuu_cg>uuu -v -V lgecg_emmc_download.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
Wait for Known USB Device Appear...
New USB Device Attached at 1:13
1:13>Start Cmd:SDP: boot -f u-boot.imx
6400%libusb: error [windows_transfer_callback] detected I/O error 1167: [1167] 장치가 연결되지 않았습니다.
libusb: error [hid_submit_bulk_transfer] HID transfer failed: [1167] 장치가 연결되지 않았습니다.
1:13>Okay
New USB Device Attached at 1:13
1:13>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:13>Okay
1:13>Start Cmd:FB: flash bootloader u-boot.imx
0x400000000x2001:13>Okay
1:13>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv emmc_cmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
1:13>Okay
1:13>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv emmc_cmd mmc bootbus ${emmc_dev} 2 2 1;
1:13>Okay
1:13>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
1:13>Okay
1:13>Start Cmd:FB: ucmd echo '[warkap] step #0 before download -f zImage'
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
1:13>Okay
1:13>Start Cmd:FB: download -f zImage
1:13>Okay
1:13>Start Cmd:FB: ucmd echo '[warkap] step #1 after download -f zImage'
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
1:13>Okay
1:13>Start Cmd:FB: download -f imx6sx-sdb-lgecg.dtb
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
1:13>Okay
1:13>Start Cmd:FB: download -f _initramfs.cpio.gz.uboot
1:13>Okay
1:13>Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
1:13>Okay
New USB Device Attached at 1:13
1:13>Start Cmd:FBK: ucmd while [ ! -e /dev/mmcblkboot0 ]; do sleep 1; echo "wait for /dev/mmcblkboot* appear"; done;
1:13>Okay
1:13>Start Cmd:FBK: ucmd dev=ls /dev/mmcblk*boot*; dev=($dev); dev=${dev[0]}; dev=${dev#/dev/mmcblk}; dev=${dev%boot*}; echo $dev > /tmp/mmcdev;
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}
Checking that no-one is using this disk right now ... OK
Disk /dev/mmcblk3: 3.7 GiB, 3959422976 bytes, 7733248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x67e6b631
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk3p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/mmcblk3p2 1228800 7733247 6504448 3.1G 83 Linux
Created a new DOS disklabel with disk identifier 0xe090e6d2.
/dev/mmcblk3p1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 500 MiB.
/dev/mmcblk3p2: Created a new partition 2 of type 'Linux' and of size 3.1 GiB.
/dev/mmcblk3p3: Done.
New situation:
Disklabel type: dos
Disk identifier: 0xe090e6d2
Device Boot Start End Sectors Size Id Type
/dev/mmcblk3p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/mmcblk3p2 1228800 7733247 6504448 3.1G 83 Linux
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; dd if=/dev/zero of=/dev/mmcblk${mmc} bs=1k seek=4096 count=1
1:13>Okay
1:13>Start Cmd:FBK: ucmd sync
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; while [ ! -e /dev/mmcblk${mmc}p1 ]; do sleep 1; done
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; mkfs.vfat /dev/mmcblk${mmc}p1
mkfs.fat 4.1 (2017-01-24)
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; mkdir -p /mnt/fat
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; mount -t vfat /dev/mmcblk${mmc}p1 /mnt/fat
1:13>Okay
1:13>Start Cmd:FBK: ucp zImage t:/mnt/fat
99%1:13>Okay
1:13>Start Cmd:FBK: ucp imx6sx-sdb-lgecg.dtb t:/mnt/fat
152%1:13>Okay
1:13>Start Cmd:FBK: ucmd umount /mnt/fat
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; mkfs.ext3 -F -E nodiscard /dev/mmcblk${mmc}p2
Creating filesystem with 813056 4k blocks and 203600 inodes
Filesystem UUID: ea45f09c-b6ed-464c-96e0-7286d9e0c1ba
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
1:13>Okay
1:13>Start Cmd:FBK: ucmd mkdir -p /mnt/ext3
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=cat /tmp/mmcdev; mount /dev/mmcblk${mmc}p2 /mnt/ext3
1:13>Okay
1:13>Start Cmd:FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/ext3
1:13>Okay
1:13>Start Cmd:FBK: ucp imx6sxsabresd.rootfs.tar.bz2 t:-
48%1:13>Fail Bulk(W):LIBUSB_ERROR_TIMEOUT
Could you please check and help me to find the root cause?
Hi customer met LIBUSB_ERR0R_TIMEOUT during downloading the roofs.tar.bz2 which is compiled with bitbake fsl-image-validation-imx. but smaller rootfs.tar.bz is working well.
below is the uuu log..
C:\uuu_cg>uuu -v -V lgecg_emmc_download.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Build in config:$dev); dev=$ {dev[0]}; dev=${dev#/dev/mmcblk}; dev=${dev%boot*}; echo $dev > /tmp/mmcdev;
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
Wait for Known USB Device Appear...
New USB Device Attached at 1:13
1:13>Start Cmd:SDP: boot -f u-boot.imx
6400%libusb: error [windows_transfer_callback] detected I/O error 1167: [1167] 장치가 연결되지 않았습니다.
libusb: error [hid_submit_bulk_transfer] HID transfer failed: [1167] 장치가 연결되지 않았습니다.
1:13>Okay
New USB Device Attached at 1:13
1:13>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:13>Okay
1:13>Start Cmd:FB: flash bootloader u-boot.imx
0x400000000x2001:13>Okay
1:13>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv emmc_cmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
1:13>Okay
1:13>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv emmc_cmd mmc bootbus ${emmc_dev} 2 2 1;
1:13>Okay
1:13>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
1:13>Okay
1:13>Start Cmd:FB: ucmd echo '[warkap] step #0 before download -f zImage'
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
1:13>Okay
1:13>Start Cmd:FB: download -f zImage
1:13>Okay
1:13>Start Cmd:FB: ucmd echo '[warkap] step #1 after download -f zImage'
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
1:13>Okay
1:13>Start Cmd:FB: download -f imx6sx-sdb-lgecg.dtb
1:13>Okay
1:13>Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
1:13>Okay
1:13>Start Cmd:FB: download -f _initramfs.cpio.gz.uboot
1:13>Okay
1:13>Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
1:13>Okay
New USB Device Attached at 1:13
1:13>Start Cmd:FBK: ucmd while [ ! -e /dev/mmcblkboot0 ]; do sleep 1; echo "wait for /dev/mmcblkboot* appear"; done;
1:13>Okay
1:13>Start Cmd:FBK: ucmd dev=
ls /dev/mmcblk*boot*; dev=(1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}Checking that no-one is using this disk right now ... OK
Disk /dev/mmcblk3: 3.7 GiB, 3959422976 bytes, 7733248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x67e6b631
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk3p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/mmcblk3p2 1228800 7733247 6504448 3.1G 83 Linux
New situation:
Disklabel type: dos
Disk identifier: 0xe090e6d2
Device Boot Start End Sectors Size Id Type
/dev/mmcblk3p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/mmcblk3p2 1228800 7733247 6504448 3.1G 83 Linux
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; dd if=/dev/zero of=/dev/mmcblk${mmc} bs=1k seek=4096 count=11:13>Okay
1:13>Start Cmd:FBK: ucmd sync
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; while [ ! -e /dev/mmcblk${mmc}p1 ]; do sleep 1; done1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; mkfs.vfat /dev/mmcblk${mmc}p1mkfs.fat 4.1 (2017-01-24)
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; mkdir -p /mnt/fat1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; mount -t vfat /dev/mmcblk${mmc}p1 /mnt/fat1:13>Okay
1:13>Start Cmd:FBK: ucp zImage t:/mnt/fat
99%1:13>Okay
1:13>Start Cmd:FBK: ucp imx6sx-sdb-lgecg.dtb t:/mnt/fat
152%1:13>Okay
1:13>Start Cmd:FBK: ucmd umount /mnt/fat
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; mkfs.ext3 -F -E nodiscard /dev/mmcblk${mmc}p2Creating filesystem with 813056 4k blocks and 203600 inodes
Filesystem UUID: ea45f09c-b6ed-464c-96e0-7286d9e0c1ba
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
1:13>Okay
1:13>Start Cmd:FBK: ucmd mkdir -p /mnt/ext3
1:13>Okay
1:13>Start Cmd:FBK: ucmd mmc=
cat /tmp/mmcdev; mount /dev/mmcblk${mmc}p2 /mnt/ext31:13>Okay
1:13>Start Cmd:FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/ext3
1:13>Okay
1:13>Start Cmd:FBK: ucp imx6sxsabresd.rootfs.tar.bz2 t:-
48%1:13>Fail Bulk(W):LIBUSB_ERROR_TIMEOUT
Could you please check and help me to find the root cause?