| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Embedding rootfs with kernel |
| From: | Marc St-Jean <Marc_St-Jean@pmc-sierra.com> |
| Date: | Mon, 5 Feb 2007 12:41:34 -0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 1.5.0.9 (X11/20061206) |
What is the MIPS-way of embedding the rootfs with the kernel? Our method involves modifying the vmlinux.lds.S linker script to pull in our 'romfs' section. I don't see any other platform code doing this so there must be a more "standard" approach. Apparently there was support in linux 2.4 (a patch possibly?) which would look for supported file system magic numbers past the end of the kernel. So you could just cat the rootfs to the end of the kernel binary and go on with life. I've tried this with linux-mips.org code base and it doesn't appear to work. Any pointers would be appreciated. Marc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git master, Marc St-Jean |
|---|---|
| Next by Date: | Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git master, Alan |
| Previous by Thread: | [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git master, Marc St-Jean |
| Next by Thread: | Re: Embedding rootfs with kernel, Domen Puncer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |