Hi Igor,
Let me explain.
There is an eMMC internally available inside the IMX8MQ EVK which I cannot access from my linux build host. I have a .sdcard image generated by the Yocto framework instead of .wic type of image.
From Section 4.3.2 of the Linux user guide, it says we can program sdcard image to /dev/sd<x>.
This is from linux.
I need this:
Booting from SD, stop at uboot, select eMMC device to be programmed with core-image-minimal-dev-imx8mqevk.sdcard complete image (or) just bootloader image imx-boot-imx8mqevk-sd.bin-flash_evk.
When I tried the following to overwrite eMMC contents with above images, I see no difference as eMMC boot still uses factory images only.
--------
u-boot=> ext4load mmc 1:3 ${loadaddr} imx-boot-imx8mqevk-sd.bin-flash_evk
1451736 bytes read in 67 ms (20.7 MiB/s)
u-boot=> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
u-boot=> mmc write ${loadaddr} 0x2 0x45F
MMC write: dev # 0, block # 2, count 1119 ... 1119 blocks written: OK
--------
Same applies for sdcard image written to mmc dev 0 offset 0x0.
If this is fixed, my issue would be resolved.