[OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

Ralph Sennhauser ralph.sennhauser at gmail.com
Thu Aug 25 06:50:59 EDT 2016


Hi Daniel,

On Thu, 25 Aug 2016 10:53:34 +0200
Daniel Golle <daniel at makrotopia.org> wrote:

[snip]

> Are you planning to switch to initramfs and then load the ubi and
> ubifs modules in order to get a persistent rootfs?!
> Remember that otherwise, these modules are needed to be built-in to
> the kernel in order to mount the rootfs during boot.

I use an initramfs to mount root indeed. This is just an alternative to
7 patches in generic and mvebu to do the same.

The kernel partition is 6MB, so there is plenty space and using busybox
works fine except there is no ubiblock applet. To work around this I
build ubi as a module instead of built-in and use module parameter to
create a blockdevice from the squashfs volume for use by the overlayfs.

Cheers
Ralph
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list