atmark@atde7:~$ sudo umount /dev/sdb1 [sudo] atmark のパスワード: atmark@atde7:~$ sudo umount /dev/sdb2 atmark@atde7:~$ sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): o Created a new DOS disklabel with disk identifier 0xef686951. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (1-4, default 1): First sector (2048-7626751, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-7626751, default 7626751): +128M Created a new partition 1 of type 'Linux' and of size 128 MiB. Partition #1 contains a vfat signature. Do you want to remove the signature? [Y]es/[N]o: Y The signature will be removed by a write command. Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (2-4, default 2): First sector (264192-7626751, default 264192): Last sector, +sectors or +size{K,M,G,T,P} (264192-7626751, default 7626751): Created a new partition 2 of type 'Linux' and of size 3.5 GiB. Partition #2 contains a ext4 signature. Do you want to remove the signature? [Y]es/[N]o: Y The signature will be removed by a write command. Command (m for help): t Partition number (1,2, default 2): 1 Partition type (type L to list all types): b Changed type of partition 'Linux' to 'W95 FAT32'. Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. atmark@atde7:~$ sudo fdisk -l Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xa379a26f Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 499711 497664 243M 83 Linux /dev/sda2 501758 67106815 66605058 31.8G 5 Extended /dev/sda5 501760 67106815 66605056 31.8G 8e Linux LVM Disk /dev/mapper/atde7--vg-root: 30.8 GiB, 33025949696 bytes, 64503808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/atde7--vg-swap_1: 1 GiB, 1073741824 bytes, 2097152 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sdb: 3.7 GiB, 3904897024 bytes, 7626752 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xef686951 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 264191 262144 128M b W95 FAT32 /dev/sdb2 264192 7626751 7362560 3.5G 83 Linux atmark@atde7:~$ sudo mkfs.vfat -F 32 /dev/sdb! mkfs.fat 4.1 (2017-01-24) mkfs.vfat: unable to open /dev/sdb!: No such file or directory atmark@atde7:~$ sudo mkfs.ext4 /dev/sdb2 mke2fs 1.43.4 (31-Jan-2017) Creating filesystem with 920320 4k blocks and 230144 inodes Filesystem UUID: b7bf9723-1775-4bb4-9f07-6019921ce775 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done atmark@atde7:~$ ls armadillo u-boot-a600-v2018.03-at10.imx テンプレート ビデオ 公開 minicom.log お勉強 デスクトップ 音楽 sd ダウンロード ドキュメント 画像 atmark@atde7:~$ sudo dd if=u-boot-a600-v2018.03-at10.imx of=/dev/sdb bs=1k seek=1 conv=fsync 295+0 レコード入力 295+0 レコード出力 302080 bytes (302 kB, 295 KiB) copied, 0.519373 s, 582 kB/s atmark@atde7:~$ ls armadillo u-boot-a600-v2018.03-at10.imx テンプレート ビデオ 公開 minicom.log お勉強 デスクトップ 音楽 sd ダウンロード ドキュメント 画像 atmark@atde7:~$ ls sd atmark@atde7:~$ sudo mount -t ext4 /dev/sdb2 sd atmark@atde7:~$ sudo tar zxf ダウンロード/debian-stretch-armhf-a600-20210224.tar.gz -C sd atmark@atde7:~$ sync atmark@atde7:~$ sync atmark@atde7:~$ sudo umount sd atmark@atde7:~$ sudo mount -t vfat /dev/sdb1 sd atmark@atde7:~$ sudo cp ダウンロード/uImage-a600-v4.14-at39 sd/uImage atmark@atde7:~$ sudo cp ダウンロード/armadillo-640-v4.14-at39.dtb sd/a640.dtb atmark@atde7:~$ ls sd a640.dtb uImage atmark@atde7:~$ ls -l sd 合計 7463 -rwxr-xr-x 1 root root 28808 12月 16 22:07 a640.dtb -rwxr-xr-x 1 root root 7611912 12月 16 22:07 uImage atmark@atde7:~$ sudo umount sd atmark@atde7:~$ sudo umount sd umount: sd: not mounted atmark@atde7:~$ sudo mount -t vfat /dev/sdb1 sd atmark@atde7:~$ ls -l sd 合計 7463 -rwxr-xr-x 1 root root 28808 12月 16 22:07 a640.dtb -rwxr-xr-x 1 root root 7611912 12月 16 22:07 uImage atmark@atde7:~$ sudo umount sd atmark@atde7:~$