From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-f54.google.com ([74.125.82.54]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YM6SD-0007YD-2y for barebox@lists.infradead.org; Fri, 13 Feb 2015 02:58:06 +0000 Received: by mail-wg0-f54.google.com with SMTP id y19so13938330wgg.13 for ; Thu, 12 Feb 2015 18:57:41 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20150212091353.GQ12209@pengutronix.de> References: <1423578481-25230-1-git-send-email-dbrainard@brainardinsight.com> <1423578481-25230-2-git-send-email-dbrainard@brainardinsight.com> <54DABFB8.7030107@atmel.com> <20150212091353.GQ12209@pengutronix.de> Date: Thu, 12 Feb 2015 19:57:41 -0700 Message-ID: From: Doug Brainard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] Switched SAMA5D4EK development board to the newer environment method. To: Sascha Hauer Cc: barebox@lists.infradead.org Okay, looking at some the patches you sent, I think it will resolve the issue. I'm still too new to this git patch concept to be sure how to grab it to try it out, so I'll just wait until it gets committed and then modify my changes to work well with it. If it's a quick command I need to call, let me know and I'll try out the patch. Thanks, Doug On Thu, Feb 12, 2015 at 2:13 AM, Sascha Hauer wrote: > On Wed, Feb 11, 2015 at 10:39:52AM -0700, Doug Brainard wrote: >> So it looks like the following line in mtdparts-add is causing the >> "nand0." issue: >> >> addpart -n /dev/${device} "$parts" || exit >> >> The old environment didn't use the "-n". Removing the "-n" fixes the >> issue and gives it the same functionality as the old environment did. >> >> So the question is how should I fix this? I could remove it in the >> default environment, but that would require all other boards using the >> new environment to update. >> >> Or, I can add my own env/bin/mtdparts-add script for the board and >> remove the "-n" from there instead which would leave the other >> projects alone. I'm assuming I should use this option as the fix, but >> I wanted to confirm that with you. > > I would rather add a '-n' option to the mtdparts-add script. Anyway, I > just sent a series updating the partition handling. Among other things > I hope that this fixes the naming issue. > > Sascha > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox