linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ruedi.Hofer@ascom.ch
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RomFS
Date: Tue, 01 Feb 2000 07:55:27 +0100 (CET)	[thread overview]
Message-ID: <0FP80082SOL8BN@pmdf-it.hasler.ascom.ch> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1679 bytes --]

Hi

That sounds good and it works. snip

But how can I mount this rom/ramdisk from the kernel as its root disk?

What do I have to supply as boot parameter?

I would like to store the entire application in the flash (kernel + application)

\Ruedi




damm@kieraypc01.p.y.ki.era.ericsson.se on 31.01.2000 16:23:22
An: Ruedi.Hofer@ascom.ch @ MailGate
Kopie:
Thema: Re: RomFS


> Hi,

Hi!

> My ADS board is happily running with a NFS mounted linux box.

Great!

> Now I have to put all the code into the flash memory to get a standalone
> solution.
>
> I'm using the 8xxrom Bootloader. In a file called config.h I can configure
> CONFIG_DISK_ROM.  As far as I can see, the bootloader assumes
> then that a complete FAT filesystem is stored from the position
> 0xFE020000 in flash.
>
> My question:
> - Is my assumption right?

Well, there is a file in the disk directory called rom.c.
It is a simple read-only block driver for 8xxrom.
It does not know anything about filesystems, so you can use any filesystem you want
as long it is supported by 8xxrom.

In rom.h can you find a define called ROM_DISKSTART which is the start address
of the filesystem.

> - How can I produce a FAT filesystem in a file, which I can download
>   with MPC8BUG into the onboard flash?

You have to look somewhere on the net.
I usually create a ramdisk and make a filesystem and copy my things to it.
Then I umount it and use dd to copy the data to a file which I burn to
a flash.

> - Does it have anything in common with the romfs driver which is supported
>   by the kernel? (I think not)

Nope.
But it would sure be great if we could read one romfs image from the 8xxrom.

Good luck /

magnus





             reply	other threads:[~2000-02-01  6:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-01  6:55 Ruedi.Hofer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-01  6:55 Re: RomFS Ruedi.Hofer
2000-02-01  7:53 ` RomFS Wolfgang Denk
2000-01-31 15:12 RomFS Ruedi.Hofer

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=0FP80082SOL8BN@pmdf-it.hasler.ascom.ch \
    --to=ruedi.hofer@ascom.ch \
    --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).