* Booting from a non block device
@ 2000-12-28 2:14 Shane Nay
2001-01-02 15:51 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Shane Nay @ 2000-12-28 2:14 UTC (permalink / raw)
To: linux-kernel
I need to get rid of the abstraction that a block device brings because I
need to run things in XIP (execute in place) mode from our cramfs partition.
(We have uncompressed and aligned files inter mingled with our cramfs stuff
so that the entire distro can be updated in a single flash) The only thing
that's keeping me from finishing at this point is I can't seem to figure out
a smart way to accomplish file system direct booting.
The main.c file is hardwired to boot from a block device, and as such I can't
think of a good way to get around it and put in a filesystem instead. Should
I just cheat and put in a fake block device? Or am I going about this in an
imbecilic fashion?
Any ideas, criticisms are welcome...
Thanks,
Shane Nay.
(BTW: XIP implementation is by another fellow..., I'm just trying to put
together the linear addressing and his pieces into one nice unit, and get rid
of the dev rom copying and unneeded buffering)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Booting from a non block device
2000-12-28 2:14 Booting from a non block device Shane Nay
@ 2001-01-02 15:51 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-01-02 15:51 UTC (permalink / raw)
To: shane; +Cc: linux-kernel
shane@agendacomputing.com said:
> The main.c file is hardwired to boot from a block device, and as such
> I can't think of a good way to get around it and put in a filesystem
> instead. Should I just cheat and put in a fake block device?
That's what NFSroot does. I suppose you could also argue that's what JFFS
does too, because it doesn't actually _use_ the mtdblock device for
anything but getting a handle on the underlying MTD device.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-02 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-28 2:14 Booting from a non block device Shane Nay
2001-01-02 15:51 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox