I am using Ubuntu 10.04. I have successfully compiled DM355SDK840402 and DM355SDK789311 but not DM365SDK844703.
Can anyone be of help. I know the path /home/kappiah/DM365SDK844703/fs/fs/usr/lib/ exist on my system.
kappiah@LinuxBox:~/DM365SDK844703$ make Ridgerun Linux SDK Board configuration: Leopard Board DM365 Processing toolchain... Build complete Processing kernel...arch/arm/mach-davinci/Kconfig:44:warning: defaults for choice values not supporteddrivers/video/Kconfig:1552:warning: 'select' used by config symbol 'FB_FSL_DIU' refer to undefined symbol 'PPC_LIB_RHEAP' CHK include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-davinci CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h CHK include/linux/compile.hIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/module.h:9, from init/version.c:10:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/module.h:9, from init/version.c:10:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/module.h:9, from init/do_mounts.c:1:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/module.h:9, from kernel/module.c:19:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/module.h:9, from kernel/module.c:19:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/mm.h:4, from kernel/latency_trace.c:8:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from drivers/usb/storage/usb.c:50:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/sched.h:58, from include/linux/mm.h:4, from include/linux/skbuff.h:25, from include/linux/if_ether.h:111, from include/linux/netdevice.h:29, from include/linux/inetdevice.h:7, from net/ipv4/ipconfig.c:45:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definitionIn file included from include/asm/memory.h:27, from include/asm/page.h:179, from include/linux/mmzone.h:17, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/proc_fs.h:4, from include/linux/sunrpc/stats.h:12, from include/linux/sunrpc/clnt.h:16, from net/sunrpc/pmap_clnt.c:15:include/asm/arch/memory.h:33:1: warning: "PHYS_OFFSET" redefined<command-line>: warning: this is the location of the previous definition CHK include/linux/compile.h Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. Build complete Processing fs... Checking for host packages required by the SDK target applications... Host machine has all required packages. Entering host-apps... Entering apps... Checking dependencies for alsa-lib-1.0.21 Compiling and installing alsa-lib-1.0.21...install: target `/home/kappiah/DM365SDK844703/fs/fs/usr/lib/' is not a directory: No such file or directorymake[3]: *** [install] Error 1Error building alsa-lib-1.0.21make[2]: *** [dependency_build] Error 1make[1]: *** [apps_build] Error 1make: *** [fs_build] Error 2kappiah@LinuxBox:~/DM365SDK844703$
Hi,
You can try removing the generated file system and compiling again.
cd ~/DM365SDK844703
rm -rf fs/fs
make fs VERBOSE=1
And please paste the log to see if we can obtain more information by enabling the debug.
Cristina Murillo
Embedded Software Engineer, RidgeRun
Thanks Cristina,
This is the error i am getting after running make fs VERBOSE=1
Ridgerun Linux SDK
make[4]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/dvsdk_2_10_01/dvsdk_2_10_01_18'
make[3]: *** [built] Error 2
make[3]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/dvsdk_2_10_01'
Error building dvsdk_2_10_01
make[2]: *** [dependency_build] Error 1
make[2]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary'
make[1]: *** [proprietary_src_build] Error 1
make[1]: Leaving directory `/home/kappiah/DM365SDK844703/fs'
make: *** [fs_build] Error 2
i have re-installed the SDk and this is the error i am getting
Checking dependencies for gst-dmai-plugins
Compiling and installing gst-dmai-plugins...
Checking out the code from subversion...
A src/m4
A src/m4/as-compiler-flag.m4
A src/m4/as-version.m4
A src/m4/Makefile.am
A src/BUILDING_STAND_ALONE.txt
A src/configure.ac
A src/AUTHORS
A src/gst-autogen.sh
A src/ChangeLog
A src/src
A src/src/gsttidmairesizer.h
A src/src/ti_encoders.c
A src/src/gsttipriority.h
A src/src/dm6446.cfg
A src/src/gsttidmaiperf.c
A src/src/ti_encoders.h
A src/src/gsttividenc1.c
A src/src/gsttidmaiperf.h
A src/src/gsttidmaienc.c
A src/src/gsttiimgenc.c
A src/src/gsttidmaienc.h
A src/src/gsttividenc.c
A src/src/gsttiimgdec1.c
A src/src/caps.c
A src/src/gsttisupport_h264.c
A src/src/gsttividdec2.c
A src/src/caps.h
A src/src/gsttidmaibuffertransport.c
A src/src/gsttisupport_h264.h
A src/src/gsttidmaibuffertransport.h
A src/src/gsttidmaidec.c
A src/src/gsttiimgdec.c
A src/src/gsttidmaidec.h
A src/src/gsttividdec.c
A src/src/gsttiaudenc.c
A src/src/gsttisupport_aac.c
A src/src/ittiam_caps.c
A src/src/gsttiimgenc1.c
A src/src/gsttiparsers.h
A src/src/gsttisupport_aac.h
A src/src/gsttiauddec.c
A src/src/gsttidmaivideosink.c
A src/src/ittiam_caps.h
A src/src/dm6467.cfg
A src/src/gsttisupport_mp3.c
A src/src/gsttidmaivideosink.h
A src/src/gstticodecplugin.c
A src/src/ittiam_encoders.c
A src/src/dm355.cfg
A src/src/gsttisupport_mp3.h
A src/src/dm357.cfg
A src/src/gsttidmaiaccel.c
A src/src/ittiam_encoders.h
A src/src/gsttiauddec1.c
A src/src/gsttidmaiaccel.h
A src/src/config.bld
A src/src/gsttisupport_g711.c
A src/src/gsttisupport_wma.c
A src/src/gsttisupport_g711.h
A src/src/gsttisupport_jpeg.c
A src/src/gsttisupport_wma.h
A src/src/gsttisupport_jpeg.h
A src/src/omap35x.cfg
A src/src/dm365.cfg
A src/src/omapl138.cfg
A src/src/gsttisupport_mpeg4.c
A src/src/gsttisupport_generic.c
A src/src/gstticommonutils.c
A src/src/gsttisupport_mpeg4.h
A src/src/gsttisupport_generic.h
A src/src/Makefile.am
A src/src/gstticommonutils.h
A src/src/gsttidmairesizer.c
A src/src/gsttiaudenc1.c
A src/src/gsttipriority.c
A src/src/dm355s.cfg
A src/COPYING
A src/Makefile.am
A src/autogen.sh
A src/NEWS
A src/README
A src/Makefile.external
Checked out revision 778.
make[3]: *** [patched] Error 1
Error building gst-dmai-plugins
Please run again with
make VERBOSE=1
and post the output
this is the output. Thanks.
[34mRidgerun Linux SDK[0m
Board configuration: [32mLeopard Board DM365[0m
if [ -d toolchain ] ; then echo -e "\040" "Processing toolchain..."; export PATH="/opt/arm-linux-gnueabi"/bin:$PATH ; make -C toolchain DEVDIR=/home/kappiah/DM365SDK844703 TABINDEX="\040\040\040" ; fi
P
gmake: *** [package/cfg/dm365_x470MV.c] Error 1
Warning: directory "/packages" on package path does not exist
Warning: directory "/home/kappiah/DM365SDK844703/proprietary/codecs" on package path does not exist
Warning: directory "/home/kappiah/DM365SDK844703/CodecServer" on package path does not exist
js: "/home/kappiah/DM365SDK844703/proprietary/xdctools_3_15_01/xdctools_3_15_01_59/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[6]: *** [dm365/linker.cmd] Error 1
make[6]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/gst-dmai-plugins/arm/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/gst-dmai-plugins/arm'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/gst-dmai-plugins/arm'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/kappiah/DM365SDK844703/proprietary/gst-dmai-plugins'
Can you please use www.pastebin.com when you are posting such big posts? or just narrow it down to the part that might be important.
Now, the error you are getting is because the gst-dmai-plugins have been updated to use the latest dvsdk, which is not included in the beta release of the Evaluation SDK for Leopard Board DM365, this will be fixed in the next release by setting an specific and stable version of the plugins. In the mean time, you can follow the next steps to fix it, they will move update to an older version which works with the current dvsdk:
cd /home/kappiah/DM365SDK844703/proprietary/gst-dmai-plugins/src
make clean
svn update -r 615
make install
Please let me know if it solved your issue.
Thanks Cristina. Sorry for that volume of post. Will use pastebin next time.
finally got make VERBOSE=1 to work. had to run it under /home/kappiah/DM365SDK844703/
because ../src gives the following message. I did the same for make clean.
kappiah@LinuxBox:~/DM365SDK844703/proprietary/gst-dmai-plugins/src$ make VERBOSE=1
make: *** No targets specified and no makefile found. Stop.
Thanks
Great, sorry that was my mistake, in that case, you should have executed the make VERBOSE=1 in the ~/DM365SDK844703/proprietary/gst-dmai-plugins$.
just tried it, but i may be missing some settings.
Any idea if i can get this pipe to run on the DM365 either with the VGA or 5M camera?
gst-launch -e v4l2src always-copy=false ! dmaiaccel ! TIDmaiVideoSink sync=false displayStd=v4l2 displayDevice=/dev/video2
kappiah@LinuxBox:~/DM365SDK844703/proprietary/gst-dmai-plugins$ make VERBOSE=1
Makefile:7: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====. Stop.
kappiah@LinuxBox:~/DM365SDK844703/proprietary/gst-dmai-plugins$
Since that is a beta release of the Evaluation SDK, that pipeline is not well supported, I would recommend you to use the newest Evaluation SDK that will be release soon.
Regarding the other issue, that happens because the variable DEVDIR is not defined, this is what the SDK uses to establish paths. You can run the following commands:
cd ~/DM365SDK844703/
`make env`
That will setup that variable. Or you can do it from that directory:
cd ~/DM365SDK844703/proprietary/gst-dmai-plugins
`make -sC ../../ env`
Hi Cristina,
Where do we get the DM365SDK844703 downloadable link.
How is this SDK different to svn co SVN repository: source.ridgerun.net/.../trunk.
Pavan
Hi Pavan
There are a lot of changes made to the new SDK downloadable via SVN repository. Check out the "What's new?" section at:
www.ridgerun.com/.../SDK_Release_for_DM365_Leopard_Board
Pablo
PS: The 844703 version is no longer available for download
Pablo BarrantesEmbedded Software EngineerRidgeRun