How to deploy image to SD Card?

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

How to deploy image to SD Card?

跳至解决方案
2,273 次查看
bladerunner1010
Contributor III

??

标记 (1)
0 项奖励
回复
1 解答
2,256 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Use "fdisk" to create 4 partitions.

Please use "mkfs.ext4" to format the second and the fourth partition.

$ mkfs.ext4 /dev/sdc2

$ mkfs.ext4 /dev/sdc4

dd firmware_ls1043ardb_sdboot.img to SD card.

$ dd if=firmware_ls1043ardb_sdboot.img of=/dev/sdc bs=512 seek=8

Write boot_LS_arm64_lts_5.10.tgz to the second partition of SD card.

$ mount /dev/sdc2 /mnt

$ cp boot_LS_arm64_lts_5.10.tgz /mnt

$ tar -xzvf  boot_LS_arm64_lts_5.10.tgz

$ rm boot_LS_arm64_lts_5.10.tgz

$umount /mnt

Write rootfs_lsdk2108_buildroot_tiny_arm64.tgz to the fourth partition of SD card.

$ mount /dev/sdc4 /mnt

$ cp rootfs_lsdk2108_buildroot_tiny_arm64.tgz /mnt

$ tar -xzvf  rootfs_lsdk2108_buildroot_tiny_arm64.tgz

$ rm rootfs_lsdk2108_buildroot_tiny_arm64.tgz

$umount /mnt

 

在原帖中查看解决方案

1 回复
2,257 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Use "fdisk" to create 4 partitions.

Please use "mkfs.ext4" to format the second and the fourth partition.

$ mkfs.ext4 /dev/sdc2

$ mkfs.ext4 /dev/sdc4

dd firmware_ls1043ardb_sdboot.img to SD card.

$ dd if=firmware_ls1043ardb_sdboot.img of=/dev/sdc bs=512 seek=8

Write boot_LS_arm64_lts_5.10.tgz to the second partition of SD card.

$ mount /dev/sdc2 /mnt

$ cp boot_LS_arm64_lts_5.10.tgz /mnt

$ tar -xzvf  boot_LS_arm64_lts_5.10.tgz

$ rm boot_LS_arm64_lts_5.10.tgz

$umount /mnt

Write rootfs_lsdk2108_buildroot_tiny_arm64.tgz to the fourth partition of SD card.

$ mount /dev/sdc4 /mnt

$ cp rootfs_lsdk2108_buildroot_tiny_arm64.tgz /mnt

$ tar -xzvf  rootfs_lsdk2108_buildroot_tiny_arm64.tgz

$ rm rootfs_lsdk2108_buildroot_tiny_arm64.tgz

$umount /mnt