From: xemc <xemcnet@gmail.com>
To: Niraj Maheshwari <neer_mh@yahoo.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Booting Ramdisk from MTD
Date: Mon, 10 Jan 2005 11:19:13 -0600 [thread overview]
Message-ID: <1f9886eb05011009192b417f3e@mail.gmail.com> (raw)
In-Reply-To: <20050106123007.74871.qmail@web61306.mail.yahoo.com>
Hi.
> > I am using JFFS2 and MTD on our target for booting
> > the Ramdisk from MTD device ( Intel W18 Flash ).
logs:
> > Kernel command line: root=/dev/mtdblock1 rw mem=64M
> > rootfstype=jffs2 console=ttyS0,115200 ramdisk=8192
Are you using a ramdisk, or using mtdblock1 as the rootfs?
I'm a little unclear on this. It looks like you're using the JFFS2
MTD partition as your rootfs, not using a ramdisk.
> > Here is the logs for the same. I am getting this
> > error eveytime when Linux Kernel tries to mount the JFFS2
> > compressed Ramdisk from the Flash Device.
logs:
> > INIT: Eep. Unknown node type 0080 at 00186f34 was
> > marked REF_UNCHECKED
> > Node header CRC failed at 00186f34. But it must have
> > been OK earlier.
> > Node was: { 0080, 2080, 00800080, 00800080 }
> > Node totlen on flash (0x00800080) != totlen from
> > node
> > ref (0x000001b4)
Well, this looks totally broken. Did you format the flash correctly?
I would use 'flash_eraseall -j /dev/mtd1' 'nandwrite -j /dev/mtd1
jffs2_rootfs.img', and then try mounting it 'mount -t jffs2
/dev/mtdblock1 /mnt/temp', and make sure that works correctly before
trying to boot off of it.
(Can you load a ramdisk another way to do this?)
On the other hand, all the errors look the same. Once you figure out
what that is, you could have it working.
Mike
next prev parent reply other threads:[~2005-01-10 17:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 11:19 Booting Ramdisk from MTD Niraj Maheshwari
2005-01-06 12:30 ` Niraj Maheshwari
2005-01-10 17:19 ` xemc [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-06 11:19 Niraj Maheshwari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f9886eb05011009192b417f3e@mail.gmail.com \
--to=xemcnet@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=neer_mh@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox