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.

Issue with running codec engine examples



we are giving the following line in loadmodules.sh

insmod cmemk.ko phys_start=0x88000000 phys_end=0x8A000000 pools=20x4096,10x131072,2x1048576

Then i executed the following commands in the OMAPEVM

[root@OMAP3EVM demo_display]# sh loadmodules.sh

ioremap_nocache(0x88000000, 33554432)=0xc9000000

allocated heap buffer 0xc9000000 of size 0x1cac000

cmem initialized 3 pools between 0x88000000 and 0x8a000000

dsplinkk: no version for "struct_module" found: kernel tainted.

DSPLINK Module (1.51) created on Date: Aug 1 2008 Time: 19:28:58

Upto this it is fine but after executing the app.out file it is showing the following error

[root@OMAP3EVM demo_display]# ./app.out

App-> Application started.

[DSP] @0x00000181:[T:0x00000000] servers.video_copy.evm3530 - main> Welcome to 0

().

CEapp-> Allocating contiguous buffer for 'input data' of size 1024...

CEapp-> Allocating contiguous buffer for 'encoded data' of size 1024...

CEapp-> Allocating contiguous buffer for 'output data' of size 1024...

Bus error

[root@OMAP3EVM demo_display]#

 

Can you please tell why we are getting BUS error?

 

Thanks and Reagrds,

M.BHARATh

  • Which Codec Engine version are you using?  (i.e., what's the root directory of your CE install - "codec_engine_2_20"?)

    We've seen Bus Errors sometimes when the app's config script is incorrect (e.g. to include DMAN3 on the ARM-side of OMAP devices - DMAN3 is only used for EDMA3-based devices, which OMAP3 doesn't have on the ARM side).  I think some of the CE 2.20 pre-releases had this bug, but it was fixed before the production release of CE 2.20.

    Chris

  • Hi,

        We are using the following dvsdk version dvsdk_setuplinux_3_00_00_29.bin. By installing the dvsdk bin file we got the codec engine codec_engine_2_20_01. When we are runing the examples in that we are getting that BUS error. Please let us know what may be the problem.

    The values what we are giving for cmem which are given below are correct or wrong.  

    insmod cmemk.ko phys_start=0x88000000 phys_end=0x8A000000 pools=20x4096,10x131072,2x1048576

    Thanks and regards,

    M.BHARATH

  • Do note that your addresses are mapping out to 128MB to 160MB of memory.  (My board has only 128MB of SDRAM, so that leaves me...jealous!  ;-)