All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hinko Kocevar <hinko.kocevar@iskramedical.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] jffs2 fs for linux
Date: Fri, 25 Feb 2005 15:31:44 +0100	[thread overview]
Message-ID: <421F36D0.4060703@iskramedical.si> (raw)

Hi,

(I apologize if the list recieves this(similar) mail twice)

I have jffs2 fs image in flash and would like to mount it when linux 
asks for root fs.Linux gives out:
...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(2,0)
  <0>Rebooting in 5 seconds..? 


and command line is:
Kernel command line: root=/dev/mtdblock2 rootfstype=jffs2 rw 
console=ttyS0,115200 mem=64M panic=5

Image is located at 0x2c0000 and u-boot can see it, too:
Ub00t> ls
Scanning JFFS2 FS: ...... done.
  drwxr-xr-x        0 Mon Feb 21 11:39:54 2005 bin
  drwxr-xr-x        0 Mon Feb 21 17:48:03 2005 dev
  drwxr-xr-x        0 Fri Feb 18 14:00:50 2005 etc
  drwxr-xr-x        0 Wed Feb 23 16:38:26 2005 lib
  lrwxrwxrwx       11 Tue Feb 22 07:58:53 2005 linuxrc -> bin/busybox
  drwxr-xr-x        0 Wed Dec 29 11:01:22 2004 mnt
  drwxr-xr-x        0 Tue Jul 20 10:38:27 2004 proc
  drwxr-xr-x        0 Thu Feb 17 21:58:50 2005 sbin
  drwxr-xr-x        0 Wed Feb 23 17:40:11 2005 staging
  drwxr-xr-x        0 Wed Feb 23 23:27:06 2005 tmp
  drwxr-xr-x        0 Wed Feb 23 16:40:41 2005 usr
  drwxr-xr-x        0 Tue Jul 20 10:38:41 2004 var

But how do I supply this info to u-boot when booting linux?
Is 'fsload' the right way to go? But I would still like to have kernel 
separated from fs image...

Using kernel 2.6.9 here.

regards,
hk

-- 
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, embedded systems developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"A? r?n"	|	[Analects XII:22]

             reply	other threads:[~2005-02-25 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-25 14:31 Hinko Kocevar [this message]
2005-02-25 17:28 ` [U-Boot-Users] jffs2 fs for linux Alan Casey
2005-02-25 17:37   ` Hinko Kocevar
2005-02-25 18:09     ` Alan Casey
2005-02-25 20:10     ` Wolfgang Denk
2005-02-25 20:03 ` Wolfgang Denk
2005-02-27 15:06   ` Hinko Kocevar

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=421F36D0.4060703@iskramedical.si \
    --to=hinko.kocevar@iskramedical.si \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.