Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Use Cramfs as root
@ 2004-10-22  6:19 colin
  2004-10-22  6:19 ` colin
  0 siblings, 1 reply; 2+ messages in thread
From: colin @ 2004-10-22  6:19 UTC (permalink / raw)
  To: linux-mips


Hi all,
I had successfully used JFFS2 as root.
Then I tried to use the same way to use Cramfs as root, and it cannot work.

Use JFFS2 as root:
    mtd/util/mkfs.jffs2 -d root root.jffs2
    go 0x802b2018 rootfstype=jffs2 root=31:01
mtdparts=maltaflash:1536k(ldr),2048k(root)

Use Cramfs as root:
    /sbin/mkfs.cramfs root root.cramfs
    go 0x802b2018 rootfstype=cramfs root=31:01
mtdparts=maltaflash:1536k(ldr),2048k(root)

Error message:
    VFS: Cannot open root device "31:01" or unknown-block(31,1)
    Please append a correct "root=" boot option
    Kernel panic: VFS: Unable to mount root fs on unknown-block(31,1)


I donot know the right way to boot up Linux with cramfs root image.
There is not much information about it.
Could anyone give me a clue?

Thanks and regards,
Colin

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

* Use Cramfs as root
  2004-10-22  6:19 Use Cramfs as root colin
@ 2004-10-22  6:19 ` colin
  0 siblings, 0 replies; 2+ messages in thread
From: colin @ 2004-10-22  6:19 UTC (permalink / raw)
  To: linux-mips


Hi all,
I had successfully used JFFS2 as root.
Then I tried to use the same way to use Cramfs as root, and it cannot work.

Use JFFS2 as root:
    mtd/util/mkfs.jffs2 -d root root.jffs2
    go 0x802b2018 rootfstype=jffs2 root=31:01
mtdparts=maltaflash:1536k(ldr),2048k(root)

Use Cramfs as root:
    /sbin/mkfs.cramfs root root.cramfs
    go 0x802b2018 rootfstype=cramfs root=31:01
mtdparts=maltaflash:1536k(ldr),2048k(root)

Error message:
    VFS: Cannot open root device "31:01" or unknown-block(31,1)
    Please append a correct "root=" boot option
    Kernel panic: VFS: Unable to mount root fs on unknown-block(31,1)


I donot know the right way to boot up Linux with cramfs root image.
There is not much information about it.
Could anyone give me a clue?

Thanks and regards,
Colin

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

end of thread, other threads:[~2004-10-22  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22  6:19 Use Cramfs as root colin
2004-10-22  6:19 ` colin

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