Hello,
I am having some difficulty getting the decode demo to run on our DM6446 EVM. I had it working with the older version of the DVEVM CDs. I went through and wiped out (or renamed) folders and installed the latest downloaded CDs, and now am unable to get the decode demo to work.
1. Installed all the .bin files and decompressed as per the GSG.
2. NFS with TFTP seems to be working ok.
3. Able to build and run the hello world program.
4. Rebuilding the linux kernel had an issue. The folder in the GSG didn't exist, so as per some posts I'd seen here, I used (GSG Section 4.5):
ti-davinci instead of ti-davinci/linux-2.6.10_mvl401.
Similarly, my Rules.make in GSG Section 4.6 has:
LINUXKERNEL_INSTALL_DIR=$(HOME)/workdir/lsp/ti-davinci
instead of the ti-davinci/linux-2.6.10_mvl401 from the GSG.
With these changes, the uImage built ok and I copied it to /tftpboot.
5. When I copy the pre-built cmemk.ko and dsplinkk.ko to a folder accessible via the NFS, I am able to loadmodules.sh and they go in ok. Then when I run the decode demo, it gives no output and just sits there. I can Ctrl-C back to the prompt, but still nothing from the demo.
6. When I build the cmemk.ko and dsplink.ko using make clean, make, make install, and then run those on the NFS, I get the version error discussed in the FAQ about "disagrees about version of symbol struct_module". And cannot load the modules.
target $ uname -r
2.6.10_mvl401-davinci_evm
target $ strings cmemk.ko | grep vermagic
vermagic=2.6.10_mvl401 preempt ARMv5 gcc-3.4
My ti-davinci/localversion file contains only "_mvl401". The ti-davinci/localversion-mvl file does not exist, leaving me to wonder where the vermagic string came from at all.
In any case, the cmemk issue is a strong indicator something is wrong, but the primary problem is that even with the pre-built cmemk.ko, my decode demo won't run.
I have repeated some sections of the GSG, re-installing etc. to try to ensure that I am using all versions from the same DVSDK version, but to no avail. I don't know where to look to try to get more troubleshooting information.
My u-boot gives:
U-Boot 1.1.3 (Dec 4 2006 - 12:05:38)
Not sure if that's a new or old version.
My montavista folder is:
/opt/mv_pro_4.0.1
My dvsdk folder is:
/home/wblack/dvsdk_1_30_01_41
Thanks,
Wiley