linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Rakesh jagota <j.rakesh@gdatech.co.in>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Unable to mount jffs2 file system
Date: Mon, 16 Jun 2003 19:15:34 +0530	[thread overview]
Message-ID: <xpm1c2kre0rvtkh.160620031905@gda-server> (raw)


Hi all,

I am working on custom design board based on IBM405 PPC. I am using OpenBios
code and Linux -2.4.17 version from montavista. I have compiled the kernel
with JFFS2 support.

In linux/drivers/mtd/maps/redwood.c files, we have modified the partitions as
per our board

Our board is having 4MB flash and 32MB sdram.

#define WINDOW_ADDR      0xFFC00000
#define WINDOW_SIZE 	     0x00400000


we filled the  redwood_flash_partitions structure as below

		name: "Redwood kernel",					//"/dev/mtd0"
		offset: 0x00010000,
		size: 	0x00110000

		name: "Redwood OpenBIOS Vital Product Data",		//"/dev/mtd1"

		offset: 0x00000000,
		size: 0x00010000,
		mask_flags: MTD_WRITEABLE

		name: "Redwood filesystem",				//"/dev/mtd2"
		offset: 0x00110000,
		size: 0x002D0000

		name: "Redwood OpenBIOS",				//"/dev/mtd3"
		offset: 0x003E0000,
		size: 0x00020000,
		mask_flags: MTD_WRITEABLE	/* force read-only */


i have created a jff2 image and flashed in the mtd2 block. But while booting
i am  getting kernel panic
===============================================

kernel panic: I have no root and I want to scream

===============================================

how to tell the kernel that the root filesystems is in mtdblock2


Thanks & Regards,

rakesh


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-06-16 13:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-16 13:45 Rakesh jagota [this message]
2003-06-16 13:52 ` Unable to mount jffs2 file system Jaap-Jan Boor

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=xpm1c2kre0rvtkh.160620031905@gda-server \
    --to=j.rakesh@gdatech.co.in \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).