All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: ian.nelson@echostar.com
Cc: "mtd@infradead.org" <mtd@infradead.org>
Subject: Re: Possibly a FAQ or stupid question
Date: Tue, 05 Dec 2000 17:30:03 +0000	[thread overview]
Message-ID: <8883.976037403@redhat.com> (raw)
In-Reply-To: <3A2D24D4.FC82D90D@echostar.com>


ian.nelson@echostar.com said:
> Can I just dd to the flash?  Assuming that my AMD flash works with CFI... 

No. you have to use the MEMERASE ioctl first. The doc_loadbios program in 
the utils directory of the CVS tree will do this for you. Ignore the name, 
which I should probably change - it's not just for the DiskOnChip.


ian.nelson@echostar.com said:
>  Right now my boot loader will boot strap a kernel out of flash and
> then I hacked the kernel to scan for my initrd in flash and it will
> decompress it and run, works like a champ but I need a way to put a
> new initrd in there now. 

That works. As RAM is cheaper than flash, it makes a lot of sense to do 
that, in the absence of a compressed writable flash filesystem.

> Is JFFS compressed? 

Not yet. Soon. Watch this space.

> Can I set aside a few K at the end of flash for my boot loader and then a
> few hundred at the beginning for my kernel and use JFFS in the middle?

Yep. You can muck about with the partitioning all you like.


--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-12-05 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-05 17:24 Possibly a FAQ or stupid question Ian S. Nelson
2000-12-05 17:30 ` David Woodhouse [this message]
2000-12-05 18:42   ` Nicolas Pitre

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=8883.976037403@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=ian.nelson@echostar.com \
    --cc=mtd@infradead.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 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.