查看: 442|回复: 0

[求助] 使用mfgtool下载自己制作的im6ull核心的板子,下载一直失败

[复制链接]
  • TA的每日心情

    2024-11-11 10:48
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    0

    主题

    1

    帖子

    0

    新手上路

    Rank: 1

    积分
    7
    最后登录
    2024-11-12
    发表于 2024-11-11 10:47:37 | 显示全部楼层 |阅读模式
    本帖最后由 eefocus_4064891 于 2024-11-11 10:53 编辑

    失败关键错误  ExecuteCommand--Push[WndIndex:0], Body is $ mount -t debugfs debugfs /sys/kernel/debug

    mfgtool 的log日志

    DLL version: 2.7.0
    Monday, November 11, 2024 10:30:38   Start new logging
    ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
    ModuleID[2] LevelID[1]: new MxHidDeviceClass
    ModuleID[2] LevelID[10]: new MxHidDevice[012CFA80]
    ModuleID[2] LevelID[1]: new MxHidDeviceClass
    ModuleID[2] LevelID[10]: new MxHidDevice[012DB450]
    ModuleID[2] LevelID[10]: Device Manager thread is running
    ModuleID[2] LevelID[1]: Can't set m_hStopEvent before it initialized or it already stop

    ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
    ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is D:\LW\ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\LW\ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
    ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\LW\ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
    ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\LW\ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
    ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]
    ModuleID[2] LevelID[10]: *********MxHidDevice[012DB450] Jump to Ramkernel successfully!**********
    ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&ID_0080#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - end
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&ID_0080#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
    ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&ID_0080\5&13DE0221&0&1, _deviceInstanceID: USB\VID_15A2&ID_0080\5&13DE0221&0&1
    ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT,[MxHidDeviceClass] vid_15a2&pid_0080, Hub:1-Port:1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Remove
    ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceRemoveEvent.
    ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device remove1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
    ModuleID[2] LevelID[10]: delete MxHidDevice[012DB450]
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&ID_37FF#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - end
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&ID_37FF#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT,[Msc,DiskDeviceClass] vid_066f&pid_37ff, not handled
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - VOLUME_ARRIVAL_EVT(E)
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - end
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT(E)
    ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice()  E
    ModuleID[2] LevelID[10]: DeviceTypeDisk--_devices size: 1
    ModuleID[2] LevelID[10]: Volume--StorageDisk, Disk->_driveNumber:1, Volume->_diskNumber:1
    ModuleID[2] LevelID[10]: DeviceTypeDisk--find Disk device: 012DB548
    ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 1
    ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice() successful E add to current list, retrycount: 0
    ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(E), Hub:1-Port:1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT, Notify
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Arrive
    ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceArriveEvent.
    ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device arrive1
    ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 1
    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mount -t debugfs debugfs /sys/kernel/debug
    ModuleID[2] LevelID[1]: PortMgrDlg(0)--MSCDevice--Command Push(no file) excute failed
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_066F&ID_37FF#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - end
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - VOLUME_REMOVAL_EVT(E)
    ModuleID[2] LevelID[10]: DeviceManager:evChangeWnd::OnDeviceChange() - end
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_066F&ID_37FF#5&13de0221&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT,[Msc,DiskDeviceClass] vid_066f&pid_37ff, not handled
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_REMOVAL_EVT(E)
    ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 1
    ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_REMOVAL_EVT-Disk(E), Hub:1-Port:1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_REMOVAL_EVT, Notify
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Remove
    ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceRemoveEvent.
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-VOLUME_REMOVAL_EVT, wait hDevCanDeleteEvent
    ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device remove1
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-VOLUME_REMOVAL_EVT, hDevCanDeleteEvent has been set
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-VOLUME_REMOVAL_EVT, delete Disk:012DB548, Volume:0134D7E0
    ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed
    ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed
    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL
    ModuleID[2] LevelID[10]: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread
    ModuleID[2] LevelID[10]: Exception Handler thread is closed
    ModuleID[2] LevelID[1]: delete MxHidDeviceClass
    ModuleID[2] LevelID[10]: Device Manager thread is closed



    串口的打印

    Boot start work

    Boot start read sysconfig

    Boot read sysconfig end
    Boot load to code


    U-Boot 2016.03 (Mar 02 2020 - 11:14:16 +0800)

    CPU:   Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
    CPU:   Industrial temperature grade (-40C to 105C)
    at 35C
    Reset cause: POR
    Board: MX6ULL 14x14 EVK
    I2C:   ready
    DRAM:  256 MiB

    NAND:
    512 MiB
    MMC:
    F: 0

    *** Warning - bad CRC, using default environment


    Display: ATK-LCD-4.3-480x272 (480x272)
    Video:
    42x24

    In:    serial
    Out:   serial
    Err:   serial

    NBoard Net Initialization Failed
    No ethernet found.
    Boot from USB for mfgtools
    Use default environment for                              mfgtools

    Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
    Hit any key to stop autoboot:  0

    K## Loading init Ramdisk from Legacy Image at 83800000 ...
       Image Name:   fsl-image-mfgtool-initramfs-imx6
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    8591032 Bytes = 8.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ...
    OK
    ## Flattened Device Tree blob at 83000000
       Booting using the fdt blob at 0x83000000


    Starting kernel ...


    Booting Linux on physical CPU 0x0
    Linux version 4.1.15+ (alientek@ubuntu) (gcc version 5.3.0 (GCC) ) #9 SMP PREEMPT Wed Jun 15 18:10:13 CST 2022

    Cle i.MX6 ULL 14x14 EVK Board
    Reserved memory: created CMA memory pool at 0x88000000, size 128 MiB
    Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
    Memory policy: Data cache writealloc
    PERCPU: Embedded 12 pages/cpu @87d90000 s16716 r8192 d24244 u49152
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber= mtdparts=gpmi-nand:4m(u-boot),128k(env),1m(logo),1m(dtb),8m(kernel),-(rootfs) clk_ignore_unused
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 109420K/262144K available (6907K kernel code, 322K rwdata, 2360K rodata, 480K init, 424K bss, 21652K reserved, 131072K cma-reserved, 0K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0x90800000 - 0xff000000   (1768 MB)
        lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
        pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
        modules : 0x7f000000 - 0x7fe00000   (  14 MB)
          .text : 0x80008000 - 0x80915038   (9269 kB)
          .init : 0x80916000 - 0x8098e000   ( 480 kB)
          .data : 0x8098e000 - 0x809de840   ( 323 kB)
           .bss : 0x809e1000 - 0x80a4b154   ( 425 kB)

    Spoint: maximum watchpoint size is 8 bytes.
    imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
    imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
    mxs-dma 1804000.dma-apbh: initialized
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c i2c-0: IMX I2C adapter registered
    i2c i2c-0: can't use DMA
    i2c i2c-1: IMX I2C adapter registered

    i048)
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 8392K (83800000 - 84032000)
    imx rpmsg driver is registered.
    Bus freq driver module loaded
    futex hash table entries: 256 (order: 2, 16384 bytes)
    VFS: Disk quotas dquot_6.6.0
    VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.23)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    imx-weim 21b8000.weim: Driver registered.
    backlight supply power not found, using dummy regulator
    21c8000.lcdif supply lcd not found, using dummy regulator
    mxsfb 21c8000.lcdif: failed to find mxc display driver
    Console: switching to colour frame buffer device 60x34
    mxsfb 21c8000.lcdif: initialized
    imx-sdma 20ec000.sdma: no event needs to be remapped
    imx-sdma 20ec000.sdma: loaded firmware 3.3
    imx-sdma 20ec000.sdma: initialized
    2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX

    cx000000420000-0x000000520000 : "logo"

    00x000000620000 : "dtb"

    0x000000620000-0x000000e20000 : "kernel"

    0x000020000000 : "rootfs"

    gpmi-nand 1806000.gpmi-nand: driver registered.

    scspi: probed

    20b4000.ethernet supply phy not found, using dummy regulator

    pps pps0: new PPS source ptp0

    ft (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00

    fb3:3b:b1:3e:6b

    lfec_enet_mii_bus: probed

    fec 20b4000.ethernet eth0: registered PHC device 0

    2d, using dummy regulator

    pps pps1: new PPS source ptp1

    fnet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00

    f96:62:7e:68

    fec 2188000.ethernet eth1: registered PHC device 1

    entroller (EHCI) Driver
    ehci-mxc: Freescale On-Chip EHCI Host driver

    u2184800.usbmisc supply vbus-wakeup not found, using dummy regulator

    2r

    2184200.usb supply vbus not found, using dummy regulator

    c EHCI Host Controller

    c bus registered, assigned bus number 1

    ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

    h

    h 1-0:1.0: 1 port detected

    Mass Storage Function, version: 2009/09/11
    LUN: removable file: (no medium)

    Lg_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11

    guse device common for all mice

    i00.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0

    ss-r as rtc0

    itries driver

    IR NEC protocol handler initialized
    IR RC5(x/sz) protocol handler initialized

    Icol handler initialized

    Itialized
    IR Sharp protocol handler initialized
    IR MCE Keyboard/mouse protocol handler initialized

    Iized

    imx2-wdt 20bc000.wdog: use WDOG_B to reboot.

    inowayout=0)

    s Secure Digital Host Controller Interface driver

    satform and OF driver helper

    /c/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified

    sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found

    mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

    uew interface driver usbhid
    usbhid: USB HID core driver

    NET: Registered protocol family 10

    sv6 over IPv4 tunneling driver

    Nered protocol family 17

    Kistered

    g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage

    Rinput: gpio_keys@0 as /devices/platform/gpio_keys@0/input/input1

    s 1970-01-01 00:00:00 UTC (0)

    VSD_3V3: disabling
    can-3v3: disabling
    clk: Not disabling unused clocks

    Ay: 480K (80916000 - 8098e000)

    Starting UTP

    uuc 0.5 [built Sep 16 2016 02:36:28]
    UTP: Waiting for device to appear
    UTP: file/device node /dev/utp already exists
    cpu_id is 0
    UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'
    UTP: executing "mount






    我知道答案 目前已有0人回答
    救救我
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-23 05:03 , Processed in 0.084750 second(s), 22 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表