• 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 » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » am335x u-boot <<No NAND device found>>
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

am335x u-boot <<No NAND device found>>

am335x u-boot <<No NAND device found>>

This question is not answered
Yan Tsitrin
Posted by Yan Tsitrin
on Jul 19 2012 06:58 AM
Prodigy230 points

Hi, all,

[1]
I am working with AM335x. It boots from sd card properly and runs Linux OS fine.

[2]
As a next step I want to burn VxWorks bootrom into NAND flash (as it is described in
[ti_am335x_evm/target.ref] of Wind River Systems, Inc) which will run then automatically.

I try to perform following set of U-Boot instructions:

tftp 0x87C00000 bootrom.bin
nand erase 0x0 $(ROM_SIZE)
nandecc hw 2
nand write.i 0x87C00000 0x0 $(ROM_SIZE)

[3] However, "nand erase" command says:

>>> U-Boot# nand erase 0x0 0x60000
>>> no devices available

Also I see that at the "U-Boot SPL " starting there is a message:
<<No NAND device found!!!>> (see Appendix 1)

[4]
The switches(SW3 ,SW8) are as on Appendix 2.

NAND related env vars are in Appendix 3.

[5]
Whether anybody knows what can be a reason why the NAND is not found?

Thanks,
Yan

=======================================================
Appendix 1:

CCCCCCCC
U-Boot SPL 2011.09 (Apr 08 2012 - 18:29:14)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.09 (Apr 08 2012 - 18:25:03)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
Found a daughter card connected
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 0

=======================================================
Appendix 2:

Switch SW3 Function (SYSBOOT[0,7], Boot mode select) (on - 1, off - 0)
-----------------------------------------------------------------------
BOOT MODE         | Setting [1 2 3 4 5 6 7
-------------------    -|------     ---|----------------------------------------
nand Flash boot |                 | 0 1 0 0 1 0 0

-----------------------------------------------------------------------
Switch SW8 Function (profile selection)(on - 1, off - 0, don't care - x)
--------------------------------------------
profile selection | Setting [1 2 3 4]
--------------------|--------- -------------
profile 0 | 0 0 0 0
--------------------------------------------

=======================================================
Appendix 3:

nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} ip=${ip_method}
nand_boot=echo Booting from nand ...; run nand_args; nandecc hw 2; nand read.i ${kloadaddr} ${nand_src_addr} ${nand_img_siz}; bootm ${kloadaddr}
nand_img_siz=0x500000
nand_root=ubi0:rootfs rw ubi.mtd=7,2048
nand_root_fs_type=ubifs rootwait=1
nand_src_addr=0x280000

am335x u-boot nand
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Nico
    Posted by Nico
    on Aug 02 2012 07:05 AM
    Intellectual1340 points

    Hi,

    have you tried  with other boot settings  ?

    when booting from SD card : what is the SPL/U-boot printout ? 

    can you please try with below dip switch settings (please note the ON/OFF meaning here : http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide#Boot_Switch_Settings)

    Switch SW3 Function (SYSBOOT[0,7], Boot mode select) (on - 1, off - 0)
    -----------------------------------------------------------------------
    BOOT MODE         | Setting [1 2 3 4 5 6 7 8
    -------------------    -|------     ---|----------------------------------------
    mmc Flash boot |                 | 0 0 0 1 1  0 0 0

    or

    -----------------------------------------------------------------------
    BOOT MODE         | Setting [1 2 3 4 5 6 7 8
    -------------------    -|------     ---|----------------------------------------
    mmc Flash boot |                 | 1 1 1 0 1 0 0 0

    - are you using default SPL/U-boot binaries or have you recompiled them ?

    - as long as u-boot doesn't find the NAND , whatever the arguments in use then will be useless

    Best Regards

    Nicolas

    sys_boot
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yan Tsitrin
    Posted by Yan Tsitrin
    on Aug 02 2012 08:20 AM
    Prodigy230 points

    Hi, Nicolas, 

    Thank you your responce.

    - I think, I tried all the 2^8 (=128) combinations  :-); the only working is: SW 3 = [1 0 0 0 0 0 0 0], SW4 = [ 0 0 0 0 0 0 1 0] (for boot from SD)

    - I used default SPL binaries

    -  I also think that there is a hardware problem with the NAND or somewhere around it.

    Thank you again,

    Yan

    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