打印
[i.MX]

MFGTools V2 制作image 报错

[复制链接]
2977|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
平台: imx6q sabre sdp
工具:Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER
文件配置:
cfg.ini
~~~~~~~~~~~~~~~~~~~~~~~~~~~  
[profiles]
chip = MX6Q Linux Update

[platform]
board = SabreSD

[LIST]
name = ubuntu-SabreSD-SD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIcfg.ini,  ucl2.xml都是默认的配置

C:\Users\Administrator\Desktop\1.png
在烧些的时候出现如下错误:
"Push" error, file="C:\Users\Administrator\Desktop\Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\files\oneiric.tgz"

相关帖子

沙发
无泪无语2012|  楼主 | 2015-1-9 09:38 | 只看该作者
求帮助啊......

使用特权

评论回复
板凳
FSL_TICS_Rita| | 2015-1-9 17:58 | 只看该作者
无泪无语2012 发表于 2015-1-9 09:38
求帮助啊......

楼主你好,你把你的ucl2.xml文件发给我看一下。

使用特权

评论回复
地板
无泪无语2012|  楼主 | 2015-1-9 18:32 | 只看该作者
FSL_TICS_Rita 发表于 2015-1-9 17:58
楼主你好,你把你的ucl2.xml文件发给我看一下。

<!--
* Copyright (C) 2012, Freescale Semiconductor, Inc. All Rights Reserved.
* The CFG element contains a list of recognized usb devices.
*  DEV elements provide a name, class, vid and pid for each device.
*
* Each LIST element contains a list of update instructions.
*  "Install" - Erase media and install firmware.
*  "Update" - Update firmware only.
*
* Each CMD element contains one update instruction of attribute type.
*  "pull" - Does UtpRead(body, file) transaction.
*  "push" - Does UtpWrite(body, file) transaction.
*  "drop" - Does UtpCommand(body) then waits for device to disconnect.
*  "boot" - Finds configured device, forces it to "body" device and downloads "file".
*  "find" - Waits for "timeout" seconds for the "body" device to connect.
*  "show" - Parse and show device info in "file".  
-->


<UCL>
  <CFG>
    <STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/>
        <STATE name="Updater"   dev="MSC" vid="066F" pid="37FF"/>
  </CFG>
<!--
    The below commands will trigger reboot
    <CMD type="push" body="!3">Done</CMD>
-->

  <LIST name="ubuntu-SabreSD-SD" desc="Choose eMMC android as media">
    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabresd.bin" >Loading U-boot</CMD>
    <CMD state="BootStrap" type="load" file="uImage" address="0x10800000"
        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>
    <CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"
        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Initramfs.</CMD>
    <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>
       
        <CMD state="Updater" type="push" body="$ ls /dev/*"/>
        <CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk1 bs=512 seek=1536 count=16">clean up u-boot parameter</CMD>
        <CMD state="Updater" type="push" body="send" file="files/u-boot-mx6q-sabresd.bin">Sending U-Boot</CMD>
        <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk1 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>
        <CMD state="Updater" type="push" body="send" file="files/uImage">Sending kernel uImage</CMD>
    <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk1 bs=1M seek=1 conv=fsync">write kernel image to sd card</CMD>
       
    <CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>
        <CMD state="Updater" type="push" body="$ tar xf $FILE "> Partitioning...</CMD>
        <CMD state="Updater" type="push" body="$ sh mksdcard.sh /dev/mmcblk1"> Partitioning...</CMD>

    <CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk1p1">Formatting rootfs partition</CMD>
    <CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk1p1"/>
    <CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk1p1 /mnt/mmcblk1p1"/>
    <CMD state="Updater" type="push" body="pipe tar --numeric-owner -zxv -C /mnt/mmcblk1p1" file="files/oneiric.tgz">Sending and writting rootfs</CMD>
    <CMD state="Updater" type="push" body="frf">Finishing rootfs write</CMD>
    <CMD state="Updater" type="push" body="$ umount /mnt/mmcblk1p1">Unmounting rootfs partition</CMD>
    <CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
</LIST>


<!--
    The below commands will trigger reboot
    <CMD type="push" body="!3">Done</CMD>
-->
</UCL>

使用特权

评论回复
5
FSL_TICS_Rita| | 2015-1-12 15:51 | 只看该作者
楼主你好,我看了,你的uxl2.xml文件是没有问题的,请问你现在可以正常烧写了吗?

使用特权

评论回复
6
无泪无语2012|  楼主 | 2015-2-3 09:22 | 只看该作者
依然不行,我现在采用的是其他的方式在解决我自己的问题

使用特权

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

本版积分规则

2

主题

14

帖子

0

粉丝