RE: Problems of buliding codec engine examples
Resend due to bounce. If you have purchased the DVEVM, then you can access all of the content with the exception of the c6x+ compiler from www.ti.com/dvevmupdates. From the message below, it looks like you have access to v1.10 - please be advised you should update to the u-boot provided with the 1.10.01 release as this fixes a problem where the DSP power is not properly enabled by u-boot in v1.10. You can purchase the DVSDK-L and get a full license to MontaVista Linux and access to the c6x+ compiler or you can purchase CCS 3.3 to get access to the c6x+ compiler. Thom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Ring, Chris Sent: Tuesday, March 20, 2007 4:10 PM To: [EMAIL PROTECTED]; davinci-linux-open-source Subject: RE: Problems of buliding codec engine examples You need at least DVSDK, the codec packages, and the server build scripts. I don't know the details on how you obtain those pieces, but others on this list and/or your TI rep can help. Chris -Original Message- From: Beny Zhang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 5:50 AM To: davinci-linux-open-source; Ring, Chris Subject: RE: Problems of buliding codec engine examples Hello,Chris I'm sorry that there is something worng with my mail_server. Below is my questions. If I wnat to rebuild the dsp server, what tools should I have? Can I rebuild the dsp server just use the software packages deliver with the DVEVM? Thank you very much! -- Original Message -- From: Ring, Chris [EMAIL PROTECTED] Date: Mon, 8 Jan 2007 01:33:21 -0600 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 ). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages ;$(CMEM_INS TALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the /dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled. And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose MVArm9 here? Should I comment the C64P and Linux86 in the user.bld file? And what is the exactly meaning of the C64P and the MVArm9 here? 2 Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content). I can't
RE: Problems of buliding codec engine examples
Hello,Chris I'm sorry that there is something worng with my mail_server. Below is my questions. If I wnat to rebuild the dsp server, what tools should I have? Can I rebuild the dsp server just use the software packages deliver with the DVEVM? Thank you very much! -- Original Message -- From: Ring, Chris [EMAIL PROTECTED] Date: Mon, 8 Jan 2007 01:33:21 -0600 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2fami lyId=132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2fami lyId=132tabId=489 ). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INS TALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the /dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled. And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose MVArm9 here? Should I comment the C64P and Linux86 in the user.bld file? And what is the exactly meaning of the C64P and the MVArm9 here? 2 Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content). I can't find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can't find the FC_INSTALL_DIR either. 3 As I can't find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the REQUIRE_BIOS=0, comment the FC_INSTALL_DIR=... in the xdcpaths.mak file. When I try to build example codec and change the /dvevm_1_10/codec_engine_1_02/examples/codec dir and type gmake clean the shell tell me that the FC_INSTALL_DIR is wrong. So can I build the example codec running in the DVEVM board without building DSP-side content? How? And can I download the DSP/BIOS and FC from TI freely? Or I should pay for them? Thank you very much! Best Regards! Beny Sent via the WebMail system at mail.e4ewireless.net ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Problems of buliding codec engine examples
You need at least DVSDK, the codec packages, and the server build scripts. I don't know the details on how you obtain those pieces, but others on this list and/or your TI rep can help. Chris -Original Message- From: Beny Zhang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 5:50 AM To: davinci-linux-open-source; Ring, Chris Subject: RE: Problems of buliding codec engine examples Hello,Chris I'm sorry that there is something worng with my mail_server. Below is my questions. If I wnat to rebuild the dsp server, what tools should I have? Can I rebuild the dsp server just use the software packages deliver with the DVEVM? Thank you very much! -- Original Message -- From: Ring, Chris [EMAIL PROTECTED] Date: Mon, 8 Jan 2007 01:33:21 -0600 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 ). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages ;$(CMEM_INS TALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the /dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled. And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose MVArm9 here? Should I comment the C64P and Linux86 in the user.bld file? And what is the exactly meaning of the C64P and the MVArm9 here? 2 Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content). I can't find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can't find the FC_INSTALL_DIR either. 3 As I can't find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the REQUIRE_BIOS=0, comment the FC_INSTALL_DIR=... in the xdcpaths.mak file. When I try to build example codec and change the /dvevm_1_10/codec_engine_1_02/examples/codec dir and type gmake clean the shell tell me that the FC_INSTALL_DIR is wrong. So can I build the example codec running in the DVEVM board without building DSP-side content? How? And can I download the DSP/BIOS and FC from TI freely? Or I should pay for them? Thank you very much! Best Regards! Beny
RE: Problems of buliding codec engine examples(generate the x64P file)
Hello Chris Thank you very much. As I just want to develope the application on the ARM-side, so I don't need to have the DVSDK. But I am curious about which tools generate the x64P file: is the Cgtools in the DVSDK generate the x64P file? Regards! Beny -- Original Message -- From: Ring, Chris [EMAIL PROTECTED] Date: Tue, 20 Mar 2007 18:10:20 -0500 You need at least DVSDK, the codec packages, and the server build scripts. I don't know the details on how you obtain those pieces, but others on this list and/or your TI rep can help. Chris -Original Message- From: Beny Zhang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 5:50 AM To: davinci-linux-open-source; Ring, Chris Subject: RE: Problems of buliding codec engine examples Hello,Chris I'm sorry that there is something worng with my mail_server. Below is my questions. If I wnat to rebuild the dsp server, what tools should I have? Can I rebuild the dsp server just use the software packages deliver with the DVEVM? Thank you very much! -- Original Message -- From: Ring, Chris [EMAIL PROTECTED] Date: Mon, 8 Jan 2007 01:33:21 -0600 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?secti onId=2fami lyId=132tabId=489 ). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages ;$(CMEM_INS TALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the /dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled. And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose MVArm9 here? Should I comment the C64P and Linux86 in the user.bld file? And what is the exactly meaning of the C64P and the MVArm9 here? 2 Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content). I can't find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can't find the FC_INSTALL_DIR either. 3 As I can't find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the REQUIRE_BIOS=0, comment the FC_INSTALL_DIR=... in the xdcpaths.mak file. When I try to build example codec and change the /dvevm_1_10
Re: RE: Problems of buliding codec engine examples
Hello,Chris Thanks for your kindly help. And now I have correctly build the examples of the codec engine. Before I run the examples I want to make clearly of this question: We know from TI that the DVEVM board should have 256MB DDR Memory, but the DVEVM board I boughth from Wintech(the dealer of TI in China) has only 64MB DDR Meomory on the board! Now, how can I set the memory map of the Davinci to run the exanples? Since the rules of setting the memory map is so complex in the build_instructions.html file. It is there any easy way to do this? Best Regards! Beny 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2familyId=132tabId=489). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the …./dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 “The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled.” And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose “MVArm9” here? Should I comment the “C64P” and “Linux86” in the user.bld file? And what is the exactly meaning of the “C64P” and the “MVArm9” here? 2 “Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content).” I can’t find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can’t find the FC_INSTALL_DIR either. 3 As I can’t find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the “REQUIRE_BIOS=0”, comment the “FC_INSTALL_DIR=…” in the xdcpaths.mak file. When I try to build example codec and change the …./dvevm_1_10/codec_engine_1_02/examples/codec dir and type gmake clean the shell tell me that the FC_INSTALL_DIR is wrong. So can I build the example codec running in the DVEVM board without building DSP-side content? How? And can I download the DSP/BIOS and FC from TI freely? Or I should pay for them? Thank you very much! Best Regards! Beny ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Re: RE: Problems of buliding codec engine examples
Zhang, It seems there is no simple way to change the memory map, because the DSP executable need a fix memory map, so when you changed your memory map you will rebuild all things related to DSP, such as dsp link, codec engine. you can following this link:http://www.mail-archive.com/[EMAIL PROTECTED] com/msg01238.html Thanks George Gu (Xiangyu Gu) Wintech Digital System Co. Beijing, China Ph: 8610-8278-2828 ext.168 Fax: 8610-8278-0028 http://www.wintechdigtal.com http://www.wintechdigtal.com/ _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beny Zhang Sent: 2007年1月8日 17:15 To: Ring, Chris; davinci-linux-open-source Cc: zwx304 Subject: Fwd: Re: RE: Problems of buliding codec engine examples Hello,Chris Thanks for your kindly help. And now I have correctly build the examples of the codec engine. Before I run the examples I want to make clearly of this question: We know from TI that the DVEVM board should have 256MB DDR Memory, but the DVEVM board I boughth from Wintech(the dealer of TI in China) has only 64MB DDR Meomory on the board! Now, how can I set the memory map of the Davinci to run the exanples? Since the rules of setting the memory map is so complex in the build_instructions.html file. It is there any easy way to do this? Best Regards! Beny 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families ( http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2familyId =132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2familyId= 132tabId=489). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INSTALL _DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the …./dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 “The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled.” And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose “MVArm9” here? Should I comment the “C64P” and “Linux86” in the user.bld file? And what is the exactly meaning of the “C64P” and the “MVArm9” here? 2 “Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content).” I can’t find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can’t find the FC_INSTALL_DIR either. 3 As I can’t find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the “REQUIRE_BIOS=0”, comment the “FC_INSTALL_DIR=…” in the xdcpaths.mak file. When I try to build example codec and change
Re: RE: Re: RE: Problems of buliding codec engine examples
Hello, George Thank you very much! I am confuse that why Wintech just use only 64MB DDR memory on the DVEVM board? As we know that the DDR memory isn't expensive at all now. As all the software pakages release withe the DVEVM are set to map the 256MB DDR, it will be very difficult for as to use the board with 64MB DDR memory! Thanks again and with my best wishes to you! Beny Zhang, It seems there is no simple way to change the memory map, because the DSP executable need a fix memory map, so when you changed your memory map you will rebuild all things related to DSP, such as dsp link, codec engine. you can following this link:http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg01238.html Thanks George Gu (Xiangyu Gu) Wintech Digital System Co. Beijing, China Ph: 8610-8278-2828 ext.168 Fax: 8610-8278-0028 http://www.wintechdigtal.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beny Zhang Sent: 2007年1月8日 17:15 To: Ring, Chris; davinci-linux-open-source Cc: zwx304 Subject: Fwd: Re: RE: Problems of buliding codec engine examples Hello,Chris Thanks for your kindly help. And now I have correctly build the examples of the codec engine. Before I run the examples I want to make clearly of this question: We know from TI that the DVEVM board should have 256MB DDR Memory, but the DVEVM board I boughth from Wintech(the dealer of TI in China) has only 64MB DDR Meomory on the board! Now, how can I set the memory map of the Davinci to run the exanples? Since the rules of setting the memory map is so complex in the build_instructions.html file. It is there any easy way to do this? Best Regards! Beny 1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2familyId=132tabId=489). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the …./dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 “The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled.” And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose “MVArm9” here? Should I comment the “C64P” and “Linux86” in the user.bld file? And what is the exactly meaning of the “C64P” and the “MVArm9” here? 2 “Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content).” I can’t find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can’t find the FC_INSTALL_DIR either. 3
RE: Problems of buliding codec engine examples
1. If you _just_ want to rebuild the ARM-side examples, you can comment out C64P and Linux86 from the Build.targets array. What are these targets? * C64P == the DSP side of DaVinci target. It's one of TI's DSP processor families (http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2fami lyId=132tabId=489 http://focus.ti.com/dsp/docs/dspplatformscontenttp.tsp?sectionId=2fami lyId=132tabId=489 ). * MVArm9 == MontaVista Arm 9 target. This is the ARM side of DaVinci. * Linux86 == Intel's x86 target. A not-always-understood detail about Codec Engine is that it can run natively on x86 processors. This feature's got some limitations (codecs must be local, and must not access hardware since they run in user mode), but you can do a fair amount of development on this environment. 2 3. As you correctly supposed, BIOS is only needed if you're building DSP-side content (same with FC - Framework Components). You should set REQUIRE_BIOS = 0. BUT... Looks like you've identified a bug in xdcpaths.mak where it's always verifying your FC_INSTALL_DIR, even if you're only building for the ARM. Bummer. In your case, since you don't have (or need!) a valid FC installation, you can safely comment out the $(error ...) statement in xdcpaths.mak: --- ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),) #$(error FC_INSTALL_DIR is set to $(FC_INSTALL_DIR), which is invalid. Set this in codec engine examples/xdcpaths.mak! See the build documentation to correct this error.) endif --- As well as the assignment of MISC_PACKAGES to include $(FC_INSTALL_DIR)/packages at the very end: --- MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INS TALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages --- We'll fix this in a future CE release. Thanks for flagging this, and let me know if you have any other questions/issues. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Beny Zhang Sent: Sunday, January 07, 2007 6:27 AM To: davinci-linux-open-source Cc: zwx304 Subject: Problems of buliding codec engine examples Hi All I have installed the DVEVM 1.10.00.30 software and now I am following the /dvevm_1_10/codec_engine_1_02/examples/build_instructions.ht ml file to try to build the example. And I am confuse with below questions: 1 The Build.targets array specifies which targets you want to build for. By default, the C64P, MVArm9, and Linux86 targets are enabled. And I am using the DVEVM board with DM6446, but I want to treat the DSP-side as a black-box, so does it mean I should choose MVArm9 here? Should I comment the C64P and Linux86 in the user.bld file? And what is the exactly meaning of the C64P and the MVArm9 here? 2 Specify where your BIOS installation is: Uncomment the BIOS_INSTALL_DIR= line and specify the absolute path to your DSP/BIOS installation directory (Currently, DSP/BIOS is not available for ARM or x86, so this is only necessary when building DSP-side content). I can't find the BIOS_INSTALL_DIR at all, does it release with the DVEVM Software? And I can't find the FC_INSTALL_DIR either. 3 As I can't find the BIOS_INSTALL_DIR and FC_INSTALL_DIR, I think maybe I can do something without building DSP-side content. Then I modify the REQUIRE_BIOS=0, comment the FC_INSTALL_DIR=... in the xdcpaths.mak file. When I try to build example codec and change the /dvevm_1_10/codec_engine_1_02/examples/codec dir and type gmake clean the shell tell me that the FC_INSTALL_DIR is wrong. So can I build the example codec running in the DVEVM board without building DSP-side content? How? And can I download the DSP/BIOS and FC from TI freely? Or I should pay for them? Thank you very much! Best Regards! Beny ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source