BPI-M4 : eMMC Linux Images SD메모리에 복사

OS/Banana Pi /BPI-Bit 2020. 6. 6. 22:36 Posted by 파란크리스마스

출처

$ sudo bpi-copy /dev/mmcblk1 2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
SRC=/dev/mmcblk1
DST=2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
COPYMODE=disktoimage
disktoimage
bpi-copy(v1.3.4(github)), bananapi image & disk tools

Usage: bpi-copy [OPTIONS]...
       bpi-copy [ --help | -v | --version ]
       bpi-copy IMGFILE
       bpi-copy IMGDIR
       bpi-copy IMGFILE DEVICE
       bpi-copy DEVICE IMGFILE

Info: Try to write /dev/mmcblk1 to BOOTDISK 2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
==============================================================
Sat Jun  6 20:56:12 CST 2020
INFO: /dev/mmcblk1 : SD/eMMC !!
umount device: /dev/mmcblk1
==============================================================
IMGFILE=2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
==============================================================
zip
dd if=/dev/mmcblk1 bs=1M | pv | zip 2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip -
  adding: -25.2MiB 0:00:01 [25.2MiB/s] [ <=>                                                                               7456+0 records in24.6MiB/s] [            <=>                                                                              ]
7456+0 records out
7.28GiB 0:21:47 [5.70MiB/s] [              <=>                                                                            ]
7818182656 bytes (7.8 GB, 7.3 GiB) copied, 1307.85 s, 6.0 MB/s
 (deflated 66%)
Sat Jun  6 21:18:02 CST 2020
==============================================================
RUNTIME 21:50
OK!! You can remove the BOOTDISK /dev/mmcblk1 now!!

댓글을 달아 주세요