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.

DM3730开发板运行DVSDK Demos出错

Other Parts Discussed in Thread: DM3730, OMAP3530

请教一下各位,我的DM3730的板子共享上nfs的文件系统之后,运行root@beagleboard:/dm3730rootfs/etc/init.d# ./loadmodule-rc start

打印出这样的信息,

FATAL: Module cmemk not found.
FATAL: Module dsplinkk not found.
FATAL: Module lpm_omap3530 not found.
FATAL: Module sdmak not found.
./loadmodule-rc: line 42: amixer: not found
./loadmodule-rc: line 42: amixer: not found
./loadmodule-rc: line 42: amixer: not found

测试例程都用不了了,这该怎么解决呢?
注:我的板子是自带的Angstrom Linux系统。
  • 模块没有找见,需要把*.ko拷到文件系统下面,不过一般文件系统应该已经有这些文件了,这个比较奇怪,会不会因为权限原因,文件系统没有正常解压~

  • 我手动加载模块# insmod cmemk.ko ,提示如下:
    [13244.782775] cmemk: disagrees about version of symbol module_layout
    insmod: error inserting 'cmemk.ko': -1 Invalid module format

    看了一下板子的内核版本是2.6.32,而.ko文件的版本是2.6.37,应该是版本对应不上,导致无法加载。将DVSDK自带的交叉编译器换成了板子推荐的交叉编译器arm-2009q1/bin/arm-none-linux-gnueabi-gcc,重新执行make demos 编译报错如下:

    making package.mak (because of package.bld) ...
    js: "./package.bld", line 62: Error: template generation of 'compiler.opt' failed: Error: /usr/local/arm/arm-2009q1/bin/arm-arago-linux-gnueabi-gcc cannot be found. Ensure that rootDir for the GCArmv5T target is set correctly in ./config.bld
    gmake: *** Deleting file `package.mak'
    making package.mak (because of package.bld) ...
    js: "./package.bld", line 62: Error: template generation of 'compiler.opt' failed: Error: /usr/local/arm/arm-2009q1/bin/arm-arago-linux-gnueabi-gcc cannot be found. Ensure that rootDir for the GCArmv5T target is set correctly in ./config.bld
    gmake: *** Deleting file `package.mak'
    gmake: *** No rule to make target `.configuro'. Stop.
    Warning: directory "/usr/local/dvsdk/dvsdk-demos_4_02_00_01/packages" on package path does not exist
    js: "/usr/local/dvsdk/xdctools_3_16_03_36/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make[3]: *** [edge_detection_config/compiler.opt] Error 1
    make[3]: Leaving directory `/usr/local/dvsdk/dvsdk-demos_4_02_00_01/omap3530/edge_detection'
    make[2]: *** [edge_detection] Error 2
    make[2]: Leaving directory `/usr/local/dvsdk/dvsdk-demos_4_02_00_01/omap3530'
    make[1]: *** [omap3530] Error 2
    make[1]: Leaving directory `/usr/local/dvsdk/dvsdk-demos_4_02_00_01'
    make: *** [demos] Error 2

    还请指点此种情况该如何解决??多谢!!

  • 楼主也在用DM3730啊,希望多交流

  • 好啊,欢迎交流,加我QQ:475719796!

  • 建议使用最新dvsdk,里面有配套使用的交叉编译工具,内核,文件系统等

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_4_00/latest/index_FDS.html

  • 这种问题,你还是跟进去看Code、Makefile、Rules.make吧。别人帮不了你。

    建议你先把关于环境搭建的文档认真看上一遍。

  • dvsdk换成4.02的就OK了。

  • 你好,我正在学习有关于DVSDK相关的一些东西,方便加一下QQ吗,有些问题想咨询一下大神,万分感谢!!

x 出现错误。请重试或与管理员联系。