Hi @krishnad,
Thanks for reaching out to us.
1. Can we use JTAG to write the eMMC image (a .wic image with memory partitions - u-boot, kernel, RFS etc) file to eMMC device during production? I understand UUU is the utility to write the images to bootable memory devices but we will not have USB interface so UUU is out of scope. Also we dont mind long wait times to write into eMMC using JTAG during production.
[A]: No, you can't use JTAG to write to eMMC. Flashing eMMC is a very complicated operation and the JTAG command is not enough.
2. I understand to achieve the above, the eMMC driver must be present on processor memory. I guess this is a common scenario, is it any different in this processor?? Where can I find this eMMC driver?
[A]: For the eMMC driver you need to contact to chip vendor.
3. How and at what stage can we program eFuse bits to enable/disable secure boot and JTAG etc?
[A]: You can program eFuse by JTAG. It is in the mass production stage after you fully test the HW/SW and want to secure your system. You can read the security user guide to flash the eFuse.
4. Is Lauterbach Trace32 the only JTAG debugger device that could be used with iMX8MP processor
[A]: There are many available JTAG debuggers like OpenOCD etc.
Also, The official flashing tool is UUU, which depends on USB. If you can't, you can use the dd command to flash your total system on the SD card and boot your system in SD card boot mode. Then you can program the eMMC in your uboot or Linux System.