I.mx6q MfgTool2 Ucl2.xml EMMC

Source: Internet
Author: User

/**************************************************************************** * I.MX6Q MfgTool2 Ucl2. XML EMMC * Description: * Record modification MfgTool2 to complete the i.mx6q chip burning. * 2016-7-9 Shenzhen Nanshan Ping Shan village Zengjianfeng ******************************************************* ********************/<list name="ANDROID-MYZR-SPI_NOR-SD"Desc="Choose Spi-nor and SD Rootfs as media"> <cmd state="BootStrap"Type="Boot"body="BootStrap"File ="Myzr_u-boot.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> <!-- Please use"CAT/PROC/MTD"To check the right partitions forNAND, mtd0 and MTD1 are forSpi-nor; MTD2-MTD6 is forNAND--><!--<cmd state="Updater"Type="Push"body="Mknod class/mtd,mtd0,/dev/mtd0"/> <cmd state="Updater"Type="Push"body="Mknod Block,mtdblock0,/dev/mtdblock0,block"/>-<!--<cmd state="Updater"Type="Push"body="$ flash_erase/dev/mtd0 0 0">erasing Boot partition</cmd> <cmd state="Updater"Type="Push"body="Send"file="Files/android/u-boot.bin">sending u-boot</cmd> <cmd state="Updater"Type="Push"body="$ dd if= $FILE of=/dev/mtd0 bs=512">write u-boot to spi-nor</cmd>-<cmd state="Updater"Type="Push"body="Send"file="Mksdcard-android.sh.tar">sending partition shell</cmd> <cmd state="Updater"Type="Push"body="$ tar XF $FILE"> partitioning...</cmd> <cmd state="Updater"Type="Push"body="$ ls-l/dev/mmc*">formatting SD partition</cmd> <cmd state="Updater"Type="Push"body="$ sh mksdcard-android.sh/dev/mmcblk0"> partitioning...</cmd> <cmd state="Updater"Type="Push"body="$ ls-l/dev/mmc*">formatting SD partition</cmd> <!--burn the Uboot:--<cmd state="Updater"Type="Push"body="Send"file="Files/android/u-boot.bin">sending u-boot</cmd> <cmd state="Updater"Type="Push"body="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=2 count=2000">clean u-bootenvironment</cmd> <cmd state="Updater"Type="Push"body="$ dd if= $FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2">write U-boot to sdcard</cmd> <!--burn the Uimage:--<cmd state="Updater"Type="Push"body="Send"file="files/android/boot.img">sending kernel uimage</cmd> <cmd state="Updater"Type="Push"body="$ dd if= $FILE of=/dev/mmcblk0p1">write boot.img</cmd> <cmd state="Updater"Type="Push"body="FRF">flush the memory.</cmd> <cmd state="Updater"Type="Push"body="$ mkfs.ext4-l DATA/DEV/MMCBLK0P4">formatting SD partition</cmd> <cmd state="Updater"Type="Push"body="$ mkfs.ext4-l SYSTEM/DEV/MMCBLK0P5">formatting system partition</cmd> <cmd state="Updater"Type="Push"body="$ mkfs.ext4-l cache-o^extent/dev/mmcblk0p6">formatting Cache partition</cmd> <cmd state="Updater"Type="Push"body="$ mkfs.ext4-l VENDER/DEV/MMCBLK0P7">formatting Data partition</cmd> <cmd state="Updater"Type="Push"body="FRF">flush the memory.</cmd> <cmd state="Updater"Type="Push"body="$ MKFS.EXT4/DEV/MMCBLK0P8">formatting Misc partition</cmd> <cmd state="Updater"Type="Push"body="pipe DD of=/dev/mmcblk0p5 bs=512"file="files/android/system.img">sending and writting system.img</cmd> <cmd state="Updater"Type="Push"body="FRF">flush the memory.</cmd> <!--Write userdata.img isOptional forSome customer This  isneeded, but it's optional.<!--Also, Userdata.img would have the Android unit test, you can use ThisTo DoSome auto test. --><!--<cmd state="Updater"Type="Push"Onerror="Ignore"body="pipe DD OF=/DEV/MMCBLK1P7"file="file/android/userdate.img"> Sending userdata.img (optional) </CMD> <cmd state="Updater"Type="Push"body="FRF">flush the Memory.</cmd>--and <cmd state="Updater"Type="Push"body="pipe DD of=/dev/mmcblk0p2 bs=512"file="files/android/recovery.img">sending and writting recovery.img</cmd> <cmd state="Updater"Type="Push"body="FRF">finishing rootfs write</cmd> <cmd state="Updater"Type="Push"body="$ echo Update complete!">Done</CMD> </LIST>

I.mx6q MfgTool2 Ucl2.xml EMMC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.