21ic电子技术开发论坛 已关闭版块 恩智浦MCU论坛 Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER烧录失败
发新帖我要提问
返回列表
打印
[i.MX]

Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER烧录失败

[复制链接]
1160|9
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
回到从前|  楼主 | 2015-11-24 15:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
i.MX6dl-SDP,用Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER烧写u-boot,uImage及rootfs到eMMC,用Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER文件夹自带的文件烧写成功,用LTIB编译出的u-boot,uImage及rootfs时烧录失败,ucl2.xml文件如下:
<LIST name="i.MX6DL-SABRESD-eMMC" desc="Choose eMMC Linux as media">
    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6dl-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="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16">clean up u-boot parameter</CMD>
        <CMD state="Updater" type="push" body="$ echo 0 > /sys/block/mmcblk0boot0/force_ro">access boot partition 1</CMD>
        <CMD state="Updater" type="push" body="send" file="files/u-boot-mx6dl-sabresd.bin">Sending U-Boot</CMD>
        <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0boot0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>
        <CMD state="Updater" type="push" body="$ echo 1 > /sys/block/mmcblk0boot0/force_ro"> re-enable read-only access</CMD>
        <CMD state="Updater" type="push" body="$ echo 8 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config">enable boot partion 1 to boot</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/mmcblk0 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/mmcblk0"> Partitioning...</CMD>

    <CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk0p1">Formatting rootfs partition</CMD>
    <CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk0p1"/>  
    <CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1"/>
    <CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk0p1" file="files/rootfs.tar.bz2">Sending and writting rootfs</CMD>
    <CMD state="Updater" type="push" body="frf">Finishing rootfs write</CMD>
    <CMD state="Updater" type="push" body="$ umount /mnt/mmcblk0p1">Unmounting rootfs partition</CMD>
    <CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
</LIST>
请帮忙分析,谢谢!

相关帖子

沙发
DreamofOven| | 2015-11-24 17:02 | 只看该作者
用的是什么编译器啊

使用特权

评论回复
板凳
春风的暖暖| | 2015-11-24 20:12 | 只看该作者
看不懂这个啊,帮你顶吧

使用特权

评论回复
地板
mini1986| | 2015-11-24 21:59 | 只看该作者
遇到这种问题的挺多,论坛里有人解决了,找找吧......

使用特权

评论回复
5
FSL_TICS_Rita| | 2015-11-25 11:23 | 只看该作者
楼主你好,我这边看了,你的ucl2.xml是没有问题的。请问你烧写的时候,是停在哪里的?能否把发烧写过程信息发给我看一下。我看是停在哪里的。帮你确认一下问题所在。

使用特权

评论回复
6
回到从前|  楼主 | 2015-11-26 14:49 | 只看该作者
FSL_TICS_Rita 发表于 2015-11-25 11:23
楼主你好,我这边看了,你的ucl2.xml是没有问题的。请问你烧写的时候,是停在哪里的?能否把发烧写过程信息 ...

你好,目前找到原因是我们自己制作的板子上的网络模块出现故障,导致无法继续烧写,硬件组正在查找硬件问题,我有问题再来请教,谢谢!

使用特权

评论回复
7
回到从前|  楼主 | 2015-11-26 14:50 | 只看该作者
mini1986 发表于 2015-11-24 21:59
遇到这种问题的挺多,论坛里有人解决了,找找吧......

谢谢,找到我们板子的硬件问题:)

使用特权

评论回复
8
FSL_TICS_Rita| | 2015-11-26 15:02 | 只看该作者
回到从前 发表于 2015-11-26 14:49
你好,目前找到原因是我们自己制作的板子上的网络模块出现故障,导致无法继续烧写,硬件组正在查找硬件问 ...

好的,不客气的。

使用特权

评论回复
9
FSL_TICS_Rita| | 2015-11-26 15:05 | 只看该作者
对了楼主再有问题的话,麻烦新建帖子提问哈,我们这里争取是一个问题一个解决方法,也方便大家以后查找。楼主如果这个问题解决了的话,麻烦结帖。多谢。

使用特权

评论回复
10
回到从前|  楼主 | 2015-11-26 15:15 | 只看该作者
FSL_TICS_Rita 发表于 2015-11-26 15:05
对了楼主再有问题的话,麻烦新建帖子提问哈,我们这里争取是一个问题一个解决方法,也方便大家以后查找。楼 ...

好的

使用特权

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

本版积分规则

1

主题

49

帖子

1

粉丝
关闭 热门推荐
快速回复 在线客服 返回列表 返回顶部