I am trying to enable the Compact Flash(CF) support on the DVEVM of dm6446 and to run the encode/decode demo program on the new built linux kernel to save the mepg files on the compact flash card.
The linux kernel was built based on the guideness of the SPRAAP7-Compact Flash (CF) Support on DVEVM and DVSDK software rebuilt for the target based on the SPRUE66D-Getting Started Guide(GSG). however, the demo programs cannot be run (without any output and waiting forever) after rebuilding.
My enviroment and rebuilding process were operated as follows:
1 Download installation files from website [Davinci software-Software Updates - DVSDK v1.30.01 - Production Release]
-mvl_4_0_1_demo_sys_setuplinux.bin
-mvl_4_0_1_demo_target_setuplinux.bin
-mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin
-dvsdk_setuplinux_1_30_00_41.bin
-xdc_setuplinux_3_00_02_14.bin
-dsp_bios_setuplinux_5_31_08_15.bin
-TI-C6x-CGTEVAL-v6.0.15.1.bin
2 Install all files as the GSG Section 4.3.1&4.3.2(4.3.3&4.3.4 are not installed)
3 Export a shared file system for Target access as the GSG Section 4.3.5
4 Setting up and test the biuld/development environment(Hello program is created)
5 Set the PLATFORM variable in the Rules.make file as described in GSG Section 4.6
LINUXKERNEL_INSTALL_DIR configuration is a little different from the GSG.
LINUXKERNEL_INSTALL_DIR=/home/<useracct>/workdir/lsp/ti-davinci_evm-arm_v5t_le/linux-2.6.10_mvl401
6 Because there is not linux-2.6.10_mv1401 folder on ti-davinci, I copied ti-davinci_evm-arm_v5t_le folder to my workdir/lsp described by Section 4.5
7 Configure the kernel Using the Davinci defaults by command [host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm644x_defconfig]
8 run command [host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- menuconfig] and enable Compat Flash support
9 host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- modules
host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- INSTALL_MOD_PATH=/home/<useracct>/workdir/filesys modules_install
host $ cp /home/<useracct>/workdir/lsp/ti-davinci_evm-arm_v5t_le/linux-2.6.10_mvl401/arch/arm/boot/uImage /tftpboot
host $ chmod a+r /tftpboot/uImage
Everything is OK
10 Rebuild the DVSDK Software for the Target
host $ make clean
host $ make
Because asm/arm/davinci_resizer.h and video/davincifb_ioctl.h cannot be found on /home/<useracct>/workdir/lsp/ti-davinci_evm-arm_v5t_le/linux-2.6.10_mvl401/include folder, I copied the necessary header files from /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci/include
and then
host $ make clean
host $ make
host $ make install
11 Before booting the EVM, I restarted the NFS as
host $ /usr/sbin/exportfs -rav
host $ /sbin/service nfs restart
demo programs were created on /workdir/filesys/opt/dvsdk
12 Boot the new linux kernel on the EVM board via TFTP using NFS file system
Boot was ok and compact flash could be mounted and the created hello program could be run corrretly. But when I ran ./encodedecode -h , the program waited forever if the ctrl+c was not pressed.
I checked above process for twice and the result is the same.
Would you please give my any hints to contiune those work.