Hi,
We have an IMX8MPlus custom board unable to boot after u-boot. Below is the SD image generated in our build with a size of 260 MB.
imx8mplus-image-auaq0010-mna00012-7in-usd.wic.zst
After this, I flashed this image to a 32GB Sandisk SD card using the below command
zstdcat imx8mplus-image-auaq0010-mna00012-7in-usd.wic.zst | sudo dd of=/dev/sdX bs=1M conv=fsync
Note:
1. Format the SD card to "FAT32" before flashing the actual SD image.
2. Replaced the sdX as "sde" with the one which was detected by our host machine for uSD.
Then we inserted this flashed SD card to our board and tried to boot using SD mode.
However, we are unable to boot from the SD card and observed below-mentioned errors from the console. Please refer to the attached boot log for more details.
Failed to load 'boot.scr'
Error reading cluster
** Unable to read file Image **
Failed to load 'Image'
END BOOTING
u-boot=>
u-boot=> mmc part
Partition Map for MMC device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
** Can't read partition table on 1:0 **
u-boot=>
Please provide any other methods/suggestions such as any particular Filesystem Type needs to be considered while flashing the SD card, so that it is easy for me to fix this issue.
已解决! 转到解答。
Please try bmaptool to flash wic image.
IMAGE=fsl-image-multimedia-full-imx8mqevk-20181018224131.rootfs.wic
DEVICE=/dev/sdb # The device may change in your system
sudo bmaptool copy $IMAGE $DEVICE --nobmap
Please try bmaptool to flash wic image.
IMAGE=fsl-image-multimedia-full-imx8mqevk-20181018224131.rootfs.wic
DEVICE=/dev/sdb # The device may change in your system
sudo bmaptool copy $IMAGE $DEVICE --nobmap