----- Original Message ----
> From: bifferos <[EMAIL PROTECTED]>

> I should just point out that you can already have USB root 
> in a way consistent with OpenWrt mainline and that is 
> described here:  http://wiki.openwrt.org/UsbStorageHowto 
> if possibly a little out of date, you should get the idea.

that one is too outdated. I've actually almost suceeded to build an 
image that contains the lzma-loader and kernel only. 
Still it's an open issue how to change the kernel's CMDLINE in a 
nice way.

> In one way it makes maintenance easier if only the kernel
> goes in the on-board flash, and everything else on the 
> USB stick, but with OpenWrt the kernel changes so fast
> that I'm not sure how wise this really is (kernel modules
> have to be compatible, after all).   What I'd really 
> like to see (and I don't believe this would be too 
> difficult) is a second-stage bootloader that actually 
> pulls the kernel off the USB stick.  For the Edimax 
> BR-6104KP I have at least *some* of the code needed to
> do this - just haven't managed to finish it yet.

Kexec is already in the Openwrt trunk, I'll give it a try as a next 
mini-project.
Then it would be a stable and minimalistic kernel on the flash, which 
would immediately kexec a newest kernel from USB.

Of course, one could try to create a new loader that would only have 
support for USB storage and ext3/ext2 filesystem. But that's a lot of work...
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to