[meta-intel] [PATCH 1/1] fri2-noemgd: use fbdev X driver

Darren Hart darren.hart at intel.com
Tue Feb 5 13:43:17 PST 2013


On 02/05/2013 01:34 PM, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> The 'vesafb' X driver does not work for the FRI2 hardware. This is
> because FRI2 does not have legacy BIOS support in the firmware. With
> the 'fbdev' driver, X is able to start and display the graphical
> screen at 800x600 resolution.

Note that this is only true for the FRI2 using the fastboot UEFI
firmware. Most users will have this version, but the Kontron supplied
firmware is PC BIOS and does indeed support VESA. That said, neither is
particularly fast so one that works on both is preferably.

Is there nothing that can be done about the 800x600 resolution?

I would note the bit about the firmware versions in the commit log. This
is relevant as the README does document the usage of both types of
firmware. Speaking of the README, I believe the VESA driver is mentioned
in there and should also be updated with this patch.

--
Darren

> 
> This fixes bug:
> [YOCTO #3846]
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  meta-fri2/conf/machine/fri2-noemgd.conf            |    2 +-
>  .../xserver-xf86-config/fri2-noemgd/xorg.conf      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-fri2/conf/machine/fri2-noemgd.conf b/meta-fri2/conf/machine/fri2-noemgd.conf
> index cb94679..c546ba3 100644
> --- a/meta-fri2/conf/machine/fri2-noemgd.conf
> +++ b/meta-fri2/conf/machine/fri2-noemgd.conf
> @@ -16,7 +16,7 @@ PREFERRED_VERSION_linux-yocto = "3.4%"
>  
>  XSERVER ?= "${XSERVER_IA32_BASE} \
>             ${XSERVER_IA32_EXT} \
> -           ${XSERVER_IA32_VESA} \
> +           ${XSERVER_IA32_FBDEV} \
>             "
>  
>  # Syslinux does not know about the 64MHz uart clock and it does not detect the
> diff --git a/meta-fri2/recipes-graphics/xorg-xserver/xserver-xf86-config/fri2-noemgd/xorg.conf b/meta-fri2/recipes-graphics/xorg-xserver/xserver-xf86-config/fri2-noemgd/xorg.conf
> index da4fc3c..bda3535 100644
> --- a/meta-fri2/recipes-graphics/xorg-xserver/xserver-xf86-config/fri2-noemgd/xorg.conf
> +++ b/meta-fri2/recipes-graphics/xorg-xserver/xserver-xf86-config/fri2-noemgd/xorg.conf
> @@ -1,6 +1,6 @@
>  Section "Device"
>      Identifier	"Generic VESA"
> -    Driver	"vesa"
> +    Driver	"fbdev"
>  EndSection
>  
>  Section "Monitor"
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the meta-intel mailing list