wandboard.inc: add file with common settings for wandboard boards
PATCH v3 1/2 wandboard.inc: add file with common settings for wandboard boards
Currently the following variables can be shared among all the wandboard models: PREFERRED_PROVIDER_virtual/kernel, SERIAL_CONSOLE and MACHINE_FEATURES. Move them to a include file to avoid code duplication.
--- conf/machine/include/wandboard.inc | 10 ++++++++++ conf/machine/wandboard-dual.conf | 9 ++------- conf/machine/wandboard-quad.conf | 9 ++------- conf/machine/wandboard-solo.conf | 9 +-------- 4 files changed, 15 insertions(+), 22 deletions(-) create mode 100644 conf/machine/include/wandboard.inc
conf/machine/include/wandboard.inc new file +10 -0
@@ -0,0 +1,10 @@ +# Common settings for wandboard boards + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" + +SERIAL_CONSOLE = "115200 ttymxc0" + +MACHINE_FEATURES += "pci"
conf/machine/wandboard-dual.conf +2 -7
@@ -3,19 +3,14 @@ #@SOC: i.MX6DL #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Duallite -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6dl:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_dl_config" KERNEL_DEVICETREE = "imx6dl-wandboard.dtb" -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi bluetooth" +MACHINE_FEATURES += "bluetooth wifi" MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config"
conf/machine/wandboard-quad.conf +2 -7
@@ -3,19 +3,14 @@ #@SOC: i.MX6Q #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Quad -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6q:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_quad_config" KERNEL_DEVICETREE = "imx6q-wandboard.dtb" -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi bluetooth" +MACHINE_FEATURES += "bluetooth wifi" MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config"
conf/machine/wandboard-solo.conf +1 -8
@@ -3,17 +3,10 @@ #@SOC: i.MX6S #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Solo -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6s:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_solo_config" KERNEL_DEVICETREE = "imx6dl-wandboard.dtb" - -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi"
Signature · 1 line
1.7.10.4
PATCH v3 2/2 wandboard.inc: add touchscreen support
--- conf/machine/include/wandboard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/wandboard.inc +1 -1
@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"
Signature · 1 line
1.7.10.4
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
Hi Mario,
Quoted 10 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>--- conf/machine/include/wandboard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/wandboard.inc +0
-0
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 10
Quoted 5 lines
conf/machine/include/wandboard.inc +1
-1@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"
What does the touchscreen feature add? In the case of headless systems, how would a developer override this setting if they want to create an image without touch support? Would something like MACHINE_FEATURES_remove = "touchscreen" work?
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
Hello John,
Quoted 16 lines · John Weber
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 9
Quoted 10 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>conf/machine/include/wandboard.inc +1
-0@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"What does the touchscreen feature add? In the case of headless systems, how would a developer override this setting if they want to create an image without touch support? Would something like
MACHINE_FEATURES_remove= "touchscreen" work?
It allows calibration for the images which supports it. This so depends on the image it is uses.
The _remove is supported by bitbake so it does work.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
Quoted 18 lines · Otavio Salvador
Hello John,
Quoted 15 lines · John Weber
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 9
Quoted 10 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>conf/machine/include/wandboard.inc +1
-0@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"What does the touchscreen feature add? In the case of headless systems, how would a developer override this setting if they want to create an image without touch support? Would something like
MACHINE_FEATURES_remove= "touchscreen" work?
Quoted 5 lines
It allows calibration for the images which supports it. This so depends on the image it is uses.
The
_removeis supported by bitbake so it does work.
OK. No problem. Thanks.
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
In reply to Mario Domenech GoulartHi Mario,
Quoted 10 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>--- conf/machine/include/wandboard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/wandboard.inc +0
-0
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 10
Quoted 5 lines
conf/machine/include/wandboard.inc +1
-1@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"
where is the touchscreen interface on the wandboard ?
Eric
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
Hello Eric,
Quoted 14 lines · Eric Bénard
Quoted 11 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>--- conf/machine/include/wandboard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/wandboard.inc +0
-0@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
Quoted 6 lines
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 10
Quoted 4 lines
conf/machine/include/wandboard.inc +1
-1SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"where is the touchscreen interface on the wandboard ?
This allow used with the adapters which provide support for it.
For reference, Future Eletronics provide one:
This is the one we used for testing.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [meta-fsl-arm-extra][PATCH v3 2/2] wandboard.inc: add touchscreen support
Quoted 24 lines · Otavio Salvador
Hello Eric,
Quoted 14 lines · Eric Bénard
Quoted 11 lines · Mario Domenech Goulart
Signed-off-by Mario Domenech Goulart <[email protected]>--- conf/machine/include/wandboard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/wandboard.inc +0
-0@@ -7,4 +7,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"Quoted 6 lines
conf/machine/include/wandboard.inc PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" · line 10
Quoted 4 lines
conf/machine/include/wandboard.inc +1
-1SERIAL_CONSOLE = "115200 ttymxc0" -MACHINE_FEATURES += "pci" +MACHINE_FEATURES += "pci touchscreen"where is the touchscreen interface on the wandboard ?
Quoted 8 lines
This allow used with the adapters which provide support for it.
For reference, Future Eletronics provide one:
This is the one we used for testing.
OK not really a wandboard.inc MACHINE_FEATURE then ;-)
Eric