• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM3x DaVinci Video Processor Forum » strange ipnc 2.6 for dm368 boot fail with uboot nand read error
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

strange ipnc 2.6 for dm368 boot fail with uboot nand read error

strange ipnc 2.6 for dm368 boot fail with uboot nand read error

This question is not answered
Wonder Won
Posted by Wonder Won
on Jun 21 2012 05:04 AM
Intellectual960 points

Hi, everyone,

      I encounter a strange uboot nand operation fail.  I use nand erease, nand write command to flash kernel and cramfs image, everything is ok, no any error message. Then I boot the system, uboot can read kernel and cramfs image, mount cramfs, run application with many error message. If I reflash system, the problem is similar, just get different error message when run in application in rootfs. If I refalsh and mount cramfs rootfs in a different  address range in nand or replace the nand chip with other ipnc368 machine, the problem disappeared, system can boot and run normal.

     So, It seems nand flash damage just in some address range. But, Why uboot nand write command can't report error, is there no ecc generate and read back verify?  And when uboot boot and nand command read the cramfs image, no error report also(uboot can't find camfs error, linux find error untill run application in cramfs), is there no ecc check?

     How to fix this issue?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Wonder Won
    Posted by Wonder Won
    on Jun 25 2012 19:11 PM
    Intellectual960 points

    nobody kown this issue? I have found serveral machines with this issue in 100 machines after long time user filed deploy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Appro Support Team
    Posted by Appro Support Team
    on Jun 27 2012 03:01 AM
    Prodigy200 points

    Dear Sir,

    Can you tell us which sensor version that you use? In addition, please provide the boot commnads to us.

    Of course, you can burn the binary files with the following boot commands and then try it again. Thanks.

    Boot commands for DM368 Ver2.6:

    set ipaddr 10.2.1.5;set serverip 10.2.1.218;set ethaddr 00:0C:0C:A0:FF:FA;saveenv;reset
    tftpboot 0x80700000 uImage_ipnc_dm368_2.6.0;tftpboot 0x82000000 cramfsImage_ipnc_dm368_2.6.0

    nand erase 0x500000 0x1000000;nand write 0x80700000 0x500000 0x200000;nand write 0x82000000 0x700000 0xe00000

    setenv bootcmd 'nand read 0x82000000 0x700000 0x0E00000;nboot 0x80700000 0 0x500000;bootm 0x80700000'

    setenv bootargs 'mem=48M console=ttyS1,115200n8 root=/dev/mtdblock3 rootfstype=cramfs ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:A0:08:25';saveenv;reset

    Best Regards,

    Appro Support Team

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Wonder Won
    Posted by Wonder Won
    on Jul 01 2012 22:24 PM
    Intellectual960 points

    Hi, appro support team,

         My sensor is mt9p031, the boot command is

               setenv bootcmd 'nboot 0x80700000 0 0x500000;nand read 0x82000000 0x700000 0xE00000;bootm 0x80700000'

               setenv bootargs console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=off eth=$(ethaddr) mem=46M

         But, I think the issue is irelation with image sensor or boot command. Because

    Wonder Won
    If I refalsh and mount cramfs rootfs in a different  address range in nand or replace the nand chip with other ipnc368 machine, the problem disappeared, system can boot and run normal.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marko Shink
    Posted by Marko Shink
    on Jul 02 2012 02:02 AM
    Genius3695 points

    Can you check bad blocks in uboot with 'nand bad', then 'nand scrub' over that range if necessary.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use