Messages in this thread | | | From | Shane Nay <> | Subject | Booting from a non block device | Date | Thu, 28 Dec 2000 02:14:10 +0000 |
| |
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/
| |