I tried with 2 8G, 1 32G card, got error as below, how to avoid it?
tony@tony-OptiPlex-990:~/ti-processor-sdk-linux-am65xx-evm-07_01_00_17/bin$ sudo fdisk -l
[sudo] password for tony:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0006bd9f
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 3890493439 3890491392 1.8T 83 Linux
/dev/sda2 3890495486 3907028991 16533506 7.9G 5 Extended
/dev/sda5 3890495488 3907028991 16533504 7.9G 82 Linux swap / Solaris
Partition 2 does not start on physical sector boundary.
Disk /dev/sdb: 7.4 GiB, 7948206080 bytes, 15523840 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: 0x0007e75f
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 145407 143360 70M c W95 FAT32 (LBA)
/dev/sdb2 145408 15491071 15345664 7.3G 83 Linux
tony@tony-OptiPlex-990:~/ti-processor-sdk-linux-am65xx-evm-07_01_00_17/bin$ sudo ./mksdboot.sh --device /dev/sdb --sdk /home/tony/ti-processor-sdk-linux-am65xx-evm-07_01_00_17/
-- Main device is: /dev/sda1
************************************************************
* THIS WILL DELETE ALL THE DATA ON /dev/sdb *
* *
* WARNING! Make sure your computer does not go *
* in to idle mode while this script is *
* running. The script will complete, *
* but your SD card may be corrupted. *
* *
* Press <ENTER> to confirm.... *
************************************************************
unmounting device '/dev/sdb'
unmounting device '/dev/sdb1'
unmounting device '/dev/sdb2'
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.264717 s, 4.0 MB/s
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x09352097.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-15523839, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-15523839, default 15523839):
Created a new partition 1 of type 'Linux' and of size 62 MiB.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (129024-15523839, default 129024): Last sector, +sectors or +size{K,M,G,T,P} (129024-15523839, default 15523839):
Created a new partition 2 of type 'Linux' and of size 7.3 GiB.
Command (m for help): Partition number (1,2, default 2): Partition type (type L to list all types):
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
Command (m for help): Partition number (1,2, default 2):
The bootable flag on partition 1 is enabled now.
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
unmounting device '/dev/sdb'
unmounting device '/dev/sdb1'
unmounting device '/dev/sdb2'
Formatting /dev/sdb ...
mkfs.fat 3.0.28 (2015-05-16)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mke2fs 1.42.13 (17-May-2015)
Creating filesystem with 1924352 4k blocks and 481440 inodes
Filesystem UUID: a1848459-1e66-4e7b-bea0-2dafa69f877d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
Partitioning and formatting completed!
Copying filesystem on /dev/sdb1, /dev/sdb2
./mksdboot.sh: 224: [: 2: unexpected operator
regarding the on line user guide of below, where to execute the env command? on target board Linux? since target can't run, how to run it?
Note
If you are having trouble booting with the SD card, you may need to run the following commands to clear the default environment. You will then need to reboot the board for the commands to take effect.
env default –a –f
saveenv


