SD card can't boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SD card can't boot

1,952 次查看
kayiyeh
Contributor II

Hi there,

I followed the instruction to bitbake and make linux images for my imx8mqevk board. It successfully generated some files including *.sdcard.bz2, and uboot files. But when I tried to make the sd card to boot, the card can't boot up by imx8mqevk. Please help. Below is the detail system and procedure. Please tell me if more information is required.

Host system: Ubuntu 16.04

build target: MACHINE: imx8mqevk DISTRO=fsl-imx-fb

$ bitbake core-image-minimal

the files in the deploy/images/imx8mqevk: there are 73 files, please refer the attachment for list. However, it includes:

core-image-minimal-imx8mqevk-20181127235204.rootfs.sdcard.bz2, the file size is 26335920.

$cp core-image-minimal-imx8mqevk-20181127235204.rootfs.sdcard.bz2

^ I copy the image to HOME because there is a link file refer to this and I can't bzip2

$(@ HOME directory) bzip -d core-image-minimal-imx8mqevk-20181127235204.rootfs.sdcard.bz2

then I insert a 16GB SD card to the host machine, which is mounted to sdc, then

$sudo dd if=core-image-minimal-imx8mqevk-20181127235204.rootfs.sdcard of=/dev/sdc1 bs=1M && sync

>160+0 records in
>160+0 records out
>167772160 bytes (168 MB, 160 MiB) copied, 0.0820627 s, 2.0 GB/s

However, when I put the SD card to my imx8mqevk board, which can be booted by another SD card, nothing show up from COM port, and the LED near USB port doesn't blink, either.

0 项奖励
回复
2 回复数

1,550 次查看
turker
Contributor IV

You can try building U-Boot yourself and see if the board can at least jump to bootloader console. There is some information in https://community.nxp.com/thread/471338 about how to build U-Boot for imx8qmevk board.

0 项奖励
回复

1,550 次查看
kayiyeh
Contributor II

I use Win32DiskImager solve the problem. However, I don't know why the dd doesn't work.

https://sourceforge.net/projects/win32diskimager/ 

0 项奖励
回复