atmark@atde9:~$ cd build-rootfs-v3.18-at.6/ atmark@atde9:~/build-rootfs-v3.18-at.6$ sudo ./build_image.sh --board a6e \ --boot ~/u-boot-2020.04-at20/u-boot-dtb.imx u-boot-2020.04-at20/ u-boot-2020.04-at20.tar.gz atmark@atde9:~/build-rootfs-v3.18-at.6$ sudo ./build_image.sh --board a6e \ --boot ~/u-boot-2020.04-at20/u-boot-dtb.imx [sudo] atmark のパスワード: use default(outdir=/home/atmark/build-rootfs-v3.18-at.6) use default(output=baseos-6e-3.18.4-at.6.20231128.img) Warning: Partition table header claims that the size of partition table entries is 0 bytes, but this program supports only 128-byte entries. Adjusting accordingly, but partition table may be garbage. Warning: Partition table header claims that the size of partition table entries is 0 bytes, but this program supports only 128-byte entries. Adjusting accordingly, but partition table may be garbage. Creating new GPT entries in memory. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) GPT data structures destroyed! You may now partition the disk using fdisk or other utilities. Setting name! partNum is 0 Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. mke2fs 1.46.2 (28-Feb-2021) Found a gpt partition table in baseos-6e-3.18.4-at.6.20231128.img Discarding device blocks: done Creating filesystem with 307200 1k blocks and 76912 inodes Filesystem UUID: b7397622-7298-4fc1-8626-4a78693ecb61 Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done Successfully built /home/atmark/build-rootfs-v3.18-at.6/baseos-6e-3.18.4-at.6.20231128.img atmark@atde9:~/build-rootfs-v3.18-at.6$ ls baseos-6e*img baseos-6e-3.18.4-at.6.20231128.img atmark@atde9:~/build-rootfs-v3.18-at.6$ cd .. atmark@atde9:~$ ls /dev/sd? /dev/sda /dev/sdc atmark@atde9:~$ sudo fdisk -l /dev/sdc GPT PMBR size mismatch (657407 != 15693823) will be corrected by write. Disk /dev/sdc: 7.48 GiB, 8035237888 bytes, 15693824 sectors Disk model: Storage Device 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: gpt Disk identifier: 04321BFE-E4FB-42C1-B8D3-9A62E8A99553 Device Start End Sectors Size Type /dev/sdc1 20480 634879 614400 300M Linux filesystem /dev/sdc2 634880 1249279 614400 300M Linux filesystem /dev/sdc3 1249280 1351679 102400 50M Linux filesystem /dev/sdc4 1351680 1761279 409600 200M Linux filesystem /dev/sdc5 1761280 15693790 13932511 6.6G Linux filesystem atmark@atde9:~$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1978456k,nr_inodes=494614,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=401388k,mode=755) /dev/mapper/atde9--vg-root on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12284) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) /dev/sda1 on /boot type ext2 (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) /home/atmark/share on /home/atmark/share type vboxsf (rw,nodev,relatime,iocharset=utf8,uid=0,gid=998,dmode=0770,fmode=0770,tag=VBoxAutomounter) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=401384k,nr_inodes=100346,mode=700,uid=1000,gid=1000) /dev/sdb5 on /media/atmark/app type btrfs (rw,nosuid,nodev,relatime,space_cache=v2,subvolid=5,subvol=/,uhelper=udisks2) /dev/sr0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,noexec,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8,user=atmark) /dev/sdc1 on /media/atmark/rootfs_0 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2) /dev/sdc3 on /media/atmark/logs type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2) tmpfs on /run/netns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=401388k,mode=755) atmark@atde9:~$ sudo umount /dev/sdc1 atmark@atde9:~$ sudo umount /dev/sdc3 atmark@atde9:~$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1978456k,nr_inodes=494614,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=401388k,mode=755) /dev/mapper/atde9--vg-root on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12284) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) /dev/sda1 on /boot type ext2 (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) /home/atmark/share on /home/atmark/share type vboxsf (rw,nodev,relatime,iocharset=utf8,uid=0,gid=998,dmode=0770,fmode=0770,tag=VBoxAutomounter) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=401384k,nr_inodes=100346,mode=700,uid=1000,gid=1000) /dev/sdb5 on /media/atmark/app type btrfs (rw,nosuid,nodev,relatime,space_cache=v2,subvolid=5,subvol=/,uhelper=udisks2) /dev/sr0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,noexec,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8,user=atmark) tmpfs on /run/netns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=401388k,mode=755) atmark@atde9:~$ sudo dd if=~/build-rootfs-/baseos-6e.img \ of=/dev/sdc bs=1M oflag=direct status=progress build-rootfs-latest.tar.gz build-rootfs-v3.18-at.6/ atmark@atde9:~$ sudo dd if=~/build-rootfs-v3.18-at.6/baseos-6e-3.18.4-at.6.20231128.img \ of=/dev/sdc bs=1M oflag=direct status=progress 336592896 bytes (337 MB, 321 MiB) copied, 51 s, 6.6 MB/s 321+0 レコード入力 321+0 レコード出力 336592896 bytes (337 MB, 321 MiB) copied, 51.0594 s, 6.6 MB/s atmark@atde9:~$ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 1.0.6 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 15693824 sectors, 7.5 GiB Model: Storage Device Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 49045136-F8BF-4448-9C36-64A08F1E6DDC Partition table holds up to 128 entries Main partition table begins at sector 20448 and ends at sector 20479 First usable sector is 20480, last usable sector is 657374 Partitions will be aligned on 2048-sector boundaries Total free space is 22495 sectors (11.0 MiB) Number Start (sector) End (sector) Size Code Name 1 20480 634879 300.0 MiB 8300 rootfs_0 atmark@atde9:~$