summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTuomas Heimonen <tuomas.heimonen@theqtcompany.com>2016-04-08 14:43:42 +0300
committerTuomas Heimonen <tuomas.heimonen@theqtcompany.com>2016-04-08 13:01:25 +0000
commit579d003d7696ea399b839e430bd8a976d9bb6f66 (patch)
treee4975904f9e678e0dd38916ccb7c80e1b24469e2 /conf
parent2848919526f575d9eaaccf19d4bfaa4a0f4043c2 (diff)
downloadmeta-boot2qt-579d003d7696ea399b839e430bd8a976d9bb6f66.tar.gz
Raspberry Pi conf split
Change-Id: I556a0b35ff21edc6bec1897dd1c769012058df6b Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/raspberrypi.conf26
-rw-r--r--conf/distro/include/raspberrypi.inc50
-rw-r--r--conf/distro/include/raspberrypi2.conf28
-rw-r--r--conf/distro/include/raspberrypi3.conf33
4 files changed, 56 insertions, 81 deletions
diff --git a/conf/distro/include/raspberrypi.conf b/conf/distro/include/raspberrypi.conf
index a9e4b20..5f80c38 100644
--- a/conf/distro/include/raspberrypi.conf
+++ b/conf/distro/include/raspberrypi.conf
@@ -19,33 +19,11 @@
19## 19##
20############################################################################## 20##############################################################################
21 21
22DEPLOY_CONF_NAME = "Raspberry Pi" 22include conf/distro/include/raspberrypi.inc
23
24IMAGE_FSTYPES += "ext3 rpi-sdimg"
25 23
26BOOTFS_CONTENT = "\ 24DEPLOY_CONF_NAME = "Raspberry Pi"
27 bcm2835-bootfiles/*: \
28 ${KERNEL_IMAGETYPE}:kernel.img \
29 "
30BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy"
31
32PREFERRED_PROVIDER_virtual/libgles1 = "userland"
33 25
34DISTRO_FEATURES_remove = "webengine" 26DISTRO_FEATURES_remove = "webengine"
35 27
36MACHINE_EXTRA_INSTALL = "\
37 userland \
38 "
39
40MACHINE_EXTRA_INSTALL_SDK = " \
41 userland-dev \
42 "
43
44KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2"
45KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
46module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
47
48# additional memory for GPU 28# additional memory for GPU
49GPU_MEM = "128" 29GPU_MEM = "128"
50# video camera support
51VIDEO_CAMERA = "1"
diff --git a/conf/distro/include/raspberrypi.inc b/conf/distro/include/raspberrypi.inc
new file mode 100644
index 0000000..49d152e
--- /dev/null
+++ b/conf/distro/include/raspberrypi.inc
@@ -0,0 +1,50 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22IMAGE_FSTYPES += "ext3 rpi-sdimg"
23
24BOOTFS_CONTENT = "\
25 bcm2835-bootfiles/*: \
26 ${KERNEL_IMAGETYPE}:kernel.img \
27 "
28
29BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy"
30
31MACHINE_EXTRA_INSTALL_SDK = " \
32 userland-dev \
33 "
34
35MACHINE_EXTRA_INSTALL = "\
36 userland \
37 omxplayer \
38 "
39
40KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2"
41KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
42module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
43
44# video camera support
45VIDEO_CAMERA = "1"
46
47RPI_FT5604 = "1"
48KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb"
49MACHINE_FEATURES += "pitft"
50
diff --git a/conf/distro/include/raspberrypi2.conf b/conf/distro/include/raspberrypi2.conf
index 040ea9b..e90eeae 100644
--- a/conf/distro/include/raspberrypi2.conf
+++ b/conf/distro/include/raspberrypi2.conf
@@ -19,34 +19,10 @@
19## 19##
20############################################################################## 20##############################################################################
21 21
22DEPLOY_CONF_NAME = "Raspberry Pi 2" 22include conf/distro/include/raspberrypi.inc
23
24IMAGE_FSTYPES += "ext3 rpi-sdimg"
25
26BOOTFS_CONTENT = "\
27 bcm2835-bootfiles/*: \
28 ${KERNEL_IMAGETYPE}:kernel.img \
29 "
30BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy"
31 23
32MACHINE_EXTRA_INSTALL = "\ 24DEPLOY_CONF_NAME = "Raspberry Pi 2"
33 userland \
34 omxplayer \
35 "
36
37MACHINE_EXTRA_INSTALL_SDK = " \
38 userland \
39 "
40
41KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2"
42KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
43module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
44 25
45# additional memory for GPU 26# additional memory for GPU
46GPU_MEM = "256" 27GPU_MEM = "256"
47# video camera support
48VIDEO_CAMERA = "1"
49RPI_FT5604 = "1"
50 28
51KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb"
52MACHINE_FEATURES += "pitft"
diff --git a/conf/distro/include/raspberrypi3.conf b/conf/distro/include/raspberrypi3.conf
index ee9a9e0..aa76ac5 100644
--- a/conf/distro/include/raspberrypi3.conf
+++ b/conf/distro/include/raspberrypi3.conf
@@ -19,39 +19,10 @@
19## 19##
20############################################################################## 20##############################################################################
21 21
22DEPLOY_CONF_NAME = "Raspberry Pi 3" 22include conf/distro/include/raspberrypi.inc
23
24IMAGE_FSTYPES += "ext3 rpi-sdimg"
25
26BOOTFS_CONTENT = "\
27 bcm2835-bootfiles/*: \
28 ${KERNEL_IMAGETYPE}:kernel.img \
29 "
30BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy"
31
32MACHINE_EXTRA_INSTALL = "\
33 userland \
34 omxplayer \
35 "
36
37MACHINE_EXTRA_INSTALL_SDK = " \
38 userland \
39 "
40 23
41KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" 24DEPLOY_CONF_NAME = "Raspberry Pi 3"
42KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
43module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
44 25
45# additional memory for GPU 26# additional memory for GPU
46GPU_MEM = "256" 27GPU_MEM = "256"
47# video camera support
48VIDEO_CAMERA = "1"
49RPI_FT5604 = "1"
50
51KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb"
52MACHINE_FEATURES += "pitft"
53
54# MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
55
56MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430"
57 28