From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Mon, 14 Dec 2015 12:51:16 +0100 Subject: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout In-Reply-To: <201512141231.32760.marex@denx.de> References: <1449825353-2568-1-git-send-email-clsee@altera.com> <201512141209.08928.marex@denx.de> <20151214112639.GB14305@amd> <201512141231.32760.marex@denx.de> Message-ID: <20151214115116.GC14305@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon 2015-12-14 12:31:32, Marek Vasut wrote: > On Monday, December 14, 2015 at 12:26:39 PM, Pavel Machek wrote: > > On Mon 2015-12-14 12:09:08, Marek Vasut wrote: > > > On Monday, December 14, 2015 at 08:54:38 AM, Pavel Machek wrote: > > > > (Please, trim your emails when replying) > > > > > > > > > Try this: > > > > > > > > > > mtdparts=1m(u-boot),256k(env1),256k(env2),14848k(boot),112m(root),- at 1 > > > > > 536k (UBI) > > > > > > > > > > This will create overlapping partitions "boot,root" and "UBI" . > > > > > > > > Just because you can does not mean that you should. This looks like a > > > > nasty trap for a user. > > > > > > Please explain in detail why do you think so. > > > > Please make a 200 page study of human psychology explaining that noone > > would ever be confused by two overlapping partitions :-). > > Add a comment explaining the situation and reasoning behind that, problem > solved. We do partitions so that people don't overwrite data by mistake. Having overlapping partitions kind of defeats the purpose. Just because trap is documented does not mean that it is not nasty. 199.95 pages to go. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html