[oe] [RFC] Adding screen dimensions to machine configs

Paul Sokolovsky pmiscml at gmail.com
Thu Jul 12 12:36:42 UTC 2007


Hello Michael,

Tuesday, July 10, 2007, 1:33:12 PM, you wrote:

> Hi Paul.

>> Monday, July 9, 2007, 11:01:36 PM, you wrote:
>>   I proposed to model variables in those namespace on the formfactor
>> package, and with Richard's and Marcin's explaining that there intention
>> was to have "physical" parameters, and with Graeme's vote, that's
>> apparently the way to go.

> So be it then, but while we're going the physical route, lets include
> the DEPTH as well.

  Ok, as we have issues with commit mails, here's what I'm committing for
bitbake.conf. As discussed, we want "non-zero" defaults just in case,
and I used QVGA defaults, which is consistent with our "smallscreen"
default for GUI_MACHINE_CLASS. This variable in turn is named
inconsistently with the rest of machine vars, so I proposed to rename
it to GUI_MACHINE_CLASS. Finally, I tried to be consistent with
formfactor's var names, so here's BPP, not DEPTH. Feel free to tweak
if needed. I'll proceed with adding these options to machine configs
within couple of days. (And of course I would need help with that.)

#
# old_revision [8654baa6db1769cd516400afebdc63c9b19ee633]
#
# patch "conf/bitbake.conf"
#  from [28be7aa3c03959211fa8fff38d1903e1ec2dd8de]
#    to [1a40a8a4b4660be43379de36b41dceabe1bebd19]
#
============================================================
--- conf/bitbake.conf   28be7aa3c03959211fa8fff38d1903e1ec2dd8de
+++ conf/bitbake.conf   1a40a8a4b4660be43379de36b41dceabe1bebd19
@@ -468,7 +468,7 @@ OES_BITBAKE_CONF = "1"
 OES_BITBAKE_CONF = "1"
 
 ##################################################################
-# Task-base stuff
+# Machine properties and task-base stuff
 ##################################################################
 
 MACHINE_FEATURES ?= "kernel26"
@@ -477,7 +477,13 @@ ROOT_FLASH_SIZE ?= "256"
 # This is used to limit what packages goes into images built, so set big by default
 ROOT_FLASH_SIZE ?= "256"
 
-GUI_MACHINE_CLASS ?= "smallscreen"
+MACHINE_GUI_CLASS ?= "smallscreen"
+# GUI_MACHINE_CLASS is deprecated, please use MACHINE_GUI_CLASS instead
+GUI_MACHINE_CLASS ?= "${MACHINE_GUI_CLASS}"
+MACHINE_DISPLAY_WIDTH_PIXELS ?= "240"
+MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320"
+MACHINE_DISPLAY_ORIENTATION ?= "0"
+MACHINE_DISPLAY_BPP ?= "16"
 
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""

> Regards,

> :M:



-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com





More information about the Openembedded-devel mailing list