public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Shane Nay <shane@agendacomputing.com>
Cc: Nicolas Pitre <nico@cam.org>, mtd@infradead.org
Subject: Re: XIP kernel + MTD polling interest
Date: Tue, 28 Nov 2000 15:58:02 +0000	[thread overview]
Message-ID: <28079.975427082@redhat.com> (raw)
In-Reply-To: <20001128085354.L17376@www.easysolutions.net>


shane@agendacomputing.com said:
> Well, we've come up with a better way (well, Mike Klar did from
> linux-vr) to take care of weird c code, and allow everything to be
> normal.  (Special elf sections, and twiddling with the linker script) 

Cute, and not too horrible because you already had to copy the data section
into RAM at startup anyway. Doing so with an extra section isn't too much of
a problem, and there's enough other 'put this code in a different section' 
magic in the kernel already that that bit isn't too troublesome either.

shane@agendacomputing.com said:
>   I was just thinking XIP kernel with flash stuff might be usefull for
> MTD as a general thing, because people might want to take this tact
> with various types of chips, etc

In general, XIP isn't as interesting as I first thought. XIP is mutually 
exclusive with compression, and RAM is cheaper than flash. That's even 
_before_ you try to deal with the horrible problems that you're trying to 
work round right now.

But having said that, some of our customers do seem to be on crack so I'm 
looking at XIP anyway :) But I'm trying to get away with declaring 
that the XIP flash chip is _strictly_ read-only, and that the writable 
filesystem is to be kept on an entirely different flash chip.

I should be putting together a version of romfs designed to work on 
read-only memory chips fairly shortly.

--
dwmw2




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

  reply	other threads:[~2000-11-28 16:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-28  7:00 XIP kernel + MTD polling interest Shane Nay
2000-11-28 14:08 ` David Woodhouse
2000-11-28  7:22   ` Shane Nay
2000-11-29  1:44 ` Nicolas Pitre
2000-11-28  8:53   ` Shane Nay
2000-11-28 15:58     ` David Woodhouse [this message]
2000-11-28  9:31       ` Shane Nay
2000-11-29 10:19       ` Shane Nay
2000-11-29 17:18         ` David Woodhouse
2000-11-29 11:19           ` Shane Nay

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=28079.975427082@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=mtd@infradead.org \
    --cc=nico@cam.org \
    --cc=shane@agendacomputing.com \
    /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