public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mount of JFFS2 as root device
       [not found] ` <18479.1003845325@redhat.com>
@ 2001-10-24  8:36   ` amit lubovsky
  2001-10-24 15:42   ` mount of JFFS2 amit lubovsky
  1 sibling, 0 replies; 5+ messages in thread
From: amit lubovsky @ 2001-10-24  8:36 UTC (permalink / raw)
  To: linux-mtd; +Cc: David Woodhouse

Hi,

1. I don't have the utility 'rdev' in the o.s that I use, what are the
alternatives to mount JFFS2 as root device ?
2. Is there a better compression ration I can achieve when using flash ?

Thanks, Amit.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount of JFFS2
       [not found] ` <18479.1003845325@redhat.com>
  2001-10-24  8:36   ` mount of JFFS2 as root device amit lubovsky
@ 2001-10-24 15:42   ` amit lubovsky
  2001-10-24 16:28     ` David Woodhouse
  1 sibling, 1 reply; 5+ messages in thread
From: amit lubovsky @ 2001-10-24 15:42 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-mtd

Hi,
When trying to mount JFFS2 as root on a malta board with mips5kc, I have
passed the kernel the mount device by:
        'go . root=/dev/mtdblock1'

after copying the file system to that device and I got the following:

jffs_scan_flash(): Leaving...
jffs_find_file(): ino: 1
jffs_find_file(): Didn't find file with ino 1.
jffs_add_virtual_root(): Creating a virtual root directory.
jffs_insert_file_into_hash(): f->ino: 1
jffs_possibly_delete_file(): ino: 1
jffs_remove_redundant_nodes(): ino: 1, name: "", newest_type: 1
jffs_insert_file_into_tree(): name: ""
jffs_find_file(): ino: 0
jffs_find_file(): Didn't find file with ino 0.
jffs_build_file(): ino: 1, name: ""
jffs_update_file(): ino: 1, version: 0
JFFS: Dumping the file system's hash table...
*** c->hash[1]: "" (ino: 1, pino: 0)
/ (ino: 1, highest_version: 0, size: 0)
jffs_read_inode(): inode->i_ino == 1
read_inode(): down biglock
jffs_find_file(): ino: 1
jffs_find_file(): Found file with ino 1. (name: "")
read_inode(): up biglock
JFFS: GC thread pid=8.
JFFS: Successfully mounted device 1f:01.
amit: JFFS: Successfully mounted device 1f:01.
VFS: Mounted root (jffs filesystem) readonly.
Freeing prom memory: 956kb freed
Freeing unused kernel memory: 76k freed
jffs_lookup(): dir: 0x810b0c40, name: "dev"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "dev".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "dev", d =
0x811f1
lookup(): up biglock
Warning: unable to open an initial console.
jffs_lookup(): dir: 0x810b0c40, name: "sbin"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "sbin".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "sbin", d
= 0x8111
lookup(): up biglock
jffs_lookup(): dir: 0x810b0c40, name: "etc"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "etc".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "etc", d =
0x811f1
lookup(): up biglock
jffs_lookup(): dir: 0x810b0c40, name: "bin"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "bin".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "bin", d =
0x811f1
lookup(): up biglock
Kernel panic: No init found.  Try passing init= option to kernel.

Any ideas ???

Thanks, amit.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount of JFFS2
  2001-10-24 15:42   ` mount of JFFS2 amit lubovsky
@ 2001-10-24 16:28     ` David Woodhouse
  2001-11-04 10:32       ` boot kernel off an mtd device amit lubovsky
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2001-10-24 16:28 UTC (permalink / raw)
  To: amit lubovsky; +Cc: linux-mtd

amit.lubovsky@infineon.com said:
>  after copying the file system to that device and I got the following:
> 
> VFS: Mounted root (jffs filesystem) readonly.

You've mounted it as JFFS not JFFS2.

--
dwmw2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* boot kernel off an mtd device
  2001-10-24 16:28     ` David Woodhouse
@ 2001-11-04 10:32       ` amit lubovsky
  2001-11-04 12:36         ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: amit lubovsky @ 2001-11-04 10:32 UTC (permalink / raw)
  To: linux-mtd; +Cc: David Woodhouse

Is there a way to boot the linux kernel from CFI using mtd drivers ?

I use the MIPS-5kc and I have just seen this link that talks about x86
systems,
http://www.EmbeddedLinuxWorks.com/articles/rolo_guide.html

Thanks for information,
Amit.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: boot kernel off an mtd device
  2001-11-04 10:32       ` boot kernel off an mtd device amit lubovsky
@ 2001-11-04 12:36         ` David Woodhouse
  0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2001-11-04 12:36 UTC (permalink / raw)
  To: amit lubovsky; +Cc: linux-mtd

amit.lubovsky@infineon.com said:
> Is there a way to boot the linux kernel from CFI using mtd drivers ?

No. The MTD drivers run in Linux and cannot be used before Linux is 
running. 

> I use the MIPS-5kc and I have just seen this link that talks about x86
> systems, http://www.EmbeddedLinuxWorks.com/articles/rolo_guide.html 

ROLO is x86-only, I believe. Try RedBoot. Is it this board? 
http://sources.redhat.com/ecos/boards/atlas-5K.html

--
dwmw2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-11-04 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3BD575F2.35D16336@infineon.com>
     [not found] ` <18479.1003845325@redhat.com>
2001-10-24  8:36   ` mount of JFFS2 as root device amit lubovsky
2001-10-24 15:42   ` mount of JFFS2 amit lubovsky
2001-10-24 16:28     ` David Woodhouse
2001-11-04 10:32       ` boot kernel off an mtd device amit lubovsky
2001-11-04 12:36         ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox