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.

Problems rebuilding on dm6446...Getting started guidev1.30

Hello,

I follow step by step the Getting Started Guide (spruee66d), but when I tried to Buiding a New Linux Kernel, (session 4.5), in my /home/<useracct>/workdir/lsp/ti-davinci ....there isn't the linux-2.6.10_mvl401 folder... I found it in  /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le. I tried to copy this folder in my workdir/lsp, but make command doesn't work...

I need to install and configure SoC Analyzer, someone can help me?

Thanks

 

  • scioniorgio said:

    but when I tried to Buiding a New Linux Kernel, (session 4.5), in my /home/<useracct>/workdir/lsp/ti-davinci ....there isn't the linux-2.6.10_mvl401 folder... I found it in  /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le

    I don't know why you want to find linux-2.6.10_mvl401 folder under .../lsp/ti-davinci. If you install EVM step by step, after copying files from /opt/mv_pro_4.0/.../ti-davinci to /home/usracc/workdir/lsp/ti-davinci/, you will find kernel files in it.

     

    scioniorgio said:

    I tried to copy this folder in my workdir/lsp, but make command doesn't work...

    I think you should check whether a file named "makefile" is existed before running "make" command in Linux system. If this file is not in the folder, "make" command will failed because it doesn't know what to do next.

     

  • scioniorgio said:

    Hello,

    I follow step by step the Getting Started Guide (spruee66d), but when I tried to Buiding a New Linux Kernel, (session 4.5), in my /home/<useracct>/workdir/lsp/ti-davinci ....there isn't the linux-2.6.10_mvl401 folder... I found it in  /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le. I tried to copy this folder in my workdir/lsp, but make command doesn't work...

    Please note that reference to "2.6.10_mvl401 " in the GSG is a typo; you shoud just 'cd' to 'ti-davinci' instead as Lorry suggested.  Also please make sure makefile is prensent; if you copied the right directory in previous step, then makefile should be there.

  • Thanks all for your answers.
       The kernel in the folder ..../ti-davinci works properly. I was able to compile it, after enabled Relayfs and Linux Trace Toolkit, but now I have others problems.

    1. During the boot phase of the target (in the minicom's window) is shown the following error message:

       Starting NFS common utilities: statd failed (1: ).

    How can I solve it?  Does NFS work even without these "NFS common utilites", isn't it? On the contrary where can I take the right rpm package for a Red Hat 4.5 Operating System?


    2. When I try to load modules with loadmodules.sh command, I receive the following result:

    root@video_coder_HD:/opt/dvsdk/dm6446# ./loadmodules.sh
    cmemk: disagrees about version of symbol struct_module
    insmod: error inserting 'cmemk.ko': -1 Invalid module format
    dsplinkk: no version for "struct_module" found: kernel tainted.
    dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel.
    DSPLINK Module (1.40.05_p1) created on Date: Nov 20 2007 Time: 11:01:11
    root@video_coder_HD:/opt/dvsdk/dm6446#

    Trying to replace the cmemk.ko file in
    /home/user/workdir/filesys/opt/dvsdk/dm6446 with the cmemk.ko located in
    /home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/examples/apps/system_files/

    davinci the error message disappears, like you can see below:

    root@video_coder_HD:/opt/dvsdk/dm6446# ./loadmodules.sh
    ioremap_nocache(0x87800000, 8388608)=0xc8080000 allocated heap buffer
    0xc8080000 of size 0xf7000 cmem initialized 4 pools between 0x87800000 and
    0x88000000
    dsplinkk: no version for "struct_module" found: kernel tainted.
    dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel.
    DSPLINK Module (1.40.05_p1) created on Date: Nov 20 2007 Time: 11:01:11
    root@video_coder_HD:/opt/dvsdk/dm6446#

    but executing demos, ( I tried with encodedecode) although no errors messages appear, the demo "waits" all the time and it didn't work.

    Please help me it is very important and I need your support.

    Thank you in advance. Bye.

  • sorry for the delayed response, but I just got back from vacation today.

    I will need to look into 1), but "cmemk: disagrees about version of symbol struct_module" in 2) seems to indicated you are mixing and matching software components (u-boot, uImage, and Linux file system) from different DVSDK versions.  You need to make sure that all software components used come from the same DVSDK to resolve this issue.