DM6446 + video capturing from CMOS sensor with VGA resolution
Hi, I am working with DM6446 in which i am capturing the video from Micron CMOS sensor after that encoding. When i capture one frame(640X480) of data from sensor i am getting green pixels(around 10 rows) at the bottom of the captured image. How can i make it black pixels or adjust it. Suggest me. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM6446 hangs after running the encode application
I am working with encoding and streaming application on DM6446. Once i run the encode application DM6446 suddenly die after some time I am getting below said exception. I am not able to figure out where the exact problem is. Its inside DSP server or .i am not sure... Suggest me where the problem is Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 17 [#1] Modules linked in: dsplinkk cmemk CPU: 0 PC is at SHMIPS_GetBuffers+0xe4/0x23c [dsplinkk] LR is at SHMIPS_GetBuffers+0xdc/0x23c [dsplinkk] pc : []lr : []Tainted: PF sp : c025be70 ip : aacba9e6 fp : c025bea0 r10: ca700080 r9 : ca703900 r8 : c025be74 r7 : bf015bc0 r6 : ca700100 r5 : bf015bc0 r4 : bf015294 r3 : 11f14000 r2 : c8072060 r1 : 11f04000 r0 : Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment kernel Control: 5317F Table: 852A DAC: 0017 Process swapper (pid: 0, stack limit = 0xc025a1a0) Stack: (0xc025be70 to 0xc025c000) be60: ca700300 bf015294 c75ba660 be80: 002e c02aca00 c025bf50 c025bebc c025bea4 bf00ca0c bea0: bf00c73c c025bea8 c025a000 c025becc c025bec0 bf0076f0 bf00c9a8 bec0: c025bef4 c025bed0 c0028d70 bf0076d0 c02ad4c8 002e c75ba660 c025bf50 bee0: c025a000 c025bf50 c025bf14 c025bef8 c002909c c0028d04 c025bf84 c025a000 bf00: 0002 c025bf4c c025bf18 c0029250 c0028ff8 c00384ec c0038344 bf20: c025bf84 e1048000 0002 c025a000 0001 80023ffc bf40: c025bfac c025bf50 c00275e0 c0029210 0005317f 0005217f 6013 bf60: c025a000 6093 c025d2a8 c02ce770 8002402c 41069265 80023ffc c025bfac bf80: c025bf98 c025bf98 c0029e00 c0029e10 6013 c025a000 c0029d98 bfa0: c025bfcc c025bfb0 c0029e7c c0029da8 c025bfcc 00053175 c02ac53c c02b7118 bfc0: c025bffc c025bfd0 c00087d0 c0029e28 c0008304 c02ad990 bfe0: 00053175 c02ad97c c025cfd0 c025c000 8000809c c0008658 Backtrace: [] (SHMIPS_GetBuffers+0x0/0x23c [dsplinkk]) from [] (SHMIPS_ISR+0x74/0x8 4 [dsplinkk]) [] (SHMIPS_ISR+0x0/0x84 [dsplinkk]) from [] (ISR_Callback+0x30/0x3c [dsp linkk]) r4 = C025A000 [] (ISR_Callback+0x0/0x3c [dsplinkk]) from [] (__do_irq+0x7c/0xc8) [] (__do_irq+0x0/0xc8) from [] (do_edge_IRQ+0xb4/0x148) [] (do_edge_IRQ+0x0/0x148) from [] (asm_do_IRQ+0x50/0x138) r7 = 0002 r6 = r5 = C025A000 r4 = C0 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
TIWLAN in DM6446
Hi, I am working with tiwlan in Davinci EVM(DM6446) Once i reset the tiwlan i am getting interrupt.Interrupt is connected to GPIO18 But after some time at CMD_ENABLE_RX interrupt goes low and it shows a big exception If anybady has similar problem or any experience with tiwlan please suggest me. I am getting the below said debug message.Please suggest us TIWLAN: 3125.457072: Enterting whal_hwCtrl_EnableDataPath ChannelNumber = 1 TIWLAN: 3125.599227: Sending the channel Number to WLAN H/W command Mail Box TIWLAN: 3146.760927: CMD MBOX,ERROR:CmdMBox_TimeOut: Timeout occured in CmdMBox TIWLAN: 3146.779318: CMD MBOX,ERROR:CmdQueue_Error: **ERROR** Command Occured Cmd = CMD_ENABLE_RX , Len = 1 NumOfCmd = 1 MAC TimeStamp on timeout = -1886638831 $AA--- CmdQueue_PrintHistory of 5 --- TIWLAN: 3146.815662: Cmd index 0 CmdType = CMD_ENABLE_RX , Len = 1, Place in Queue = 34 TIWLAN: 3146.834054: Cmd index 1 CmdType = CMD_CONFIGURE (ACX_BCN_DTIM_OPTIONS) , Len = 12, Place in Queue = 33 TIWLAN: 3146.845357: Cmd index 2 CmdType = CMD_CONFIGURE (ACX_ACI_OPTION_CFG) , Len = 12, P lace in Queue = 32 TIWLAN: 3146.857327: Cmd index 3 CmdType = CMD_CONFIGURE (ACX_CCA_THRESHOLD), Len = 8, Plac e in Queue = 31 TIWLAN: 3146.868229: Cmd index 4 CmdType = CMD_CONFIGURE (ACX_SG_CFG) , Len = 48, Place in Queue = 30 TIWLAN: 3146.880035: -- Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
While Booting DM6446 hangs
Here with i am sending the debug messages which i get while booting Suddenly stops at Video capture. Am i missing something in make menuconfig. Previously it was working.. Uncompressing Linux. Linux version 2.6.10_mvl401-davinci_evm (kirth...@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #450 Sun Jul 5 12:54:52 KST 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.183 root=/dev/nfs nfsro ot=192.168.0.184:/home/kirthika/workdir/filesys,nolock mem=120M video=dm64xxfb:output=hopelc d:format=rgb:vid0=720*...@0,0:vid1=720*...@0,0:osd0=720*...@0 ,0:osd1=720*...@0,0 PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 120MB = 120MB total Memory: 118912KB available (2253K code, 464K data, 124K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task() desched cpu_callback 3/ ksoftirqd started up. desched cpu_callback 2/ desched thread 0 started up. NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform Registering platform device 'musb_hdrc'. Parent at platform DaVinci I2C DEBUG: 10:51:00 Jul 5 2009 Registering platform device 'i2c'. Parent at platform usbcore: registered new driver usbfs usbcore: registered new driver hub pin mux reg 0 = 0xe104: pin mul reg 0 value 0x8000 pin mux reg 1 = 0xe1040004: pin mux reg 1 value 0x81 DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Jul 5 2009 10:50:26 Installing. Registering platform device 'davinci_resizer.2'. Parent at platform DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci I2C WARNING: i2c: NACK detected DaVinci I2C WARNING: i2c: RAR detected DaVinci
Reg. two out buffers in encoding of DM6446
Hi, I want to read the motion vector in another buffer which i pass from application. Already i am allocating the memory using Memory_ContigAlloc() XDAS_Int32 inBufSizeArray[1]; XDAS_Int8 OutPutBuffers[2]; OutPutBuffers[0] = outBuf; OutPutBuffers[1] = MotionVecData; XDAS_Int32 outBufSizeArray[2]; XDAS_Int32 status; XDM_BufDesc inBufDesc; XDM_BufDesc outBufDesc; VIDENC_InArgs inArgs; VIDENC_OutArgs outArgs; inBufSizeArray[0] = inBufSize; outBufSizeArray[0] = outBufMaxSize; //Encoded data outBufSizeArray[1] = MotionVecSize; //Motion vector inBufDesc.numBufs = 1; inBufDesc.bufSizes = inBufSizeArray; inBufDesc.bufs = (XDAS_Int8 **) &inBuf; outBufDesc.numBufs = 2; outBufDesc.bufSizes = outBufSizeArray; outBufDesc.bufs = OutPutBuffers; inArgs.size = sizeof(VIDENC_InArgs); outArgs.size= sizeof(VIDENC_OutArgs); /* Encode video buffer */ status = VIDENC_process(hEncode,&inBufDesc,&outBufDesc,&inArgs, &outArgs); if (status != VIDENC_EOK) { ERR("VIDENC_process() failed with a fatal error (%ld ext: %#lx)\n",status, outArgs.extendedError); return FAILURE; } *outBufSize = outArgs.bytesGenerated; EncodedFrameType = outArgs.encodedFrameType; return SUCCESS; In the codec i am copying the data in two output buffers. outBufs->bufs[0] ->encoded data outBufs->bufs[1] ->Motion vec data. When ever i call the encode_process() I am getting the following error Memory Allocated for Motion Vector crop.c.left=0 crop.c.top=0 crop.c.width=640 Capturing 640x480 video (cropped to 640x480) CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical. CMEMK Error: GETPHYS: Failed to convert virtual 0xa8bff to physical. Jpeg Encode Error: VIDENC_process() failed with a fatal error (-2 ext: 0 Struck some where. Suggest me. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
ASP issue in DM6446
We are testing Audio in customized DM6446. We are using AIC31. AIC31 configuration seems to be ok. But ASP configuration fails. When ever we are writing data we read the status of SPCR and the status shows DRR is not read,RBR is full and RSR is also full with new word. We were debugging for long time.what may be the problem in ASP. Other pin signals are ok except DXR shows less than 1V. Help us in debugging. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
UBL on custom board hangs
In our customized board we have DM6446 with 128MB of SDRAM and flash is same. I am using DVflasher to load ubl and uboot I changed these three macros. #define UBL_IMAGE_SIZE (0x3800) #define MAX_IMAGE_SIZE (0x0100) /* Set details of RAM */ #define RAM_START_ADDR (0x8000) #define RAM_END_ADDR (0x87FF) But still it hangs. - TI DVFlasher Host Program for DM644x (C) 2007, Texas Instruments, Inc. - Platform is Windows. Flashing NAND with ubl_davinci_nand_pu.bin. Attempting to connect to device COM1... Press any key to end this program at any time. Waiting for DVEVM... BOOTME commmand received. Returning ACK and header... ACK command sent. Waiting for BEGIN command... DVEVM:BEGIN BEGIN commmand received. Sending CRC table... CRC table sent. Waiting for DONE... DONE received. Sending the UART UBL file... DONE received. UART UBL file was accepted. UART UBL Transmitted successfully. DVEVM: TI UBL Version: 1.14, Flash type: NAND DVEVM: Booting PSP Boot Loader DVEVM: PSPBootMode = UART Waiting for UBL on DVEVM... UBL's BOOTPSP commmand received. Returning CMD and command... CMD value sent. SENDUBL received. Returning ACK and header for UBL data... ACK command sent. Waiting for BEGIN command... UART UBL's BEGIN commmand received. Sending the Flash UBL code... Flash UBL code sent. Waiting for DONE... DONE received. All bytes of Flash UBL code received... It hangs here Any other modification i have do. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Decoded Image display problem in DM6467
Dear all, We are using DM6467 demo application given by TI. This application supports only full HD display. We have modified and it works on composite out. We are not able to display D1 image using decoded application with our customized MPEG4 decoder for D1 resolution. But we get partial image from our application when we play the demo application given by TI first then our application. We guess some missings in initialization for D1 with composite out. Help us in solving this query. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM6446 file system(ramdisk) in NAND
Hi, I am working in DM6446(Monta vista linux) I created a small ramdisk.Sample ramdisk.gz is given with DM6446. I took that and i added the necessary libraries and the size comes to around 8MB I wroted ramdisk in area of flash memory and boot from flash. I am running my application automatically(i wrote the application to be executed in script file rcS) I wish to have a shell prompt. I am not able to login and check what are the process running. Any libraries am i missing for getting shell prompt and other applications such as streaming. When i boot the system i am getting these debug messages. bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). Freeing init memory: 112K INIT: version 2.85 booting 0 mknod: invalid option -- - BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR Create a special file (block, character, or pipe). Options: -m create the special file using the specified mode (default a=rw) TYPEs include: b: Make a block (buffered) device. c or u: Make a character (un-buffered) device. p: Make a named pipe. MAJOR and MINOR are ignored for named pipes. Mounting a tmpfs over /dev...done. Creating initial device nodes...done. mknod: invalid option -- - BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR Create a special file (block, character, or pipe). Options: -m create the special file using the specified mode (default a=rw) TYPEs include: b: Make a block (buffered) device. c or u: Make a character (un-buffered) device. p: Make a named pipe. MAJOR and MINOR are ignored for named pipes. 0 Starting mounting local filesystems: mount nothing was mounted Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter. Disable TCP/IP Explicit Congestion Notification: done. Starting network interfaces: done. Starting hotplug subsystem: pci pci [success] usb usb [success] isapnp isapnp [success] ide ide [success] input input[success] scsi scsi [success] done. Starting portmap daemon: portmap. Cleaning: /tmp BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: find [PATH...] [EXPRESSION] Search for files in a directory hierarchy. The default PATH is the current directory; default EXPRESSION is '-print' EXPRESSION may consist of: -follow Dereference symbolic links. -name PATTERN File name (leading directories removed) matches PATTERN. -print Print (default and assumed). -type X Filetype matches X (where X is one of: f,d,l,b,c,...) -perm PERMS Permissions match any of (+NNN); all of (-NNN); or exactly (NNN) -mtime TIME Modified time is greater than (+N); less than (-N); or exactly (N) days /var/lock cd: 77: can't cd to /var/lock /var/run BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: find [PATH...] [EXPRESSION] Search for files in a directory hierarchy. The default PATH is the current directory; default EXPRESSION is '-print' EXPRESSION may consist of: -follow Dereference symbolic links. -name PATTERN File name (leading directories removed) matches PATTERN. -print Print (default and assumed). -type X Filetype matches X (where X is one of: f,d,l,b,c,...) -perm PERMS Permissions match any of (+NNN); all of (-NNN); or exactly (NNN) -mtime TIME Modified time is greater than (+N); less than (-N); or exactly (N) days done. Setting pseudo-terminal access permissions...done. Starting system log daemon: syslogd/sbin/syslogd: invalid option -- r BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: syslogd [OPTION]... Linux system and kernel logging utility. Note that this version of syslogd ignores /etc/syslog.conf. Options: -m MIN Minutes between MARK lines (default=20, 0=off) -n Run as a foreground process -O FILE Use an alternate log file (default=/var/log/messages) -s SIZE Max size (KB) before rotate (default=200KB, 0=off) -b NUM Number of rotated logs to keep (default=1, max=99, 0=pur klogd/sbin/klogd: invalid option -- x BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary Usage: klogd [-c n] [-n] Kernel logger. Options: -c nSets the default log level of console messages to n. -n Run as a foreground process. . Starting internet superserver: inetd. MontaVista(R) Linux(R) Professional Edition 4.0 (0501140) 129.168.0.182 login: MontaVista(R) Linux(R) P
saDisplay + DM6467 showing black an white image in SD Display
We tried displaying yuv4::2:2(740x480) image in SD display using saDisplay(application sample ibn PSP), But we are getting black and white image even if we input color image. We tried the sample file given in PSP. But black. we are curious to know how to get the color SD display. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM365 + sd card (mmc1) is not detected
We bought recently DM365evm from Spectrum. There are 2 SD slot. When i insert SD card MMC0 is detected. mmcblkp0 is shown. Another SD slot is not detected(MMC1) I checked board-dm365-evm as well as mux_cfg also. Its all ok. Is there in any other thing which i have to do to detect MMC 1. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Sample mpeg4 encoded file for DM6467
We want to see MPEG4 decoder in DM6467. We need MPEG4 encoded file for it. I searched but i didnt get any sample encoded mpeg4 file(720*480) for verifying the mpeg4 decoder in DM6467 Is there any reference where i find this encoded file. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
tiwlan wifi auto configuration
Hi, I am able to configure Wifi only from command line either for adhoc or Infrastructure I am eager to know how to configure Wireless LAN on System boot. Both ADHOC or Infrastructure. Writing those commands in script file doesnt work.I configured in tiwlan.ini also for adhoc but no change. Suggest me the way or is there any reference for configuring tiwlan on system boot for adhoc and infrastructure. Note:My driver doesnt have wlan_supplicant and wlan_loader ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Recompiling decodeCombo and encodeCombo for different memory mapping
Hi all, Is there any way to recompile decodeCombo and encodeCombo for different memory mapping. Even for the default memory mapping itself i am not able to compile. Is there any document or reference which tells the above. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
LCD interface in DM6446
Hi all, We interfaced LTE430WQ-F0C of resolution 480*272. We modified vpfe interface. Video format from camera is UYVY and the display format is RGB. I am getting video in LCD but some color pattern is coming once VPBE is initialized. Color patten is violet in color. memset((void *)dm->osd0->fb_base, 0x00, dm->osd0->fb_size); memset((void *)dm->osd1->fb_base, 0x00, dm->osd1->fb_size); memset((void *)dm->vid0->fb_base, 0x00, dm->vid0->fb_size); memset((void *)dm->vid1->fb_base, 0x00, dm->vid1->fb_size); For the above setting i am getting some green and blue mixed colors in LCD. I just want to clear the color pattern while booting as well as overlay of colors when i display the video from camera. Is it the problem of sync or any setting. Suggest me. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Resizer in DM6446
Hi all, I interfaced CMOS camera with DM6446 and i am capturing image of size 640X480 I have an LCD of size 480*272 and i want to display the image in LCD. With davinci_resizer i can resize the image to 320*240. First I took the sample named planar_resizer from PSP and checked resizer But its throwing errors: starting memory alloc davinci_resizer davinci_resizer.2: Inavlid input pitch 213 cation status 0 mmap done mmap Configuartion of parameters Setting parameters failed My linux version is 2.6.10. Is there any change in resizer. Kindly suggest me why the sample given in PSP is not working in DM6446. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
USB Master and Slave in DM6446
Dear All, I am working with DM6446.I need to check USB Mass Storage Device and USB Function Controllers. Whenever i plug in Mass Storage Device I am getting the below said debug messages and finally my USB device is not recognized. usb 1-1: new full speed USB device using musb_hdrc and a ddress 4 usb 1-1: khubd timed out on ep0in usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -19 usb 1-1: new full speed USB device using musb_hdrc and address 5 usb 1-1: khubd timed out on ep0in usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -19 When i connect from DM6446 to PC again its not even detection in DM6446. Is there any way to figure out and solve the USB issue in DM6446 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: USB Master and Slave in DM6446
All USB Mass Storage device getting detected as full speed USB Device. Is there any issue with it. Is there any reference to solve this kind of issue. Even as function controller also its not getting detected. Suggest me On Tue, Sep 15, 2009 at 7:17 PM, Subbrathnam, Swaminathan wrote: > Hi, > > Is the mass storage device High Speed or Full speed? It seems > to get enumerated as a Full speed device. Is this issue seen with any USB > MSC device? > > > > Regards > > swami > > > -- > > *From:* davinci-linux-open-source-bounces+swami.iyer=ti.com@ > linux.davincidsp.com > [mailto:davinci-linux-open-source-bounces+swami.iyer > =ti@linux.davincidsp.com] *On Behalf Of *kirthika varadarajan > *Sent:* Tuesday, September 15, 2009 3:16 PM > *To:* davinci-linux-open-source-requ...@linux.davincidsp.com; > Davinci-linux-open-source@linux.davincidsp.com > *Subject:* USB Master and Slave in DM6446 > > > > Dear All, > >I am working with DM6446.I need to check USB Mass Storage Device and USB > Function Controllers. > > Whenever i plug in Mass Storage Device I am getting the below said debug > messages and finally my USB device is not recognized. > > > > > > > > > > usb 1-1: new full speed USB device using musb_hdrc and a > ddress 4 > usb 1-1: khubd timed out on ep0in > usb 1-1: device descriptor read/64, error -110 > usb 1-1: device descriptor read/64, error -19 > usb 1-1: new full speed USB device using musb_hdrc and address 5 > usb 1-1: khubd timed out on ep0in > usb 1-1: device descriptor read/64, error -110 > usb 1-1: device descriptor read/64, error -19 > > > > When i connect from DM6446 to PC again its not even detection in DM6446. > > > > > > Is there any way to figure out and solve the USB issue in DM6446 > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Resizer in DM6446 creates fain in FBIO_WAITFORVSYNC DISPLAY
Hi all, I am working in DM6446 in which i am capturing my capturing the data,resizing and displaying. When ever i resize and display i am getting the following messages continuously. cifb.0: Exited function davincifb_wait_for_vsync Error: Failed FBIO_WAITFORVSYNC DISPLAY (Connection timed out) davincifb davincifb.0: Exited function davincifb_wait_for_vsync Error: Failed FBIO_WAITFORVSYNC DISPLAY (Connection timed out) davincifb davincifb.0: Exited function davincifb_wait_for_vsync Error: Failed FBIO_WAITFORVSYNC DISPLAY (Connection timed out) Without resizing using Resizer it works well. Suggest me if how to resolve this. Thanks Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Text in OSD window makes window little dark
Hi all, When i write some text on OSD window in DM6446 the Window becomes little darker. Is there any way to eliminate this. Regards Kiruthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Compiling DMAI in DM6446
Hi all, While compiling DMAI i am getting the following error. home//dvevm_1_20/dmai_1_10_00_06/packages/ti/sdo/dmai/Dmai.h:26:35: ti/sdo/utils/trace/gt.h: No such file or directory I checked package in framework components as well as in other path. But couldnt locate where the exact error is. Suggest me to resolve this. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
CMEM in DM6467
Hi all, When i run ./loadmodules.sh I am getting this. ioremap_nocache(0x8780, 69206016)=0xc818 allocated heap buffer 0xc818 of size 0x821000 cmem initialized 5 pools between 0x8780 and 0x8ba0 DSPLINK Module (1.50) created on Date: Jan 3 2008 Time: 13:16:55 When i run the decode demo given with DM6467 i am not getting composite display output I never see such kind of output earlier. Suggest me to resolve this ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
TSC2003 Touch Screen Driver for DM6446 Platform
Hi, I found reference in google for TSC20003 touch driver and added to kernel tree. I tried two ways (i) drivers/i2c/chips (ii) /drivers/input/touchscreen When i compile the source under /drivers/input/touchscreen i am getting the following error eventhough i included CONFIG_INPUT=y drivers/built-in.o(.text+0x71340): In function `tsc2003_i2c_detect': tsc2003.c: undefined reference to `input_allocate_device' make: *** [.tmp_vmlinux1] Error 1 When i compile under drivers/i2c/chips I didnt get any entry in /dev even though i2c is ok. I changed the sample application given in linux for TSC2007 to TSC2003. Even then i get the error tsc2003.c: undefined reference to `input_allocate_device' Is there any reference and application for TSC2003. Suggest me Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Auto boot of davinci Hangs
I am making Auto run of the sytem on power on. When i boot the system after writing uImage and ramdisk to flash memory system it hangs. Uncompressing Linux. Linux version 2.6.10_mvl401-davinci_evm (kirth...@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #1549 Sat Oct 24 01:31:12 KST 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: mem=64M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x8200,12M ip=192.168.0.182 video=dm64xxfb:output=visualizerlcd:format=rgb:vid0=800x...@0,0:vid1=800x48 0...@0,0:osd0=800x...@0,0:osd1=800x...@0,0 PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 49696KB available (2206K code, 472K data, 120K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task() desched cpu_callback 3/ ksoftirqd started up. desched cpu_callback 2/ desched thread 0 started up. checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 12288K NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform GPIO Interrupt Bank 0 GPIO Interrupt Bank = 0xe1067008: Interrupt Status 0x1 DaVinci I2C DEBUG: 23:46:08 Oct 23 2009 Registering platform device 'i2c'. Parent at platform pin mux reg 0 = 0xe104: pin mul reg 0 value 0x8000 pin mux reg 1 = 0xe1040004: pin mux reg 1 value 0x81 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Oct 23 2009 23:45:28 Installing. Registering platform device 'davincifb.0'. Parent at platform DAVINCI VPBE use user specific values(parameters)... Visualizer LCD Mode Visualiser LCD config Console: switching to colour frame buffer device 100x30 [drivers/video/davincifb_dlcd.c] Try to setting Visualizer LCD registers... videomode->hsync_len = 10videomode->left_margin = 50videomode->left_margin = 50videomode->yr es = 480videomode->xres = 800videomode->upper_margin = 10videomode->lower_margin = 10<6>Regi stering platform device 'davinci_resizer.2'. Parent at platform Registering platform device 'davinci_previewer.2'. Parent at platform Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Registering platform device 'serial8250'. Parent at platform ttyS0 at MMIO 0x1c2 (irq = 40) is a 16550A io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize loop: loaded (max 8 devices) elevator: using anticipatory as default io scheduler nbd: registered device at major 43 Registering platform device 'ti_davinci_emac'. Parent at platform 0:e108:13:0:7650:0:0:0:1:1:1554:128:32:128:32:0:e1084000:0:0:7650:220:2:10 TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00 TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. netconsole: not configured, aborting i2c /dev entries driver Linux video capture interface: v1.00 I2C Device Entry for CMOS OV 7725 I2C Device Entry for CMOS OV 5642 Registering platform device 'vpfe.1'. Parent at platform Device Type = OV5642 ov5642 Configuring for Video standard DaVinci v4l2 capture driver V1.0 loaded dio major#: 252, minor# 0 Registering platform device 'dm6446_dio.2'. Parent at platform request_irq succeeded DM6446->dio driver registered NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V 8-bit) Scanning device for bad blocks Bad eraseblock 3124 at 0x030d Creating 5 MTD partitions on "nand_davinci.0": 0x-0x0006 : "bootloader" 0x0006-0x0020 : "params" 0x0020-0x0040 : "kernel" 0x0040-0x0180 : "filesystem" 0x0180-0x0400 : "data" nand_davinci: hardware revision: 2.1 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.0.182, mask=255.255.255.0, gw=255.255.255.255, host=192.168.0.182, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= RAMDISK: Compressed image found at block 0 It stops here. Is the any problem in making kernel image or any specific reason. Suggest me
DM6467 and creating thread
I am working with application development in DM6467. I have a query regarding creating thread using pthread_create. I created the thread using pthread_create and compiled arm_v5t_le-gcc threadtest.c -o threadtest -lpthread. But the function defined in pthread_create is not at all called. There is no error in compilation. The same thread code works well in linux host PC but not in DM6467. Any libraries i have to link... i checked the required libraries for pthread in target device. But the thread function is not all called. Suggest me Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reading and Writing files via HDD
Hi, I hv a small doubt reg copying files to hard disk(HDD) and reading files from HDD in DM6467 I followed the procedure given in user manual ->Restoring from target EVM HDD partition. and i booted via local HDD I just want to know how to copy files to HDD and read files from HDD. Suggest me Regards Kiruthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Query reg generating an event in DM6467 for every 5 min
I am writing a simple application in which i need to generate an event for every 5 min. I just created a thread inside the thread i need to create an event for every 5 min. I refered to DM6467, there the timers are in kernel and i am not able to link it in my application. Suggest me how to generate events for every 5 min . Regards Kiruthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
writing to flash memory in DM6467
I have configuration information such as ipaddress,brightness,frame rate etc.. of IPcamera. I want to write the above information to flash memory. Suggest me the ways to write to flash memory in DM6467. Regds Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Flash file system in DM6467 and flash partition
Even if i enable the "NAND flash device on DaVinci SoC" along with "MTD partitioning support", "Direct char device access to MTD devices" and "Caching block device access to MTD devices" to see the partitions while booting. I am unable to see the nand Parittion while booting On 2/2/09, Rajashekhara, Sudhakar wrote: > > Please mark the list, so that other people who are facing similar issues > are benefitted. > > Enable the "NAND flash device on DaVinci SoC" along with "MTD partitioning > support", "Direct char device access to MTD devices" and "Caching block > device access to MTD devices" to see the partitions while booting. > > Regards, Sudhakar > -- > *From:* kirthika varadarajan [kirthikai...@gmail.com] > *Sent:* Monday, February 02, 2009 5:02 PM > *To:* Rajashekhara, Sudhakar > *Subject:* Re: Flash file system in DM6467 and flash partition > > > Nand Device Support is already enabled in make menuconfig. > > Nand flash device on Davinci SoC is disabled > > > But i am not able to see the nand partition in while booting DM6467 > > On 2/2/09, Rajashekhara, Sudhakar wrote: >> >> Make sure that you have selected the NAND support for DM6467 from >> menuconfig. What I have seen is, if the support is enabled in the >> menuconfig, the device nodes get created automatically. >> >> Regards, Sudhakar >> -- >> *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [ >> davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of >> kirthika varadarajan [kirthikai...@gmail.com] >> *Sent:* Monday, February 02, 2009 4:03 PM >> *To:* Davinci-linux-open-source@linux.davincidsp.com >> *Subject:* Flash file system in DM6467 and flash partition >> >> >> I hv a small query regarding file system in DM6467. >> I am booting the device using NFS file system. >> I hv mounted ramdisk in /home/user/workdir/filesys. >> >> I need to create a file system on flash memory in order to write the >> configuration information of camera. >> >> when i give cat /proc/mtd >> r...@192.168.10.188:/opt/dvsdk_dm6467# >> cat /proc/mtd >> >> I get only this >> >> dev:size erasesize name >> >> no other mtd devices found. >> >> If I create mtd block device using the command >> >> In target device: >> >> mknod /dev/mtd0 c 90 0 >> mknod /dev/mtd1 c 90 2 >> mknod /dev/mtdblock0 c 31 0 >> mknod /dev/mtdblock1 c 31 1 >> >> mkdir /mnt/flash0 >> mkdir /mnt/flash1 >> >> mount -t yaffs /dev/mtdblock0 /mnt/flash0 >> mount -t yaffs /dev/mtdblock1 /mnt/flash1 >> >> >> Every time i get >> >> /dev/mtdblock0 is not blockdevice >> >> Similarly >> /dev/mtdblock1 is not blockdevice >> >> I am not able to create file system in flash >> >> Do i hv to create YAFFS file system and other partitions in NAND flash of >> DM6467 or the partition is already created for bootloader,kernel,ramdisk >> etc... >> >> >> >> Suggest me >> >> >> >> >> >> > > > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Flash file system in DM6467 and flash partition
I hv a small query regarding file system in DM6467. I am booting the device using NFS file system. I hv mounted ramdisk in /home/user/workdir/filesys. I need to create a file system on flash memory in order to write the configuration information of camera. when i give cat /proc/mtd r...@192.168.10.188:/opt/dvsdk_dm6467# cat /proc/mtd I get only this dev:size erasesize name no other mtd devices found. If I create mtd block device using the command In target device: mknod /dev/mtd0 c 90 0 mknod /dev/mtd1 c 90 2 mknod /dev/mtdblock0 c 31 0 mknod /dev/mtdblock1 c 31 1 mkdir /mnt/flash0 mkdir /mnt/flash1 mount -t yaffs /dev/mtdblock0 /mnt/flash0 mount -t yaffs /dev/mtdblock1 /mnt/flash1 Every time i get /dev/mtdblock0 is not blockdevice Similarly /dev/mtdblock1 is not blockdevice I am not able to create file system in flash Do i hv to create YAFFS file system and other partitions in NAND flash of DM6467 or the partition is already created for bootloader,kernel,ramdisk etc... Suggest me ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Flash file system in DM6467 and flash partition
I tried already creating block device with "mknod /dev/mtdblock0 b 31 0" I tried booting from NAND also but still i am not able to see the flash partition while booting. I checked the settings in menuconfig Anything i am missing for configuring partition of NAND flash On 2/2/09, sunder ramani wrote: > > Kirthi, > > You should try the block device nodes as 'b' rather than 'c'. > > "mknod /dev/mtdblock0 b 31 0". This should help I suppose! > > -Sundar > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Flash file system in DM6467 and flash partition
I just checked make menuconfig again.I missed CONFIG_MTD_NAND_DAVINCI and this time i wrote the updated kernel to flash. So able to mount Flash partition while booting. Thanks a lot. On 2/3/09, AVIT-Henry Lee wrote: > > > > David Brownell 提到: > >> On Monday 02 February 2009, kirthika varadarajan wrote: >> >> >>> Anything i am missing for configuring partition of NAND flash >>> >>> >> >> In the GIT tree's board-dm646x-evm.c there's nothing >> declaring either NAND flash chip. Yet. >> >> Someone should submit a patch on top of my last three, >> to make that work. On CS0, a 64MB chip not unlike the >> dm644x-evm code. I'm not sure how that 2GB chip would >> be hooked up, though; the driver might need some more >> tweaking, it looks like it's not like the dm355-evm. >> >> - Dave >> >> ___ >> Davinci-linux-open-source mailing list >> Davinci-linux-open-source@linux.davincidsp.com >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >> >> >> __ NOD32 3820 (20090203) Information __ >> >> This message was checked by NOD32 antivirus system. >> http://www.nod32.com.hk >> >> >> >> >> > > ___ > Davinci-linux-open-source mailing list > Davinci-linux-open-source@linux.davincidsp.com > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
dm6467 + shared memory while mounting jffs file system on Nand Flash
I updated kernel for mounting file system on Nand flash. I need to write the camera configuration information to nand flash. I wrote configuration information after mounting file system on Nand flash. But i found while reading the information from Flash memory and displaying in web page its through shared memory segment. When i put: ipcs in dm6467 I am getting the below information. I am not able to see the shared memory segment(address).Do i need to update kernel for enabling shared memory segment in Nand flash -- Shared Memory Segments keyshmid owner perms bytes nattch status -- Semaphore Arrays keysemid owner perms nsems -- Message Queues keymsqid owner perms used-bytes messages Suggest me ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
booting via tftp using nfs filesystem + dm6446
I have difficulty in booting via tftp using file system. My boot configuration is as follows bootdelay=3 baudrate=115200 netmask=255.255.255.0 rootpath=/home/kirthika/workdir/filesys bootfile=uImage gatewayip=192.168.0.1 serverip=192.168.0.185 nfshost=192.168.0.184 bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.16 8.0.184:/home/kirthika/workdir/filesys,nolock mem=120M ipaddr=192.168.0.188 bootcmd=dhcp;bootm stdin=serial stdout=serial stderr=serial ethaddr=00:0e:99:02:29:00 videostd=ntsc Starting kernel ... Uncompressing Linux. ... done, booting the.Linux version 2.6.10_mvl401-davinc i_evm (kirth...@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0 .30.0501131 2005-07-23)) #6 Sun Feb 15 18:19:53 KST 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nf sroot=192.168.0.184:/home/kirthika/workdir/filesys,nolock mem=120M PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 120MB = 120MB total Memory: 118784KB available (2311K code, 487K data, 136K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task() desched cpu_callback 3/ ksoftirqd started up. desched cpu_callback 2/ desched thread 0 started up. NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform Registering platform device 'musb_hdrc'. Parent at platform DaVinci I2C DEBUG: 18:17:12 Feb 15 2009 Registering platform device 'i2c'. Parent at platform usbcore: registered new driver usbfs usbcore: registered new driver hub JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Feb 15 2009 18:16:41 Installing. Registering platform device 'davincifb.0'. Parent at platform Console: switching to colour frame buffer device 90x30 Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Registering platform device 'serial8250'. Parent at platform ìtyS0 at MMIO 0x1c2 (irq = 40) is a 16550A io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize Registering platform device 'ti_davinci_emac'. Parent at platform TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00 TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. netconsole: not configured, aborting i2c /dev entries driver Linux video capture interface: v1.00 Registering platform device 'vpfe.1'. Parent at platform DaVinci v4l2 capture driver V1.0 loaded Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx hda: TOSHIBA MK4026GAX RoHS, ATA DISK drive elevator: using anticipatory as default io scheduler ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22 hda: max request size: 128KiB hda: 78140160 sectors (40007 MB), CHS=65535/16/63 hda: unknown partition table ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio mice: PS/2 mouse device common for all mice musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0] musb_hdrc: USB Host mode controller at c806 using PIO, IRQ 12 musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Registering platform device 'davinci-audio.0'. Parent at platform NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET: Registered protocol family 1 NET: Registered protocol family 17 Sending DHCP requests ., OK IP-Config: Got DHCP answer from 192.168.0.98, my address is 0.0.0.0 IP-Config: Unable to set interface netmask (-99). Looking up port of RPC 13/2 on 192.168.0.184 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 15/1 on 192.168.0.184 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get mountd port number from server, using default RPC: sendmsg returned error 101 mount: RPC call returned error 101 Root-NFS: Server returned error -101 while mounting /home/kirthika/workdir/files ys VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "nfs" or unknown-block(2,0) Please append a correct
Re: booting via tftp using nfs filesystem + dm6446
Hi, dhcp is not working. i set static ip addr and i am able to mount nfs file system. Thanks a lot On 2/16/09, zhenfeng ren <1985re...@gmail.com> wrote: > > > 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
Reg decodeencode demo in Dm6446
When i run the decode encode demo compiled by me in DM6446 i am getting the following error Encodedecode demo started. Rszcopy Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create resize copy job Capturing 720x480 video (cropped to 720x480) Smooth Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create smoother I did't modify anything in the decode encode demo. Suggest me to resolve this. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Reg decodeencode demo in Dm6446
t me to resolve On 2/19/09, Jadav, Brijesh R wrote: > > Hi, > > > > You can check whether resizer is included in the kernel by printing > /proc/devices. There should be one entry for resizer. If it is available, > you just have to create /dev entry for resizer. If it is not, kernel does > not have resizer driver. Re-build the kernel with the resizer support. > > > > Thanks, > > Brijesh Jadav > > > -- > > *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [mailto: > davinci-linux-open-source-boun...@linux.davincidsp.com] *On Behalf Of > *Venkatachala > Upadhya > *Sent:* Thursday, February 19, 2009 10:35 AM > *To:* 'kirthika varadarajan'; davinci-linux-open-source > *Subject:* RE: Reg decodeencode demo in Dm6446 > > > > Hi, > > > > I guess re sizer is a kernel module. It might not have been built into the > kernel. You may have to load the kernel module. > > > > With best regards, > > Venkatachala Upadhya| Extn: 65395| > -- > > > > > -- > > *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [mailto: > davinci-linux-open-source-boun...@linux.davincidsp.com] *On Behalf Of > *kirthika > varadarajan > *Sent:* 19 February, 2009 10:21 AM > *To:* davinci-linux-open-source > *Subject:* Reg decodeencode demo in Dm6446 > > When i run the decode encode demo compiled by me in DM6446 i am getting the > following error > > > > Encodedecode demo started. > Rszcopy Error: Failed to open /dev/davinci_resizer > Encodedecode Error: Failed to create resize copy job > Capturing 720x480 video (cropped to 720x480) > Smooth Error: Failed to open /dev/davinci_resizer > Encodedecode Error: Failed to create smoother > > > > I did't modify anything in the decode encode demo. > > > > > > Suggest me to resolve this. > > > -- > > http://www.mindtree.com/email/disclaimer.html > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Reg decodeencode demo in Dm6446
I don't hv node /dev/video0 in my rootfs On 2/19/09, Suhas Jain wrote: > > Check if you have /dev/video0 node present in your rootfs > > > On Thu, 2009-02-19 at 15:55 +0900, kirthika varadarajan wrote: > > Hi, > > After including the resizer driver i am getting the following error > > Encodedecode demo started. > > Encodedecode Error: Cannot open /dev/video0 (No such file or > > directory) > > > > ncompressing > > Linux. > > Linux version 2.6.10_mvl401-davinci_evm (gcc ve > > rsion 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #10 Thu Feb > > 19 14:42: > > 03 KST 2009 > > CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) > > CPU0: D VIVT write-back cache > > CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets > > CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets > > Machine: DaVinci EVM > > Memory policy: ECC disabled, Data cache writeback > > Built 1 zonelists > > Kernel command line: console=ttyS0,115200n8 noinitrd rw > > ip=192.168.1.9:192.168.1 > > .4:192.168.1.1:255.255.255.0:::off root=/dev/nfs > > nfsroot=192.168.1.18:/home/kirt > > hika/workdir/filesys,nolock mem=120M > > video=dm64xxfb:output=ntsc:format=composite > > :vid0=720*...@0,0:vid1=720*...@0,0:osd0=720*...@0,0:osd1=720*...@0,0 > > PID hash table entries: 512 (order: 9, 8192 bytes) > > Console: colour dummy device 80x30 > > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > > Memory: 120MB = 120MB total > > Memory: 118656KB available (2354K code, 490K data, 140K init) > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > CPU: Testing write buffer coherency: ok > > spawn_desched_task() > > desched cpu_callback 3/ > > ksoftirqd started up. > > desched cpu_callback 2/ > > desched thread 0 started up. > > NET: Registered protocol family 16 > > Registering platform device 'nor_davinci.0'. Parent at platform > > Registering platform device 'nand_davinci.0'. Parent at platform > > Registering platform device 'musb_hdrc'. Parent at platform > > DaVinci I2C DEBUG: 14:39:37 Feb 19 2009 > > Registering platform device 'i2c'. Parent at platform > > usbcore: registered new driver usbfs > > usbcore: registered new driver hub > > JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. > > yaffs Feb 19 2009 14:39:09 Installing. > > Registering platform device 'davincifb.0'. Parent at platform > > DAVINCI VPBE use default values(parameters)... > > Console: switching to colour frame buffer device 90x30 > > Registering platform device 'davinci_resizer.2'. Parent at platform > > Registering platform device 'davinci_previewer.2'. Parent at platform > > Registering platform device 'davinci_pwm0.0'. Parent at platform > > Registering platform device 'davinci_pwm1.1'. Parent at platform > > Registering platform device 'davinci_pwm2.2'. Parent at platform > > Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing > > disabled > > Registering platform device 'serial8250'. Parent at platform > > ttyS0 at MMIO 0x1c2 (irq = 40) is a 16550A > > io scheduler noop registered > > io scheduler anticipatory registered > > RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize > > loop: loaded (max 8 devices) > > Registering platform device 'ti_davinci_emac'. Parent at platform > > TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00 > > TI DaVinci EMAC Linux version updated 4.0 > > TI DaVinci EMAC: Installed 1 instances. > > netconsole: not configured, aborting > > i2c /dev entries driver > > Linux video capture interface: v1.00 > > Registering platform device 'vpfe.1'. Parent at platform > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2C WARNING: i2c: RAR detected > > DaVinci I2C WARNING: i2c: NACK detected > > DaVinci I2
Re: Reg decodeencode demo in Dm6446
I created the one already.But again the response is No video device found Even in /proc/devices there is no video0. Suggest me. On Thu, Feb 19, 2009 at 3:00 PM, Jadav, Brijesh R wrote: > Create the one using following command if video driver is available in > /proc/devices > > > > *Mknod /dev/video0 c 81 0* > > > > Thanks, > > Brijesh Jadav > > > -- > > *From:* davinci-linux-open-source-bounces+brijesh.j=ti.com@ > linux.davincidsp.com > [mailto:davinci-linux-open-source-bounces+brijesh.j > =ti....@linux.davincidsp.com] *On Behalf Of *kirthika varadarajan > *Sent:* Thursday, February 19, 2009 12:57 PM > *To:* Suhas Jain; Davinci-linux-open-source@linux.davincidsp.com > *Subject:* Re: Reg decodeencode demo in Dm6446 > > > > > I don't hv node /dev/video0 in my rootfs > > > > > > > On 2/19/09, *Suhas Jain* wrote: > > Check if you have /dev/video0 node present in your rootfs > > > On Thu, 2009-02-19 at 15:55 +0900, kirthika varadarajan wrote: > > Hi, > > After including the resizer driver i am getting the following error > > Encodedecode demo started. > > Encodedecode Error: Cannot open /dev/video0 (No such file or > > directory) > > > > ncompressing > > Linux. > > Linux version 2.6.10_mvl401-davinci_evm (gcc ve > > rsion 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #10 Thu Feb > > 19 14:42: > > 03 KST 2009 > > CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) > > CPU0: D VIVT write-back cache > > CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets > > CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets > > Machine: DaVinci EVM > > Memory policy: ECC disabled, Data cache writeback > > Built 1 zonelists > > Kernel command line: console=ttyS0,115200n8 noinitrd rw > > ip=192.168.1.9:192.168.1 > > .4:192.168.1.1:255.255.255.0:::off root=/dev/nfs > > nfsroot=192.168.1.18:/home/kirt > > hika/workdir/filesys,nolock mem=120M > > video=dm64xxfb:output=ntsc:format=composite > > :vid0=720*...@0,0:vid1=720*...@0,0:osd0=720*...@0,0:osd1=720*...@0,0 > > PID hash table entries: 512 (order: 9, 8192 bytes) > > Console: colour dummy device 80x30 > > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > > Memory: 120MB = 120MB total > > Memory: 118656KB available (2354K code, 490K data, 140K init) > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > CPU: Testing write buffer coherency: ok > > spawn_desched_task() > > desched cpu_callback 3/ > > ksoftirqd started up. > > desched cpu_callback 2/ > > desched thread 0 started up. > > NET: Registered protocol family 16 > > Registering platform device 'nor_davinci.0'. Parent at platform > > Registering platform device 'nand_davinci.0'. Parent at platform > > Registering platform device 'musb_hdrc'. Parent at platform > > DaVinci I2C DEBUG: 14:39:37 Feb 19 2009 > > Registering platform device 'i2c'. Parent at platform > > usbcore: registered new driver usbfs > > usbcore: registered new driver hub > > JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. > > yaffs Feb 19 2009 14:39:09 Installing. > > Registering platform device 'davincifb.0'. Parent at platform > > DAVINCI VPBE use default values(parameters)... > > Console: switching to colour frame buffer device 90x30 > > Registering platform device 'davinci_resizer.2'. Parent at platform > > Registering platform device 'davinci_previewer.2'. Parent at platform > > Registering platform device 'davinci_pwm0.0'. Parent at platform > > Registering platform device 'davinci_pwm1.1'. Parent at platform > > Registering platform device 'davinci_pwm2.2'. Parent at platform > > Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing > > disabled > > Registering platform device 'serial8250'. Parent at platform > > ttyS0 at MMIO 0x1c2 (irq = 40) is a 16550A > > io scheduler noop registered > > io scheduler anticipatory registered > > RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize > > loop: loaded (max 8 devices) > > Registering platform device 'ti_davinci_emac'. Parent at platform > > TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00 > > TI DaVinci EMAC Linux version updated 4.0 > > TI DaVinci EMAC: Inst
Reg. code for Motion JPEG demo in DM6446
I searched every where i cannot find the motion JPEG Demo code for dm6446 Somebody send me the link for downloading Motion JPEG Demo code for dm6446. The link which i downloaded sprc343a.gz doesn't have any code inside. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Compiling codec engine video1_copy in DM6446
While compiling codec engine video1_copy in DM6446 i am getting the following errors. WARNING: Can't call useModule() now: ti.sdo.ce.Engine ti.sdo.ce.osal.validate() ... js: "/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc/cfg/Main.xs", line 169: exception from uncaught JavaScript throw: Error: incompatible use of the target 'ti.targets.C64P': imported ti.targets.C64P [], ti.targets.rts6000 was built using ti.targets.C64P [1,0,6.0,11], ti.xdais.dm.examples.viddec1_copy was built using ti.targets.C64P [1,0,6.0,7], ti.xdais.dm.examples.videnc1_copy was built using ti.targets.C64P [1,0,6.0,7] "/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc/xs.js", line 137 gmake[1]: *** [package/cfg/app_x64Pcfg.s62] Error 1 gmake[1]: *** Deleting file `package/cfg/app_x64Pcfg.s62' gmake[1]: *** [package/cfg/app_x64Pcfg.s62] Deleting file `package/cfg/app_x64Pcfg.cmd' gmake[1]: *** [package/cfg/app_x64Pcfg.s62] Deleting file `package/cfg/app_x64Pcfg_c.c' gmake: *** [/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/video1_copy,.executables] Error 2 gmake: *** [all] Error 2 I modified /home/dvevm_1_20/codec_engine_1_10_01/examples/xdcpaths.mak and user.bld to the reference where the actual FC_INSTALL,BIOS,xdc etc. as well as user.bld to C64P.rootDir = "/home/kirthika/dvevm_1_20/xdc_2_94"; MVArm9.rootDir = "/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le"; I am getting the above errors ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
compiling audio or video codec examples(apps) in dm6446
Hi, I compiled the sample applications given in codec_Engine_1_10_01 for dvsdk 1.2 When the compile audio_copy/dualcpu. or video_copy/dualcpu i am getting the following error. Suggest me how to debug this error.I am not sure why this error messages [kirth...@localhost dualcpu]$ /db/toolsrc/library/vendors2005/mvl/arm/mvl4.0/Linux/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi/bin/gcc -g -Wall -Os -c -Dxdc_target__='' -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/audio_copy/dualcpu/../../.. -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/packages -I/home/kirthika/dvevm_1_20/xdais_5_10/packages -I/home/kirthika/dvevm_1_20/dsplink_1_30_08_02/packages -I/home/kirthika/dvevm_1_20/cmem_1_02/packages/ -I/home/kirthika/dvevm_1_20/framework_components_1_20_03/packages -I/home/kirthika/dvevm_1_20/bios_5_31_01/packages -I./ceapp_package -I./ceapp_package/.. -I/home/kirthika/dvevm_1_20/xdc_2_94/packages -I/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc -o app.o app.c make: /db/toolsrc/library/vendors2005/mvl/arm/mvl4.0/Linux/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi/bin/gcc: Command not found make: *** [app.o] Error 127 [kirth...@localhost dualcpu]$ make cc -c -Dxdc_target__='' -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/audio_copy/dualcpu/../../.. -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/packages -I/home/kirthika/dvevm_1_20/xdais_5_10/packages -I/home/kirthika/dvevm_1_20/dsplink_1_30_08_02/packages -I/home/kirthika/dvevm_1_20/cmem_1_02/packages/ -I/home/kirthika/dvevm_1_20/framework_components_1_20_03/packages -I/home/kirthika/dvevm_1_20/bios_5_31_01/packages -I./ceapp_package -I./ceapp_package/.. -I/home/kirthika/dvevm_1_20/xdc_2_94/packages -I/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc -o app.o app.c cc -c -Dxdc_target__='' -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/audio_copy/dualcpu/../../.. -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/packages -I/home/kirthika/dvevm_1_20/xdais_5_10/packages -I/home/kirthika/dvevm_1_20/dsplink_1_30_08_02/packages -I/home/kirthika/dvevm_1_20/cmem_1_02/packages/ -I/home/kirthika/dvevm_1_20/framework_components_1_20_03/packages -I/home/kirthika/dvevm_1_20/bios_5_31_01/packages -I./ceapp_package -I./ceapp_package/.. -I/home/kirthika/dvevm_1_20/xdc_2_94/packages -I/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc -o ceapp.o ceapp.c cd ./ceapp_package; /home/kirthika/dvevm_1_20/xdc_2_94/xdc XDCPATH="/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/audio_copy/dualcpu/../../..;/home/kirthika/dvevm_1_20/codec_engine_1_10_01/packages;/home/kirthika/dvevm_1_20/xdais_5_10/packages;/home/kirthika/dvevm_1_20/dsplink_1_30_08_02/packages;/home/kirthika/dvevm_1_20/cmem_1_02/packages/;/home/kirthika/dvevm_1_20/framework_components_1_20_03/packages;/home/kirthika/dvevm_1_20/bios_5_31_01/packages" package/cfg/pkg_x470MV.c making package.mak (because of package.bld) ... generating interfaces for package ceapp_package (because package/package.xdc.xml is older than package.xdc) ... configuring pkg.x470MV from package/cfg/pkg_x470MV.cfg ... ti.sdo.ce.osal.close() ... WARNING: Can't call useModule() now: ti.sdo.ce.Engine ti.sdo.ce.osal.validate() ... will link with codecs.audenc_copy:lib/audenc_copy.a470MV will link with ti.xdais.dm.examples.auddec_copy:lib/auddec_copy.a470MV will link with ti.sdo.ce.audio:lib/audio.a470MV will link with ti.sdo.ce:lib/ce.a470MV will link with ti.sdo.ce.node:lib/node.a470MV will link with ti.sdo.ce.osal:lib/osal_dsplink_linux.a470MV will link with ti.sdo.ce.osal.alg:lib/alg.a470MV will link with dsplink.gpp:export/BIN/Linux/Davinci/RELEASE/dsplink.lib will link with ti.sdo.ce.trace:lib/gt.a470MV will link with ti.sdo.linuxutils.cmem:lib/cmem.a cc -c -Dxdc_target__='' -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/apps/audio_copy/dualcpu/../../.. -I/home/kirthika/dvevm_1_20/codec_engine_1_10_01/packages -I/home/kirthika/dvevm_1_20/xdais_5_10/packages -I/home/kirthika/dvevm_1_20/dsplink_1_30_08_02/packages -I/home/kirthika/dvevm_1_20/cmem_1_02/packages/ -I/home/kirthika/dvevm_1_20/framework_components_1_20_03/packages -I/home/kirthika/dvevm_1_20/bios_5_31_01/packages -I./ceapp_package -I./ceapp_package/.. -I/home/kirthika/dvevm_1_20/xdc_2_94/packages -I/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc -o ceapp_package/package/cfg/pkg_x470MV.o ceapp_package/package/cfg/pkg_x470MV.c cc -g -o app.out app.o ceapp.o ceapp_package/package/cfg/pkg_x470MV.o ./ceapp_package/package/cfg/pkg_x470MV.xdl -lpthread /usr/bin/ld: skipping incompatible /home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/codecs/audenc_copy/lib/audenc_copy.a470MV when searching for /home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/codecs/audenc_copy/lib/audenc_copy.a470MV /usr/bin/ld: cannot find /home/kirthika/dvevm_1_20/codec_engine_1_10_01/examples/codecs/audenc_copy/lib/audenc_copy.a470MV collect2: ld returned 1 exit status m
No GT_Trace debug message in video_copy of DM6446 with codec_engine_1_10_01
Hi, I am working with DM6446. I have a small query regarding GT_Trace debug messages in codec. I copied Codec engine (codec_engine_1_10_01) video_copy example and modified for our requirement. I am not getting any GT_Trace debug messages in codec side. In application side i am getting the debug message. In codec i included #include as well as GTNAME i gave my codec name. But still not getting Suggest me how to enable GT_Trace debug message. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
possible causes of encoder not working after porting to DSP(xDAIS) which is working in emulator.
I hv a jpeg encoder which is working in DM6446. I checked with emulator and i am getting the encoded output. But after changing the encoder to xDAIS standard and porting to DSP i am getting only the header part but not the encoded data. I verified the input,output address and everything. What are the possible reasons or causes that the code working in emulator doesn't working after porting to DSP as per the document Codec application developer user guide and mastering the art of memory map configuration for davinci based systems. Pls. suggest me. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reg printk message in arch/arm/mach-davinci/gio.c (DM6446)
Hi, I added some printk message in arch/arm/mach-davinci/gio.c. (DM6446) But i am not getting any of the prink message from this file. I checked in /var/log/kern.log,/var/log/debug also. But no message which i put. I enabled the kernel hacking options in make menuconfig. I tried CONFIG_PRINTK also. But no way i am getting the message from gio.c Suggest me the ways to get the printk message from gio.c in DM6446 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
reg printk message in /arch/arm/mach-davinci/gio.c (Dm6446)
Hi, I added some printk message in arch/arm/mach-davinci/gio.c. (DM6446) But i am not getting any of the prink message from this file. I checked in /var/log/kern.log,/var/log/debug also. But no message which i put. I enabled the kernel hacking options in make menuconfig. I tried CONFIG_PRINTK also. But no way i am getting the message from gio.c Suggest me the ways to get the printk message from gio.c in DM6446 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Decode demo in dm6446 for audio test
When i run decode demo in DM6446 i am getting following debug message. ./decode -s data/sounds/davincieffect.g711 Decode demo started. davincifb davincifb.0: davincifb_check_var :within_vid0_limits fail. Decode Error: Failed ioctl FBIOPUT_VSCREENINFO on /dev/fb/0 Total number of speech frames rejected: 0 I am not able to decode the file. Suggest me if any change in kernel configuration or anyother is need . ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
OSD in DM6467
When i run the decode demo that comes along with Dm6467 in the command line when i give ./decode -v -o i am able to get the OSD window but not GUI. There are no buttons and other stuffs that comes along with /data/pics I studied the queries reg. OSD and DM6467.But i didnt get any clue reg. OSD and DM6467, Suggest me how to enable GUI based OSD in DM6467 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM6446+ Hostname Look up failure when i ping yahoo.com
Hi, I have DM6446 Linux Kernel. I want to add ntp client to DM6446. In the command prompt of DM6446 if i give ping yahoo.com then i get "Hostname Look up failure" When i connect to NTP server i am getting the same error message. ntpclient -s -h pool.ntp.org.. Any kernel options i need to configure for connecting to ping yahoo.com. Any other stuffs i need to add.suggest me. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: DM6446+ Hostname Look up failure when i ping yahoo.com
Hi, The problem is with gateway ip.I modified and its working. changed the gw of DM6446. Thank u On 4/22/09, Balagopalakrishnan, Anand wrote: > > There could be several reasons: > > > >1. Does the EVM network configuration contain the correct gateway IP? >2. Is the correct DNS server configured? If not, this needs to be added >as part of DHCP options or in the static IP configuration. >3. If you have the EVM inside the corporate network, the firewall rules >might block the ICMP echo responses. Most firewalls do. > > > > If you are able to ping any of local machines, no kernel changes should be > required. The problem is most likely in the network configuration. > > > > Best Regards, > > Anand Balagopalakrishnan > > Texas Instruments > > India > > > -- > > *From:* davinci-linux-open-source-bounces+anandb=ti.com@ > linux.davincidsp.com > [mailto:davinci-linux-open-source-bounces+anandb > =ti@linux.davincidsp.com] *On Behalf Of *kirthika varadarajan > *Sent:* Wednesday, April 22, 2009 6:57 AM > *To:* Davinci-linux-open-source@linux.davincidsp.com > *Subject:* DM6446+ Hostname Look up failure when i ping yahoo.com > > > > Hi, > > I have DM6446 Linux Kernel. > > I want to add ntp client to DM6446. > > In the command prompt of DM6446 if i give ping yahoo.com then i get > > "Hostname Look up failure" > > > > When i connect to NTP server i am getting the same error message. > > > > ntpclient -s -h pool.ntp.org.. > > > > > > Any kernel options i need to configure for connecting to ping yahoo.com. > > > > > > Any other stuffs i need to add.suggest me. > > > > > > > > > ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
VDEC2 Interface in DM6467
I hv a small query regarding VDEC2 Interface with our own Decoder. We tried to make decoder based on VDEC2 interface. Just copied the decode demo that comes along with dvdsk_1_40_0_28. Just changed to our decoder and checked.But not able open the VDEC2 Interface. Could not open the VDEC2 Interface. Is it possible to use VDEC2 interface for our decoder. There is no sample application for VDEC Interface. Where can i find the sample application for VDEC Interface in DM6467 Suggest me ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
difficulty in VDEC2 interface in dm6467
I used VDEC2 interface for our own decoder. But somehow i am not able to open the VDEC2 interface But the decode demo that comes along with TI works with VDEC2 interface, here with i am sending the debug message which i get when i use the vdec2 interface. Suggest me what is the problem with VDEC2 interface with our decoder implementation Decode demo started. @0,734,311us: [+4 T:0x40018528] OG - Global_init> This program was built with the following packages: @0,734,667us: [+4 T:0x40018528] OG - package gnu.targets.rts470MV (/home/Vina/dvsdk_1_40_00_28/xdc_3_00_06/packages/gnu/targets/rts470MV/) [1,0,0,0,1203621000516] @0,734,823us: [+4 T:0x40018528] OG - package ti.xdais.dm(/home/Vina/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/dm/) [1,0,4,1210262746529] @0,734,902us: [+4 T:0x40018528] OG - package ti.xdais (/home/Vina/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/) [1,2,1,1210262742149] @0,734,971us: [+4 T:0x40018528] OG - package ti.sdo.utils.trace (/home/Vina/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/utils/trace/) [1,0,0,1210378728605] @0,735,041us: [+4 T:0x40018528] OG - package ti.sdo.ce.utils.xdm (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/utils/xdm/) [1,0,1,1210912978675] @0,735,167us: [+4 T:0x40018528] OG - package ti.sdo.fc.dman3 (/home/Vina/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/dman3/) [1,0,3,1210378548029] @0,735,238us: [+4 T:0x40018528] OG - package ti.sdo.fc.acpy3 (/home/Vina/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/acpy3/) [1,0,2,1210378523580] @0,735,308us: [+4 T:0x40018528] OG - package dsplink.gpp (/home/Vina/dvsdk_1_40_00_28/dsplink-davinci-v1.50-prebuilt/packages/dsplink/gpp/) [3,0,0] @0,735,520us: [+4 T:0x40018528] OG - package ti.sdo.linuxutils.cmem (/home/Vina/dvsdk_1_40_00_28/cmem_2_10/packages/ti/sdo/linuxutils/cmem/) [2,0,1,1204929560755] @0,735,598us: [+4 T:0x40018528] OG - package ti.catalog.c470 (/home/Vina/dvsdk_1_40_00_28/xdc_3_00_06/packages/ti/catalog/c470/) [1,0,1,0,1203561761475] @0,735,670us: [+4 T:0x40018528] OG - package ti.catalog.c6000 (/home/Vina/dvsdk_1_40_00_28/xdc_3_00_06/packages/ti/catalog/c6000/) [1,0,0,0,1203561781695] @0,735,738us: [+4 T:0x40018528] OG - package ti.platforms.evmDM6467 (/home/Vina/dvsdk_1_40_00_28/xdc_3_00_06/packages/ti/platforms/evmDM6467/) [1,0,0,0,1203562062227] @0,735,806us: [+4 T:0x40018528] OG - package ti.sdo.ce.osal (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/) [2,0,2,1210912758604] @0,735,874us: [+4 T:0x40018528] OG - package ti.sdo.ce.ipc (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/) [2,0,1,1210912707081] @0,735,940us: [+4 T:0x40018528] OG - package ti.sdo.ce.osal.linux (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1210912772730] @0,736,008us: [+4 T:0x40018528] OG - package ti.sdo.ce.ipc.dsplink (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1210912721394] @0,736,077us: [+4 T:0x40018528] OG - package ti.sdo.ce.alg (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/alg/) [1,0,1,1210912389491] @0,736,146us: [+4 T:0x40018528] OG - package ti.sdo.ce (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/) [1,0,6,1210912375058] @0,736,212us: [+4 T:0x40018528] OG - package ti.sdo.ce.speech (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/speech/) [1,0,2,1210912797352] @0,736,279us: [+4 T:0x40018528] OG - package ti.sdo.ce.speech1 (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/speech1/) [1,0,1,1210912803800] @0,736,345us: [+4 T:0x40018528] OG - package ti.sdo.ce.audio (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/audio/) [1,0,2,1210912396869] @0,736,412us: [+4 T:0x40018528] OG - package ti.sdo.ce.video (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video/) [1,0,3,1210912990552] @0,736,477us: [+4 T:0x40018528] OG - package ti.sdo.ce.video1 (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video1/) [1,0,2,1210912997315] @0,736,543us: [+4 T:0x40018528] OG - package ti.sdo.ce.video2 (/home/Vina/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video2/) [1,0,2,1210913003946] @0,736,611us: [+4 T:0x40018528] OG - package ti.sdo.dmai (/home/Vina/dvsdk_1_40_00_28/dmai_1_10_00_05/packages/ti/sdo/dmai/) [1,0,0,1241325687000] @0,737,485us: [+4 T:0x40018528] OG - package ti.sdo.simplewidget (/home/Vina/NVR/multimedia/packages/ti/sdo/simplewidget/) [] @0,737,584us: [+4 T:0x40018528] OG - package nvr_mp4_dec0 (/home/Vina/NVR/multimedia/nvr_mp4_dec0/) [] @0,737,655us: [+4 T:0x40018528] OG - package nvr_mp4_dec1 (/home/Vina/NVR/multimedia/nvr_mp4_dec1/) [] @0,737,722us: [+4 T:0x40018528] OG - package nvr_mp4_dec2 (/home/Vina/NVR/multimedia/nvr_mp4_de
Minimum file system(ramdisk) for DM6467
Hi all, We have dvsdk version dvsdk_1_40_00_28. We dont find any sample ramdisk inside dvsdk/PSP or inside montavista folder Where can i get the Sample ramdisk for DM6467 Send us the link for downloading ramdisk for DM6467. Regards Kiruthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Query in compiling Linux kernel for DM6467
Hi, I am working with DM6467. I have some difficulty in compiling linux kernel. I did as per the document given by TI. I kept the .bashrc and .bash_profile in I logged in as user I was able to compile the simple program given in the document. with the following command arm_v5t_le-gcc hello.c -o hello But when i compile the linux kernel after copying cp -R /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci . cd ti-davinci make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm6467_defconfig I am getting the following error. HOSTCC scripts/basic/fixdep /bin/sh: gcc: command not found make[1]: *** [scripts/basic/fixdep] Error 127 make: *** [scripts_basic] Error 2 Please suggest what to do.. i am struck here regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reg executing demo application comes with DM6467
Suggest me how to run the demo application Boot args i configured for COMPOSITE and NTSC But demo application is not running once i give ./loadmodules.sh in command line Do i need to do anything for displaying in my big LCD display device(not HD) regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Composite video output in DM6467
Hi, I tried to modify the kernel parameters and boot parameters for composite display output.But i didn't get any output in my OSD. I think its necessary to change the display driver. Is there any reference to change the display driver so that the sample application that comes along with dm6467 runs in my OSD. suggest me how to proceed. Regards Kirthika ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source