How to change the file Davinci_vpfe.c for capturing the Raw Data in my DM6446 platform?

2010-06-03 Thread shaofeng zhang
Hi, all My platform have the FPGA modules as the video source, and I could get the video stream as the BT 656 format, and It works very well. Now I want to capturing the video stream as the Raw Data format from the FPGA modules, but I do not know how to change the davinci_vpfe.c to set the ccdc

How to use VPFE as YUV interface in DM6446?

2010-05-21 Thread shaofeng zhang
Hi, all, I want to use the VPFE as generic YUV configration format in DM6446, and my program is running in Linux, So could anyone tell me how to append the davinci_vpfe.c or other files in Linux driver? Thank you~~ -- Best Regards! zhangshaofeng @Xi'an JiaoTong

Problems About thttpd 2.25b

2010-05-10 Thread shaofeng zhang
Hi,All, I am using the webserver thttpd 2.25b on my DM6446 board, and I found that a problem abouth it: When I use the configuration file like this: */thttpd -c /opt/dvevm/thttpd.conf * but the webserver could not use the config file thttpd.conf and the web page dir could not be set in the config

Why can not I ping several cameras for the same time?

2010-04-29 Thread shaofeng zhang
Hi, all I developed several Network Cameras base on DaVinci DM6446 platform, but I found that when I connect them on the same network,such as 192.168.0.xxx When I power on them, I found that I can not ping them at the same time. That means when I make only one Camera working, I could ping it well,

How to use JRTPLIB in the Davinci encode project?

2010-04-16 Thread shaofeng zhang
Hi,all I want to use the JRTPLIB in my encode project base on DM6446 platform, but I donot know how to use the c++ library in the C project, could anyone give me some information about how to use the cpp file in the c project? how to use the jrtplib in the encode project? Now I have the *.h files

Re: About Input/output error when using tcgetattr

2010-03-26 Thread shaofeng zhang
There is a solution that is mentioned by the year of 2007: http://linux.omap.com/pipermail/davinci-linux-open-source/2007-April/003097.html That will help the UART1 drivers. 2010/3/25 shaofeng zhang ipc...@gmail.com Hi, everyone, I use the function tcgetattr to access /dev/ttyS1

About Input/output error when using tcgetattr

2010-03-25 Thread shaofeng zhang
Hi, everyone, I use the function tcgetattr to access /dev/ttyS1, the messages is above: *SetupSerial 1: Input/output error* ** When I change to access /dev/ttyS0, there is no error that will be displayed. Could anyone tell me some tips about that? Thank you~ PS: My platform is Davinci DM6446.

Could anyone meet this problem about Davinci DM6446?

2010-01-10 Thread shaofeng zhang
Hi,all, I found a problem about the Encode Demos of the DM6446, that is the H.264 video only have the even fields from the VPFE source, because if I set the Y Factors as Zeros of the even fields of the VPFE video source, the encoded videos will have all the black frames, but the LCD srceen from

Could the video encoder of TI Encode Demo only process even fields of the video stream from VPFE?

2010-01-10 Thread shaofeng zhang
Hi, all, I am afraid that the last letter can not discribe the problem detaily? My problem is: the video encoder only process the even fields of Line 0,2,4,etc. from DDR, but the display thread could process the odd fields of Line 1,3,5,etc. from DDR, and the writer only write the even fields to

About the YUV datas for the functions encodeVideoBuffer of the TI demo

2009-11-19 Thread shaofeng zhang
Hi, all, I want to know the structure of the YUV raw data for the function encodeVideoBuffer in the TI demos, such as: /* the folloing codes is from \dvevm_1_20\demos\encodedecode\video.c(Line 571~577)*/ */* Encode the buffer using H.264 */ DBG(Begin Encode the buffer using

About Webserver on Davinci DM6446

2009-10-08 Thread shaofeng zhang
Hi, All, I want to build a kind of webserver on the platform DM6446, so that the users could view the video of the DVEVM by the internet explorer or FireFox, could anyone give me some tips about the project? such as the best webserver name, or some other tips. Thank you! -- Best Regards!

anyone knows about the networked encode and decode demo?

2009-07-06 Thread shaofeng zhang
Hi, Does anyone knows abouth the networked encode and decode demo? That is the infomation about it: http://wiki.davincidsp.com/index.php?title=Networked_encode_and_decode_demos#Changes_in_control_thread_.28_optional.29 : Could some one give me some helps about that? or share your source code about

About the Networked encode and decode demos

2009-06-28 Thread shaofeng zhang
Hi,All, I want to develop the Networked encode and decode demos on the platform DVEVM dm6446, and I have some problems about it: 1. I get the tar file Network_utils.tar.gz from the wiki.davincidsp.comwebsite, but I cannot found the debug.h metioned by the file network_utils.c, could anyone

About the Crontab in the MV Linux

2009-05-23 Thread shaofeng zhang
Hi, How can I start the crontab service in the MV linux? and I cannot find the crond command in the directory /usr/sbin/ could anyone tell me about this problem? thank you -- Best Regards! zhangshaofeng @Xi'an JiaoTong University

Some questions about MontaVista Linux

2009-05-05 Thread shaofeng zhang
Hi, Daniel, I am facing some probelms when I use the MontaVista Linux on my DM6446 EVM. 1. I am use the LargePage Nand Flash (ST's NAND01GR3B2B NAND Flash ) on my DM6446 EVM, When I use the MVL4.0 kernel on my board, I found that the kernel would scan all the blocks of the whole nand flash as

NFS can not be mounted automaticly

2009-04-28 Thread shaofeng zhang
Hi, All, When my board use the MVL Pro 4.0(linux 2.6.10), it can mount the NFS automaticly, but then I test the MVL Pro 5.0(linux 2.6.18), it can not mount the NFS automaticlly. because my u-boot ENV (bootargs, mem, etc) use the same configuration. that is the error infomation: *IP-Config:

About the NFS file system

2009-04-27 Thread shaofeng zhang
Hi John, My board use the kernel Linux version 2.6.18_pro500-davinci_evm(MVL Pro 5.0), but it cannot mount the NFS file system, that is the ERROR message: *IP-Config: Complete: device=eth0, addr=192.168.0.125, mask=255.255.255.0, gw=192.168.0.1, host=XJTUIPCEVM, domain=,

Re: Problem with YAFFS2 on LargePage NAND

2009-04-13 Thread shaofeng zhang
? Thank you! Zhang 2009/4/13 Philby John pj...@in.mvista.com Hello Zhang, I think you need to change the option in struct nand_davinci_platform_data nand_data, .ecc_mode = NAND_ECC_SOFT, to use s/w ECC. Regards, Philby On Thu, 2009-04-09 at 10:33 +0800, shaofeng zhang wrote

Re: Problem with YAFFS2 on LargePage NAND

2009-03-25 Thread shaofeng zhang
, Please keep the mailing list in the loop, someone might have a solution or could use your solution. On Mon, 2009-03-23 at 11:18 +0800, shaofeng zhang wrote: Dear Sir, Sorry, let me introduce myself, my name is Philby. I am sorry to reply your email lately. Because we were

Re: Problem with YAFFS2 on LargePage NAND

2009-03-23 Thread shaofeng zhang
, please connect with me freely. Thank you very much! Best Wishes, Zhang 2009/3/23 Philby John pj...@in.mvista.com Zhang, Please keep the mailing list in the loop, someone might have a solution or could use your solution. On Mon, 2009-03-23 at 11:18 +0800, shaofeng zhang wrote: Dear

About the NAND flash use 100% on DVEVM6446

2009-03-17 Thread shaofeng zhang
Hi,all I use ST's NAND01GR3B2B, which is largepage block nand. and I use 'mount -t yaffs2 /dev/mtdblock4 /mnt/nand', then I use 'df -hl' to check the percent useage the message is that: FilesystemSize Used Avail Use% Mounted on /dev/mtdblock4120M 120M 0 100% /mnt/nand

Problem with YAFFS2 on LargePage NAND

2009-03-17 Thread shaofeng zhang
Hi, All, I am using a 128MB LargePage Nand Flash on my DVEVM board (DM6446), and when I mount the /dev/mtdblock4 throught YAFFS2 fs type, I found that the use% of my nand is 100% as the following: FilesystemSize Used Avail Use% Mounted on rootfs 38G 28G 8.0G 78%

About MCP NAND for Davinci DM6446

2009-03-11 Thread shaofeng zhang
Hi,All, I want to know if the Davinci DM6446 support the MCP NAND for booting from the nand flash or not. For my first version board, my nand flash is ST 's NAND01GR3B2B, which has the 8-Bit width organization. and my boss tell me that he want to use the Numonyx 's nand flash NAND01GR4B2C in my

About NAND bad blocks

2009-03-11 Thread shaofeng zhang
Hi, all, My board can boot from my nand flash NAND01GR3B2B (ST 's product) using U-boot 1.2.0, but When the board is starting linux kernel, the kernel should scan the bad block and the kernel print the messages: NAND device: Manufacturer ID: 0x20, Chip ID: 0xa1 (ST Micro NAND 128MiB 1,8V 8-bit)

About the usage of malloc in the U-boot

2009-03-10 Thread shaofeng zhang
Hi,all, Could anyone know about the usage of malloc in the u-boot, I found that when I try to require a space for nearly 800K using the malloc function, the return value of the malloc function is always zero. That means failure of the malloc funcion. I know that in the Linux Kernel the max

About the bad blocks of NAND flash

2009-02-26 Thread shaofeng zhang
Hi, I was wrong to use the u-boot command nand markbad to mark the block 0 as bad. How can I recover the block 0 as what it was originally. Another question, I want to know where the environment were saved. and I found these in the davnici.h(include\configs): define CFG_ENV_OFFSET 0x0 /* Block

About the NAND Flash NAND01GR3B2B

2009-02-24 Thread shaofeng zhang
Hi, I have a little problem with my board, and my NAND chip is NAND01GR3B2B which is ST corp.'s product. When the u-boot start running from the NAND flash, there will be a warning called *** Warning - bad CRC or NAND, using default environment , and When I use the command saveenv to save the

About the Chip 6467

2009-02-22 Thread shaofeng zhang
Hi, Does anyone know some details about the chip 6467, this chip seems like that it could encode two seperate videos at the same time。 Could anyone tells me the details? thank you~~ And does TI have a new stronger DSP called 638 (I am not sure)? My boss tells me that TI have a new DSP called

UBL NOR NAND

2008-12-30 Thread shaofeng zhang
Hello, Can some one tell me why my board could not boot from Nor Flash or NAND Flash with UBL and U-boot. my UBL version is 1.0, and U-boot version is 1.1.3 That is the message from the Serial: TI UBL Version: 1.00, Flash type: NOR Booting PSP Boot Loader PSPBootMode = NOR Starting NOR Copy...

About the NAND boot mode for DM6446

2008-12-27 Thread shaofeng zhang
that there is a string The entry point of the binary is 0x2398 outputed, so what is it means? please help me~~ if I use the UBL header static Uint32 ublheader[6]={0xA1ACED00,0x2398,0x001c,0x0001,0x0001,0x0020};,is it right? Thank you~~ Best Regards, shaofeng,zhang

About the NAND flash boot

2008-12-26 Thread shaofeng zhang
shoud be set by the value (12) and the value (11), is it right? Although the MASK_CLE and MASK_ALE is set by the value (0x10) and the value (0x0A), but when I boot the kernel, the NAND flash is working well, why? Am I wrong?Can Anyone tell me? Thanks~ Best Regards, Shaofeng,Zhang

RE:serial flash problem

2008-12-22 Thread shaofeng zhang
systems to the bootargs,such as bootcmd=boot 0x bootargs=mem=***,root=/dev/mtdblock3 noinitrd rw,** or bootargs=mem=***,root=/dev/mtd3 noinitrd rw,** Best Regards, shaofeng,zhang Date: Mon, 22 Dec 2008 14:47:04 +0200 From: canibek sa??n csa

How to boot the chip from norflash with omitting booting from the USB HDD via DFU(Device Firmware Upgrade)?

2008-12-16 Thread shaofeng zhang
very much! shaofeng,zhang ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Some questions about the MMC/SD Card Detect Pin and the USB Storage with DVEVM dm6446

2008-12-15 Thread shaofeng zhang
Hello, Everyone, Now I have two qustions about DM6446 EVM. the First is:I want to know how the OS can detect the MMC/SD when the system is working. We know that the MMC/SD Card Detect pin is connected to the MSP430 P2.1/INCLK pin. So I want to know the reasons about it. Because on our board we

Some questions about the MMC/SD Card Detect Pin and the USB Storage with DVEVM dm6446

2008-12-14 Thread shaofeng zhang
Hello, Everyone, Now I have two qustions about DM6446 EVM. the First is:I want to know how the OS can detect the MMC/SD when the system is working. We know that the MMC/SD Card Detect pin is connected to the MSP430 P2.1/INCLK pin. So I want to know the reasons about it. Because on our board we