AnsweredAssumed Answered

About using mfgtool to pipe dd image to emmc

Question asked by Mingyang Liu on Oct 22, 2018
Latest reply on Oct 29, 2018 by Mingyang Liu

My board is design without SD card. It uses mfgtool to burn image to emmc. And now i'm working on ubuntu core. The image of ubuntu core cannnot separate into pieces.And it's larger than the memory.So i use pipe command to burn my image.

But it echo error while bruning image showed below:

utp_poll: pass returned.
UTP: received command 'pipe ddof=/dev/mmcblk1'
pid is 105, UTP: executing "ddof=/dev/mmcblk1"
UTP: sending Success to kernel for command pipe ddof=/dev/mmcblk1.
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008d00

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00

And my ucl2.xml is:

<CMD state="Updater" type="push" body="pipe ddof=/dev/mmcblk1" file="files/test.img" ifdev="MX6ULL">Sending u-boot.bin</CMD>
<CMD state="Updater" type="push" body="pipe ddof=/dev/mmcblk1" file="files/test.img" ifdev="MX6ULL">Sending u-boot.bin</CMD>
<CMD state="Updater" type="push" body="$ mmc bootpart enable 7 1 /dev/mmcblk%mmc%">enable boot partion 1 to boot</CMD>
<CMD state="Updater" type="push" body="frf">Finish Flashing NAND</CMD>

Outcomes