am62xx-evm login: root root@am62xx-evm:~# fdisk /dev/mmcblk0 Welcome to fdisk (util-linux 2.35.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/mmcblk0: 14.84 GiB, 15913189376 bytes, 31080448 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: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 1 31080447 31080447 14.8G ee GPT Command (m for help): n All space for primary partitions is in use. Command (m for help): d Selected partition 1 Partition 1 has been deleted. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-31080447, default 2048): 2048 Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-31080447, default 31080447): 31080447 Created a new partition 1 of type 'Linux' and of size 14.8 GiB. Partition #1 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): w The partition table has been altered. [ 137.538673] mmcblk0: p1 Calling ioctl() to re-read partition table. Syncing disks. root@am62xx-evm:~# mmc part -sh: mmc: command not found root@am62xx-evm:~# ls -l /dev/mmcblk* brw-rw---- 1 root disk 179, 0 May 14 23:06 /dev/mmcblk0 brw-rw---- 1 root disk 179, 32 May 14 23:04 /dev/mmcblk0boot0 brw-rw---- 1 root disk 179, 64 May 14 23:04 /dev/mmcblk0boot1 brw-rw---- 1 root disk 179, 1 May 14 23:06 /dev/mmcblk0p1 crw------- 1 root root 237, 0 May 14 23:04 /dev/mmcblk0rpmb brw-rw---- 1 root disk 179, 96 May 14 23:04 /dev/mmcblk1 brw-rw---- 1 root disk 179, 97 May 14 23:04 /dev/mmcblk1p1 brw-rw---- 1 root disk 179, 98 May 14 23:04 /dev/mmcblk1p2 root@am62xx-evm:~# mkfs.ext4 /dev/mmcblk0p1 mke2fs 1.45.7 (28-Jan-2021) Discarding device blocks: done Creating filesystem with 3884800 4k blocks and 972944 inodes Filesystem UUID: d8caeabe-1b04-4a0d-a381-f135f58d81d7 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done root@am62xx-evm:~#