• 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 problem about using nand flash (yaffs2)
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

strange problem about using nand flash (yaffs2)

This question is not answered
YHLShareware
Posted by YHLShareware
on Mar 21 2009 07:25 AM
Intellectual830 points

I used the nand flash (HY27UF(08_16)4G2B 4G-bit(512M), pagesize = 2K, eraseblocksize = 128K,). I can put the kernel image to the nand flash successfully. But

when I put the root file system to the mtdblock3 on linux(flash_eraseall /dev/mtd3, mount –t yaffs2 /dev/mtdblock3 /mnt, cd /mnt, tar xf dm355_flash_image_1_30_00_40.tar)

I can not see anything in the mtdblock3 partition using ‘mount –t yaffs2 /dev/mtdblock3 /mnt/flash/’.

And when I checked the partition usage using ‘df –h’, I saw that it is no available space on mtdblock3. Please give me help. Thanks.

 

Some error message :

Using flash_eraseall /dev/mtd3

 

Erasing 128 Kibyte @ f2a0000 -- 60 % complete.

flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error

Erasing 128 Kibyte @ 12e20000 -- 75 % complete.

 flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error

Erasing 128 Kibyte @ 18fe0000 -- 99 % complete.


Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Juan Gonzales
    Posted by Juan Gonzales
    on Mar 21 2009 10:01 AM
    Mastermind33875 points

    this is likely because the kernel may not have the proper support for that particular NAND device; you may have to modify the NAND driver to support your particular device.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YHLShareware
    Posted by YHLShareware
    on Mar 23 2009 00:41 AM
    Intellectual830 points

    Juan,

    Could you please show me some details about how to  change the nand flash driver code to support my particular NAND device? Thanks very much.

    Regards,

    Jeff

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juan Gonzales
    Posted by Juan Gonzales
    on Mar 23 2009 10:58 AM
    Mastermind33875 points

    Jeff,

    As much as I would like to help, this is not something I can do in a timely fashion if at all.  FYI, it would be impossible for us to include support for all existing and future NAND devices as it would not be feasible for us to test this; but we do provide the Linux source code for the drivers so customers can modify them as needed.  Personally, I am not that intimate with NAND driver itself yet and have too many things in my plate to allow me to get to this in a timely manner; therefore, I would really encourage you not to wait for me and start digging into this yourself.  It is probrably some configuration parameters (total size, page size, block size,...) in the top layer of the driver; it should not require major changes.

    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