copying kernel image to sd card failed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

copying kernel image to sd card failed

ソリューションへジャンプ
2,247件の閲覧回数
iDave
Contributor II

Hello, I am using imx8mm-evk, and testing to copy kernel image to sd card via dd command.

when I copy wic file(core-image-minimal) to sd card below, it boots well.

zstdcat core-image-minimal-imx8mm-lpddr4-evk-20231025060017.rootfs.wic.zst  | sudo dd of=/dev/sdb bs=1M conv=fsync status=progress

after I copied wic file, I copied kernel image(located /arch/arm64/boot/) from linux-imx below, but it doesn't boot after that.

sudo dd if=Image of=/dev/sdb bs=512 seek=2048 conv=fsync

is it right that the va seek parameter is 2048? 

 

The following image is booting with sdcard which is after copying kernel image.

iDave_0-1698393832284.png

 

ラベル(2)
タグ(5)
0 件の賞賛
返信
1 解決策
2,221件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @iDave 

bootloader would be located at the fixed offset, but the kernel is probably not. 

To load these individuals one-by-one, refer to the 4.3 Preparing an SD/MMC card to boot of Linux User guide.

 

Best regards

Harvey

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,222件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @iDave 

bootloader would be located at the fixed offset, but the kernel is probably not. 

To load these individuals one-by-one, refer to the 4.3 Preparing an SD/MMC card to boot of Linux User guide.

 

Best regards

Harvey

0 件の賞賛
返信
2,213件の閲覧回数
iDave
Contributor II
Thank you. '4.3.5 Copying the kernel image and DTB file - Default VFAT partition' method works.
0 件の賞賛
返信