I have a SOM board which is MSC SM2S-IMX8PLUS .
I tried to mount eMMC as a disk to write the new image with the command "ums 0 mmc 2", first the mount was sucessful and the disk was showed in the windows, then I write the image to the disk, but the power was shutdown unexpectedly when it's writing. After I reboot the instrument and went to the uboot console again, the command "ums 0 mmc 2" will get the result of "Couldn't find partition mmc 2".

My understanding is the eMMC partition has been broken when image writing, but I don't know how to resolve this issue, could give me help to fix this issue? Thanks.