• 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 » NAND is not booting consistently after nand concatenation
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

NAND is not booting consistently after nand concatenation

NAND is not booting consistently after nand concatenation

This question is not answered
RajeeSankar
Posted by RajeeSankar
on Mar 05 2012 08:11 AM
Prodigy240 points

Hi,

I'm working with am35xx custom board.It has two 2GB ( 8bit )nand.

I'm using android filesystem( rowboat gingerbread ) to boot.Before nand concatenation, nand boot is working fine.

Then I concatenated nand.So that I got second nand is appended with 1st nand's filesystem partition like below.

Creating 5 MTD partitions on "am3517_lgvg_concat":
0x000000000000-0x000000080000 : "xloader-nand"
0x000000080000-0x000000400000 : "uboot-nand"
0x000000400000-0x000000480000 : "params-nand"
0x000000480000-0x000000e80000 : "linux-nand"
0x000000e80000-0x000040000000 : "File-System"
After this, I wrote filesystem into nand's mtd4 partition by following commands.
flash_erase /dev/mtd/mtd4 0 8076
mkdir /mnt/nand
mount -o rw -t yaffs2 /dev/block/mtdblock4 /mnt/nand
busybox tar xvf rootfs.tar -C /mnt/nand
sync
umount /mnt/nand
NAND bootargs:
setenv bootargs mem=256M console=ttyO2,115200n8 androidboot.console=ttyO2 root=/dev/mtdblock4 rw rootfstype=yaffs2 init=/init vram=32M omapfb.vram=0:16M
mmc init;fatload mmc 0 0x82000000 uImage;bootm 0x82000000

For first nand boot, no issues.But if I boot once again with the same bootargs, it is not booting.
It is giving error as
Failed to execute /init. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
After that no data are there in nand particular nand address.Everything got erased.
If I use jffs2 filesystem , it is not booting even for the first time.It is giving error as
D/dalvikvm(  949): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm( 1058): creating instr width table
E/dalvikvm( 1058): unable to mmap DEX cache: Invalid argument
E/dalvikvm( 1058): Optimization failed
W/dalvikvm( 949): DexOpt: --- END 'core.jar' --- status=0xff00, process failed
Please help me on this.

Regards,
RajeeSankar
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • santosh vastrad
    Posted by santosh vastrad
    on Aug 10 2012 00:01 AM
    Expert2065 points

    HI Rajeeshankar,

    We too facing same problem?

    Processor : AM3703

    Two Nand's:

    512MiB for booting , MLO, u-boot.bin, UImage

    2GiB for storage purpose : added UBIFS image

    Unable to mount filesytem in /dev/mtd5 partition:

    Cat /proc/mtd

    partitions are all getting created, how you explained same way?

    so have got solution for your issue?

    Help me?

    Regards,

    santosh vastrad

    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