diff options
| author | Tom Zanussi <tom.zanussi@intel.com> | 2012-01-24 00:15:25 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 19:21:14 +0000 |
| commit | f76161b1de427403d0288dc7772907389b56a031 (patch) | |
| tree | bef2e2d2063c47d64aea7872569b93736cb47d94 /scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics | |
| parent | af193ae15a2ad2e170d4a9d4bcbfff3e429784f5 (diff) | |
| download | poky-f76161b1de427403d0288dc7772907389b56a031.tar.gz | |
yocto-bsp: add BSP template files
BSP template files for all supported Yocto architectures, plus qemu
versions of the same.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics')
4 files changed, 103 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_emgd": }} xorg.conf b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_emgd": }} xorg.conf new file mode 100644 index 0000000000..662f60f349 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_emgd": }} xorg.conf | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | ## | ||
| 2 | ## X Config options generated from CED | ||
| 3 | ## x11 conf skeleton | ||
| 4 | ## DriverVer= | ||
| 5 | ## | ||
| 6 | |||
| 7 | Section "Screen" | ||
| 8 | Identifier "Screen0" | ||
| 9 | Device "IntelEMGD-0" | ||
| 10 | Monitor "Monitor0" | ||
| 11 | SubSection "Display" | ||
| 12 | EndSubSection | ||
| 13 | EndSection | ||
| 14 | |||
| 15 | # Primary (First/only) display | ||
| 16 | Section "Device" | ||
| 17 | Identifier "IntelEMGD-0" | ||
| 18 | Driver "emgd" | ||
| 19 | VendorName "Intel(R) DEG" | ||
| 20 | BoardName "Embedded Graphics" | ||
| 21 | BusID "0:2:0" | ||
| 22 | Screen 0 | ||
| 23 | Option "PcfVersion" "1792" | ||
| 24 | Option "ConfigId" "1" | ||
| 25 | Option "ALL/1/name" "e6xx" | ||
| 26 | Option "ALL/1/General/PortOrder" "24000" | ||
| 27 | Option "ALL/1/General/DisplayConfig" "1" | ||
| 28 | Option "ALL/1/General/DisplayDetect" "1" | ||
| 29 | Option "ALL/1/General/TuningWA" "1" | ||
| 30 | Option "ALL/1/Port/4/General/name" "lvds" | ||
| 31 | Option "ALL/1/Port/4/General/EdidAvail" "3" | ||
| 32 | Option "ALL/1/Port/4/General/EdidNotAvail" "1" | ||
| 33 | Option "ALL/1/Port/4/General/Rotation" "0" | ||
| 34 | Option "ALL/1/Port/4/General/Edid" "0" | ||
| 35 | EndSection | ||
| 36 | |||
| 37 | Section "ServerLayout" | ||
| 38 | Identifier "Default Layout" | ||
| 39 | Screen 0 "Screen0" 0 0 | ||
| 40 | # InputDevice "Mouse0" "CorePointer" | ||
| 41 | # InputDevice "Keyboard0" "CoreKeyboard" | ||
| 42 | # InputDevice "DevInputMice" "SendCoreEvents" | ||
| 43 | EndSection | ||
| 44 | |||
| 45 | Section "ServerFlags" | ||
| 46 | Option "DontZap" "0" | ||
| 47 | Option "AutoAddDevices" "False" | ||
| 48 | EndSection | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_i915": }} xorg.conf b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_i915": }} xorg.conf new file mode 100644 index 0000000000..96b94b46c7 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_i915": }} xorg.conf | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | Section "Device" | ||
| 2 | Identifier "Intel Graphics Driver" | ||
| 3 | Driver "intel" | ||
| 4 | EndSection | ||
| 5 | |||
| 6 | Section "Monitor" | ||
| 7 | Identifier "Generic Monitor" | ||
| 8 | Option "DPMS" | ||
| 9 | EndSection | ||
| 10 | |||
| 11 | Section "Screen" | ||
| 12 | Identifier "Default Screen" | ||
| 13 | Device "Intel Graphics Driver" | ||
| 14 | Monitor "Generic Monitor" | ||
| 15 | DefaultDepth 24 | ||
| 16 | EndSection | ||
| 17 | |||
| 18 | Section "ServerLayout" | ||
| 19 | Identifier "Default Layout" | ||
| 20 | Screen "Default Screen" | ||
| 21 | EndSection | ||
| 22 | |||
| 23 | Section "ServerFlags" | ||
| 24 | Option "DontZap" "0" | ||
| 25 | Option "AutoAddDevices" "False" | ||
| 26 | EndSection | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_vesa": }} xorg.conf b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_vesa": }} xorg.conf new file mode 100644 index 0000000000..da4fc3c643 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver_choice == "xserver_vesa": }} xorg.conf | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | Section "Device" | ||
| 2 | Identifier "Generic VESA" | ||
| 3 | Driver "vesa" | ||
| 4 | EndSection | ||
| 5 | |||
| 6 | Section "Monitor" | ||
| 7 | Identifier "Generic Monitor" | ||
| 8 | Option "DPMS" | ||
| 9 | EndSection | ||
| 10 | |||
| 11 | Section "Screen" | ||
| 12 | Identifier "Default Screen" | ||
| 13 | Device "Generic VESA" | ||
| 14 | Monitor "Generic Monitor" | ||
| 15 | DefaultDepth 24 | ||
| 16 | EndSection | ||
| 17 | |||
| 18 | Section "ServerLayout" | ||
| 19 | Identifier "Default Layout" | ||
| 20 | Screen "Default Screen" | ||
| 21 | EndSection | ||
| 22 | |||
| 23 | Section "ServerFlags" | ||
| 24 | Option "DontZap" "0" | ||
| 25 | Option "AutoAddDevices" "False" | ||
| 26 | EndSection | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend new file mode 100644 index 0000000000..4b8d0e656b --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" | ||
| 2 | FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" | ||
| 3 | |||
