fec I.mx6q平台sd卡下载映像脚本

本文介绍如何利用Linux的dd命令下载Android设备上的uboot、boot、system、recovery等映像文件到MMC/SD/TF卡。确保分区创建正确后,通过指定的命令进行下载。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Download Images with dd utility

The linux utility "dd" on Linux PC can be used to download the images into the MMC/SD/TF card. Before downloading, make sure your MMC/SD/TF card partitions are created as described in section 3.1.1.

All partitions can be recognized by Linux PC. To download all images into the card, please use the commands below


Download the uboot image:

# sudo dd if=u-boot.bin of=/dev/sdx bs=1K skip=1 seek=1; sync

Or If you're using no padding uboot image:

# sudo dd if=u-boot-no-padding.bin of=/dev/sdx bs=1K seek=1; sync

Download the boot image:

# sudo dd if=boot.img of=/dev/sdx1; sync

Download the android system root image:

# sudo dd if=system.img of=/dev/sdx5; sync

Download the android recovery image:

# sudo dd if=recovery.img of=/dev/sdx2; sync


以下是具体下载命令:

  1. 下载uboot映像:
    $ sudo dd if=uboot_sabresd.bin of=/dev/sdb bs=1K skip=1 seek=1; sync
    还有种不要skip的情况,具体看编译的uboot版本,命令参考上述资料
  2. 下载boot映像,就是集成kernel:
    $ sudo dd if=boot.img of=/dev/sdb1; sync
  3. 下载android 系统映像:
    $ sudo dd if=system.img of=/dev/sdb5; sync
  4. 下载android recovery image:
    sudo dd if=recovery.img of=/dev/sdb2; sync

完成。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值