From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Rob Landley <rob@landley.net>
Cc: Jeff Dike <jdike@addtoit.com>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Loopback mounting jffs2 under UML?
Date: Wed, 19 Dec 2007 09:10:46 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0712190908500.24841@anakin> (raw)
In-Reply-To: <200712181803.28516.rob@landley.net>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2009 bytes --]
On Tue, 18 Dec 2007, Rob Landley wrote:
> On Tuesday 18 December 2007 13:29:11 Jeff Dike wrote:
> > On Tue, Dec 18, 2007 at 12:45:23PM -0600, Rob Landley wrote:
> > > There's a way to make a loopback device look like a flash device, letting
> > > you loopback mount jffs2, but it involves recompiling the kerenel to add
> > > support for it, and of course I went "User Mode Linux"... Except
> > > that UML disables the flash menu entirely.
> > >
> > > Suggestions?
> >
> > I see this in menuconfig:
> >
> > Symbol: MTD [=n]
> Actually, in -rc4 (what I have lying around), the depends is just on HAS_IOMEM, and the include in arch/um/Kconfig is guarded by "if BROKEN".
> > CC drivers/mtd/chips/chipreg.o
> > In file included from drivers/mtd/chips/chipreg.c:13:
> > include/linux/mtd/map.h: In function ‘inline_map_read’:
> > include/linux/mtd/map.h:378: error: implicit declaration of function
> > ‘__raw_readb’ include/linux/mtd/map.h:380: error: implicit declaration of
> > function ‘__raw_readw’ include/linux/mtd/map.h:382: error: implicit
> > declaration of function ‘__raw_readl’ include/linux/mtd/map.h:385: error:
> > implicit declaration of function ‘__raw_readq’ include/linux/mtd/map.h:388:
> > error: implicit declaration of function ‘memcpy_fromio’
> > include/linux/mtd/map.h: In function ‘inline_map_write’:
> > include/linux/mtd/map.h:406: error: implicit declaration of function
> > ‘memcpy_toio’ make[3]: *** [drivers/mtd/chips/chipreg.o] Error 1
> > make[2]: *** [drivers/mtd/chips] Error 2
> > make[1]: *** [drivers/mtd] Error 2
Protect all static inline routines in <linux/mtd/map.h> that use readb()
and friends by #ifdef CONFIG_HAS_IOMEM?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
[-- Attachment #2: Type: text/plain, Size: 308 bytes --]
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2007-12-19 8:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 18:45 [uml-devel] Loopback mounting jffs2 under UML? Rob Landley
2007-12-18 19:14 ` Stian Skjelstad
2007-12-18 19:29 ` Jeff Dike
2007-12-19 0:03 ` Rob Landley
2007-12-19 8:10 ` Geert Uytterhoeven [this message]
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=Pine.LNX.4.64.0712190908500.24841@anakin \
--to=geert@linux-m68k.org \
--cc=jdike@addtoit.com \
--cc=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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