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.

DM368 IPNC:Making the executable

 

Dear all,

I am trying to make the executable by following the doc AVServer_Design_guide_IPNC_DM36x.pdf.as below:

3.6.4 Making a executable
             By default running make on MAKEFILE.MK will result in .a file.
         •
             To generate a .out or executable file do make exe on MAKEFILE.MK
         •

But when i am trying i am getting the following:

make: *** No targets specified and no makefile found.  Stop.

Am i missing something,how can i generate the executable.

 

Thanks and Regards,

Mayank

 

 

  • Sorry, something went wrong with my last post.

    You should run "make exe" or "make sysall" from the top "/ipnc" folder
    where the top "Makefile" and "Rules.make" exist

    Regards,
    Marko.

  • Hi Marko,

    Thanks for your mail.Even after doing make exe at ipnc directory i am not getting any executables created.

    Do we have to do any settings first before gettign executables.

    Am i missing something?

     

    Thanks and Regards,

    Mayank

     

     

  •  

     

     

    Thanks Marko  I am getting the executable built but on running them i am getting errors like this:

     

    # ./system_server &
    # queue id:0
    FileMngThread created
    queue id:32769
    AlramThread created
    Share memory init success
    IPNC_DM368_2.6.0 (mayank@mayank-laptop) (gcc version 4.2.0 (Mon
    queue id:65538
    queue id:32769
    queue id:65538
    queue id:98307
    Check_device_version : DEVICE VER = 1 !!

    CPU is DM368
    ./av_server.out DM368 NTSC APPRO2A AEWB 1080P H264 5000000 VBR AUTO MENUOFF &
    ApproDrvInit: 7
    queue id:131076

    AVSERVER UI: Initializing.
     
     CLK Hz,
     ARM   Hz =  432000000
     DDR   Hz =  340000000
     VPSS  Hz =  340000000
     IMCOP Hz =  340000000
     
     DRV LDC: GetConfig 0003 0x0
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
     ERROR  (imageTuneCommunication.c|IMAGE_TUNE_ServerOpen|117): IMAGE TUNE 2
     ERROR  (drv_imageTune.c|DRV_imageTuneInit|86): IMAGE_TUNE_ServerOpen()
     ERROR  (drv.c|DRV_init|73): IMAGE TUNE init
     ERROR  (drv.c|DRV_init|107): DRV_init()
     ERROR  (avServerApi.c|AVSERVER_init|572): DRV_init()
     ERROR  (avServerUi.c|UI_start|54): AVSERVER_init()

    #
    # cd ../../usr/share/mayank/
    # ./moduletest.out alg_vidDec
     
     CLK Hz,
     ARM   Hz =  432000000
     DDR   Hz =  340000000
     VPSS  Hz =  340000000
     IMCOP Hz =  340000000
     
     DRV LDC: GetConfig 0003 0x0
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
     ERROR  (imageTuneCommunication.c|IMAGE_TUNE_ServerOpen|117): IMAGE TUNE 2
     ERROR  (drv_imageTune.c|DRV_imageTuneInit|86): IMAGE_TUNE_ServerOpen()
     ERROR  (drv.c|DRV_init|73): IMAGE TUNE init
     ERROR  (drv.c|DRV_init|107): DRV_init()
     ERROR  (alg_vidDec.c|ALG_vidDecTestMain|379): DRV_init()
    # ./moduletest.out image_tune
     IMAGE TUNE: Server Starting ...
    CMEM Error: CMEM_init() not called, you must initialize CMEM before making API calls.
     ERROR  (imageTuneCommunication.c|IMAGE_TUNE_ServerOpen|117): IMAGE TUNE 2
     IMAGE TUNE: Server Stopped !!!

     

    I will debug this tomotrrow,meanwhile any suggestions on why it gives errors will be of much help.

     

    Thanks and Regards,

    Mayank

  • Hi Mayank,

    First you have to load drivers and cmem ...

     Stop :
    ./killall.sh

    Start  :
    ./loadkmodules.sh
    ./av_capture_load.sh
    ./loadmodules_ipnc.sh
    ./system_server &
    ./wis-streamer &
    ./boa -c /etc &

     

    Regards,
    Marko.