tarun@LAP000280:~/Tarun/PROJECT/TI/AM65x-EVM/Software/linux$ sudo ./bin/create-sdcard.sh [sudo] password for tarun: ################################################################################ This script will create a bootable SD card from custom or pre-built binaries. The script must be run with root permissions and from the bin directory of the SDK Example: $ sudo ./create-sdcard.sh Formatting can be skipped if the SD card is already formatted and partitioned properly. ################################################################################ Available Drives to write images to: # major minor size name 1: 179 0 15558144 mmcblk0 Enter Device Number or n to exit: 1 mmcblk0 was selected /dev/mmcblk0 is an mmcblkx device Unmounting the mmcblk0 drives unmounted /dev/mmcblk0p1 unmounted /dev/mmcblk0p2 Current size of mmcblk0p1 71680 bytes Current size of mmcblk0p2 15469568 bytes ################################################################################ Select 2 partitions if only need boot and rootfs (most users). Select 3 partitions if need SDK & other content on SD card. This is usually used by device manufacturers with access to partition tarballs. ****WARNING**** continuing will erase all data on mmcblk0 ################################################################################ Number of partitions needed [2/3] : 2 Now partitioning mmcblk0 with 2 partitions... ################################################################################ Now making 2 partitions ################################################################################ 1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.190086 s, 5.5 MB/s DISK SIZE - 15931539456 bytes ################################################################################ Partitioning Boot ################################################################################ mkfs.fat 3.0.28 (2015-05-16) mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows ################################################################################ Partitioning rootfs ################################################################################ mke2fs 1.42.13 (17-May-2015) /dev/mmcblk0p2 contains a ext3 file system labelled 'rootfs' last mounted on / on Fri Oct 11 09:51:18 2019 Proceed anyway? (y,n) y Discarding device blocks: done Creating filesystem with 3867392 4k blocks and 967232 inodes Filesystem UUID: f625f7a3-223c-4bf4-a22e-f8d55ad746ba Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done ################################################################################ Partitioning is now done Continue to install filesystem or select 'n' to safe exit **Warning** Continuing will erase files any files in the partitions ################################################################################ Would you like to continue? [y/n] : y Mount the partitions Emptying partitions Syncing.... ################################################################################ Choose file path to install from 1 ) Install pre-built images from SDK 2 ) Enter in custom boot and rootfs file paths ################################################################################ Choose now [1/2] : 1 Will now install from SDK pre-built images now installing: linux ################################################################################ Multiple rootfs Tarballs found ################################################################################ 1:tisdk-rootfs-image-am65xx-evm.tar.xz 2:tisdk-docker-rootfs-image-am65xx-evm.tar.xz Enter Number of rootfs Tarball: 1 ################################################################################ Copying files now... will take minutes ################################################################################ Copying boot partition tispl.bin copied tiboot3.bin copied sysfw.itb copied u-boot.img copied uEnv.txt copied Copying rootfs System partition Syncing... Un-mount the partitions Remove created temp directories Operation Finished