AnsweredAssumed Answered

MfgTool not works on 4.14.98-2.0.0 bsp

Question asked by 计龙 杨 on Jul 21, 2019
Latest reply on Jul 21, 2019 by igorpadykov

We've migrated our bsp from 4.1.15-2.0.0 to 4.14.98-2.0.0 on one of our imx6d board.

Everything works but MfgTool.

I noticed that FSL_UTP's dependence have been moved from USB_MASS_STORAGE to USB_CONFIGFS_MASS_STORAGE

So I use a modified linuxrc script in imx-uuc to mount usb storage:

 


function launch_uuc() {
    echo $1 $2
    mkdir /sys/kernel/config/usb_gadget/$1
    cd /sys/kernel/config/usb_gadget/$1

    echo 0x066F > idVendor
    echo 0x37FF > idProduct

    mkdir strings/0x409
    echo 0000000000000000 > strings/0x409/serialnumber
    echo "FSL i.MX Board" > strings/0x409/product
    
    mkdir configs/c.1
    echo 5 > configs/c.1/MaxPower

    mkdir functions/mass_storage.1
    echo 0 > functions/mass_storage.1/stall
    # echo "" > functions/mass_storage.1/iSerialNumber
    echo /fat > functions/mass_storage.1/lun.0/file
    echo 1 > functions/mass_storage.1/lun.0/removable
    ln -s functions/mass_storage.1 configs/c.1/

    echo $1 > UDC

    if [ $2 == "0" ]; then
        echo uuc /dev/utp
        uuc /dev/utp
    else
        echo uuc /dev/utp$2
        uuc /dev/utp$2
    fi
    return 0;
}

Seems work, But when I click start button on MfgTool, this error happened

 

I also want to use uuu, but seems fastboot not fully supported in uboot-imx 2018.03 & 2019.04 without emmc/sdcard, only nand on our board.

Outcomes