MfgTool not works on 4.14.98-2.0.0 bsp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MfgTool not works on 4.14.98-2.0.0 bsp

915 Views
csoapy
Contributor III

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

pastedImage_2.png

pastedImage_3.png

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.

Labels (2)
Tags (2)
0 Kudos
Reply
1 Reply

649 Views
igorpadykov
NXP Employee
NXP Employee

Hi 计龙 杨

mfg tool is not supported in latest nxp bsps, as described in

Linux L4.14.98_2.0.0 Documentation

It is replaced by uuu tool

GitHub - NXPmicro/mfgtools: Freescale/NXP I.MX Chip image deploy tools. 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply