打印
[i.MX]

Mfgtool烧写问题

[复制链接]
1644|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
isrobert|  楼主 | 2016-7-28 17:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
芯片是MCIMX6Q6AVT10AC
之前用给的Mfgtools-Rel-12.04.01_ER_MX6Q_UPDATER烧写uboot.bin和uImage等没问题。

现在用yocto编译了imx6Q sabresd。输出是uboot.imx和zImage。老的烧写工具不能用了,随即下载了新版的Mfgtool,烧写时卡在Jumping to OS image.了。等了一段时间又回到了Loading U-boot。。。

下面是log信息。
DLL version: 2.6.2
Thursday, July 28, 2016 15:31:21   Start new logging
ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[0076F570]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[0076F170]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[0076FCE8]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[03142850]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[03146410]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[0314B928]
ModuleID[2] LevelID[1]: *** Error: 1, Drive: A:

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 C:\works\tmp\mfgtools\Profiles\Linux\OS Firmware\files\yocto_wayland\firmware\u-boot-imx6qsabresd_sd.imx
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is C:\works\tmp\mfgtools\Profiles\Linux\OS Firmware\files\yocto_wayland\firmware\zImage, address is 0x12000000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is C:\works\tmp\mfgtools\Profiles\Linux\OS Firmware\files\yocto_wayland\firmware\fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot, address is 0x12C00000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is C:\works\tmp\mfgtools\Profiles\Linux\OS Firmware\files\yocto_wayland\firmware\zImage-imx6q-sabresd.dtb, address is 0x18000000
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[0314B928] 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)

由于还没执行到烧写,所以串口没输出。

下面是ucl2.xml片段
  <LIST name="SDCard" desc="Choose SD Card as media">
        <CMD state="BootStrap" type="boot" body="BootStrap" file ="files/yocto_wayland/firmware/u-boot-imx6q%plus%%board%_sd.imx" ifdev="MX6Q">Loading U-boot</CMD>
               
        <CMD state="BootStrap" type="load" file="files/yocto_wayland/firmware/zImage" address="0x12000000"
                loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q MX6D">Loading Kernel.</CMD>

        <CMD state="BootStrap" type="load" file="files/yocto_wayland/firmware/%initramfs%" address="0x12C00000"
                loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q MX6D">Loading Initramfs.</CMD>

        <CMD state="BootStrap" type="load" file="files/yocto_wayland/firmware/zImage-imx6q%plus%-%board%%ldo%.dtb" address="0x18000000"
                loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q">Loading device tree.</CMD>

        <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD> <--到这里就停了

固件用的是我重新编译的,及时用自带的固件,效果也一样。
求解。。

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

5

帖子

0

粉丝