rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$ sudo ./create-sdcard.sh ################################################################################ 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. ################################################################################ Availible Drives to write images to: # major minor size name 1: 8 16 244198584 sdb 2: 8 32 244198584 sdc 3: 8 48 244198584 sdd 4: 8 80 1966080 sdf Enter Device Number or n to exit: 4 sdf was selected /dev/sdf is an sdx device Current size of sdf1 72261 bytes Current size of sdf2 1879605 bytes ################################################################################ Detected device has 2 partitions already Re-partitioning will allow the choice of 2 or 3 partitions ################################################################################ Would you like to re-partition the drive anyways [y/n] : y Now partitioning sdf ... ################################################################################ Select 2 partitions if only need boot and rootfs (most users) Select 3 partitions if need SDK & CCS on SD card. This is usually used by device manufacturers with access to partition tarballs. ****WARNING**** continuing will erase all data on sdf ################################################################################ Number of partitions needed [2/3] : 2 Now partitioning sdf with 2 partitions... ################################################################################ Now making 2 partitions ################################################################################ 1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB) copied, 0.416494 s, 2.5 MB/s Disk /dev/sdf doesn't contain a valid partition table DISK SIZE - 2013265920 bytes Checking that no-one is using this disk right now ... OK Disk /dev/sdf: 244 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/sdf: unrecognized partition table type Old situation: No partitions found New situation: Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sdf1 * 0+ 8 9- 72261 c W95 FAT32 (LBA) /dev/sdf2 10 243 234 1879605 83 Linux /dev/sdf3 0 - 0 0 0 Empty /dev/sdf4 0 - 0 0 0 Empty Successfully wrote the new partition table Re-reading the partition table ... If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) ################################################################################ Partitioning Boot ################################################################################ mkfs.vfat 3.0.12 (29 Oct 2011) ################################################################################ Partitioning rootfs ################################################################################ mke2fs 1.42 (29-Nov-2011) Filesystem label=rootfs OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 117600 inodes, 469901 blocks 23495 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=482344960 15 block groups 32768 blocks per group, 32768 fragments per group 7840 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 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] : 2 ################################################################################ For U-boot and MLO If files are located in Tarball write complete path including the file name. e.x. $: /home/user/MyCustomTars/boot.tar.gz If files are located in a directory write the directory path e.x. $: /ti-sdk/board-support/prebuilt-images/ NOTE: Not all platforms will have an MLO file and this file can be ignored for platforms that do not support an MLO. Update: The proper location for the kernel image and device tree files have moved from the boot partition to the root filesystem. ################################################################################ Enter path for Boot Partition : /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ Directory exists This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz core-image-minimal-am335x-evm-20140922184903.rootfs.ubi core-image-minimal-am335x-evm-20140922184903.rootfs.ubifs core-image-minimal-am335x-evm.tar.gz core-image-minimal-am335x-evm.ubi MLO MLO-am335x-evm MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 modules--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.tgz README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img u-boot-am335x-evm.img u-boot.img u-boot-spl.bin u-boot-spl.bin-am335x-evm u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 zImage zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb zImage-am335x-boneblack.dtb zImage-am335x-bone.dtb zImage-am335x-evm.bin zImage-am335x-evm.dtb zImage-am335x-evmsk.dtb Is this correct? [y/n] : y ################################################################################ For Kernel Image and Device Trees files What would you like to do? 1) Reuse kernel image and device tree files found in the selected rootfs. 2) Provide a directory that contains the kernel image and device tree files to be used. ################################################################################ Choose option 1 or 2 : 2 Choosing a directory that contains the kernel files to be used ################################################################################ For Kernel Image and Device Trees files The kernel image name should contain the image type uImage or zImage depending on which format is used. The device tree files must end with .dtb e.g am335x-evm.dtb am43x-gp-evm.dtb ################################################################################ Enter path for kernel image and device tree files : /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ Directory exists This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz core-image-minimal-am335x-evm-20140922184903.rootfs.ubi core-image-minimal-am335x-evm-20140922184903.rootfs.ubifs core-image-minimal-am335x-evm.tar.gz core-image-minimal-am335x-evm.ubi MLO MLO-am335x-evm MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 modules--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.tgz README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img u-boot-am335x-evm.img u-boot.img u-boot-spl.bin u-boot-spl.bin-am335x-evm u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 zImage zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb zImage-am335x-boneblack.dtb zImage-am335x-bone.dtb zImage-am335x-evm.bin zImage-am335x-evm.dtb zImage-am335x-evmsk.dtb Is this correct? [y/n] : y ################################################################################ For Rootfs partition If files are located in Tarball write complete path including the file name. e.x. $: /home/user/MyCustomTars/rootfs.tar.gz If files are located in a directory write the directory path e.x. $: /ti-sdk/targetNFS/ ################################################################################ Enter path for Rootfs Partition : /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz core-image-minimal-am335x-evm-20140922184903.rootfs.ubi core-image-minimal-am335x-evm-20140922184903.rootfs.ubifs core-image-minimal-am335x-evm.tar.gz core-image-minimal-am335x-evm.ubi MLO MLO-am335x-evm MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 modules--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.tgz README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img u-boot-am335x-evm.img u-boot.img u-boot-spl.bin u-boot-spl.bin-am335x-evm u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3 zImage zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb zImage-am335x-boneblack.dtb zImage-am335x-bone.dtb zImage-am335x-evm.bin zImage-am335x-evm.dtb zImage-am335x-evmsk.dtb Is this correct? [y/n] : y ################################################################################ Copying files now... will take minutes ################################################################################ Copying boot partition gzip: /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ is a directory -- ignored ./create-sdcard.sh: line 86: / 51200 + 1: syntax error: operand expected (error token is "/ 51200 + 1") Copying rootfs System partition gzip: /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ is a directory -- ignored ./create-sdcard.sh: line 86: / 51200 + 1: syntax error: operand expected (error token is "/ 51200 + 1") Syncing... ls: cannot access /zImage zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb zImage-am335x-boneblack.dtb zImage-am335x-bone.dtb zImage-am335x-evm.bin zImage-am335x-evm.dtb zImage-am335x-evmsk.dtb: File name too long cp: cannot stat `/zImage': No such file or directory cp: cannot stat `zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb': No such file or directory cp: cannot stat `zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb': No such file or directory cp: cannot stat `zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin': No such file or directory cp: cannot stat `zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb': No such file or directory cp: cannot stat `zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb': No such file or directory cp: cannot stat `zImage-am335x-boneblack.dtb': No such file or directory cp: cannot stat `zImage-am335x-bone.dtb': No such file or directory cp: cannot stat `zImage-am335x-evm.bin': No such file or directory cp: cannot stat `zImage-am335x-evm.dtb': No such file or directory cp: cannot stat `zImage-am335x-evmsk.dtb': No such file or directory Kernel image copied zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb copied zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb copied zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb copied zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb copied zImage-am335x-boneblack.dtb copied zImage-am335x-bone.dtb copied zImage-am335x-evm.dtb copied zImage-am335x-evmsk.dtb copied Un-mount the partitions Remove created temp directories Operation Finished rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$ ll /home/rupertm/ti/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/ total 41784 drwxr-xr-x 2 rupertm rupertm 4096 Sep 22 12:18 ./ drwxr-xr-x 5 rupertm rupertm 4096 Sep 22 11:54 ../ -rw-r--r-- 1 rupertm rupertm 2516347 Sep 22 12:18 core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz -rw-r--r-- 1 rupertm rupertm 5505024 Sep 22 12:18 core-image-minimal-am335x-evm-20140922184903.rootfs.ubi -rw-r--r-- 1 rupertm rupertm 5079040 Sep 22 12:18 core-image-minimal-am335x-evm-20140922184903.rootfs.ubifs lrwxrwxrwx 1 rupertm rupertm 58 Sep 22 12:18 core-image-minimal-am335x-evm.tar.gz -> core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz lrwxrwxrwx 1 rupertm rupertm 55 Sep 22 12:18 core-image-minimal-am335x-evm.ubi -> core-image-minimal-am335x-evm-20140922184903.rootfs.ubi lrwxrwxrwx 2 rupertm rupertm 85 Sep 22 11:54 MLO -> MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* lrwxrwxrwx 2 rupertm rupertm 85 Sep 22 11:54 MLO-am335x-evm -> MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* -rwxr-xr-x 2 rupertm rupertm 107920 Sep 22 11:54 MLO-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* -rw-rw-r-- 2 rupertm rupertm 24724316 Sep 22 12:15 modules--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.tgz -rw-rw-r-- 2 rupertm rupertm 294 Sep 22 12:18 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt -rwxr-xr-x 2 rupertm rupertm 389768 Sep 22 11:54 u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img* lrwxrwxrwx 2 rupertm rupertm 92 Sep 22 11:54 u-boot-am335x-evm.img -> u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img* lrwxrwxrwx 2 rupertm rupertm 92 Sep 22 11:54 u-boot.img -> u-boot-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3.img* lrwxrwxrwx 2 rupertm rupertm 96 Sep 22 11:54 u-boot-spl.bin -> u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* lrwxrwxrwx 2 rupertm rupertm 96 Sep 22 11:54 u-boot-spl.bin-am335x-evm -> u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* -rwxr-xr-x 2 rupertm rupertm 107400 Sep 22 11:54 u-boot-spl.bin-am335x-evm-2013.10-r7+gitrAUTOINC+78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783-arago3* lrwxrwxrwx 2 rupertm rupertm 110 Sep 22 12:15 zImage -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin -rw-r--r-- 2 rupertm rupertm 33206 Sep 22 12:15 zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb -rw-r--r-- 2 rupertm rupertm 34352 Sep 22 12:15 zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb -rw-r--r-- 2 rupertm rupertm 4119096 Sep 22 12:15 zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin -rw-r--r-- 2 rupertm rupertm 41564 Sep 22 12:15 zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb -rw-r--r-- 2 rupertm rupertm 38048 Sep 22 12:15 zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb lrwxrwxrwx 2 rupertm rupertm 116 Sep 22 12:15 zImage-am335x-boneblack.dtb -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-boneblack-20140922184903.dtb lrwxrwxrwx 2 rupertm rupertm 111 Sep 22 12:15 zImage-am335x-bone.dtb -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-bone-20140922184903.dtb lrwxrwxrwx 2 rupertm rupertm 110 Sep 22 12:15 zImage-am335x-evm.bin -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.bin lrwxrwxrwx 2 rupertm rupertm 110 Sep 22 12:15 zImage-am335x-evm.dtb -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evm-20140922184903.dtb lrwxrwxrwx 2 rupertm rupertm 112 Sep 22 12:15 zImage-am335x-evmsk.dtb -> zImage--3.12.10-r21k+gitrAUTOINC+2325bb5680986b6914d8fd0b5d0bdc20081fe8d3-arago5-am335x-evmsk-20140922184903.dtb rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$ *************** S E C O N D A T T E M P T ********************* rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$ sudo ./create-sdcard.sh [sudo] password for rupertm: ################################################################################ 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. ################################################################################ Availible Drives to write images to: # major minor size name 1: 8 16 244198584 sdb 2: 8 32 244198584 sdc 3: 8 48 244198584 sdd 4: 8 80 1966080 sdf Enter Device Number or n to exit: 4 sdf was selected /dev/sdf is an sdx device Current size of sdf1 72261 bytes Current size of sdf2 1879605 bytes ################################################################################ Detected device has 2 partitions already Re-partitioning will allow the choice of 2 or 3 partitions ################################################################################ Would you like to re-partition the drive anyways [y/n] : n Skipping partitioning ################################################################################ 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] : 2 ################################################################################ For U-boot and MLO If files are located in Tarball write complete path including the file name. e.x. $: /home/user/MyCustomTars/boot.tar.gz If files are located in a directory write the directory path e.x. $: /ti-sdk/board-support/prebuilt-images/ NOTE: Not all platforms will have an MLO file and this file can be ignored for platforms that do not support an MLO. Update: The proper location for the kernel image and device tree files have moved from the boot partition to the root filesystem. ################################################################################ Enter path for Boot Partition : /home/rupertm/temp/ Directory exists This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz MLO zImage-am335x-evmsk.dtb zImage.bin Is this correct? [y/n] : y ################################################################################ For Kernel Image and Device Trees files What would you like to do? 1) Reuse kernel image and device tree files found in the selected rootfs. 2) Provide a directory that contains the kernel image and device tree files to be used. ################################################################################ Choose option 1 or 2 : 2 Choosing a directory that contains the kernel files to be used ################################################################################ For Kernel Image and Device Trees files The kernel image name should contain the image type uImage or zImage depending on which format is used. The device tree files must end with .dtb e.g am335x-evm.dtb am43x-gp-evm.dtb ################################################################################ Enter path for kernel image and device tree files : /home/rupertm/temp/ Directory exists This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz MLO zImage-am335x-evmsk.dtb zImage.bin Is this correct? [y/n] : y ################################################################################ For Rootfs partition If files are located in Tarball write complete path including the file name. e.x. $: /home/user/MyCustomTars/rootfs.tar.gz If files are located in a directory write the directory path e.x. $: /ti-sdk/targetNFS/ ################################################################################ Enter path for Rootfs Partition : /home/rupertm/temp/ This directory contains: core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz MLO zImage-am335x-evmsk.dtb zImage.bin Is this correct? [y/n] : y ################################################################################ Copying files now... will take minutes ################################################################################ Copying boot partition gzip: /home/rupertm/temp/ is a directory -- ignored ./create-sdcard.sh: line 86: / 51200 + 1: syntax error: operand expected (error token is "/ 51200 + 1") Copying rootfs System partition gzip: /home/rupertm/temp/ is a directory -- ignored ./create-sdcard.sh: line 86: / 51200 + 1: syntax error: operand expected (error token is "/ 51200 + 1") Syncing... ls: cannot access /zImage-am335x-evmsk.dtb zImage.bin: No such file or directory cp: cannot stat `/zImage-am335x-evmsk.dtb': No such file or directory cp: cannot stat `zImage.bin': No such file or directory Kernel image copied zImage-am335x-evmsk.dtb copied Un-mount the partitions Remove created temp directories Operation Finished rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$ ll /home/rupertm/temp/ total 6640 drwxrwxr-x 2 rupertm rupertm 4096 Sep 23 14:29 ./ drwxr-xr-x 32 rupertm rupertm 4096 Sep 23 18:19 ../ -rw-r--r-- 1 rupertm rupertm 2516347 Sep 23 11:48 core-image-minimal-am335x-evm-20140922184903.rootfs.tar.gz -rwxr-xr-x 1 rupertm rupertm 107920 Sep 23 14:29 MLO* -rwxrwxrwx 1 rupertm rupertm 38048 Sep 23 11:51 zImage-am335x-evmsk.dtb* -rwxrwxrwx 1 rupertm rupertm 4119096 Sep 23 11:48 zImage.bin* rupertm@ubuntu5:~/ti/ti-sdk-am335x-evm-07.00.00.00/bin$