From: Tom Rini Date: Wed, 3 Apr 2019 10:47:53 -0400 Subject: [U-Boot] [PATCH] configs: am57xx_evm: Remove ENV_IS_IN_FAT In-Reply-To: <6caf2594-eb80-b465-4860-fb2e22c82d32@ti.com> References: <20190328085103.5041-1-faiz_abbas@ti.com> <20190328130338.GJ18421@bill-the-cat> <9dc9ae6d-b8d4-d4f5-0db7-57dde362f329@ti.com> <20190329111555.GU18421@bill-the-cat> <64055940-d01f-379e-74b1-7534964838a3@ti.com> <6caf2594-eb80-b465-4860-fb2e22c82d32@ti.com> Message-ID: <20190403144753.GH4664@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 03, 2019 at 02:59:28PM +0530, Faiz Abbas wrote: > Hi Sam, > > On 29/03/19 8:37 PM, Sam Protsenko wrote: > > Hi Faiz, > > > > On Fri, Mar 29, 2019 at 3:24 PM Lokesh Vutla wrote: > >> > >> + Praneeth > >> > >> On 29/03/19 4:45 PM, Tom Rini wrote: > >>> On Fri, Mar 29, 2019 at 01:09:25PM +0530, Faiz Abbas wrote: > >>>> Tom, > >>>> > >>>> On 28/03/19 6:33 PM, Tom Rini wrote: > >>>>> On Thu, Mar 28, 2019 at 02:21:03PM +0530, Faiz Abbas wrote: > >>>>> > >>>>>> With U-boot supporting environment in multiple places, enable only > >>>>>> ENV_IS_IN_EMMC. > >>>>>> > > > > Can you please describe in more details, which exactly problem you are > > trying to fix in this patch? As I understand, we support SD boot in > > Linux SDK [1], so saving env in FAT can be useful in this case. Could > > this issue be fixed in some other way, rather than dropping > > multi-environment feature? > > > > Thanks! > > Today U-boot comes up and always looks for environment first in SD Fat > partition and then in the eMMC. We should not allow U-boot to look for > environment in every single boot media that is enabled. We have had a > policy of saving environment in eMMC since a long time (before the > multi-environment feature was added) even when booting from SD card. I > know that most people would prefer it to be in SD card but because of > android requirements, we chose it to be in eMMC. > > Furthermore, the error message when it looks for environment in SD card > and fails is an invitation for trouble from users (even more so when > there is a confusion regarding where the environment should be and how > to change it). Maybe this is motivation to implement some of the ideas (or propose a new one) for "make env not found on X trying Y" less scary and/or something other than link order for order we look for environment in. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: