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.

Davinci DM355 EVM problems

I began to look at the demos, and I am trying to run the encodedecode application on the Eval Board through the command line, I am trying to follow the steps laid out on Page 3-8 of the Getting Started Guide.

 First the location /opt/dvsdk/dm355 didn’t exist so I manually copied the files over into the appropriate directory on the host.  When this was done, I went to minicom and checked if the files showed up and they did.  But when I tried calling ./loadModules.sh I get the following errors:

 Insmod: can’t read ‘cmemk.ko’: No such file or directory

./loadmodules.sh: line 6: ./mapdmaq: No such file or directory

Insmod: can’t read ‘dm350mmap.ko’: No such file or directory

Mknod: wrong number of arguments 

Is there something that I am missing or forgetting to do?

Thanks in advance!

  • It seems like you are still missing some files (cmemk.ko, dm350mmap.ko).

    Please note that you need to complete sections 4.5 and 4.6 of the Getting Started Guide in order.   When you run

    > make install

    as part of sectio 4.6 step 3, the build scripts should copy all the necessary files assuming your Rules.make file has all the necessary paths (e.g. Linux kernel, file system directory...)

  • Thanks for the response, I have completed the building of the kernel and did the process of booting from the new kernel, and everything works, but that is because its mounting the direcotry structure of in the NAN flash.  When I try connecting to the NFS Server by booting it again, it doesnt seem to find the dm350mmap.ko.

    Do I have to always download the new linux kernel everytime I press the reset?

    And is it ok to connect to the NFS Server and my directory structure on the host with the new kernel?

     

    Thanks

  • NeeravPatel said:
    When I try connecting to the NFS Server by booting it again, it doesnt seem to find the dm350mmap.ko.

    The NFS mount is a folder you define while going through the getting started guide, probably something like /home/user/workdir/filesys/, you just have to make sure that the directory that you are running loadmodules.sh from contains the dm350mmap.ko file, as Juan mentioned the install should be doing it but if that is failing for some reason you can copy that file out of your dvsdk install by hand.

    NeeravPatel said:
    Do I have to always download the new linux kernel everytime I press the reset?

    If you are set up for TFTP booting than the kernel would have to be downloaded every time you reset the device, if you run your kernel out of flash than the download can be avoided (though the time difference is minimal and the flexibility of TFTP when you need to change out your kernel is handy).

    NeeravPatel said:
    And is it ok to connect to the NFS Server and my directory structure on the host with the new kernel?

    Yor NFS mount directory should be an actual Linux filesystem, trying to mount something that does not contain a filesystem could cause problems depending on what you are trying to do, my suggestion would be to mount your normal NFS filesystem and copy any files you need from your directory structure into that.