This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mkdsboot fails to create an SD card

Other Parts Discussed in Thread: AM3874

Hello,

I try to create an SD card to boot my AM3874. After creating my Linux image (uImage) I tried:

root@user-laptop:~/ti-ezsdk_dm814x-evm_5_05_02_00/bin# mksdboot.sh --device /dev/sdb --sdk /home/user/ti-ezsdk_dm814x-evm_5_05_02_00/

I have a 16GB card. Every time I run the script it fails with different value after /tmp/sdk/ at the end. What is wrong? This is the output:

unmounting device '/dev/sdb1'
unmounting device '/dev/sdb2'
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.0825264 s, 12.7 MB/s
Disk /dev/sdb doesn't contain a valid partition table
Checking that no-one is using this disk right now ...
OK

Disk /dev/sdb: 1950 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdb: 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/sdb1 * 0+ 4 5- 40131 c W95 FAT32 (LBA)
/dev/sdb2 5 1949 1945 15623212+ 83 Linux
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 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).)
Formating /dev/sdb1 ...
Formating /dev/sdb2 ...
mke2fs 1.41.11 (14-Mar-2010)
Image Name: Execute uImage.bin
Created: Sat Feb 20 21:54:16 2016
Image Type: ARM Linux Script (uncompressed)
Data Size: 291 Bytes = 0.28 kB = 0.00 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Contents:
Image 0: 283 Bytes = 0 kB = 0 MB
Copying u-boot/mlo/uImage on /dev/sdb1
mount: you must specify the filesystem type

ERROR: executing mount /dev/sdb1 /tmp/sdk/1850