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.

TMDSCSK8127: TMDSCSK8127: IPNC Demo problem SD Card does not contain binaries

Part Number: TMDSCSK8127

Hi,  I'm new to TMDSCSK8127.

The start kit (or sd card) seems to have a problem.

I followed the enclosed Quick Start Guide but I saw the "CCC...." in teraterm.

Saw a related post and tried to resolve the issue with no success. 

The sd card that came with the kit did not include the demo binaries.   I attempted to go through the procedure documented to setup the sd card.  Ran into an issue running the mksd-t81xx.sh script. 

sudo ./mksd-ti81xx.sh /dev/sdb ../../Source/ipnc_rdk/

binaries/DM8127/sd/MLO ../../Source/ipnc_rdk/binaries/DM8127/sd/u-boot.img ../../Source/ipnc_rdk/binaries/DM8127/sd/dm8127-csk.dtb ../../Source/ipnc_rdk/binaries/DM8127/sd/uImage ../../Source/ipnc_rdk/binaries/DM8127/sd/filesystem_DM8127_FULL_FEATURE.tar.gz
[sudo] password for steve:
All data on /dev/sdb now will be destroyed! Continue? [y/n]
y
[Partitioning /dev/sdb...]
unmounting device '/dev/sdb1'
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000953206 s, 1.1 GB/s
DISK SIZE - 1048576 bytes
CYLINDERS - 0
sfdisk: invalid option -- 'D'

Usage:
 sfdisk [options] <dev> [[-N] <part>]
 sfdisk [options] <command>
My Ubuntu Release 16.04.1 does not support the sfdisk -- 'D" option. 
I did some research about the issue and the advice was to remove the -D, -H, -S and -C options that are no longer supported.
After doing so the script ran but had an error copying the uImage file.
Device     Boot Start   End Sectors  Size Id Type
/dev/sdb1  *     2048  2056       9  4.5K  c W95 FAT32 (LBA)
/dev/sdb2          10  2047    2038 1019K 83 Linux

Partition table entries are not in disk order.

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
[Making filesystems...]
[Copying files...]
cp: error writing '/mnt/uImage': No space left on device
After multiple attempts to format the card to provide my space for the uImage I have not had any success.
Is there an updated script that supports later versions of Ubuntu?
Stuck at ground zero with trying to get the board up and running.  The documentation states the binaries are supposed to be delivered on the SD card but they don't seem to ever be.
Any suggestions or help with this issue would be appreciated.  Just need to pointed in the right direction.
Steve
  • Hello,

    Please check this thread:
    e2e.ti.com/.../2341096
    Hope this helps.

    BR
    Margarita
  • Hi Margarita,

    I looked through this thread. I do not get any log information. I get CCCCCCC displayed on the serial port. I get this regardless of the boot switch being set to boot from flash or SD card. My issue is not related to the referenced thread.

    I looked at the SD card and it did not contain any binaries or boot files. I tried to follow the procedure to load these files on SD card and it failed.

    My issue is with the SD Card build script.

    I outlined the errors. Is it possible to get someone to comment on my specific errors?

    sudo ./mksd-ti81xx.sh /dev/sdb ../../Source/ipnc_rdk/
    binaries/DM8127/sd/MLO ../../Source/ipnc_rdk/binaries/DM8127/sd/u-boot.img ../../Source/ipnc_rdk/binaries/DM8127/sd/dm8127-csk.dtb ../../Source/ipnc_rdk/binaries/DM8127/sd/uImage ../../Source/ipnc_rdk/binaries/DM8127/sd/filesystem_DM8127_FULL_FEATURE.tar.gz
    [sudo] password for steve:
    All data on /dev/sdb now will be destroyed! Continue? [y/n]
    y
    [Partitioning /dev/sdb...]
    unmounting device '/dev/sdb1'
    1024+0 records in
    1024+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000953206 s, 1.1 GB/s
    DISK SIZE - 1048576 bytes
    CYLINDERS - 0
    sfdisk: invalid option -- 'D'

    Usage:
    sfdisk [options] <dev> [[-N] <part>]
    sfdisk [options] <command>
    My Ubuntu Release 16.04.1 does not support the sfdisk -- 'D" option.
    I did some research about the issue and the advice was to remove the -D, -H, -S and -C options that are no longer supported.
    After doing so the script ran but had an error copying the uImage file.
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 2048 2056 9 4.5K c W95 FAT32 (LBA)
    /dev/sdb2 10 2047 2038 1019K 83 Linux

    Partition table entries are not in disk order.

    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    [Making filesystems...]
    [Copying files...]
    cp: error writing '/mnt/uImage': No space left on device
    After multiple attempts to format the card to provide my space for the uImage I have not had any success.
    Is there an updated script that supports later versions of Ubuntu?
    Stuck at ground zero with trying to get the board up and running. The documentation states the binaries are supposed to be delivered on the SD card but they don't seem to ever be.
    Any suggestions or help with this issue would be appreciated. Just need to pointed in the right direction.
    Steve
  • Hello,

    Please check this guide:
    processors.wiki.ti.com/.../IPNC_RDK_DM38x_,_DM8127
    What is boot partition size?

    BR
    Margarita
  • Below are the messages displayed prior to trying to resolve the issue at hand. In an effort to increase the boot partition size the SD Card is no longer formatted correctly. This needs to be done.


    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 2048 2056 9 4.5K c W95 FAT32 (LBA)
    /dev/sdb2 10 2047 2038 1019K 83 Linux


    h /dev/sdb ../../Source/ipnc_rdk/binaries/DM8127/sd/MLO ../../Source/ipnc_rdk/binaries/DM8127/sd/u-boot.img ../../Source/ipnc_rdk/binaries/DM8127/sd/dm8127-csk.dtb ../../Source/ipnc_rdk/binaries/DM8127/sd/uImage ../../Source/ipnc_rdk/binaries/DM8127/sd/filesystem_DM8127_FULL_FEATURE.tar.gz
    All data on /dev/sdb now will be destroyed! Continue? [y/n]
    y
    [Partitioning /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, 1.73791 s, 603 kB/s
    DISK SIZE - 15716057088 bytes
    CYLINDERS - 1910
    Checking that no-one is using this disk right now ... OK

    Disk /dev/sdb: 14.7 GiB, 15716057088 bytes, 30695424 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

    >>> Created a new DOS disklabel with disk identifier 0xce75df53.
    Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 4.5 KiB.
    /dev/sdb2: Created a new partition 2 of type 'Linux' and of size 1019 KiB.
    /dev/sdb3:
    New situation:

    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 2048 2056 9 4.5K c W95 FAT32 (LBA)
    /dev/sdb2 10 2047 2038 1019K 83 Linux

    Partition table entries are not in disk order.

    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    [Making filesystems...]
    [Copying files...]
    cp: error writing '/mnt/uImage': No space left on device
    mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
    missing codepage or helper program, or other error

    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    umount: /dev/sdb2: not mounted
    [Done]
  • Hi,

    The following software was supposed to be included with the EVM and was not.  It was to be included on an SD card.   Can I get this software?  Can I get the SDCard with the software?

    What's Included

    TMDSCSKCC - Supplier provides kit containing:

    • I/O common carrier board (TMDSCSKCC)
    • Camera module (Leopard Imaging LI-CAM-AR0331-1.8)
    • Power supply cable suitable for lab power supply
    • Ethernet cable
    • Component video cable
    • USB cable
    • SD card containing software, executables, manuals, and out-of-box demo
    • USB SD card reader
    • Quick Start Guide
    • Warranty card

    TMDSCSK8127 - Supplier provides kit containing:

    • TMS320DM8127 processor board
    • SD card containing software, executables, manuals, and out-of-box demo
    • Quick Start Guide
    • Warranty card

    This Camera Starter Kit (CSK) does not include a power supply. Click here to purchase a power supply compatible with this CSK.

  • Hello,

    The IPNC team has been notified for help.

    BR
    Margarita
  • Installed Ubuntu 14.04 and was able to run script.
  • Was able to run the script with Ubuntu 14.04 and create an SD card image on the card provided with the kit.  Unfortunately, the SD card does not boot.  Was able to use another SD card and it was able to boot.  There are some issues with the build scripts and compatibility with the Minimum OS an hardware provided.

  • I already solved this problem..

    You have to read this forum branch:

    e2e.ti.com/.../509510

    So you need to change

    echo CYLINDERS - $CYLINDERS
    {
    echo ,9,0x0C,*
    echo 10,,,-
    } | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE

    to

    sfdisk -u S $DRIVE << EOF
    63,144522,0x0C,*
    160650,,,-
    EOF


    inside a mksd-ti81xx.sh bash script