Dave Taht wrote:
> Awesome. However I'd like to somehow make for fully field-upgradable
> kernels for this device (how to do that?), and reserving 64k strikes
> me as too small to account for future growth.

It doesn't reserve 64kB. It doesn't really reserve anything at all.
There can be as little as zero bytes of free space in the kernel mtd
partition. The point is to pack it in as tightly as possible, leaving
more space for the rootfs.

I didn't think that field-upgradability by replacing only the contents
of the kernel mtd partition was a design goal. Considering that it's
likely that a kernel upgrade will also require a /lib/modules upgrade,
I'm not sure it's even worthwhile to make it a design goal. Field-
upgradability is addressed by sysupgrade, which is able to replace the
entire firmware image (including the kernel and rootfs, with
/lib/modules) while retaining configuration files and other files marked
to be saved through the upgrade.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to