David Goodenough wrote: > One possible thought is that we should always build an initramfs with > a basic minimum of bits in it (busybox for starters) and a few install > and restore scripts (like cf2nand and wget2nand) there is always something > to fall back on when the "on flash" root fails. > > It would also help with things like the need to specify kernel parameters > as those could be built into the relevant /init script. > > However, it would really be useful to have some thoughts on this, as otherwise > installing OpenWrt on the RB1xx series is going to be an uphill struggle for > many users, having to have two configs, one for netboot and the other for > running. I think it could work like this:
We change the kernel tree so that it can build an initramfs version and a non-initramfs version in one pass. We can call them openwrt-...-vmlinux.elf and openwrt-...-vmlinux_initramfs.elf It's probably just a matter of changing a few build scripts in the kernel tree (and later some stuff in target/linux/*/image/Makefile) Wasting flash on stuff that is unnecessary for an already flashed image does not seem like a good option to me. - Felix _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
