From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from b.ns.miles-group.at ([95.130.255.144] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bGuHT-0007Fw-A7 for linux-mtd@lists.infradead.org; Sat, 25 Jun 2016 20:34:20 +0000 Subject: Re: [PATCH 1/2] ubi: mount partitions specified in device tree To: Hauke Mehrtens , Ezequiel Garcia References: <1466277476-14853-1-git-send-email-hauke@hauke-m.de> <5765A14F.6020201@nod.at> <48242f26-7812-6957-6bf5-c12989b875b4@hauke-m.de> Cc: David Woodhouse , Mark Rutland , "devicetree@vger.kernel.org" , Artem Bityutskiy , Rob Herring , "linux-mtd@lists.infradead.org" , Brian Norris From: Richard Weinberger Message-ID: <576EEAAF.3090709@nod.at> Date: Sat, 25 Jun 2016 22:33:51 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 25.06.2016 um 22:20 schrieb Hauke Mehrtens: >> There's another option: use an initramfs, where you can do whatever you want >> to find your UBI and mount it. > > An initramfs probably needs some 10 to 100 KBytes of additional memory > on the flash chip and we only have 4 MBytes on some devices for the > bootloader, kernel and rootfs, adding 100 KBytes there is a significant > amount of memory. Instead of adding a initramfs I would like to be able > to define the rootfs somewhere in device tree and not by adding a > bootargs line into device tree. These particular patches are probably > the wrong way, but nobody told me how to do this in a better way. I think it is time to bring this discussion to a end. It has been stated multiple times why DT is not the right thing for the job and how all you need can be solved without an UBI DT binding. Consider both patches as rejected. Thanks, //richard