I'm in an environment where I can't use MFGTOOL right now, so I'm trying to boot Android with an SD card and write Android images from Android to eMMC. So I'm trying to import a Linux shell script into Android and run it. I couldn't use the sfdisk, so I tried to use parted, but I couldn't find the parted command, so I asked a question.
I wonder how I can use the parted command. Or is there a way to write Android images to eMMC because MFGTOOL is not available?
You better to build the Linux BSP with "bitbake core-image-full-cmdline ". For details about howto build the Linux BSP, please refer to the Yocto Guide. (i.MX Yocto Project User’s Guide)
Then, boot Linux with the SD card and then you could write the Android images to EMMC by linux commands.