From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bblp7-0002lu-Dz for barebox@lists.infradead.org; Mon, 22 Aug 2016 09:47:18 +0000 Received: by mail-wm0-x243.google.com with SMTP id i5so12604818wmg.2 for ; Mon, 22 Aug 2016 02:46:56 -0700 (PDT) From: Holger Schurig In-Reply-To: References: <20160818063059.GD20657@pengutronix.de> <20160822054521.GU20657@pengutronix.de> Date: Mon, 22 Aug 2016 11:46:53 +0200 Message-ID: <87mvk5nnjm.fsf@gmail.com> MIME-Version: 1.0 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: Fwd: Shouldn't boot_board be called from boot instead of init? To: Guillermo Rodriguez Garcia , Sascha Hauer Cc: barebox@lists.infradead.org Guillermo Rodriguez Garcia writes: > With defaultenv-2 the "board configuration" is scattered through a > number of tiny files, some of which contain just a single value (see > for example nv/autoboot_timeout or nv/user). I find this more > difficult to manage -- you need to edit a lot of tiny files instead of > just one. Also I feel that the flow of control is less obvious for the > same reason. Hi, on my device I use defaultenv-1 for the same reason. Basically I just have one env/bin/init and one env/config file and that's it. And the env/config one is even so small that I could fold it into env/bin/init. This even more so as my device is "set in stone", e.g. there is no SPI EEPROM or other means (partition) to store an environment. What comes with the compiled barebox is the environment. Having things in one place and not scattered around makes things visible at a glance. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox