dm6446 vs omap3530
hi,everyone: I see that dm6446 contains a 300Mhz ARM and a C64x+ DSP, while omap3530 contains a 600Mhz ARM and a C64x+ DSP. Dm6446's DSP is a little stronger than omap 3530. DM6446 is much expensive than omap 3530, is it right? But I think omap3530 is better than dm6446. Could someone give me a explanation why dm6446 is better? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: when port a software , bus error
hi, Thanks for your answers. Now, I have changed the member variable in struct to make sure that the alignment is correct. -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
when port a software , bus error
hi, everyone: Just like the code as below: 1 #include algorithm 2 #include stdio.h 3 4 #pragma pack(push, 1) 5 typedef struct _test_c 6 { 7 char m; 8 int data[10]; 9 }test_c; 10 #pragma pack(pop) 11 12 int main() 13 { 14 printf( sizeof test_c is %d \n, sizeof(test_c)); 15 test_c test; 16 for(int i=0; i10; i++) 17 test.data[i] = 9-i; 18 //int data[10]={9, 8, 7, 6, 5, 4, 2, 3, 1 , 0}; 19 std::sort(test.data, test.data+10); 20 21 return 1; 22 } This code can work on X86, but cause bus error runing on Davinci(My board is DM6446, GCC 3.4) . I know the problem is: std::sort(test.data, test.data+10);test.data is not 4-Bytes aligned. The software I want to port uses structs liking test_c a lot. Could anyone give me some advice ? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
TI's Gstreamer plugin cannot be found by 'playbin' ?
hi,everyone: If I use the fellow script, it work well. gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=mp4.ts ! typefind ! mpegtsdemux name=demux demux. ! audio/mpeg ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! typefind ! TIAuddec ! audioconvert ! osssink demux. ! video/mpeg ! typefind ! TIViddec ! TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE resizer=FALSE accelFrameCopy=TRUE but if I use 'palybin', TI's plugin couldnot be found by 'playbin'. As: r...@dvevm:/opt# gst-launch -v playbin uri=file:///opt/gstreamer_demo/dm6446/mp4.ts (gst-launch-0.10:1264): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefi ned symbol: id3_frametype_unknown Setting pipeline to PAUSED ... /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188 Pipeline is PREROLLING ... /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188 /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0: pat-info = ((GValueArray*) 0x36a10) /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0: pmt-info = ((FluTsPmtInfo*) 0x35640) ** Message: don't know how to handle video/mpeg, mpegversion=(int)4, systemstream=(boolean)false ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4 I see that TI's plugins donot have founction 'plungin_init' as other plungins. Could anyone give me some advice? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: FrameBuffer on DM6446
r...@150.162.62.61:~# fbset -fb /dev/fb/3 mode 720x480-60 # D: 12.500 MHz, H: 14.863 kHz, V: 59.932 Hz geometry 720 480 720 480 16 timings 8 121 0 16 0 0 0 bcast true laced true nonstd 1 rgba 0/0,0/0,0/0,0/0 endmode I do not know the meaning of all parameters clearly (Any one tell me ?). Today I update the DVSDK to 1.3 . I use the uImage on the host via tftp and use the file system on the host via NFS. When I set the Uboot: setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=120M The Linux is OK but the demo cannot run. When I change to: setenv bootargs video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd) console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=120M The demo is OK. Uboot parameters can configure the fbdev. spruek9.pdf tell me how to FBDev Driver Configuration Good luck. -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
How to run DMAI Based GStreamer ?
hi,everyone My EVM is DM6446 with DVSDK 1.3 downloaded form TI website. The codes I compile are from https://omapzoom.org/gf/project/gstreamer_ti Gstreamer is compiled successfully except plugin mad(libid3tag.so.0 cannot find one symbol). I try many avi files, and I failed all. The video and audio files in DVEVM 1.10 cannot be played ,too. Can anyone give me an example how to use this gstreamer ? Or is there a commom video files used for testing? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: booting via tftp using nfs filesystem + dm6446
bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.16 8.0.184:/home/kirthika/workdir/filesys,nolock mem=120M NFS: 192.168.0.184:/home/kirthika/workdir/filesys works OK? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Gstreamer:video OK audio problem
hello,everyone: I download gstreamer from: http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 When I run test_AVI.sh, video is OK. I have tested some AVI files.Some files only first few seconds audio is OK(about 2 second ?), then no sound. Some files there is no sound at all. Anyone give me some suggestion? -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Can Engine_open() open 2 different Engine?
Thank you ! -- Thanks, Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
gsreamer error
hello,everyone: I download gstreamer from: http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 When I run the test_MP3.sh 1.mp3, there is an error: ERROR: pipeline could not be constructed: no element filesrc. And when I run gst-inspect, the information is below: root@(none):/home# gst-inspect staticelements: bin: Generic bin staticelements: pipeline: Pipeline object Total count: 1 plugin, 2 features I set the environment as : root@(none):/home# export LD_LIBRARY_PATH=.:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib root@(none):/home# export GST_PLUGIN_PATH=/home/opt/gstreamer/lib/gstreamer-0.10/ root@(none):/home# export PATH=$PATH:/home/opt/gstreamer/bin Anyone give some suggestions? Zhenfeng Ren ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source