Nadeem, Looks like from the error message:
CMEMK Error: CMEM phys_start (0x87800000) overlaps kernel (0x80000000 -> 0x90000000) that you have changed the memory given to the Linux kernel via bootargs option "mem=XXM". You need to reserve space for CMEM to manage outside of what Linux kernel manages. See the wiki topic: http://wiki.davincidsp.com/index.php?title=Changing_the_DVEVM_memory_map Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of N Ahmed Sent: Monday, October 27, 2008 12:12 PM To: Azbell, Brandon; [email protected] Subject: RE: trouble building dvdsk software Thanks Brandon, With your help I was able to complie the software. Now when I try to run the encodedecode demo, it fails and I have not been able to determine why. The output is shown below. Please note that I am booting from the EVM disk and mounting the NFS from the host. Thanks. -Nadeem [EMAIL PROTECTED]:/opt/dvsdk/dm6467# ./loadmodules.sh CMEMK Error: CMEM phys_start (0x87800000) overlaps kernel (0x80000000 -> 0x90000000) insmod: error inserting 'cmemk.ko': -1 Invalid parameters dsplinkk: no version for "struct_module" found: kernel tainted. dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel. DSPLINK Module (1.50) created on Date: Jan 3 2008 Time: 13:16:55 [EMAIL PROTECTED]:/opt/dvsdk/dm6467# ./encodedecode -p -y3 CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory' Encodedecode demo started. Unable to handle kernel paging request at virtual address 0208257a pgd = c0004000 [0208257a] *pgd=00000000 Internal error: Oops: 1 [#1] Modules linked in: dsplinkk CPU: 0 PC is at __wake_up_common+0x2c/0x80 LR is at 0x208257a pc : [] lr : [] Tainted: PF sp : cff77e20 ip : cff77e50 fp : cff77e4c r10: 00000006 r9 : 00000000 r8 : 00000000 r7 : c0501f60 r6 : cf3d91e0 r5 : cfb89d84 r4 : 00000000 r3 : 00000000 r2 : 00000000 r1 : 00000006 r0 : cfb89d84 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel Control: 5317F Table: 8ED7C000 DAC: 00000017 Process rpciod (pid: 742, stack limit = 0xcff761a0) Stack: (0xcff77e20 to 0xcff78000) 7e20: e1048000 cff76000 20000013 cf3d91e0 c0501f60 ced17900 00001000 ced17a48 7e40: cff77e6c cff77e50 c00418dc c004182c 00000000 00000001 cf3d91e0 00000001 7e60: cff77e84 cff77e70 c00f059c c00418ac cf3d91e0 00000000 cff77eb4 cff77e88 7e80: c00f20ec c00f0550 c00418dc c02a3598 ced17904 cff50158 ced42464 cf3d91e0 7ea0: 00000000 00000000 cff77ee4 cff77eb8 c00f294c c00f20c8 00000001 ced17a78 7ec0: ced17900 00001000 ced17a98 ced17904 00000000 c02fef08 cff77f0c cff77ee8 7ee0: c00f2a3c c00f2834 c00f1d60 ced17904 ced17990 00000000 00000000 c030245c 7f00: cff77f6c cff77f10 c0230220 c00f2974 c02e2a50 c02e2f00 cff77f74 cff77f28 7f20: c023e49c c023f8bc c030245c c02fef04 c02fef08 00000000 d8913f00 0098964f 7f40: c0230344 cff76000 ced17904 00000000 00000000 c030245c c02fef04 c02fef08 7f60: cff77f94 cff77f70 c023034c c022fefc c023e664 cff77fc0 cff76000 cff77fb0 7f80: 00000000 c030245c cff77ff4 cff77f98 c02309e4 c02302dc 00000000 cfecb300 7fa0: c005d868 cff77fbc cff77fbc c00416c4 00000000 cfecb300 c005d868 cff77fbc 7fc0: cff77fbc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 7fe0: 00000000 00000000 00000000 cff77ff8 c0047e08 c02308b8 e49ef05e 67faf79b Backtrace: [] (__wake_up_common+0x0/0x80) from [] (__wake_up+0x40/0x70) [] (__wake_up+0x0/0x70) from [] (nfs_unlock_request+0x5c/0x6c) r5 = 00000001 r4 = CF3D91E0 [] (nfs_unlock_request+0x0/0x6c) from [] (nfs_readpage_release+0x34/0xa4) r5 = 00000000 r4 = CF3D91E0 [] (nfs_readpage_release+0x0/0xa4) from [] (nfs_readpage_result_full+0x128/0x140) r6 = 00000000 r5 = 00000000 r4 = CF3D91E0 [] (nfs_readpage_result_full+0x0/0x140) from [] (nfs_readpage_result+0xd8/0xe4) [] (nfs_readpage_result+0x0/0xe4) from [] (__rpc_execute+0x334/0x3e0) r8 = C030245C r7 = 00000000 r6 = 00000000 r5 = CED17990 r4 = CED17904 [] (__rpc_execute+0x0/0x3e0) from [] (__rpc_schedule+0x80/0x11c) [] (__rpc_schedule+0x0/0x11c) from [] (rpciod+0x13c/0x364) r8 = C030245C r7 = 00000000 r6 = CFF77FB0 r5 = CFF76000 r4 = CFF77FC0 [] (rpciod+0x0/0x364) from [] (do_exit+0x0/0xd9c) Code: e1a0a001 e1a04002 e1a08003 e59b9004 (e59e7000) note: rpciod[742] exited with preempt_count 1 BUG: scheduling while atomic: rpciod/0x00000001/742 caller is do_exit+0xd38/0xd9c Unable to handle kernel paging request at virtual address 080c3694 pgd = cf31c000 [080c3694] *pgd=00000000 Internal error: Oops: 5 [#2] Modules linked in: dsplinkk CPU: 0 PC is at sock_poll+0x28/0x30 LR is at sock_poll+0x2c/0x30 pc : [] lr : [] Tainted: PF sp : cf319f38 ip : cf319f48 fp : cf319f44 r10: 00000000 r9 : cf8165e8 r8 : 00000001 r7 : cf318000 r6 : cf8165e0 r5 : 00000145 r4 : cf808760 r3 : 080c3674 r2 : 00000000 r1 : cfbc3760 r0 : cf808760 Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user Control: 5317F Table: 8F31C000 DAC: 00000015 Process mvltd (pid: 1014, stack limit = 0xcf3181a0) Stack: (0xcf319f38 to 0xcf31a000) 9f20: cf319fa4 cf319f48 9f40: c009ac34 c01cf298 c00417fc cf8165e8 00000001 cf8165e0 fffffff4 befffb30 9f60: 00000000 00000000 c009a0bc cf2fb000 00000000 00900072 cf319fa4 00000bb8 9f80: 00000001 befffb30 000000a8 c002f154 cf318000 009000a8 00000000 cf319fa8 9fa0: c002e9c0 c009aa24 00000bb8 00000001 befffb30 00000001 00000bb8 00000000 9fc0: 00000bb8 00000001 befffb30 00000000 000152e8 401615c4 0001510c befffb6c 9fe0: 00000000 befffb08 40110e20 400fc548 60000010 befffb30 e69aecdf e4beeaff Backtrace: [] (sock_poll+0x0/0x30) from [] (sys_poll+0x220/0x3d0) [] (sys_poll+0x0/0x3d0) from [] (ret_fast_syscall+0x0/0x2c) Code: e1a02001 e1a01003 e5933008 e1a0e00f (e593f020) prev->state: 2 != TASK_RUNNING?? mvltd/1014: BUG in __schedule at kernel/sched.c:2952 Unable to handle kernel paging request at virtual address 30184120 pgd = c0004000 [30184120] *pgd=00000000 Internal error: Oops: 805 [#3] Modules linked in: dsplinkk CPU: 0 PC is at free_block+0x5c/0x124 LR is at drain_array_locked+0x88/0xa8 pc : [] lr : [] Tainted: PF sp : cfc45ed0 ip : cfc45ef8 fp : cfc45ef4 r10: c02ea880 r9 : c02ea890 r8 : cfc03910 r7 : 00000000 r6 : 00000004 r5 : cfc001a0 r4 : cfb89000 r3 : 4004a35a r2 : 30184120 r1 : cfc03910 r0 : cfb89f60 Flags: Nzcv IRQs off FIQs on Mode SVC_32 Segment kernel Control: 5317F Table: 8ED7C000 DAC: 00000017 Process events/0 (pid: 4, stack limit = 0xcfc441a0) Stack: (0xcfc45ed0 to 0xcfc46000) 5ec0: c02e2a50 00000004 cfc03900 00000005 5ee0: cfc03910 cfc001a0 cfc45f1c cfc45ef8 c006d870 c006d6d4 00000000 00000000 5f00: cfc001a0 cfc44000 cfc00210 00000001 cfc45f54 cfc45f20 c006e67c c006d7f8 5f20: 00000000 cfc0ff28 cfc45f54 c02ea8a0 c02ea89c cfc44000 00000000 cfc0ff20 5f40: 00000000 cfc0ff28 cfc45fc4 cfc45f58 c005751c c006e5e4 cfc29f2c c006e5d4 5f60: ffffffff ffffffff 00000001 00000000 c00417fc 00010000 00000000 cfc44000 5f80: 00000000 cfc11540 c00417fc 00100100 00200200 00000000 cfc45fc4 cfc0ff20 5fa0: cfc44000 cfc29f28 c0057318 fffffffc 00000000 00000000 cfc45ff4 cfc45fc8 5fc0: c005d2ec c0057328 ffffffff ffffffff 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 cfc45ff8 c0047e08 c005d214 e6fbe6cb fd9afcff Backtrace: [] (free_block+0x0/0x124) from [] (drain_array_locked+0x88/0xa8) r8 = CFC001A0 r7 = CFC03910 r6 = 00000005 r5 = CFC03900 r4 = 00000004 [] (drain_array_locked+0x0/0xa8) from [] (cache_reap+0xa8/0x244) r8 = 00000001 r7 = CFC00210 r6 = CFC44000 r5 = CFC001A0 r4 = 00000000 [] (cache_reap+0x0/0x244) from [] (worker_thread+0x204/0x2c0) [] (worker_thread+0x0/0x2c0) from [] (kthread+0xe8/0x11c) [] (kthread+0x0/0x11c) from [] (do_exit+0x0/0xd9c) r8 = 00000000 r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000 Code: e28224ff e592401c e5942004 e5943000 (e5823000) note: events/0[4] exited with preempt_count 1 BUG: scheduling while atomic: events/0/0x00000001/4 caller is do_exit+0xd38/0xd9c ---------------------------------------- > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED]; > [email protected] > Date: Sat, 25 Oct 2008 08:22:59 -0500 > Subject: RE: trouble building dvdsk software > > Nadeem, > > Thank you for providing the necessary information to assist in > debugging this issue. > > You need to build the LSP first. The reason why the > asm/arch/davinci_vdce.h isn't found is because the LSP has not been > configured for the DM6467 and built yet. The act of performing the following > in the LSP will create the softlinks "asm" and "arch" in the ./include > directory. > > Please execute the following. > >> cd >> ${HOME}/workdir/lsp/ti-davinci/linux-2.6.10_mvl401_LSP_01_30_00_082 >> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm646x_defconfig make >> ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig make ARCH=arm >> CROSS_COMPILE=arm_v5t_le- uImage cd ${HOME}/dvsdk_1_40_00_31 make > > > Brandon Azbell > Texas Instruments > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of N Ahmed > Sent: Saturday, October 25, 2008 2:16 AM > To: [email protected] > Subject: trouble building dvdsk software > > > Hello, > > I am currently evaluating the DM6467 EVM. I have downloaded the latest > version 1.40.00.31 of the dvsk software from TI's website. I am following > the instructions in section 4.6 of the getting started guide. When I run a > make command, the compile breaks when it cannot find davinci_vdce.h (included > below) . I've checked the paths in my Rules.make file (included below) and > everything appears okay. Am I missing something? Any help appreciated. > > Best regards, > > -Nadeem Ahmed > > Make output: > > [EMAIL PROTECTED]:~/dvsdk_1_40_00_31$ make make -C > /home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06 dm6467_al > make[1]: Entering directory `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06' > make[2]: Entering directory > `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06/packages/ti/sdo/dmai' > Compiling obj/Buffer.dm6467.o470MV from Buffer.c.. > Compiling obj/BufferGfx.dm6467.o470MV from BufferGfx.c.. > Compiling obj/BufTab.dm6467.o470MV from BufTab.c.. > Compiling obj/Ccv.dm6467.o470MV from Ccv.c.. > Compiling obj/ColorSpace.dm6467.o470MV from ColorSpace.c.. > Compiling obj/Framecopy.dm6467.o470MV from Framecopy.c.. > Compiling obj/Loader.dm6467.o470MV from Loader.c.. > Compiling obj/VideoStd.dm6467.o470MV from VideoStd.c.. > Compiling obj/ce/Adec.dm6467.o470MV from ce/Adec.c.. > Compiling obj/ce/Aenc.dm6467.o470MV from ce/Aenc.c.. > Compiling obj/ce/Sdec1.dm6467.o470MV from ce/Sdec1.c.. > Compiling obj/ce/Sdec.dm6467.o470MV from ce/Sdec.c.. > Compiling obj/ce/Senc.dm6467.o470MV from ce/Senc.c.. > Compiling obj/ce/Vdec2.dm6467.o470MV from ce/Vdec2.c.. > Compiling obj/ce/Vdec.dm6467.o470MV from ce/Vdec.c.. > Compiling obj/ce/Venc1.dm6467.o470MV from ce/Venc1.c.. > Compiling obj/ce/Venc.dm6467.o470MV from ce/Venc.c.. > Compiling obj/linux/Capture.dm6467.o470MV from linux/Capture.c.. > Compiling obj/linux/Cpu.dm6467.o470MV from linux/Cpu.c.. > Compiling obj/linux/Display.dm6467.o470MV from linux/Display.c.. > Compiling obj/linux/Display_fbdev.dm6467.o470MV from linux/Display_fbdev.c.. > Compiling obj/linux/Display_v4l2.dm6467.o470MV from linux/Display_v4l2.c.. > Compiling obj/linux/Dmai.dm6467.o470MV from linux/Dmai.c.. > Compiling obj/linux/Fifo.dm6467.o470MV from linux/Fifo.c.. > Compiling obj/linux/Pause.dm6467.o470MV from linux/Pause.c.. > Compiling obj/linux/Rendezvous.dm6467.o470MV from linux/Rendezvous.c.. > Compiling obj/linux/Sound.dm6467.o470MV from linux/Sound.c.. > Compiling obj/linux/_SysFs.dm6467.o470MV from linux/_SysFs.c.. > Compiling obj/linux/Time.dm6467.o470MV from linux/Time.c.. > Compiling obj/linux/_VideoBuf.dm6467.o470MV from linux/_VideoBuf.c.. > Compiling obj/linux/dm6467/Blend.dm6467.o470MV from linux/dm6467/Blend.c.. > linux/dm6467/Blend.c:20:35: asm/arch/davinci_vdce.h: No such file or > directory > linux/dm6467/Blend.c: In function `Blend_config': > linux/dm6467/Blend.c:99: error: `vdce_params_t' undeclared (first use > in this function) > linux/dm6467/Blend.c:99: error: (Each undeclared identifier is > reported only once > linux/dm6467/Blend.c:99: error: for each function it appears in.) > linux/dm6467/Blend.c:99: error: parse error before "params" > linux/dm6467/Blend.c:142: error: `params' undeclared (first use in > this function) > linux/dm6467/Blend.c:142: error: `VDCE_OPERATION_POST_CODECMODE' > undeclared (first use in this function) > linux/dm6467/Blend.c:145: error: `VDCE_GET_DEFAULT' undeclared (first > use in this function) > linux/dm6467/Blend.c:151: error: `VDCE_CCV_MODE_420_422' undeclared > (first use in this function) > linux/dm6467/Blend.c:192: error: `VDCE_OPERATION_BLENDING' undeclared > (first use in this function) > linux/dm6467/Blend.c:250: error: `VDCE_PROGRESSIVE' undeclared (first > use in this function) > linux/dm6467/Blend.c:251: error: `VDCE_FRAME_MODE' undeclared (first > use in this function) > linux/dm6467/Blend.c:262: error: `VDCE_SET_PARAMS' undeclared (first > use in this function) > linux/dm6467/Blend.c: In function `Blend_execute': > linux/dm6467/Blend.c:282: error: `vdce_address_start_t' undeclared > (first use in this function) > linux/dm6467/Blend.c:282: error: parse error before "params" > linux/dm6467/Blend.c:319: error: `params' undeclared (first use in > this function) > linux/dm6467/Blend.c:319: error: `VDCE_BUF_IN' undeclared (first use > in this function) > linux/dm6467/Blend.c:326: error: `VDCE_BUF_OUT' undeclared (first use > in this function) > linux/dm6467/Blend.c:333: error: `VDCE_BUF_BMP' undeclared (first use > in this function) > linux/dm6467/Blend.c:343: error: `VDCE_START' undeclared (first use in > this function) > make[2]: *** [obj/linux/dm6467/Blend.dm6467.o470MV] Error 1 > make[2]: Leaving directory > `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06/packages/ti/sdo/dmai' > make[1]: *** [dm6467_al] Error 2 > make[1]: Leaving directory `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06' > make: *** [dmai] Error 2 > [EMAIL PROTECTED]:~/dvsdk_1_40_00_31$ > > > Rules.make: > > # > # This make variable must be set before the demos or examples # can be > built. It must be set to either dm355, dm6446 or dm6467 # > PLATFORM=dm6467 > ifndef PLATFORM > $(error PLATFORM must be set in Rules.make to dm355,dm6467, or > dm6446 before building the demos) endif > > # The installation directory of the DVSDK dvsdk_1_40_00_31. > DVSDK_INSTALL_DIR=${HOME}/dvsdk_1_40_00_31 > > # For backwards compatibility > DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR) > > # Where the Davinci Multimedia Application Interface is installed > DMAI_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dmai_1_10_00_06 > > # Where the Codec Engine package is installed. > CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec_engine_2_10_01 > > # Where the XDAIS package is installed. > XDAIS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_10_01 > > # Where the DSP Link package is installed. > LINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dsplink-davinci-v1.50-prebuilt > > # Where the CMEM (contiguous memory allocator) package is installed. > CMEM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cmem_2_10 > > # Where the codec servers are installed (dm6446) or codecs (dm355) ifneq > ($(PLATFORM),dm355) > CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm6467_dvsdk_combos_1_15 > else > CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/__CODEC_VERS__ > endif > > # Where the RTSC tools package is installed. > #XDC_INSTALL_DIR=${HOME}/xdc_3_00_06 > XDC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdc_3_00_06 > > # Where Framework Components product is installed > FC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework_components_2_10_01 > > # Where DSP/BIOS is installed > #BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/ > BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/bios_5_32_01 > > # The directory that points to your kernel source directory. > #LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/t > i-davinci/linux-2.6.10_mvl401_LSP_01_30_00_082 > LINUXKERNEL_INSTALL_DIR=${HOME}/workdir/lsp/ti-davinci/linux-2.6.10_mv > l401_LSP_01_30_00_082 > > # The prefix to be added before the GNU compiler tools (optionally including > # path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-". > MVTOOL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le > MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le- > > # Where to copy the resulting executables and data to (when executing 'make # > install') in a proper file structure. This EXEC_DIR should either be visible > # from the target, or you will have to copy this (whole) directory onto the # > target filesystem. > #EXEC_DIR=${HOME}/workdir/filesys/opt/dvsdk > EXEC_DIR=${HOME}/workdir/filesys/opt/dvsdk/$(PLATFORM) > > _________________________________________________________________ > Want to read Hotmail messages in Outlook? The Wordsmiths show you how. > http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Bl > og-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008 > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _________________________________________________________________ Stay organized with simple drag and drop from Windows Live Hotmail. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008 _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
