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.

How to use the LSP?

My chip is DM6467t.I download the REL_LSP_02_00_00_140 and install it.

but when building PSP_02_00_00_140->examples->dm646x,it always error.

[root@supertv dm646x]# ./Rules.make
./Rules.make: line 3: KERNEL_DIR: command not found
./Rules.make: line 7: INSTALL_DIR: command not found
./Rules.make: line 10: INSTALL_DIR: command not found
./Rules.make: line 10: EXE_DIR: command not found
./Rules.make: line 14: KERNEL_DIR: command not found
./Rules.make: line 14: INCLUDE_DIR: command not found
./Rules.make: line 17: CROSS_COMPILE: command not found
[root@supertv dm646x]# cd vpif
[root@supertv vpif]# ls
Makefile        vpif_display.c        vpif_userptr_loopback.c
vbi_loopback.c  vpif_mmap_loopback.c
[root@supertv vpif]# make
gcc  -c vpif_userptr_loopback.c
vpif_userptr_loopback.c:61:35: error: media/davinci/adv7343.h: No such file or directory
vpif_userptr_loopback.c:62:35: error: asm/arch/davinci_vdce.h: No such file or directory
vpif_userptr_loopback.c: In function ‘allocateBuffers’:
vpif_userptr_loopback.c:594: error: ‘vdce_reqbufs_t’ undeclared (first use in this function)
vpif_userptr_loopback.c:594: error: (Each undeclared identifier is reported only once
vpif_userptr_loopback.c:594: error: for each function it appears in.)
vpif_userptr_loopback.c:594: error: expected ‘;’ before ‘reqbuf’
vpif_userptr_loopback.c:595: error: ‘vdce_buffer_t’ undeclared (first use in this function)
vpif_userptr_loopback.c:595: error: expected ‘;’ before ‘buffer’
vpif_userptr_loopback.c:611: error: ‘reqbuf’ undeclared (first use in this function)
vpif_userptr_loopback.c:611: error: ‘VDCE_BUF_IN’ undeclared (first use in this function)
vpif_userptr_loopback.c:614: error: ‘VDCE_IMAGE_FMT_422’ undeclared (first use in this function)
vpif_userptr_loopback.c:616: error: ‘VDCE_REQBUF’ undeclared (first use in this function)
vpif_userptr_loopback.c:624: error: ‘buffer’ undeclared (first use in this function)
vpif_userptr_loopback.c:627: error: ‘VDCE_QUERYBUF’ undeclared (first use in this function)
vpif_userptr_loopback.c:656: error: ‘VDCE_BUF_OUT’ undeclared (first use in this function)
make: *** [vpif_userptr_loopback.o] Error 1
[root@supertv vpif]#

Can you help me?

How to use the LSP and how to build the vpif ,emac,usb?

  • Hi,

     

    Please use make as the command to build all the examples. Rules.make is not comment. It is just a file to specify the verious paths required for compiling these examples. I think all of these make errors are because of the incorrect path in the Rules.make file. Please edit this file with the correct paths and try with the make command.

     

    Thanks,

    Brijesh