diff options
-rwxr-xr-x | b2qt-init-build-env | 2 | ||||
-rw-r--r-- | conf/distro/include/raspberrypi3.conf | 57 | ||||
-rw-r--r-- | scripts/manifest.xml | 2 | ||||
-rwxr-xr-x | scripts/setup-environment.sh | 2 |
4 files changed, 60 insertions, 3 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 10a20c9..6d2edcf 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -110,7 +110,7 @@ get_groups() { | |||
110 | beaglebone) | 110 | beaglebone) |
111 | PROJECT_GROUPS="bbb" | 111 | PROJECT_GROUPS="bbb" |
112 | ;; | 112 | ;; |
113 | raspberrypi|raspberrypi2) | 113 | raspberrypi|raspberrypi2|raspberrypi3) |
114 | PROJECT_GROUPS="rpi" | 114 | PROJECT_GROUPS="rpi" |
115 | ;; | 115 | ;; |
116 | nuc) | 116 | nuc) |
diff --git a/conf/distro/include/raspberrypi3.conf b/conf/distro/include/raspberrypi3.conf new file mode 100644 index 0000000..ee9a9e0 --- /dev/null +++ b/conf/distro/include/raspberrypi3.conf | |||
@@ -0,0 +1,57 @@ | |||
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 | |||
22 | DEPLOY_CONF_NAME = "Raspberry Pi 3" | ||
23 | |||
24 | IMAGE_FSTYPES += "ext3 rpi-sdimg" | ||
25 | |||
26 | BOOTFS_CONTENT = "\ | ||
27 | bcm2835-bootfiles/*: \ | ||
28 | ${KERNEL_IMAGETYPE}:kernel.img \ | ||
29 | " | ||
30 | BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy" | ||
31 | |||
32 | MACHINE_EXTRA_INSTALL = "\ | ||
33 | userland \ | ||
34 | omxplayer \ | ||
35 | " | ||
36 | |||
37 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
38 | userland \ | ||
39 | " | ||
40 | |||
41 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" | ||
42 | KERNEL_MODULE_PROBECONF += "bcm2835-v4l2" | ||
43 | module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1" | ||
44 | |||
45 | # additional memory for GPU | ||
46 | GPU_MEM = "256" | ||
47 | # video camera support | ||
48 | VIDEO_CAMERA = "1" | ||
49 | RPI_FT5604 = "1" | ||
50 | |||
51 | KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb" | ||
52 | MACHINE_FEATURES += "pitft" | ||
53 | |||
54 | # MACHINEOVERRIDES = "raspberrypi2:${MACHINE}" | ||
55 | |||
56 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430" | ||
57 | |||
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 5ba0e81..9d1cf6b 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -45,7 +45,7 @@ | |||
45 | groups="notdefault,ti,bbb"/> | 45 | groups="notdefault,ti,bbb"/> |
46 | <project name="meta-raspberrypi" | 46 | <project name="meta-raspberrypi" |
47 | remote="yocto" | 47 | remote="yocto" |
48 | revision="a42a1706de91ed03ae8798c7f9e70c30cebcf7de" | 48 | revision="e82417d33b8147f65141ef937d56735d80ee7207" |
49 | path="sources/meta-raspberrypi" | 49 | path="sources/meta-raspberrypi" |
50 | groups="notdefault,rpi"/> | 50 | groups="notdefault,rpi"/> |
51 | <project name="meta-fsl-arm-extra" | 51 | <project name="meta-fsl-arm-extra" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index b25a4cc..c3b229c 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -66,7 +66,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
66 | beaglebone) | 66 | beaglebone) |
67 | LAYERSCONF="bblayers.conf.bbb.sample" | 67 | LAYERSCONF="bblayers.conf.bbb.sample" |
68 | ;; | 68 | ;; |
69 | raspberrypi|raspberrypi2) | 69 | raspberrypi|raspberrypi2|raspberrypi3) |
70 | LAYERSCONF="bblayers.conf.rpi.sample" | 70 | LAYERSCONF="bblayers.conf.rpi.sample" |
71 | ;; | 71 | ;; |
72 | nuc) | 72 | nuc) |