MFGTOOL download stop at ''Loading u-boot''
根据飞凌的IMX6Q的开发板原理图设计的产品,焊接200套,有20套用 MFGtool工具下不下程序去。停在Loading u-boot处,串口无打印,MFGtool 有日志文件(异常板子):DLL version: 2.6.2Monday, September 07, 2020 10:20:26 Start new logging
ModuleID LevelID: CMyExceptionHandler thread is running
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: Device Manager thread is running
ModuleID LevelID: Can't set m_hStopEvent before it initialized or it already stop
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--index: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--devPath: \\?\hid#vid_15a2&pid_0054#8&23eebd27&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
ModuleID LevelID: new MxHidDevice
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, devInstPathToFind: USB\VID_15A2&PID_0054\7&14CA011B&0&4, _deviceInstanceID: USB\VID_15A2&PID_0054\7&14CA011B&0&4
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, Find the device, Port: 4
ModuleID LevelID: DeviceClass::AddUsbDevice() successful USB#VID_15A2&PID_0054#7&14CA011B&0&4#{A5DCBF10-6530-11D2-901F-00C04FB951ED} add to current list, retrycount: 0
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_15a2&pid_0054, Hub:3-Port:4
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: ExecuteCommand--Boot, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\u-boot-imx6qsabresd_sd.imx
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\zImage, address is 0x12000000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot, address is 0x12C00000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\zImage-imx6q-sabresd.dtb, address is 0x18000000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Jump
ModuleID LevelID: *********MxHidDevice Jump to Ramkernel successfully!**********
ModuleID LevelID: CmdOperation, current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: ExecuteCommand--Boot, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\u-boot-imx6qsabresd_sd.imx
正常的log为:
DLL version: 2.6.2
Wednesday, September 09, 2020 16:21:25 Start new logging
ModuleID LevelID: CMyExceptionHandler thread is running
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: Device Manager thread is running
ModuleID LevelID: Can't set m_hStopEvent before it initialized or it already stop
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--index: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--devPath: \\?\hid#vid_15a2&pid_0054#8&23eebd27&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
ModuleID LevelID: new MxHidDevice
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, devInstPathToFind: USB\VID_15A2&PID_0054\7&14CA011B&0&4, _deviceInstanceID: USB\VID_15A2&PID_0054\7&14CA011B&0&4
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, Find the device, Port: 4
ModuleID LevelID: DeviceClass::AddUsbDevice() successful USB#VID_15A2&PID_0054#7&14CA011B&0&4#{A5DCBF10-6530-11D2-901F-00C04FB951ED} add to current list, retrycount: 0
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_15a2&pid_0054, Hub:3-Port:4
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: ExecuteCommand--Boot, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\u-boot-imx6qsabresd_sd.imx
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\zImage, address is 0x12000000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot, address is 0x12C00000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\HS\200\DS-D200M_1.4.15\DS-D200M_20200723\Profiles\linux\OS Firmware\firmware\zImage-imx6q-sabresd.dtb, address is 0x18000000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Jump
ModuleID LevelID: *********MxHidDevice Jump to Ramkernel successfully!**********
ModuleID LevelID: CmdOperation, current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_0054#7&14ca011b&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&PID_0054\7&14CA011B&0&4, _deviceInstanceID: USB\VID_15A2&PID_0054\7&14CA011B&0&4
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, vid_15a2&pid_0054, Hub:3-Port:4
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Remove
ModuleID LevelID: CmdOpreation--set m_hDeviceRemoveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device remove1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
ModuleID LevelID: delete MxHidDevice
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#0000000000000000#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#0000000000000000#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_066f&pid_37ff, not handled
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - VOLUME_ARRIVAL_EVT(H)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT(H)
ModuleID LevelID: VolumeDeviceClass::AddUsbDevice()H
ModuleID LevelID: DeviceTypeDisk--_devices size: 1
ModuleID LevelID: Volume--StorageDisk, Disk->_driveNumber:2, Volume->_diskNumber:2
ModuleID LevelID: DeviceTypeDisk--find Disk device: 042FDA88
ModuleID LevelID: Device::hubIndex::getmsc, return the port index is: 4
ModuleID LevelID: VolumeDeviceClass::AddUsbDevice() successful H add to current list, retrycount: 0
ModuleID LevelID: Device::hubIndex::getmsc, return the port index is: 4
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(H), Hub:3-Port:4
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 1
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ dd if=$FILE of=/dev/mmcblk3 bs=1k seek=768
ModuleID LevelID: ExecuteCommand--Push, Body is $ sync
ModuleID LevelID: ExecuteCommand--Push, Body is $ echo 0 > /sys/block/mmcblk3boot0/force_ro
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ dd if=$FILE of=/dev/mmcblk3boot0 bs=1K seek=1
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ dd if=$FILE of=/dev/mmcblk3boot0 bs=1K seek=69
ModuleID LevelID: ExecuteCommand--Push, Body is $ echo 1 > /sys/block/mmcblk3boot0/force_ro
ModuleID LevelID: ExecuteCommand--Push, Body is $ mmc bootpart enable 1 1 /dev/mmcblk3
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ tar -O -xf $FILE | sh -s /dev/mmcblk3
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ dd if=$FILE of=/dev/mmcblk3 seek=440 bs=1 count=4
ModuleID LevelID: ExecuteCommand--Push, Body is $ blockdev --rereadpt /dev/mmcblk3
ModuleID LevelID: ExecuteCommand--Push, Body is $ mke2fs -t ext4 -F /dev/mmcblk3p1
ModuleID LevelID: ExecuteCommand--Push, Body is $ mount /dev/mmcblk3p1 /mnt
ModuleID LevelID: ExecuteCommand--Push, Body is pipe tar -xz -C /mnt
ModuleID LevelID: ExecuteCommand--Push, Body is frf
ModuleID LevelID: ExecuteCommand--Push, Body is $ umount /dev/mmcblk3p1
ModuleID LevelID: ExecuteCommand--Push, Body is $ mke2fs -t ext4 -F /dev/mmcblk3p2
ModuleID LevelID: ExecuteCommand--Push, Body is $ mount /dev/mmcblk3p2 /mnt
ModuleID LevelID: ExecuteCommand--Push, Body is pipe tar -xz -C /mnt
ModuleID LevelID: ExecuteCommand--Push, Body is frf
ModuleID LevelID: ExecuteCommand--Push, Body is $ umount /dev/mmcblk3p2
ModuleID LevelID: ExecuteCommand--Push, Body is $ mke2fs -t ext4 -F /dev/mmcblk3p3
ModuleID LevelID: ExecuteCommand--Push, Body is $
ModuleID LevelID: CmdOperation, current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CCmdOpreation thread is Closed
ModuleID LevelID: CCmdOpreation thread is Closed
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL
ModuleID LevelID: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread
ModuleID LevelID: Exception Handler thread is closed
ModuleID LevelID: delete MxHidDeviceClass
ModuleID LevelID: Device Manager thread is closed
板上主芯片如下
CPU: Freescale i.MX6D rev1.5 996 MHz (running at 792 MHz)
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
DRAM:1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
红色是我觉的异常的地方,怎么导致的不清楚,请教下各位高手,有知道原因的不,怎么解决?
谢谢。
请发串口打印信息,不要烧写工具的日志打印信息。 wjy 发表于 2020-9-10 08:54
请发串口打印信息,不要烧写工具的日志打印信息。
异常的 板子 烧录还没到串口有 打印信息的位置,所以串口尚无无打印信息。 根据现实,
<LIST name="eMMC" desc="Choose eMMC as media">
<!-- bootstrap -->
<CMD state="BootStrap" type="boot" body="BootStrap" ifdev="MX6D MX6Q" file ="firmware/u-boot-imx6qsabresd_sd.imx">Loading U-boot11.</CMD>
<CMD state="BootStrap" type="load" file="firmware/zImage" address="0x12000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D MX6Q">Loading Kernel2.</CMD>
<CMD state="BootStrap" type="load" file="firmware/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot" address="0x12C00000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q MX6D">Loading Initramfs3.</CMD>
<CMD state="BootStrap" type="load" file="firmware/zImage-imx6q-sabresd.dtb" address="0x18000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D MX6Q">Loading device tree4.</CMD>
<CMD state="BootStrap" type="jump">BootstrapingZ.</CMD>
它是 在这个区域执行了后有重新执行的 Loading U-boot11 换台电脑试试吧,之前我的电脑也这样,重做系统后没事了 zhichao 发表于 2020-9-10 14:35
换台电脑试试吧,之前我的电脑也这样,重做系统后没事了
这个是产线没烧下去的,用我的电脑也没烧下去,正常的能烧,不正常的不能烧,都是在我电脑上,应该不是电脑的问题。 发现 问题点在这
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#0000000000000000#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_066f&pid_37ff, not handled
正确的 是 Msc ,错误的是6D 的 PID typedef enum _Device_State
{
MX_BOOTSTRAP = 0,
MX_UPDATER,
MX_DISCONNECTED = 10,
} MX_DEVICE_STATE;
state 0说明处于bootstrap阶段,state 1说明进入了update阶段
上面的依然只是现象,不知问题最终如何解决的?是ddr的问题吗?
页:
[1]