Copying UBL in NAND from U-boot

2008-11-25 Thread JitendraJain
Hi all, I want to know can we copy UBL in NAND from U-Boot on DM355 based board. My NAND flash used in the board is: MT29F16G08QAA If yes, can anyone share with me commands? Thanks and Regards, Jitendra ___ Davinci-linux-open-source mailing list

RE: Boot DM6446 from SD?

2008-12-16 Thread JitendraJain
+jitendrajain=emerson@linux.davinci dsp.com [mailto:davinci-linux-open-source-bounces+jitendrajain=emerson@linux .davincidsp.com] On Behalf Of Joshua Hintze Sent: Tuesday, December 16, 2008 9:32 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: Boot DM6446 from SD? Has anybody

RE: Boot DM6446 from SD?

2008-12-16 Thread JitendraJain
ge in > SD card? > > > > Regards, > > Jitendra > > > > > > From: > davinci-linux-open-source-bounces+jitendrajain=emerson@linux.davinci > dsp.com > [mailto:davinci-linux-open-source-bounces+jitendrajain=emerson@linux > .dav

writing ubl in nand from u-boot

2009-01-02 Thread JitendraJain
Hi all, I want to write UBL in NAND flash from U-Boot on DM355 based custom board. After writing UBL, when I power ON the board, I am not viewing any message on UART. I found "You cannot use u-boot's NAND drivers to write the UBL because the RBL (that loads the UBL) expects a non-standard ECC fo

RE: writing ubl in nand from u-boot

2009-01-02 Thread JitendraJain
Hi all, Just wanted to add I am using NAND chip with 4K page size Regards, Jitendra From: Jain, Jitendra [PROTOOL/RTC/IN] Sent: Friday, January 02, 2009 2:10 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: writing ubl in nand from u-boot

DVFlasher for DM355

2009-01-05 Thread JitendraJain
Hi all, I am using DM355 based custom board and we have micron MT29F16G08DAA nand chip. I tried with the utilities given in "Serial Boot and Flash Loading Utility") (http://wiki.davincidsp.com/index.php?title=Serial_Boot_and_Flash_Loadin g_Utility) But I didn't have the success in loading UBL fr

ECC Error in NAND

2009-01-12 Thread JitendraJain
Hi all, I am getting error in ECC_STATE bits of NANDFSR register. Error is "Errors cannot be corrected". I am using DM355 based custom board. Does anyone know the cause for this error? Regards, Jitendra ___ Davinci-linux-open-source mailing l

RE: ECC Error in NAND

2009-01-15 Thread JitendraJain
Hi Steven, Thanks for your response. Does anyone know how to fix ECC errors? Regards, Jitendra From: Gorwood, Steve [mailto:sgorw...@ti.com] Sent: Monday, January 12, 2009 8:41 PM To: Jain, Jitendra [PROTOOL/RTC/IN]; davinci-linux-open-source@linux.d

RE: recompiled u-boot on DM355 gets ECC error on first NAND read, but then works

2009-01-16 Thread JitendraJain
Hi Jon, I found your mail regarding ECC error as shown in the below link http://www.mail-archive.com/davinci-linux-open-sou...@linux.davincidsp.c om/msg08402.html Have you got success by following the instructions given by Andrea? Thanks and Regards, Jitendra ___

RE: recompiled u-boot on DM355 gets ECC error on first NAND read, but then works

2009-01-19 Thread JitendraJain
Hi, Thanks Andrea and Jon for your help. Patch worked for me. But I didn't understand the technical reason behind it. Could you pls explain me? Thanks and Regards, Jitendra -Original Message- From: Jon Povey [mailto:jon.po...@racelogic.co.uk] Sent: Friday, January 16, 2009 2:57 PM To: J

DM355: NAND ECC query

2009-01-20 Thread JitendraJain
Hi all, I am using DM355 based custom board with "MT29F16G08DAA" as a NAND chip. I want to burn UBL and U-Boot in NAND. I am successfully able to boot the board using SD card. On U-Boot prompt (got using SD), I am trying to burn UBL and U-Boot using following commands. //UBL Descriptor mw.

dm355:ecc query

2009-01-22 Thread JitendraJain
Hi, I am reading "sprufb3.pdf". I found following point on page 157. "Copy the User boot-loader from NAND flash to IRAM with hardware ECC error detection enabled. If a 4-bit ECC read error is detected, the UBL will correct the error via the ECC correction algorithm. If the read fails due to

RE: dm355:ecc query

2009-01-23 Thread JitendraJain
Hi Jon, Actually we are facing a strange problem. I am using MT29F16G08DAA nand chip with page size: 4096 I have written UBL descriptor in block 1, page 0 and UBL in block 2, page 0. When I change boot mode to NAND, I do not see any message on console and as board is not falling back to SD

RE: dm355:ecc query

2009-01-24 Thread JitendraJain
Hi, Let me rephrase the query: Background: 1. We are using a custom board using DM355 and NAND - MT29F16G08DAA having 4096 page size 2. SD card is carrying binaries for: a. UBL_SD - RBL will fetch from SD Card and load UBOOT_SD in SD BOOT Mode b. UBOOT _SD - UBL_SD will load i

RE: dm355:ecc query

2009-01-27 Thread JitendraJain
Hi Steven, Yes, your understanding is quite correct. By means of nand layout, I guess you are referring figure: 11-4 and 11-5 of sprufb3.pdf. I have gone through PDF and NAND programmer code. Code is writing data and syndromes as explained. As per code, irrespective of NAND is of 512, 2048 or 41

RE: dm355:ecc query

2009-01-30 Thread JitendraJain
Hi, I did verified data by writing and reading back using u-boot with NAND programmer support by booting from SD card. Data as well as syndrome matches after reading. But still I am getting error in NANDECCFindAndCorrectError function. In NANDFSR register bits (8:11), ECC_STATE is set to 1 which sa

RE: dm355:ecc query

2009-02-01 Thread JitendraJain
Hi Steven, Thanks for your response. Your understanding is somewhat deviating. Let me rephrase it again. a) Yes I boot from SD using hacked u-boot. Description of hacked u-boot: 1) I added support of SD driver in u-boot to make board boot from SD 2) I created file called "cmd_

RE: dm355:ecc query

2009-02-03 Thread JitendraJain
Hi, We are executing following steps: 1. Boot system using SD card 2. On UBOOT_SD prompt, we are writing 512 Bytes of data (any value) to NAND (after erasing) using NAND driver hacked from "NAND Programmer" 3. After writing, we read back data 4. We can see that data and ECC are matching with the

RE: nand_programmer check all nand flash blocks error

2009-02-11 Thread JitendraJain
Hi Duke Zuo, We are also struggling with similar issue since few weeks. We have done some investigation that might help you. 1. What NAND chip you are using? 2. What is the page size? As per TI, RBL does not support NAND having 4096 page size 3. Are you able to do UART boot? 4. Have you

RE: RE: nand_programmer check all nand flash blocks error

2009-02-11 Thread JitendraJain
Hi Zuo, Could you pls elaborate more on “change nand flash type to HY27UG088”? Are you physically changing the NAND flash or doing software changes? Also when you skip the NANDCheckBadBlock () function, you said the ubl and uboot seems burning ok, but when you reboot the board, it can’t boot

RE: [patch davinci-git 2/3] NAND: Fix "raw" reads with ECC syndromelayouts

2009-02-13 Thread JitendraJain
Hi Allred, We are using a custom board having DM355 and NAND - MT29F16G08DAA - page size = 4096. We are booting the board from SD. SD card is carrying binaries for: a. UBL_SD - RBL will fetch from SD Card and load UBOOT_SD in SD BOOT Mode b. UBOOT _SD - UBL_SD will load in SD BOOT Mode, will supp

RE: the u-boot size

2009-02-16 Thread JitendraJain
You have to increase "no of pages" in u-boot descriptor. From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Lori Gao Sent: Tuesday, February 17, 2009 8:31 AM To: davinci-linu

RE: the u-boot size

2009-02-16 Thread JitendraJain
U-Boot descriptor is located at block # 8. Its format is: /* Some of the parameters are modified runtime */ unsigned int appdesc [] = { 0xB1ACED22, //Magic number 0x000A, // Start block in NAND 0x8108, // Start address in DDR 0x8108, // Entry point 0x0200, // No. of page

RE: the u-boot size

2009-02-16 Thread JitendraJain
If you are updating your u-boot using u-boot self than you need to change u-boot descriptor by your self. If you are burning u-boot using Nand programmer, than Nand programmer will take care of modifying u-boot descriptor as per size of new u-boot. From: Lo

GStreamer issue on DaVinci board

2008-04-13 Thread JitendraJain
Hello All, I am facing issue in GStreamer on DaVinci dm6446 target board. Here's what we've done so far: 1. The environment we're using is Fedora Core 5 Linux from Red Hat. 2. GStreamer version we're using is 0.10.17 3. Codec servers we tried were the default that came with t

FW: GStreamer issue on DaVinci board

2008-04-15 Thread JitendraJain
Hello All, I am getting Process_create failed error messages when running GStreamer. I am usjng MPEG4combo.x64p as codec server. Error messages are: [EXECUTED COMMAND: gst-launch-0.10 --gst-debug-level=0 filesrc location=sample_mpeg4.mp4 ! gdecoder Codec=1 ! ffmpegcolorspace ! ffenc_wmv2

RE: GStreamer issue on DaVinci board

2008-04-16 Thread JitendraJain
Chris, We executed the code using the memory map specified in the TI gstreamer plugin files. The script that sets it is as follows (equivalent to loadmodules.sh in the DVEVM directory): insmod cmemk.ko phys_start=0x8780 phys_end=0x88E0 pools=20x4096,8x202752,10x131072,2x1048576,1x20971

GStreamer

2008-04-16 Thread JitendraJain
Hello All, I have query whether GStreamer port released by TI is for 128MB or 256MB. Also has anyone worked on video conversion using GStreamer? Thanking you in advance. Regards, Jitendra Ext: 864 ___ Davinci-linux-open-source mailing l

RE: GStreamer issue on DaVinci board

2008-04-17 Thread JitendraJain
Hi Chris, Thanks for your response. You had suggested us to look into memory mismatch. But in our case, both the DSP image (the codec servers) and the application (gdecoder) are from TI. The memory map required for TI's GStreamer implementation is packaged in their download. Even with that mem

RE: Downloading MVL401 linux2.6.10 kernel

2008-06-04 Thread JitendraJain
Hi Rajesh, Below is the link to download MVL401 linux 2.6.10 You need to extranet login details to download the kernel. https://www-a.ti.com/extranet/cm/product/dvevmsw/dspswext/general/v1_30_00.shtml -Jitendra -Original Message- From: [EMAIL PROTECTED] on behalf of rajesh Sent: Tue 6/3

g711 open source codec

2008-06-15 Thread JitendraJain
Hello All, We are looking for G711 open source codec running on ARM of DM6446. If anyone has idea about it or have link/documents kindly let us know. Thanking you all in advance. -Jitendra ___ Davinci-linux-open-source mailing list Davinci-linu

RE: g711 open source codec

2008-06-18 Thread JitendraJain
Chris, Thanks for your help. We are using codec_engine folder for compiling g711. while compiling we got following errors: ** # all files complete. all files complete: Wed Jun 18 17:27

RE: g711 open source codec

2008-06-20 Thread JitendraJain
Hello all, We are using DM6446 board and codec engine version 1.20. we have followed "build_instructions.html" under "dvevm_1_20/codec_engine_1_10_01/examples". we want to generate encoded G711 file and this is required to be done on ARM core of processor. As mentioned in "build_instructions.ht

RE: Gstreamer issue : Not able to play AVI file

2008-07-03 Thread JitendraJain
Robin, what format of video and audio you are having for AVI container file. -Jitendra -Original Message- From: [EMAIL PROTECTED] on behalf of Robin Gujjar Sent: Thu 7/3/2008 2:53 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: Gstreamer issue : Not able to play AVI file

SD card performance results

2008-07-25 Thread JitendraJain
Hi All, I am working on SD card for 6446. Anybody have benchmark results for sd card write/read speeds. Regards, Jitendra ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/lis

RE: SD card performance results

2008-07-28 Thread JitendraJain
Hi Chase, Thanks for your response. I am not able to find patch 45. Can you pls share with me or provide me the link? I am using 2 GB SanDisk SD card and 4 GB SDHC card of class 4 and 6. I am getting same performance results in all above cards. Can you share with us different flavors of SD

Booting from SD on the DM355 board

2008-08-08 Thread JitendraJain
Hi all, I am working on DM355 board. I want to boot the board via SD card. >From the mailing list I found people are working on similar project and we are >having UBL for booting the board from NAND. Do we have any reference for UBL for booting board from SD card? Also how do we flash magic number

RE: Booting from SD on the DM355 board

2008-08-12 Thread JitendraJain
Chris, In the below link you have described method to create bootable SD card http://article.gmane.org/gmane.linux.davinci/5601/match=dm355+sd+boot Also you talked about patch to boot from SD/MMC. Can you let us know how far you have succeed in this. In your last mail you wrote you are getting s

RE: SDHC on dm355

2008-08-27 Thread JitendraJain
Chris, Could you point us to docs which says DM355 does not support SDHC card? Regards, Jitendra -Original Message- From: [EMAIL PROTECTED] on behalf of Chris Stillson Sent: Thu 8/28/2008 3:46 AM To: Davinci-linux-open-source@linux.davincidsp.com Subject: SDHC on dm355 Has anyone actu

Disable NAND and NOR in Uboot

2008-08-29 Thread JitendraJain
Hi all, I working on DM355 based custom board and using U-Boot 1.20 I want to disable NAND and NOR in u-boot and have SD support in it. Could anyone point to where to look into code to have mentioned features. Thanks in advance. Regards, Jitendra ___

SD card support in U-Boot

2008-09-04 Thread JitendraJain
Hi Ivan, I have downloaded sd driver source code as per below mail. But somehow I am not able to compile u-boot. I am not clear about patch you are talking about. Kindly help me about how to use sd-driver package in u-boot. Thanks in advance. *

DM355:Unable to boot kernel

2008-09-15 Thread JitendraJain
Hi all, I am using DM355 based custom board. I am able to bootup the kernel using static ip but fail with DHCP enable. Logs of kernel bootup message with DHCP enable is as shown below: ***

RE: DM355:Unable to boot kernel

2008-09-16 Thread JitendraJain
Hi Phil, Your observation is correct. Any idea how can go though this problem? Regards, Jitendra -Original Message- From: Phil Quiney [mailto:[EMAIL PROTECTED] Sent: Tue 9/16/2008 1:35 PM To: Deepak Shankar-TLS,Chennai.; Jain, Jitendra [PROTOOL/RTC/INPU]; Davinci-linux-open-source@li

Display logo during uboot time

2008-09-16 Thread JitendraJain
Hi all, I am using DM355 based custom board. I want to display logo during uboot boot up time. Does anyone got success in doing this or any hint would be helpful. Regards, Jitendra ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@li

RE: Display logo during uboot time

2008-09-17 Thread JitendraJain
Hi Viet, Thanks for your response. I am looking for logo display during u-boot time bootup and before kernel gets uncompressed. Is there any provision in uboot to display logo during bootup and do system initialization at background? Regards, Jitendra -Original Message- From: Viet Ho

LPJ value in bootargs

2008-09-25 Thread JitendraJain
Hi all, I want to reduce bootup time on DM355 based board. One of the technique is to use correct LPJ value in the bootargs. I have found how to get LPJ value on our board. But there is one caution that if we use incorrect LPJ value it might damage the board. So I want to know what should be al

RE: LPJ value in bootargs

2008-09-28 Thread JitendraJain
Hi, LPJ stands for Loops per jiffies. This avoids overhead of performing calibration during boot time and helps in reduction of about 250 ms during bootup time. From: Albert Burbea [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 1:19 AM To: Jain, J

RE: LPJ value in bootargs

2008-09-28 Thread JitendraJain
Hi Diego, I found LPJ information from kernel/Documentation/kernel-parameters.txt. I read that improper settings of LPJ value can damage the board and affect its performance. For two boards with same hardware and software configuration lets say their LPJ value differ by some tolerance. What

RE: How to disable DHCP requestes and assign a static IP to the board during booting?

2008-10-23 Thread JitendraJain
You need to set static IP address as: ip=:: for example ip=172.18.1.222:172.18.1.49:172.18.0.254:255.255.0.0:::off Regards, Jitendra -Original Message- From: [EMAIL PROTECTED] on behalf of Mohamed AbdElwahed Sent: Thu 10/23/2008 4:21 PM To: davinci-linux-open-source@linux.davincid