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.

Problem Running the Encode Decode demos

Other Parts Discussed in Thread: TMS320DM6446

 hi,
I have a TMS320DM6446 EVM

I have downloaded the SDK files from the http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/dvsdk/mv_dvsdk/v1_30/index.html TI website.
m referring to the sprue66d.pdf (TMS320DM6446 DVEVM v1.30 Getting Started Guide)

1) in section 4.2 (Preparing to Install)

there is a list of files to be downloaded.

❏ mvl_4_0_1_demo_sys_setuplinux.bin
❏ mvl_4_0_1_demo_target_setuplinux.bin
❏ mvl_4_0_1_demo_lsp_setuplinux_#_#_#_#.bin
❏ dvsdk_setuplinux_#_#_#_#.bin
❏ xdc_setuplinux_#_#_#_#.bin
❏ bios_setuplinux_#_#_#_#.bin
❏ TI-C6x-CGT-v#.#.#.#.bin

i got all the files except the last two files which have probably different names as

❏dsp_bios_setuplinux_5_31_08_15.bin

❏TI-C6x-CGTEVAL-v6.0.15.1.bin

so i used these two files install the SDK.

 

will this cause any problem?

 

2) section 3.4 (Running the Demos from the Command Line)

i am instructed to run the following commands

Target $ cd /opt/dvsdk/dm6446
Target $ ./loadmodules.sh

when i run them i get the following msg

root@10.42.43.11:/opt/dvsdk/dm6446# ./loadmodules.sh                           
-bash: ./loadmodules.sh: No such file or directory                             
root@10.42.43.11:/opt/dvsdk/dm6446# ls                                         
cmemk.ko                                                                       
root@10.42.43.11:/opt/dvsdk/dm6446#

 

3) as my board is not manufactured by TI, i considered to build a new kernel and port it throuh the TFTP

section 4.5- Building a New Linux Kernel

To rebuild the Linux Kernel, follow these steps:
1) Log in to your user account (not as root).
2) Set the PLATFORM variable in the Rules.make file as described in
    Section 4.6.
3) Use commands like the following to make a local working copy of the
    MontaVista Linux Support Package (LSP) in your home directory.
     This copy contains the embedded Linux 2.6.10 kernel plus the
      DaVinci drivers. If you installed in a location other than    /opt/mv_pro_4.0.1, use your location in the cp command.


 host $ cd /home/<useracct>
 host $ mkdir -p workdir/lsp
 host $ cd workdir/lsp
host $ cp -R /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci .


but i get a permission denied error

cp: cannot create regular file `./ti-davinci/Documentation/video4linux/CARDLIST.bttv': Permission denied
cp: cannot create regular file `./ti-davinci/Documentation/video4linux/API.html': Permission denied
cp: cannot create regular file `./ti-davinci/.mvl_target_cpu': Permission denied
cp: cannot create regular file `./ti-davinci/Makefile': Permission denied

so i tried to change the owner by

[aditya@localhost lsp]$ chmod +x /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci
chmod: changing permissions of `/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci': Operation not permitted

so i logged in as root                      

and executed the cp command ..

 4) Use the following commands to configure the kernel using the
      DaVinci defaults. Note that CROSS_COMPILE specifies a prefix for
      the executables that is used during compilation:
      host $ cd ti-davinci/linux-2.6.10_mvl401
      host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm644x_defconfig

 

[aditya@localhost ~]$ cd /
[aditya@localhost /]$ cd home/aditya/workdir/lsp/
[aditya@localhost lsp]$ cd ti-davinci
[aditya@localhost ti-davinci]$ ls
arch     Documentation  init    lib           mm           REPORTING-BUGS  usr
COPYING  drivers        ipc     localversion  mvl_patches  scripts
CREDITS  fs             kernel  MAINTAINERS   net          security
crypto   include        ktools  Makefile      README       sound
[aditya@localhost ti-davinci]$

and i cannot see any linux-2.6.10_mvl401 folder in it...