[U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

Otavio Salvador otavio at ossystems.com.br
Mon Jul 1 15:32:55 CEST 2013


On Mon, Jul 1, 2013 at 10:30 AM, Tom Rini <trini at ti.com> wrote:
> On Mon, Jul 01, 2013 at 10:25:46AM -0300, Otavio Salvador wrote:
>> On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini <trini at ti.com> wrote:
>> > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote:
>> >
>> >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador
>> >> <otavio at ossystems.com.br> wrote:
>> >> > This changes were being done in every version of U-Boot and it
>> >> > makes sense to try to merge them upstream.
>> >> >
>> >> > Please review them and ack/nack them.
>> >>
>> >> I think the series look good:
>> >>
>> >> Reviewed-by: Fabio Estevam <fabio.estevam at freescale.com>
>> >
>> > We aren't breaking compat with other distros, are we?  In TI-land where
>> > (for better or worse) we often have a FAT partition we're dealing with
>> > too, we use (and can have OE spit out) a uEnv.txt file that's
>> > user-editable and imported to the environment that would update these
>> > variables.  I suspect there's not an easy analog here but I thought I'd
>> > bring it up.
>>
>> We've not used uEnv.txt files for this in Freescale's Yocto support
>> but patched the U-Boot source code to make it work out of box. I think
>> these patches could go in now that Freescale is using Yocto more
>> extensivelly for ARM platforms so we avoid  same patches to be ported
>> for every new U-Boot release.
>
> Right well and good.  But part of the reason we use it here is that
> meta-various-ti-things may use a different layout from
> meta-community-oriented-distro and this lets us handle both with just a
> tweak in the various-ti-things layer to add a text file.  Again, may not
> apply here and that's fine.  Heck, we're trying to move more towards
> always just using the community layout.

Yes and we also have support to read a user provided file, but we
leave it for customizations not to use by default.

... yes, community layout is the way to go ;)

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list