1 系统编译
① Linux端(A8)编译命令:
make –s dvr_rdk_linux在文件夹
DVRRDK_04.01.00.02/dvr_rdk/bin/ti816x/bin/
生成
dvr_rdk_demo_mcfw_api.out
linux可执行程序,需要将该应用程序移动到下列目录并覆盖:
DVRRDK_04.01.00.02/target/rfs_816x/home/root/ti816x/
② Bios6端(DSP)编译命令:
make –s dvr_rdk_bios6在文件夹
DVRRDK_04.01.00.02/dvr_rdk/bin/ti816x/firmware/
生成
dvr_rdk_fw_c6xdsp_1024M_256M.xe674
dvr_rdk_fw_m3video_1024M_256M.xem3
dvr_rdk_fw_m3vpss_1024M_256M.xem3
将这三个文件移动到下列文件夹并覆盖:
DVRRDK_04.01.00.02/target/rfs_816x/home/root/ti816x/firmware/
2 运行程序
① 加载驱动
./init.sh : 加载程序运行需要的linux内核模块./init.sh will load the kernel modules (.ko) needed for the SDK demo
② 加载M3固件
./load.sh : 加载Video-M3和VPSS-M3的固件./load.sh will load the executable on the Video-M3 and VPSS-M3 processor and wait until these processor’s have finished their initialization
③ 运行程序
./run.sh : 运行A8端的linux应用程序./run.sh will run the A8 side application. After running the application you will be presented with a menu of options.
④ 卸载固件
./unload.sh : 卸载Video-M3和VPSS-M3的固件./unload.sh will send a stop command to both processors and wait until they finish their shutdown sequence. Then the executable will be “unloaded”.