On Mon, Aug 05, 2013 at 10:28:15PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20130805160747.GP5164@bill-the-cat> you wrote: > > > > > U-Boot is perfectly able to import such settings from text files (or > > > text blobs stored somewhere, even attached to the U-Boot image, if you > > > want), so just use the text files separately, instead of hard > > > compiling them into the code. > > > > But we have to start _somewhere_ with a compiled-in set of defaults. > > Agreed, nbut that should be a very minimal set of setting that is > common to most use cases.
I wouldn't say minimal, I would say not complicated. Your TV (since we've had someone in #u-boot in recent days getting help putting custom u-boot on their TV) isn't going to ship with all of this enabled / tested, but your community board / evm / similar can because it's broadly aimed. > > Yes, some boards are easily updatable (it's just an SD card), but on > > others it's not. And there's a strong desire on the generic distro side > > (and on a lot of kernel hackers sides) to treat U-Boot as never-touch > > binaries. What ships is what's used. So a default that tries to load > > I perfectly understand this argument, and this is exactly why I think > that a hard-coded, compiled in set of complex settings (as needed for > a standard distro, from what I've seen so far), would be a seriously > wrong approach. You _will_ need to make changes to such settings over > time, so plan for it, and provide an easy "never-touch U-Boot itself" > way for it. Well, my hope is that we can agree that so long as certain variables are set within certain bounds, and certain commands (and other settings if needed) are set, it will boil down to if load_distro_env; then env import -t $distro_env run load_distro fi Much like how uEnv.txt / uenvcmd work. The complex bits need to be in the not built-in override part. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot