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

2016-09-16 Thread Ralph Sennhauser
On Thu, 25 Aug 2016 13:07:43 +0200 Daniel Golle wrote: > On Thu, Aug 25, 2016 at 12:50:59PM +0200, Ralph Sennhauser wrote: > > Hi Daniel, > > > > On Thu, 25 Aug 2016 10:53:34 +0200 > > Daniel Golle wrote: > > > > [snip] > > > > > Are you planning to switch to initramfs and then load the ubi

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

2016-08-27 Thread Daniel Golle
On Fri, Aug 26, 2016 at 04:13:53PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Fri, 26 Aug 2016 15:05:58 +0200 > Daniel Golle wrote: > > > Hi Ralph, > > > > the use of global variable ROOT_DEV is not guarded properly in the > > patch auto-creating a ubiblock though this code needs to be

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

2016-08-27 Thread Ralph Sennhauser
On Fri, 26 Aug 2016 15:05:58 +0200 Daniel Golle wrote: > Hi Ralph, > > the use of global variable ROOT_DEV is not guarded properly in the > patch auto-creating a ubiblock though this code needs to be > prevented from running when built as a module. > Please try rebuilding with the patch attached

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

2016-08-26 Thread Ralph Sennhauser
On Fri, 26 Aug 2016 17:34:19 +0200 Daniel Golle wrote: > Hi Ralph, > > On Fri, Aug 26, 2016 at 04:13:53PM +0200, Ralph Sennhauser wrote: > > Hi Daniel, > > > > On Fri, 26 Aug 2016 15:05:58 +0200 > > Daniel Golle wrote: > > > > > Hi Ralph, > > > > > > the use of global variable ROOT_DEV is

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

2016-08-26 Thread Daniel Golle
Hi Ralph, On Fri, Aug 26, 2016 at 04:13:53PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Fri, 26 Aug 2016 15:05:58 +0200 > Daniel Golle wrote: > > > Hi Ralph, > > > > the use of global variable ROOT_DEV is not guarded properly in the > > patch auto-creating a ubiblock though this code n

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

2016-08-26 Thread Ralph Sennhauser
Hi Daniel, On Fri, 26 Aug 2016 15:05:58 +0200 Daniel Golle wrote: > Hi Ralph, > > the use of global variable ROOT_DEV is not guarded properly in the > patch auto-creating a ubiblock though this code needs to be > prevented from running when built as a module. > Please try rebuilding with the pa

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

2016-08-26 Thread Daniel Golle
Hi Ralph, the use of global variable ROOT_DEV is not guarded properly in the patch auto-creating a ubiblock though this code needs to be prevented from running when built as a module. Please try rebuilding with the patch attached, if it resolves the issue I'll commit a proper fix for that on LEDE'

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

2016-08-26 Thread Ralph Sennhauser
On Thu, 25 Aug 2016 12:53:41 +0200 Ralph Sennhauser wrote: > Hi Zoltan, > > On Thu, 25 Aug 2016 07:40:56 +0200 > Zoltan HERPAI wrote: > > > Daniel Golle wrote: > > > On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > > > > > >> Ralph Sennhauser wrote: > > >> > >

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

2016-08-25 Thread Ralph Sennhauser
On Thu, 25 Aug 2016 13:07:43 +0200 Daniel Golle wrote: > On Thu, Aug 25, 2016 at 12:50:59PM +0200, Ralph Sennhauser wrote: > > Hi Daniel, > > > > On Thu, 25 Aug 2016 10:53:34 +0200 > > Daniel Golle wrote: > > > > [snip] > > > > > Are you planning to switch to initramfs and then load the ubi

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

2016-08-25 Thread Daniel Golle
On Thu, Aug 25, 2016 at 12:50:59PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Thu, 25 Aug 2016 10:53:34 +0200 > Daniel Golle 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 tha

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

2016-08-25 Thread Ralph Sennhauser
Hi Zoltan, On Thu, 25 Aug 2016 07:40:56 +0200 Zoltan HERPAI wrote: > Daniel Golle wrote: > > On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > > > >> Ralph Sennhauser wrote: > >> > >>> I use kmod-ubi for creating a block device from the squasfs using > >>> module param

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

2016-08-25 Thread Ralph Sennhauser
Hi Daniel, On Thu, 25 Aug 2016 10:53:34 +0200 Daniel Golle 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

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

2016-08-25 Thread Daniel Golle
On Thu, Aug 25, 2016 at 07:40:56AM +0200, Zoltan HERPAI wrote: > Daniel Golle wrote: > > On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > > > Ralph Sennhauser wrote: > > > > I use kmod-ubi for creating a block device from the squasfs using module > > > > parameters as there is no bu

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

2016-08-24 Thread Zoltan HERPAI
Daniel Golle wrote: On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: Ralph Sennhauser wrote: I use kmod-ubi for creating a block device from the squasfs using module parameters as there is no busybox ubiblock applet yet. If ubi is made available as module so obvioulsy shou

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

2016-08-24 Thread Daniel Golle
On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > Ralph Sennhauser wrote: > > I use kmod-ubi for creating a block device from the squasfs using module > > parameters as there is no busybox ubiblock applet yet. If ubi is made > > available as module so obvioulsy should ubifs. > > > >

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

2016-08-24 Thread Zoltan HERPAI
Ralph Sennhauser wrote: I use kmod-ubi for creating a block device from the squasfs using module parameters as there is no busybox ubiblock applet yet. If ubi is made available as module so obvioulsy should ubifs. This completes the addition of kmod-fs-squashfs in commit 5163389b9c3b302a0d53df9a

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

2016-08-23 Thread Ralph Sennhauser
I use kmod-ubi for creating a block device from the squasfs using module parameters as there is no busybox ubiblock applet yet. If ubi is made available as module so obvioulsy should ubifs. This completes the addition of kmod-fs-squashfs in commit 5163389b9c3b302a0d53df9a70294da5cbc08ada -- V2: k