<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Cannot flash the I.MX6 SoloX-based board on Linux. Error: [Failure to claim interface]</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1743518#M214485</link>
    <description>&lt;P&gt;Thanks for the quick reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I just tried the 1.4.243, but results are still the same&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ ./uuu full_tar.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51

Success 0 Failure 1


1:10 1/32 [Failure claim interface ] FBK: ucmd while [ ! -e /dev/mmcblk*boot0 ]; do sleep 1; echo "wait for /dev/mmcblk*boo&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The kernel panic I attached earlier, also occurred on my host again.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ +0.003931] hid-generic 0003:15A2:0071.0004: hiddev0,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank PELE] on usb-0000:00:14.0-10/input0
[ +1.435968] usb 1-10: USB disconnect, device number 5
[ +15.245998] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[ +0.148297] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000363] usb 1-10: Duplicate descriptor for config 1 interface 0 altsetting 0, skipping
[ +0.000486] usb 1-10: New USB device found, idVendor=1fc9, idProduct=0152, bcdDevice= 2.21
[ +0.000008] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000003] usb 1-10: Product: USB download gadget
[ +0.000003] usb 1-10: Manufacturer: FSL
[ +0.000002] usb 1-10: SerialNumber: bdf722c4bdf722c4
[ +23.833569] usb 1-10: USB disconnect, device number 6
[ +1.080403] usb 1-10: new full-speed USB device number 7 using xhci_hcd
[ +0.148603] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000729] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ +0.000013] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0
[ +0.001247] usb 1-10: New USB device found, idVendor=066f, idProduct=9bff, bcdDevice= 5.15
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000006] usb 1-10: Product: FSL i.MX Board
[ +0.000005] usb 1-10: SerialNumber: 0000000000000000
[ +0.000490] ================================================================================
[ +0.000010] UBSAN: shift-out-of-bounds in /build/linux-hwe-6.2-ZyAAgj/linux-hwe-6.2-6.2.0/include/linux/log2.h:67:13
[ +0.000009] shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'
[ +0.000007] CPU: 4 PID: 48771 Comm: kworker/4:2 Tainted: P OE 6.2.0-34-generic #34~22.04.1-Ubuntu
[ +0.000009] Hardware name: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.B0 08/10/2020
[ +0.000004] Workqueue: usb_hub_wq hub_event
[ +0.000013] Call Trace:
[ +0.000005] &amp;lt;TASK&amp;gt;
[ +0.000005] dump_stack_lvl+0x48/0x70
[ +0.000012] dump_stack+0x10/0x20
[ +0.000006] __ubsan_handle_shift_out_of_bounds+0x156/0x310
[ +0.000014] xhci_endpoint_init.cold+0x1e/0x34
[ +0.000012] xhci_add_endpoint.part.0+0x120/0x390
[ +0.000014] xhci_add_endpoint+0x41/0x80
[ +0.000009] usb_hcd_alloc_bandwidth+0x171/0x430
[ +0.000009] usb_set_configuration+0x10a/0xac0
[ +0.000007] ? kernfs_add_one+0xfc/0x140
[ +0.000009] ? kernfs_create_link+0x66/0xe0
[ +0.000010] usb_generic_driver_probe+0x6b/0xb0
[ +0.000011] usb_probe_device+0x38/0x130
[ +0.000007] really_probe+0x1ea/0x450
[ +0.000008] __driver_probe_device+0x8a/0x190
[ +0.000006] driver_probe_device+0x23/0xd0
[ +0.000006] __device_attach_driver+0xc5/0x160
[ +0.000007] ? __pfx___device_attach_driver+0x10/0x10
[ +0.000006] bus_for_each_drv+0x82/0xe0
[ +0.000010] __device_attach+0xc1/0x230
[ +0.000007] device_initial_probe+0x13/0x20
[ +0.000006] bus_probe_device+0x9b/0xb0
[ +0.000010] device_add+0x42a/0x700
[ +0.000009] usb_new_device+0x466/0x550
[ +0.000011] hub_port_connect+0x45b/0xbd0
[ +0.000008] hub_port_connect_change+0xa1/0x3c0
[ +0.000008] port_event+0x661/0x7f0
[ +0.000008] hub_event+0x157/0x450
[ +0.000006] ? psi_avgs_work+0x61/0xd0
[ +0.000013] process_one_work+0x21c/0x440
[ +0.000014] worker_thread+0x50/0x3f0
[ +0.000008] ? __pfx_worker_thread+0x10/0x10
[ +0.000008] kthread+0xeb/0x120
[ +0.000010] ? __pfx_kthread+0x10/0x10
[ +0.000010] ret_from_fork+0x29/0x50
[ +0.000011] &amp;lt;/TASK&amp;gt;
[ +0.000002] ================================================================================
[ +0.002068] usb 1-10: can't set config #1, error -32
[ +12.396430] audit: type=1400 audit(1697788916.352:133): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=3178 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0


[ +0.003931] hid-generic 0003:15A2:0071.0004: hiddev0,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank PELE] on usb-0000:00:14.0-10/input0
[ +1.435968] usb 1-10: USB disconnect, device number 5
[ +15.245998] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[ +0.148297] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000363] usb 1-10: Duplicate descriptor for config 1 interface 0 altsetting 0, skipping
[ +0.000486] usb 1-10: New USB device found, idVendor=1fc9, idProduct=0152, bcdDevice= 2.21
[ +0.000008] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000003] usb 1-10: Product: USB download gadget
[ +0.000003] usb 1-10: Manufacturer: FSL
[ +0.000002] usb 1-10: SerialNumber: bdf722c4bdf722c4
[ +23.833569] usb 1-10: USB disconnect, device number 6
[ +1.080403] usb 1-10: new full-speed USB device number 7 using xhci_hcd
[ +0.148603] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000729] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ +0.000013] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0
[ +0.001247] usb 1-10: New USB device found, idVendor=066f, idProduct=9bff, bcdDevice= 5.15
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000006] usb 1-10: Product: FSL i.MX Board
[ +0.000005] usb 1-10: SerialNumber: 0000000000000000
[ +0.000490] ================================================================================
[ +0.000010] UBSAN: shift-out-of-bounds in /build/linux-hwe-6.2-ZyAAgj/linux-hwe-6.2-6.2.0/include/linux/log2.h:67:13
[ +0.000009] shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'
[ +0.000007] CPU: 4 PID: 48771 Comm: kworker/4:2 Tainted: P OE 6.2.0-34-generic #34~22.04.1-Ubuntu
[ +0.000009] Hardware name: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.B0 08/10/2020
[ +0.000004] Workqueue: usb_hub_wq hub_event
[ +0.000013] Call Trace:
[ +0.000005] &amp;lt;TASK&amp;gt;
[ +0.000005] dump_stack_lvl+0x48/0x70
[ +0.000012] dump_stack+0x10/0x20
[ +0.000006] __ubsan_handle_shift_out_of_bounds+0x156/0x310
[ +0.000014] xhci_endpoint_init.cold+0x1e/0x34
[ +0.000012] xhci_add_endpoint.part.0+0x120/0x390
[ +0.000014] xhci_add_endpoint+0x41/0x80
[ +0.000009] usb_hcd_alloc_bandwidth+0x171/0x430
[ +0.000009] usb_set_configuration+0x10a/0xac0
[ +0.000007] ? kernfs_add_one+0xfc/0x140
[ +0.000009] ? kernfs_create_link+0x66/0xe0
[ +0.000010] usb_generic_driver_probe+0x6b/0xb0
[ +0.000011] usb_probe_device+0x38/0x130
[ +0.000007] really_probe+0x1ea/0x450
[ +0.000008] __driver_probe_device+0x8a/0x190
[ +0.000006] driver_probe_device+0x23/0xd0
[ +0.000006] __device_attach_driver+0xc5/0x160
[ +0.000007] ? __pfx___device_attach_driver+0x10/0x10
[ +0.000006] bus_for_each_drv+0x82/0xe0
[ +0.000010] __device_attach+0xc1/0x230
[ +0.000007] device_initial_probe+0x13/0x20
[ +0.000006] bus_probe_device+0x9b/0xb0
[ +0.000010] device_add+0x42a/0x700
[ +0.000009] usb_new_device+0x466/0x550
[ +0.000011] hub_port_connect+0x45b/0xbd0
[ +0.000008] hub_port_connect_change+0xa1/0x3c0
[ +0.000008] port_event+0x661/0x7f0
[ +0.000008] hub_event+0x157/0x450
[ +0.000006] ? psi_avgs_work+0x61/0xd0
[ +0.000013] process_one_work+0x21c/0x440
[ +0.000014] worker_thread+0x50/0x3f0
[ +0.000008] ? __pfx_worker_thread+0x10/0x10
[ +0.000008] kthread+0xeb/0x120
[ +0.000010] ? __pfx_kthread+0x10/0x10
[ +0.000010] ret_from_fork+0x29/0x50
[ +0.000011] &amp;lt;/TASK&amp;gt;
[ +0.000002] ================================================================================
[ +0.002068] usb 1-10: can't set config #1, error -32
[ +12.396430] audit: type=1400 audit(1697788916.352:133): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=3178 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 20 Oct 2023 08:12:21 GMT</pubDate>
    <dc:creator>andriibr</dc:creator>
    <dc:date>2023-10-20T08:12:21Z</dc:date>
    <item>
      <title>Cannot flash the I.MX6 SoloX-based board on Linux. Error: [Failure to claim interface]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1742952#M214436</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an issue with flashing the iMX6 SoloX COM board from Embedded Artists&lt;BR /&gt;using uuu.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Info about the board:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.embeddedartists.com/products/imx6-solox-com" target="_blank"&gt;https://www.embeddedartists.com/products/imx6-solox-com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm following the flash guide below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.embeddedartists.com/docs-app/yocto/deploy-images" target="_blank"&gt;https://developer.embeddedartists.com/docs-app/yocto/deploy-images&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The steps I take based on the flashing guide:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) Power ON, switch the board into OTG mode, and reset.&lt;/P&gt;&lt;P&gt;2) Launch the uuu app with a flash script as an argument.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./uuu full_tar.uuu&lt;/LI-CODE&gt;&lt;P&gt;Flash script contents:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu_version 1.0.1

SDP: boot -f firmware/u-boot.imx

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}

FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f firmware/zImage
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f firmware/kit_v2.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f firmware/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}

# Wait for emmc
FBK: ucmd while [ ! -e /dev/mmcblk*boot0 ]; do sleep 1; echo "wait for /dev/mmcblk*boot* appear"; done;

# get emmc device
FBK: ucmd dev=`ls /dev/mmcblk*boot*`; dev=($dev); dev=${dev[0]}; dev=${dev#/dev/mmcblk}; dev=${dev%boot*}; echo $dev &amp;gt; /tmp/mmcdev;

# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'4M,10M,0c\n14M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

# format partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkfs.vfat /dev/mmcblk${mmc}p1
FBK: ucmd mkdir -p /mnt/fat
FBK: ucmd mmc=`cat /tmp/mmcdev`; mount -t vfat /dev/mmcblk${mmc}p1 /mnt/fat

# erase u-boot environment (8Kb located at offset (2Mb-8Kb) on /dev/mmcblk*boot0)
FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 0 &amp;gt; /sys/block/mmcblk${mmc}boot0/force_ro
FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/dev/zero of=/dev/mmcblk${mmc}boot0 bs=1k seek=2040 count=8

# bootloaders (SPL + u-boot)
FBK: ucp files/SPL t:/tmp
FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/tmp/SPL of=/dev/mmcblk${mmc}boot0 bs=512 seek=2
FBK: ucp files/u-boot.img t:/tmp
FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/tmp/u-boot.img of=/dev/mmcblk${mmc}boot0 bs=512 seek=138
FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 1 &amp;gt; /sys/block/mmcblk${mmc}boot0/force_ro
FBK: ucmd mmc=`cat /tmp/mmcdev`; mmc bootpart enable 1 1 /dev/mmcblk${mmc}

# Copy kernel and dtb files
FBK: ucp files/zImage t:/mnt/fat/zImage
FBK: ucp files/kit_v2.dtb t:/mnt/fat
FBK: ucp files/kit_v2-m4.dtb t:/mnt/fat
FBK: ucp files/boot.scr t:/mnt/fat
FBK: ucp files/m4_hello_ddr.bin t:/mnt/fat
FBK: ucp files/m4_hello_ocram.bin t:/mnt/fat
FBK: ucp files/m4_hello_qspi.bin t:/mnt/fat
FBK: ucp files/m4_hello_tcm.bin t:/mnt/fat
FBK: ucp files/m4_rpmsg_ping_qspi.bin t:/mnt/fat
FBK: ucmd umount /mnt/fat
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkfs.ext3 -F -E nodiscard -j /dev/mmcblk${mmc}p2
FBK: ucmd mkdir -p /mnt/ext3
FBK: ucmd mmc=`cat /tmp/mmcdev`; mount -t ext3 /dev/mmcblk${mmc}p2 /mnt/ext3
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/ext3
FBK: ucp files/orion-image-base.tar.bz2 t:-
FBK: Sync
FBK: ucmd umount /mnt/ext3

FBK: DONE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output I get:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-0-gaeb3490

Success 0 Failure 0


1:10 1/ 1 [=================100%=================] SDP: boot -f firmware/u-boot.imx&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, uuu just hangs. But because the bootloader is already in RAM I do the&lt;BR /&gt;following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Open minicom -D /dev/ttyUSB0.&lt;/P&gt;&lt;P&gt;The output of u-boot to the serial console via UART:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Welcome to minicom 2.8

OPTIONS: I18n
Port /dev/ttyUSB0, 15:16:12

Press CTRL-A Z for help on special keys

�4�W'$HNMevices, 19 uclasses, devicetree: separate
PMIC: PFUZE100! DEV_ID=0x11 REV_ID=0x21
MMC: FSL_SDHC: 2, FSL_SDHC: 3
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc2(part 0) is current device
Saving Environment to MMC... Writing to MMC(2)... OK
flash target is MMC:2
Net: eth0: ethernet@2188000 [PRIME]Get shared mii bus on ethernet@21b4000
FEC0:1 is connected to ethernet@2188000. Reconnecting to ethernet@21b4000
, eth1: ethernet@21b4000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run;
Hit any key to stop autoboot: 0
=&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For whatever reason, `bootcmd_mfg` didn't execute anything, so I manually ran the&lt;BR /&gt;bootcmd.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;run bootcmd_mfg&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This puts the board into fastboot mode, and the flashing process resumes.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=&amp;gt; run bootcmd_mfg

## Checking Image at 83800000 ...
Unknown image format!
Run fastboot ...
switch to partitions #0, OK
mmc2(part 0) is current device
Starting download of 9275008 bytes
......................................................................
downloading of 9275008 bytes finished
Starting download of 50797 bytes

downloading of 50797 bytes finished
Starting download of 12514332 bytes
..........................................................................
.....................
downloading of 12514332 bytes finished
Kernel image @ 0x80800000 [ 0x000000 - 0x8d8680 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 12514268 Bytes = 11.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300f66c
No PMIC found!

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.32+geb06aa0de7de (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38.20220313) #1 SMP PREEMPT Tue Mar 21 15:39:28 UTC 2023
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Embedded Artists i.MX6 SoloX COM Kit
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] percpu: Embedded 12 pages/cpu s17036 r8192 d23924 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259840
[ 0.000000] Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc clk_ignore_unused
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 677528K/1048576K available (12288K kernel code, 1374K rwdata, 4256K rodata, 1024K init, 422K bss, 43368K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76430001
[ 0.000000] random: get_random_bytes called from start_kernel+0x484/0x64c with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000001] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000029] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001657] Console: colour dummy device 80x30
[ 0.001705] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.001725] pid_max: default: 32768 minimum: 301
[ 0.001877] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001901] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002706] CPU: Testing write buffer coherency: ok
[ 0.002757] CPU0: Spectre v2: using BPIALL workaround
[ 0.002964] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003641] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.003822] rcu: Hierarchical SRCU implementation.
[ 0.004140] smp: Bringing up secondary CPUs ...
[ 0.004156] smp: Brought up 1 node, 1 CPU
[ 0.004170] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[ 0.004183] CPU: All CPU(s) started in SVC mode.
[ 0.004619] devtmpfs: initialized
[ 0.012746] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.012970] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.012999] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.031924] pinctrl core: initialized pinctrl subsystem
[ 0.033028] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.039912] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.041153] thermal_sys: Registered thermal governor 'step_wise'
[ 0.041411] cpuidle: using governor menu
[ 0.057374] vdd1p1: supplied by regulator-dummy
[ 0.058019] vdd3p0: supplied by regulator-dummy
[ 0.058603] vdd2p5: supplied by regulator-dummy
[ 0.059490] vddpcie: supplied by regulator-dummy
[ 0.060442] mxs_phy 20c9000.usbphy: supply phy-3p0 not found, using dummy regulator
[ 0.061151] mxs_phy 20ca000.usbphy: supply phy-3p0 not found, using dummy regulator
[ 0.080560] No ATAGs?
[ 0.080626] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.080645] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.082805] imx6sx-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.085376] imx mu driver is registered.
[ 0.086049] imx rpmsg driver is registered.
[ 0.087424] MU is ready for cross core communication!
[ 0.117646] lcd-3v3 GPIO handle specifies active low - ignored
[ 0.121198] vgaarb: loaded
[ 0.122036] SCSI subsystem initialized
[ 0.122503] usbcore: registered new interface driver usbfs
[ 0.122566] usbcore: registered new interface driver hub
[ 0.122616] usbcore: registered new device driver usb
[ 0.122780] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[ 0.125187] i2c i2c-0: IMX I2C adapter registered
[ 0.126180] pca953x 1-0020: using no AI
[ 0.130854] pca953x 1-0020: failed writing register
[ 0.130953] i2c i2c-1: IMX I2C adapter registered
[ 0.131541] i2c i2c-2: IMX I2C adapter registered
[ 0.132036] mc: Linux media interface: v0.10
[ 0.132101] videodev: Linux video capture interface: v2.00
[ 0.132215] pps_core: LinuxPPS API ver. 1 registered
[ 0.132228] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &amp;lt;giometti@linux.it&amp;gt;
[ 0.132252] PTP clock support registered
[ 0.134474] MIPI CSI2 driver module loaded
[ 0.134535] Advanced Linux Sound Architecture Driver Initialized.
[ 0.135701] Bluetooth: Core ver 2.22
[ 0.135768] NET: Registered PF_BLUETOOTH protocol family
[ 0.135781] Bluetooth: HCI device and connection manager initialized
[ 0.135801] Bluetooth: HCI socket layer initialized
[ 0.135815] Bluetooth: L2CAP socket layer initialized
[ 0.135840] Bluetooth: SCO socket layer initialized
[ 0.136416] clocksource: Switched to clocksource mxc_timer1
[ 0.136632] VFS: Disk quotas dquot_6.6.0
[ 0.136714] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.145134] NET: Registered PF_INET protocol family
[ 0.145332] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.146537] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.146587] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.146671] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.146801] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.146926] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.146978] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.147173] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.147818] RPC: Registered named UNIX socket transport module.
[ 0.147840] RPC: Registered udp transport module.
[ 0.147849] RPC: Registered tcp transport module.
[ 0.147858] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.147874] PCI: CLS 0 bytes, default 64
[ 0.148384] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.150793] Bus freq driver module loaded
[ 0.151680] Initialise system trusted keyrings
[ 0.151909] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.156738] Trying to unpack rootfs image as initramfs...
[ 0.167525] NFS: Registering the id_resolver key type
[ 0.167565] Key type id_resolver registered
[ 0.167578] Key type id_legacy registered
[ 0.167631] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.168138] fuse: init (API version 7.34)
[ 0.366677] Key type asymmetric registered
[ 0.366702] Asymmetric key parser 'x509' registered
[ 0.366797] io scheduler mq-deadline registered
[ 0.366814] io scheduler kyber registered
[ 0.373942] pwm-backlight backlight1: supply power not found, using dummy regulator
[ 0.377659] pwm-backlight backlight2: supply power not found, using dummy regulator
[ 0.401176] mxs-dma 1804000.dma-apbh: initialized
[ 0.419220] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
[ 0.419938] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[ 0.419965] pfuze100-regulator 0-0008: pfuze200 found.
[ 0.436395] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 30, base_baud = 5000000) is a IMX
[ 1.530984] random: fast init done
[ 2.089271] Freeing initrd memory: 12224K
[ 2.089437] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 2.089454] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 2.115364] printk: console [ttymxc0] enabled
[ 2.121066] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 78, base_baud = 5000000) is a IMX
[ 2.130604] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 79, base_baud = 5000000) is a IMX
[ 2.141580] imx sema4 driver is registered.
[ 2.164918] brd: module loaded
[ 2.174276] loop: module loaded
[ 2.177694] at24 0-0055: supply vcc not found, using dummy regulator
[ 2.185254] at24 0-0055: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 2.193438] imx ahci driver is registered.
[ 2.202486] spi-nor spi5.0: is25lp064 (8192 Kbytes)
[ 2.209515] spi-nor spi5.2: is25lp064 (8192 Kbytes)
[ 2.218944] CAN device driver interface
[ 2.228150] pps pps0: new PPS source ptp0
[ 2.247731] fec 2188000.ethernet eth0: registered PHC device 0
[ 2.255291] pps pps1: new PPS source ptp1
[ 2.263067] fec 21b4000.ethernet eth1: registered PHC device 1
[ 2.269546] e1000e: Intel(R) PRO/1000 Network Driver
[ 2.274524] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.281267] usbcore: registered new interface driver r8152
[ 2.286928] usbcore: registered new interface driver lan78xx
[ 2.292643] usbcore: registered new interface driver asix
[ 2.298133] usbcore: registered new interface driver ax88179_178a
[ 2.304266] usbcore: registered new interface driver cdc_ether
[ 2.310177] usbcore: registered new interface driver smsc95xx
[ 2.315961] usbcore: registered new interface driver net1080
[ 2.321688] usbcore: registered new interface driver cdc_subset
[ 2.327669] usbcore: registered new interface driver zaurus
[ 2.333279] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.340754] usbcore: registered new interface driver cdc_ncm
[ 2.346448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.352982] ehci-pci: EHCI PCI platform driver
[ 2.357534] usbcore: registered new interface driver usb-storage
[ 2.367714] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[ 2.373912] SPI driver ads7846 has no spi_device_id for ti,ads7843
[ 2.380188] SPI driver ads7846 has no spi_device_id for ti,ads7845
[ 2.386380] SPI driver ads7846 has no spi_device_id for ti,ads7873
[ 2.399700] rtc-pcf8523 0-0068: registered as rtc0
[ 2.406488] rtc-pcf8523 0-0068: hctosys: unable to read the hardware clock
[ 2.414663] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[ 2.421071] i2c_dev: i2c /dev entries driver
[ 2.427714] pxp-v4l2 pxp_v4l2_out: initialized
[ 2.435616] Bluetooth: HCI UART driver ver 2.3
[ 2.440128] Bluetooth: HCI UART protocol H4 registered
[ 2.445275] Bluetooth: HCI UART protocol BCSP registered
[ 2.450650] Bluetooth: HCI UART protocol LL registered
[ 2.455818] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.462152] Bluetooth: HCI UART protocol Marvell registered
[ 2.467830] usbcore: registered new interface driver btusb
[ 2.474615] sdhci: Secure Digital Host Controller Interface driver
[ 2.480861] sdhci: Copyright(c) Pierre Ossman
[ 2.485226] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.500685] caam 2100000.crypto: Entropy delay = 12000
[ 2.507394] sdhci-esdhc-imx 219c000.mmc: Got CD GPIO
[ 2.546440] mmc2: SDHCI controller on 2198000.mmc [2198000.mmc] using ADMA
[ 2.553493] caam 2100000.crypto: Instantiated RNG4 SH0
[ 2.562312] mmc3: SDHCI controller on 219c000.mmc [219c000.mmc] using ADMA
[ 2.599089] caam 2100000.crypto: Instantiated RNG4 SH1
[ 2.604294] caam 2100000.crypto: device ID = 0x0a16010000000200 (Era 4)
[ 2.610978] caam 2100000.crypto: job rings = 2, qi = 0
[ 2.631280] caam algorithms registered in /proc/crypto
[ 2.638406] caam 2100000.crypto: rng crypto API alg registered prng-caam
[ 2.645251] caam 2100000.crypto: registering rng-caam
[ 2.652056] Device caam-keygen registered
[ 2.663672] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[ 2.672680] usbcore: registered new interface driver usbhid
[ 2.678380] usbhid: USB HID core driver
[ 2.693577] wm8731 0-001a: Failed to issue reset: -6
[ 2.701227] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[ 2.711563] mmc2: new DDR MMC card at address 0001
[ 2.727138] mmcblk2: mmc2:0001 H8G4a2 7.28 GiB
[ 2.733841] mmcblk2: p1 p2
[ 2.744642] mmcblk2boot0: mmc2:0001 H8G4a2 8.00 MiB
[ 2.751228] mmcblk2boot1: mmc2:0001 H8G4a2 8.00 MiB
[ 2.767621] mmcblk2rpmb: mmc2:0001 H8G4a2 4.00 MiB, chardev (242:0)
[ 2.790691] random: crng init done
[ 2.904067] NET: Registered PF_LLC protocol family
[ 2.909553] NET: Registered PF_INET6 protocol family
[ 2.915834] Segment Routing with IPv6
[ 2.919647] In-situ OAM (IOAM) with IPv6
[ 2.923680] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.930275] NET: Registered PF_PACKET protocol family
[ 2.935442] can: controller area network core
[ 2.940055] NET: Registered PF_CAN protocol family
[ 2.944862] can: raw protocol
[ 2.947919] can: broadcast manager protocol
[ 2.952122] can: netlink gateway - max_hops=1
[ 2.956775] Bluetooth: RFCOMM TTY layer initialized
[ 2.961681] Bluetooth: RFCOMM socket layer initialized
[ 2.966969] Bluetooth: RFCOMM ver 1.11
[ 2.970743] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.976060] Bluetooth: BNEP filters: protocol multicast
[ 2.981392] Bluetooth: BNEP socket layer initialized
[ 2.986368] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.992329] Bluetooth: HIDP socket layer initialized
[ 2.997374] lib80211: common routines for IEEE802.11 drivers
[ 3.003086] Key type dns_resolver registered
[ 3.037116] Registering SWP/SWPB emulation handler
[ 3.042158] Loading compiled-in X.509 certificates
[ 3.070163] vddarm: supplied by SW1AB
[ 3.074526] vddsoc: supplied by SW1AB
[ 3.182138] sii902x bound to mxs-lcdif from 2220000.lcdif
[ 3.206075] Console: switching to colour frame buffer device 160x45
[ 3.331806] mxsfb 2220000.lcdif: initialized
[ 3.340029] imx_usb 2184000.usb: No over current polarity defined
[ 3.518815] imx_usb 2184200.usb: No over current polarity defined
[ 3.529042] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.533972] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.566473] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.572104] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 3.580420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.587668] usb usb1: Product: EHCI Host Controller
[ 3.592552] usb usb1: Manufacturer: Linux 5.15.32+geb06aa0de7de ehci_hcd
[ 3.599277] usb usb1: SerialNumber: ci_hdrc.1
[ 3.604262] hub 1-0:1.0: USB hub found
[ 3.608184] hub 1-0:1.0: 1 port detected
[ 3.627292] galcore: clk_get 2d core clock failed, disable 2d/vg!
[ 3.634306] Galcore version 6.4.3.p4.398061
[ 3.901547] [drm] Initialized vivante 1.0.0 20170808 for 1800000.gpu3d on minor 0
[ 3.912589] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 3.923457] Hot alarm is canceled. GPU3D clock will return to 64/64
[ 3.943113] clk: Not disabling unused clocks
[ 3.947537] ALSA device list:
[ 3.950517] No soundcards found.
[ 3.955248] Freeing unused kernel image (initmem) memory: 1024K
[ 3.961560] Run /linuxrc as init process
Found New UDC: ci_hdrc.0
ci_hdrc.0 0
ffs.utp0
[ 4.061237] file system registered
[ 4.092605] Mass Storage Function, version: 2009/09/11
[ 4.097996] LUN: removable file: (no medium)
run utp at /dev/usb-utp0/ep0
.
uuu fastboot client 1.0.0 [built [ 4.119109] read descriptors
Nov 7 2019 19:25:07]
Start init[ 4.126345] read strings
usb
.
write string
Start handle command
uuc /dev/utp
uuc 0.6 [built Nov 7 2019 19:25:07]
UTP: Waiting for /dev/utp to appear&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when the kernel enters waiting mode, the uuu tool fails, as shown in&lt;BR /&gt;the log below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-0-gaeb3490

Success 0 Failure 1


1:10 1/32 [Failure claim interface ] FBK: ucmd while [ ! -e /dev/mmcblk*boot0 ]; do sleep 1; echo "wait for /dev/mmcblk*boot* appear"; done;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After checking the output of dmesg on my host, I obtained the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ +0.002880] hid-generic 0003:15A2:0071.0004: hiddev0,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank PELE] on usb-0000:00:14.0-10/input0
[Oct19 15:11] usb 1-10: USB disconnect, device number 5
[ +17.048879] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[ +0.148392] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000391] usb 1-10: Duplicate descriptor for config 1 interface 0 altsetting 0, skipping
[ +0.000576] usb 1-10: New USB device found, idVendor=1fc9, idProduct=0152, bcdDevice= 2.21
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000007] usb 1-10: Product: USB download gadget
[ +0.000004] usb 1-10: Manufacturer: FSL
[ +0.000004] usb 1-10: SerialNumber: bdf722c4bdf722c4
[Oct19 15:12] usb 1-10: USB disconnect, device number 6
[ +1.103440] usb 1-10: new full-speed USB device number 7 using xhci_hcd
[ +0.148671] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000738] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ +0.000012] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0
[ +0.001254] usb 1-10: New USB device found, idVendor=066f, idProduct=9bff, bcdDevice= 5.15
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000006] usb 1-10: Product: FSL i.MX Board
[ +0.000005] usb 1-10: SerialNumber: 0000000000000000
[ +0.000554] ================================================================================
[ +0.000009] UBSAN: shift-out-of-bounds in /build/linux-hwe-6.2-ZyAAgj/linux-hwe-6.2-6.2.0/include/linux/log2.h:67:13
[ +0.000009] shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'
[ +0.000007] CPU: 6 PID: 11890 Comm: kworker/6:2 Tainted: P OE 6.2.0-34-generic #34~22.04.1-Ubuntu
[ +0.000009] Hardware name: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.B0 08/10/2020
[ +0.000005] Workqueue: usb_hub_wq hub_event
[ +0.000012] Call Trace:
[ +0.000005] &amp;lt;TASK&amp;gt;
[ +0.000006] dump_stack_lvl+0x48/0x70
[ +0.000011] dump_stack+0x10/0x20
[ +0.000007] __ubsan_handle_shift_out_of_bounds+0x156/0x310
[ +0.000011] xhci_endpoint_init.cold+0x1e/0x34
[ +0.000015] xhci_add_endpoint.part.0+0x120/0x390
[ +0.000011] xhci_add_endpoint+0x41/0x80
[ +0.000009] usb_hcd_alloc_bandwidth+0x171/0x430
[ +0.000010] usb_set_configuration+0x10a/0xac0
[ +0.000007] ? kernfs_add_one+0xfc/0x140
[ +0.000009] ? kernfs_create_link+0x66/0xe0
[ +0.000010] usb_generic_driver_probe+0x6b/0xb0
[ +0.000011] usb_probe_device+0x38/0x130
[ +0.000008] really_probe+0x1ea/0x450
[ +0.000007] __driver_probe_device+0x8a/0x190
[ +0.000007] driver_probe_device+0x23/0xd0
[ +0.000006] __device_attach_driver+0xc5/0x160
[ +0.000006] ? __pfx___device_attach_driver+0x10/0x10
[ +0.000007] bus_for_each_drv+0x82/0xe0
[ +0.000009] __device_attach+0xc1/0x230
[ +0.000007] device_initial_probe+0x13/0x20
[ +0.000007] bus_probe_device+0x9b/0xb0
[ +0.000010] device_add+0x42a/0x700
[ +0.000008] usb_new_device+0x466/0x550
[ +0.000012] hub_port_connect+0x45b/0xbd0
[ +0.000008] hub_port_connect_change+0xa1/0x3c0
[ +0.000008] port_event+0x661/0x7f0
[ +0.000007] hub_event+0x157/0x450
[ +0.000006] ? __queue_delayed_work+0xcd/0xf0
[ +0.000010] process_one_work+0x21c/0x440
[ +0.000009] worker_thread+0x50/0x3f0
[ +0.000009] ? __pfx_worker_thread+0x10/0x10
[ +0.000007] kthread+0xeb/0x120
[ +0.000013] ? __pfx_kthread+0x10/0x10
[ +0.000010] ret_from_fork+0x29/0x50
[ +0.000011] &amp;lt;/TASK&amp;gt;
[ +0.000003] ================================================================================
[ +0.002032] usb 1-10: can't set config #1, error -32&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flashing the same release with MfgTool on Windows works fine. Additionally,&lt;BR /&gt;flashing the same release on an older version of Ubuntu 18.04 on my coworker's&lt;BR /&gt;laptop also works fine. Does anyone have any idea what I'm doing wrong? Or is&lt;BR /&gt;there something wrong with my setup? I'm really confused here.&lt;/P&gt;&lt;P&gt;System info:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, verbose output of uuu:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./uuu -v full_tar.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-0-gaeb3490

Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDPS: MX8ULP 0x1fc9 0x014a
SDPS: MX8ULP 0x1fc9 0x014b
SDPS: MX93 0x1fc9 0x014e
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]
SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FBK: 0x1fc9 0x0153
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
FB: 0x1fc9 0x0152
FB: 0x0483 0x0afb
Wait for Known USB Device Appear...
New USB Device Attached at 1:10
1:10&amp;gt;Start Cmd:SDP: boot -f firmware/u-boot.imx
100%1:10&amp;gt;Okay (1.133s)
New USB Device Attached at 1:10
1:10&amp;gt;Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:10&amp;gt;Okay (0.001s)
1:10&amp;gt;Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:10&amp;gt;Okay (0s)
1:10&amp;gt;Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:10&amp;gt;Okay (0.031s)
1:10&amp;gt;Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
1:10&amp;gt;Okay (0.001s)
1:10&amp;gt;Start Cmd:FB: download -f firmware/zImage
1:10&amp;gt;Okay (8.161s)
1:10&amp;gt;Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
1:10&amp;gt;Okay (0s)
1:10&amp;gt;Start Cmd:FB: download -f firmware/kit_v2.dtb
1:10&amp;gt;Okay (0.05s)
1:10&amp;gt;Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
1:10&amp;gt;Okay (0.001s)
1:10&amp;gt;Start Cmd:FB: download -f firmware/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
1:10&amp;gt;Okay (11.02s)
1:10&amp;gt;Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
1:10&amp;gt;Okay (0s)
New USB Device Attached at 1:10
1:10&amp;gt;Start Cmd:FBK: ucmd while [ ! -e /dev/mmcblk*boot0 ]; do sleep 1; echo "wait for /dev/mmcblk*boot* appear"; done;
1:10&amp;gt;Fail Failure claim interface(0s)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 13:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1742952#M214436</guid>
      <dc:creator>andriibr</dc:creator>
      <dc:date>2023-10-19T13:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot flash the I.MX6 SoloX-based board on Linux. Error: [Failure to claim interface]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1743041#M214443</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224597"&gt;@andriibr&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was checking the documentation and zip file where is contained the BSP for the i.MX6SX from Embedded Artist and I could see the UUU script is validated with tool version 1.4.243:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1697729003826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245969i12F7DAE2188BC240/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1697729003826.png" alt="Alejandro_Salas_0-1697729003826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, I could see you are using a newer version (1.5.125).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try to run the below command with UUU 1.4.243 version?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ sudo ./uuu full_tar.uuu&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try it and let me know how it was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 15:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1743041#M214443</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2023-10-19T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot flash the I.MX6 SoloX-based board on Linux. Error: [Failure to claim interface]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1743518#M214485</link>
      <description>&lt;P&gt;Thanks for the quick reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I just tried the 1.4.243, but results are still the same&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ ./uuu full_tar.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51

Success 0 Failure 1


1:10 1/32 [Failure claim interface ] FBK: ucmd while [ ! -e /dev/mmcblk*boot0 ]; do sleep 1; echo "wait for /dev/mmcblk*boo&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The kernel panic I attached earlier, also occurred on my host again.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ +0.003931] hid-generic 0003:15A2:0071.0004: hiddev0,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank PELE] on usb-0000:00:14.0-10/input0
[ +1.435968] usb 1-10: USB disconnect, device number 5
[ +15.245998] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[ +0.148297] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000363] usb 1-10: Duplicate descriptor for config 1 interface 0 altsetting 0, skipping
[ +0.000486] usb 1-10: New USB device found, idVendor=1fc9, idProduct=0152, bcdDevice= 2.21
[ +0.000008] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000003] usb 1-10: Product: USB download gadget
[ +0.000003] usb 1-10: Manufacturer: FSL
[ +0.000002] usb 1-10: SerialNumber: bdf722c4bdf722c4
[ +23.833569] usb 1-10: USB disconnect, device number 6
[ +1.080403] usb 1-10: new full-speed USB device number 7 using xhci_hcd
[ +0.148603] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000729] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ +0.000013] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0
[ +0.001247] usb 1-10: New USB device found, idVendor=066f, idProduct=9bff, bcdDevice= 5.15
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000006] usb 1-10: Product: FSL i.MX Board
[ +0.000005] usb 1-10: SerialNumber: 0000000000000000
[ +0.000490] ================================================================================
[ +0.000010] UBSAN: shift-out-of-bounds in /build/linux-hwe-6.2-ZyAAgj/linux-hwe-6.2-6.2.0/include/linux/log2.h:67:13
[ +0.000009] shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'
[ +0.000007] CPU: 4 PID: 48771 Comm: kworker/4:2 Tainted: P OE 6.2.0-34-generic #34~22.04.1-Ubuntu
[ +0.000009] Hardware name: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.B0 08/10/2020
[ +0.000004] Workqueue: usb_hub_wq hub_event
[ +0.000013] Call Trace:
[ +0.000005] &amp;lt;TASK&amp;gt;
[ +0.000005] dump_stack_lvl+0x48/0x70
[ +0.000012] dump_stack+0x10/0x20
[ +0.000006] __ubsan_handle_shift_out_of_bounds+0x156/0x310
[ +0.000014] xhci_endpoint_init.cold+0x1e/0x34
[ +0.000012] xhci_add_endpoint.part.0+0x120/0x390
[ +0.000014] xhci_add_endpoint+0x41/0x80
[ +0.000009] usb_hcd_alloc_bandwidth+0x171/0x430
[ +0.000009] usb_set_configuration+0x10a/0xac0
[ +0.000007] ? kernfs_add_one+0xfc/0x140
[ +0.000009] ? kernfs_create_link+0x66/0xe0
[ +0.000010] usb_generic_driver_probe+0x6b/0xb0
[ +0.000011] usb_probe_device+0x38/0x130
[ +0.000007] really_probe+0x1ea/0x450
[ +0.000008] __driver_probe_device+0x8a/0x190
[ +0.000006] driver_probe_device+0x23/0xd0
[ +0.000006] __device_attach_driver+0xc5/0x160
[ +0.000007] ? __pfx___device_attach_driver+0x10/0x10
[ +0.000006] bus_for_each_drv+0x82/0xe0
[ +0.000010] __device_attach+0xc1/0x230
[ +0.000007] device_initial_probe+0x13/0x20
[ +0.000006] bus_probe_device+0x9b/0xb0
[ +0.000010] device_add+0x42a/0x700
[ +0.000009] usb_new_device+0x466/0x550
[ +0.000011] hub_port_connect+0x45b/0xbd0
[ +0.000008] hub_port_connect_change+0xa1/0x3c0
[ +0.000008] port_event+0x661/0x7f0
[ +0.000008] hub_event+0x157/0x450
[ +0.000006] ? psi_avgs_work+0x61/0xd0
[ +0.000013] process_one_work+0x21c/0x440
[ +0.000014] worker_thread+0x50/0x3f0
[ +0.000008] ? __pfx_worker_thread+0x10/0x10
[ +0.000008] kthread+0xeb/0x120
[ +0.000010] ? __pfx_kthread+0x10/0x10
[ +0.000010] ret_from_fork+0x29/0x50
[ +0.000011] &amp;lt;/TASK&amp;gt;
[ +0.000002] ================================================================================
[ +0.002068] usb 1-10: can't set config #1, error -32
[ +12.396430] audit: type=1400 audit(1697788916.352:133): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=3178 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0


[ +0.003931] hid-generic 0003:15A2:0071.0004: hiddev0,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank PELE] on usb-0000:00:14.0-10/input0
[ +1.435968] usb 1-10: USB disconnect, device number 5
[ +15.245998] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[ +0.148297] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000363] usb 1-10: Duplicate descriptor for config 1 interface 0 altsetting 0, skipping
[ +0.000486] usb 1-10: New USB device found, idVendor=1fc9, idProduct=0152, bcdDevice= 2.21
[ +0.000008] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000003] usb 1-10: Product: USB download gadget
[ +0.000003] usb 1-10: Manufacturer: FSL
[ +0.000002] usb 1-10: SerialNumber: bdf722c4bdf722c4
[ +23.833569] usb 1-10: USB disconnect, device number 6
[ +1.080403] usb 1-10: new full-speed USB device number 7 using xhci_hcd
[ +0.148603] usb 1-10: not running at top speed; connect to a high speed hub
[ +0.000729] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ +0.000013] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0
[ +0.001247] usb 1-10: New USB device found, idVendor=066f, idProduct=9bff, bcdDevice= 5.15
[ +0.000013] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000006] usb 1-10: Product: FSL i.MX Board
[ +0.000005] usb 1-10: SerialNumber: 0000000000000000
[ +0.000490] ================================================================================
[ +0.000010] UBSAN: shift-out-of-bounds in /build/linux-hwe-6.2-ZyAAgj/linux-hwe-6.2-6.2.0/include/linux/log2.h:67:13
[ +0.000009] shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'
[ +0.000007] CPU: 4 PID: 48771 Comm: kworker/4:2 Tainted: P OE 6.2.0-34-generic #34~22.04.1-Ubuntu
[ +0.000009] Hardware name: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.B0 08/10/2020
[ +0.000004] Workqueue: usb_hub_wq hub_event
[ +0.000013] Call Trace:
[ +0.000005] &amp;lt;TASK&amp;gt;
[ +0.000005] dump_stack_lvl+0x48/0x70
[ +0.000012] dump_stack+0x10/0x20
[ +0.000006] __ubsan_handle_shift_out_of_bounds+0x156/0x310
[ +0.000014] xhci_endpoint_init.cold+0x1e/0x34
[ +0.000012] xhci_add_endpoint.part.0+0x120/0x390
[ +0.000014] xhci_add_endpoint+0x41/0x80
[ +0.000009] usb_hcd_alloc_bandwidth+0x171/0x430
[ +0.000009] usb_set_configuration+0x10a/0xac0
[ +0.000007] ? kernfs_add_one+0xfc/0x140
[ +0.000009] ? kernfs_create_link+0x66/0xe0
[ +0.000010] usb_generic_driver_probe+0x6b/0xb0
[ +0.000011] usb_probe_device+0x38/0x130
[ +0.000007] really_probe+0x1ea/0x450
[ +0.000008] __driver_probe_device+0x8a/0x190
[ +0.000006] driver_probe_device+0x23/0xd0
[ +0.000006] __device_attach_driver+0xc5/0x160
[ +0.000007] ? __pfx___device_attach_driver+0x10/0x10
[ +0.000006] bus_for_each_drv+0x82/0xe0
[ +0.000010] __device_attach+0xc1/0x230
[ +0.000007] device_initial_probe+0x13/0x20
[ +0.000006] bus_probe_device+0x9b/0xb0
[ +0.000010] device_add+0x42a/0x700
[ +0.000009] usb_new_device+0x466/0x550
[ +0.000011] hub_port_connect+0x45b/0xbd0
[ +0.000008] hub_port_connect_change+0xa1/0x3c0
[ +0.000008] port_event+0x661/0x7f0
[ +0.000008] hub_event+0x157/0x450
[ +0.000006] ? psi_avgs_work+0x61/0xd0
[ +0.000013] process_one_work+0x21c/0x440
[ +0.000014] worker_thread+0x50/0x3f0
[ +0.000008] ? __pfx_worker_thread+0x10/0x10
[ +0.000008] kthread+0xeb/0x120
[ +0.000010] ? __pfx_kthread+0x10/0x10
[ +0.000010] ret_from_fork+0x29/0x50
[ +0.000011] &amp;lt;/TASK&amp;gt;
[ +0.000002] ================================================================================
[ +0.002068] usb 1-10: can't set config #1, error -32
[ +12.396430] audit: type=1400 audit(1697788916.352:133): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=3178 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Oct 2023 08:12:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1743518#M214485</guid>
      <dc:creator>andriibr</dc:creator>
      <dc:date>2023-10-20T08:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot flash the I.MX6 SoloX-based board on Linux. Error: [Failure to claim interface]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1759701#M215972</link>
      <description>&lt;P&gt;The issue ended up being related to the kernel image inside the initramfs used during flashing, not to the uuu tool itself. I tried kernels from different releases and managed to flash the board with an older one.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;uuu_imx6sx_com_4.14.78&lt;/STRONG&gt; release worked.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 08:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-flash-the-I-MX6-SoloX-based-board-on-Linux-Error-Failure/m-p/1759701#M215972</guid>
      <dc:creator>andriibr</dc:creator>
      <dc:date>2023-11-20T08:48:09Z</dc:date>
    </item>
  </channel>
</rss>

