Re: U-Boot, d-i and selecting the console device
On Fri, Jun 26, 2015 at 09:57:39PM +0200, Jens Thiele wrote:
> Karsten Merker <email@example.com> writes:
> > On Fri, Jun 26, 2015 at 11:06:05AM +0200, Jens Thiele wrote:
> >> The specific u-boot environment is needed for the lcd display
> >> settings/timings. Would it be an option to build different u-boot
> >> configurations for the different board+display combinations?
> > AFAICS there doesn't seem to be a way in the u-boot KConfig
> > system to define/modify specific variables in the default
> > environment via config options, so I currently don't see how we
> > could do that without changing the u-boot build system.
> > How have you created the u-boot binaries listed in your table
> > below? By manually patching the default environment definition
> > in the source for each build?
> i added one defconfig for each variant adding some CONFIG_VIDEO_xxx
> lines and for the touchscreen changing the CONFIG_FDTFILE
> $ git --no-pager diff-tree -u a90e77db..HEAD
> diff --git a/configs/A20-OLinuXino-Lime2-lcd10_defconfig b/configs/A20-OLinuXino-Lime2-lcd10_defconfig
> new file mode 100644
> index 0000000..5ee48ab
> --- /dev/null
> +++ b/configs/A20-OLinuXino-Lime2-lcd10_defconfig
> @@ -0,0 +1,12 @@
Ah, so the configuration happens via specific build-time config
options and not via the u-boot environment. In that case,
building additional variants would of course work rather easily
by defining additional targets, but we would end up with a really
large number of possible combinations: each of the 7 currently
supported Olimex boards with LCD option in a non-LCD, 7-inch-LCD
and 10-inch-LCD variant, the two Lemaker boards in a non-LCD,
3.5-inch-LCD, 5-inch-LCD and 7-inch-LCD variant (and possibly
even more if the TS- and non-TS versions should require different
display parameters), plus any other boards with LCD option that
we might support in the future.
Just for Olimex and Lemaker we would end up with 29(!) variants
in total today and I think that this is really too much.
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.