I was able to flash the imx8mq uboot binary with uuu but I need to know the equivalent dd command to flash uboot binary to emmc.
I successfully flashed uboot environment on emmc with the following command
dd if=u-boot.env of=/dev/mmcblk0 bs=1k seek=4096 conv=fsync (the offset is same as sd-card)
but couldn't flash uboot binary with following dd commands (using same offset as for sd-card)
dd if=imx-boot-imx8mqevk-mel-emmc.bin of=/dev/mmcblk0 bs=1k seek=33 conv=fsync
dd if=imx-boot-imx8mqevk-mel-emmc.bin of=/dev/mmcblk0 bs=512 seek=66 conv=fsync
Though I was able to flash the same binary with uuu.
Is there a different offset for emmc ?