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.

Building linuxutils in IPNC DVSDK

Hello,

When i'm try to build DM368 ipnc, 'make sysall' and 'make install' i don't get any errors, but in the target folder in /opt/ipnc modules with linuxutils from dvsdk not copied. 

Building by 'make dvsdk' don't show errors too, but with the same result. Folder 'kernel_binaries/dm365' is empty.

Can any one suggest me where is the problem?

Thanks!

  • Hello ,

    can you check if the paths set in Rules.Make is fine?

    ALso, please check if FILESYS_MODE is properly set to UBIFS or NFS based on the need

    Please ensure to untar the filesystem under ROOT privilages

    Normally the binaries are copied at TFTP folder set in Rules.Make

    Regards,

    Raghu

  • Hello, Raghu.

    Yes, pathes in Rules.Make is fine. When i build uImage and ipnc app, binaries of kernel and u-boot copied to tftp directory. FILESYS_MODE is set to NFS. Also when i run make install ipnc binaries, such as av_server.out, copied to target folder(filesys/opt/ipnc), but not kernel modules like cmem.ko. All ipnc rdk installed under root user, and for folder set chmod 777.

    Version of rdk is 3.0, board based on DM368.

  • Can you please upgrade to v3.1 as we have fixed some issues with regard to build and Makefile changes here

    You can check with Appro or local FAE for this updated version

    Regards,

    Raghu

  • I upgrade rdk to version 3.1, it dosn't take any effect. I stil don't get eny errors, but linux utils not build.

  • Can you please check the Makefile of DVSDK folder, the "copy command of cmemk.ko" may be commented? please check this.

    Regards,

    Raghu

  • I check the Makefile in dvsdk folder provided with ipnc rdk, and string with copy command was commented. After uncomment and "make dvsdk" command i get this error.

    cp: cannot stat `/media/NewVolume/ipnc2/IPNC_DM368_IMX036_3.0/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.ko': No such file or directory
    make[2]: *** [cmem] Error 1
    make[2]: Leaving directory `/media/NewVolume/ipnc2/IPNC_DM368_IMX036_3.0/dvsdk_ipnctools'
    make[1]: *** [dvsdkbuild] Error 2
    make[1]: Leaving directory `/media/NewVolume/ipnc2/IPNC_DM368_IMX036_3.0'
    make: *** [dvsdk] Error 2

  • OK,  from the build it looks like you are trying to built it as  a seperate KO file

    PLease note the cmem.ko is not longer built as separate ko file but included as part of UIMAGE and params for the cmem intialization are speicified in bootargs

    This is already in kernel build and gets to UIMAGE, this was done to save the boot-time required for loading KO files

    Regards,

    Raghu