How to deploy image to SD Card?

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

How to deploy image to SD Card?

ソリューションへジャンプ
2,230件の閲覧回数
bladerunner1010
Contributor III
タグ(1)
0 件の賞賛
返信
1 解決策
2,213件の閲覧回数
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,214件の閲覧回数
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