mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
Compare commits
35 Commits
3afc9728b1
...
rocko
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e4c537d84 | ||
|
|
18ab0e981b | ||
|
|
96ed7489fe | ||
|
|
f1dce2b10a | ||
|
|
064f300928 | ||
|
|
d9e2a38a1f | ||
|
|
9e08912bba | ||
|
|
4bbb925808 | ||
|
|
acfb857227 | ||
|
|
7e53b1c38c | ||
|
|
79bf721f64 | ||
|
|
cc329078a5 | ||
|
|
0bb2038f3d | ||
|
|
d594ecb03c | ||
|
|
bc85503ac4 | ||
|
|
a2d98d9c60 | ||
|
|
2be59f293d | ||
|
|
b23820b4c4 | ||
|
|
aee32ad364 | ||
|
|
6de99b9e11 | ||
|
|
edd29984ae | ||
|
|
6fb15a9473 | ||
|
|
0ef0abc4f9 | ||
|
|
a8108a6793 | ||
|
|
0e5a19dc3d | ||
|
|
20358ec57a | ||
|
|
b58ccfc696 | ||
|
|
4bec6c1c17 | ||
|
|
510009f0c8 | ||
|
|
f7361bcefe | ||
|
|
1215dca0e0 | ||
|
|
b10c29945c | ||
|
|
2323140c2a | ||
|
|
4b13f74d9a | ||
|
|
4152b2c345 |
@@ -10,10 +10,11 @@ Yocto BSP layer for the Raspberry Pi boards - <http://www.raspberrypi.org/>.
|
||||
## Quick links
|
||||
|
||||
* Git repository web frontend:
|
||||
<http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/>
|
||||
<https://github.com/agherzan/meta-raspberrypi>
|
||||
* Mailing list (yocto mailing list): <yocto@yoctoproject.org>
|
||||
* Issues management (Github Issues):
|
||||
<https://github.com/agherzan/meta-raspberrypi/issues>
|
||||
* Documentation: <http://meta-raspberrypi.readthedocs.io/en/rocko/>
|
||||
|
||||
## Description
|
||||
|
||||
@@ -33,12 +34,12 @@ OpenEmbedded/Yocto distributions and layer stacks, such as:
|
||||
This layer depends on:
|
||||
|
||||
* URI: git://git.yoctoproject.org/poky
|
||||
* branch: master
|
||||
* branch: rocko
|
||||
* revision: HEAD
|
||||
|
||||
* URI: git://git.openembedded.org/meta-openembedded
|
||||
* layers: meta-oe, meta-multimedia, meta-networking, meta-python
|
||||
* branch: master
|
||||
* branch: rocko
|
||||
* revision: HEAD
|
||||
|
||||
## Quick Start
|
||||
|
||||
@@ -6,6 +6,7 @@ SOC_FAMILY = "rpi"
|
||||
include conf/machine/include/soc-family.inc
|
||||
|
||||
IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"
|
||||
WKS_FILE ?= "sdimage-raspberrypi.wks"
|
||||
|
||||
XSERVER = " \
|
||||
xserver-xorg \
|
||||
@@ -19,6 +20,7 @@ KERNEL_DEVICETREE ?= " \
|
||||
bcm2708-rpi-b-plus.dtb \
|
||||
bcm2709-rpi-2-b.dtb \
|
||||
bcm2710-rpi-3-b.dtb \
|
||||
bcm2710-rpi-3-b-plus.dtb \
|
||||
bcm2708-rpi-cm.dtb \
|
||||
bcm2710-rpi-cm3.dtb \
|
||||
\
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
#@NAME: RaspberryPi Compute Module 3 (CM3)
|
||||
#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module 3 (CM3)
|
||||
|
||||
MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
|
||||
include conf/machine/raspberrypi2.conf
|
||||
MACHINEOVERRIDES = "raspberrypi3:${MACHINE}"
|
||||
include conf/machine/raspberrypi3.conf
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
MACHINEOVERRIDES = "raspberrypi3:${MACHINE}"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
|
||||
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-raspbian-bcm43430 linux-firmware-raspbian-bcm43455"
|
||||
|
||||
require conf/machine/include/arm/arch-armv8.inc
|
||||
include conf/machine/include/rpi-base.inc
|
||||
|
||||
@@ -6,7 +6,7 @@ DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
|
||||
require conf/machine/include/tune-cortexa7.inc
|
||||
include conf/machine/include/rpi-base.inc
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
|
||||
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-raspbian-bcm43430 linux-firmware-raspbian-bcm43455"
|
||||
|
||||
SDIMG_KERNELIMAGE ?= "kernel7.img"
|
||||
KERNEL_DEFCONFIG ?= "bcm2709_defconfig"
|
||||
|
||||
@@ -58,9 +58,9 @@ author = 'meta-raspberrypi contributors'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = 'master'
|
||||
version = 'rocko'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = 'master'
|
||||
release = 'rocko'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@@ -120,7 +120,7 @@ todo_include_todos = False
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = 'alabaster'
|
||||
# html_theme = 'alabaster'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
* raspberrypi-cm (dummy alias for raspberrypi)
|
||||
* raspberrypi-cm3 (dummy alias for raspberrypi2)
|
||||
|
||||
Note: The raspberrypi3 machines include support for Raspberry Pi 3B+.
|
||||
|
||||
## Images
|
||||
|
||||
* rpi-hwup-image
|
||||
@@ -22,3 +24,17 @@
|
||||
* rpi-test-image
|
||||
* Image based on rpi-basic-image which includes most of the packages in this
|
||||
layer and some media samples.
|
||||
|
||||
For other uses it's recommended to base images on `core-image-minimal` or
|
||||
`core-image-base` as appropriate. The old image names (`rpi-hwup-image` and
|
||||
`rpi-basic-image`) are deprecated.
|
||||
|
||||
## WiFi firmware blobs
|
||||
|
||||
Be aware that the WiFi firmwares for the supported boards are not provided by
|
||||
`linux-firmware` but by a custom recipe which only packages the needed blobs
|
||||
for these boards. This is because the upstream `linux-firmware` doesn't support
|
||||
or has outdated files for the blobs we need. The recipe
|
||||
`linux-firmware-raspbian` is based on a fork of `linux-firmware` which
|
||||
includes everything we need in order to fully support the WiFi hardware. All
|
||||
machines define `MACHINE_EXTRA_RRECOMMENDS` accordingly.
|
||||
|
||||
@@ -31,25 +31,25 @@ do_deploy() {
|
||||
cp ${S}/config.txt ${DEPLOYDIR}/bcm2835-bootfiles/
|
||||
|
||||
if [ -n "${KEY_DECODE_MPG2}" ]; then
|
||||
sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#decode_MPG2=/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${KEY_DECODE_WVC1}" ]; then
|
||||
sed -i '/#decode_WVC1/ c\decode_WVC1=${KEY_DECODE_WVC1}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#decode_WVC1=/ c\decode_WVC1=${KEY_DECODE_WVC1}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${DISABLE_OVERSCAN}" ]; then
|
||||
sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#disable_overscan=/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${ARM_FREQ}" ]; then
|
||||
sed -i '/#arm_freq/ c\arm_freq=${ARM_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#arm_freq=/ c\arm_freq=${ARM_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${CORE_FREQ}" ]; then
|
||||
sed -i '/#core_freq/ c\core_freq=${CORE_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#core_freq=/ c\core_freq=${CORE_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${SDRAM_FREQ}" ]; then
|
||||
sed -i '/#sdram_freq/ c\sdram_freq=${SDRAM_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#sdram_freq=/ c\sdram_freq=${SDRAM_FREQ}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${OVER_VOLTAGE}" ]; then
|
||||
sed -i '/#over_voltage/ c\over_voltage=${OVER_VOLTAGE}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#over_voltage=/ c\over_voltage=${OVER_VOLTAGE}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
|
||||
# GPU memory
|
||||
@@ -57,13 +57,13 @@ do_deploy() {
|
||||
sed -i '/#gpu_mem=/ c\gpu_mem=${GPU_MEM}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${GPU_MEM_256}" ]; then
|
||||
sed -i '/#gpu_mem_256/ c\gpu_mem_256=${GPU_MEM_256}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#gpu_mem_256=/ c\gpu_mem_256=${GPU_MEM_256}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${GPU_MEM_512}" ]; then
|
||||
sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#gpu_mem_512=/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
if [ -n "${GPU_MEM_1024}" ]; then
|
||||
sed -i '/#gpu_mem_1024/ c\gpu_mem_1024=${GPU_MEM_1024}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
sed -i '/#gpu_mem_1024=/ c\gpu_mem_1024=${GPU_MEM_1024}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
|
||||
# Video camera support
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
RPIFW_DATE ?= "20170811"
|
||||
RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz"
|
||||
RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
|
||||
RPIFW_DATE ?= "20180313"
|
||||
SRCREV ?= "af994023ab491420598bfd5648b9dcab956f7e11"
|
||||
RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/${SRCREV}.tar.gz"
|
||||
RPIFW_S ?= "${WORKDIR}/firmware-${SRCREV}"
|
||||
|
||||
SRC_URI = "${RPIFW_SRC_URI}"
|
||||
SRC_URI[md5sum] = "afd09f9a6df14e32b6d832fd9f51d087"
|
||||
SRC_URI[sha256sum] = "a25f6281d64732892a2e838cc2346f1a88505b5c77a57a6540755362ea64043a"
|
||||
SRC_URI[md5sum] = "0c388f3631093368ac92a15a262d0f7c"
|
||||
SRC_URI[sha256sum] = "e2afa23886de586856a1d604da2a85e4559715816dccbd70ae828b840beafc21"
|
||||
|
||||
PV = "${RPIFW_DATE}"
|
||||
|
||||
|
||||
@@ -5,12 +5,10 @@ SECTION = "devel/python"
|
||||
LICENSE = "LGPLv3+"
|
||||
LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a"
|
||||
|
||||
SRCNAME = "RPIO"
|
||||
PYPI_PACKAGE = "RPIO"
|
||||
inherit pypi
|
||||
|
||||
SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \
|
||||
file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch \
|
||||
"
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
SRC_URI += "file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch"
|
||||
|
||||
inherit setuptools
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From f6540119d5b064361ffcb370373794932f97bfdd Mon Sep 17 00:00:00 2001
|
||||
From e45bc677368d0f8d42720aad242f33f6e2687fb1 Mon Sep 17 00:00:00 2001
|
||||
From: Dom Cobley <dc4@broadcom.com>
|
||||
Date: Tue, 9 Jul 2013 09:26:26 -0400
|
||||
Subject: [PATCH 01/13] Allow applications to set next resource handle
|
||||
Subject: [PATCH 01/15] Allow applications to set next resource handle
|
||||
|
||||
This patch adds provisions in userland to
|
||||
let apps callers set the next rendereing dispmanx resource.
|
||||
@@ -204,5 +204,5 @@ index 8a5734c..51b3580 100644
|
||||
|
||||
FN(void, eglIntGetColorData_impl, (EGL_SURFACE_ID_T s, KHRN_IMAGE_FORMAT_T format, uint32_t width, uint32_t height, int32_t stride, uint32_t y_offset, void *data))
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 61a9d792ed774af43e592aa8fdb2a18488696d0f Mon Sep 17 00:00:00 2001
|
||||
From 15fb270f438f4ef1413192b5ce1e0dc784b45d9e Mon Sep 17 00:00:00 2001
|
||||
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
|
||||
Date: Tue, 1 Oct 2013 13:19:20 +0200
|
||||
Subject: [PATCH 02/13] wayland: Add support for the Wayland winsys
|
||||
Subject: [PATCH 02/15] wayland: Add support for the Wayland winsys
|
||||
|
||||
* Adds EGL_WL_bind_wayland_display extension
|
||||
* Adds wayland-egl library
|
||||
@@ -17,7 +17,7 @@ TODO: wl_dispmanx_server_buffer should probably be defined in a
|
||||
private header that can be included from EGL and vc_* instead of in
|
||||
vc_vchi_dispmanx.h
|
||||
---
|
||||
.gitignore | 2 +
|
||||
.gitignore | 1 +
|
||||
CMakeLists.txt | 11 +
|
||||
README.md | 4 +
|
||||
buildme | 10 +-
|
||||
@@ -47,7 +47,7 @@ vc_vchi_dispmanx.h
|
||||
interface/vmcs_host/vc_vchi_dispmanx.h | 15 ++
|
||||
interface/wayland/dispmanx.xml | 123 +++++++++++
|
||||
makefiles/cmake/Wayland.cmake | 72 ++++++
|
||||
30 files changed, 1258 insertions(+), 98 deletions(-)
|
||||
30 files changed, 1257 insertions(+), 98 deletions(-)
|
||||
create mode 100644 interface/khronos/common/linux/khrn_wayland.c
|
||||
copy interface/{vmcs_host/vc_vchi_dispmanx.h => khronos/common/linux/khrn_wayland.h} (56%)
|
||||
create mode 100644 interface/khronos/ext/egl_wayland.c
|
||||
@@ -58,14 +58,13 @@ vc_vchi_dispmanx.h
|
||||
create mode 100644 makefiles/cmake/Wayland.cmake
|
||||
|
||||
diff --git a/.gitignore b/.gitignore
|
||||
index 4a88665..5da71a9 100644
|
||||
index 63570f1..1459436 100644
|
||||
--- a/.gitignore
|
||||
+++ b/.gitignore
|
||||
@@ -13,3 +13,5 @@ build/
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
+
|
||||
@@ -30,3 +30,4 @@ build/
|
||||
*.pts
|
||||
*.ppm
|
||||
*.mkv
|
||||
+*~
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cfc8ae5..673a5ad 100644
|
||||
@@ -808,16 +807,16 @@ index b8bb374..03fe67b 100644
|
||||
/*
|
||||
TODO: do an RPC call to make sure the Khronos vll is loaded (and that it stays loaded until eglTerminate)
|
||||
Also affects global image (and possibly others?)
|
||||
@@ -451,6 +444,9 @@ EGLAPI const char EGLAPIENTRY * eglQueryString(EGLDisplay dpy, EGLint name)
|
||||
@@ -450,6 +443,9 @@ EGLAPI const char EGLAPIENTRY * eglQueryString(EGLDisplay dpy, EGLint name)
|
||||
#ifdef EGL_KHR_fence_sync
|
||||
"EGL_KHR_fence_sync "
|
||||
#endif
|
||||
#endif
|
||||
+#endif
|
||||
+#if EGL_WL_bind_wayland_display
|
||||
+ "EGL_WL_bind_wayland_display "
|
||||
+#endif
|
||||
#endif
|
||||
;
|
||||
break;
|
||||
case EGL_VENDOR:
|
||||
@@ -655,8 +651,7 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig c
|
||||
false,
|
||||
EGL_NO_TEXTURE,
|
||||
@@ -1885,5 +1884,5 @@ index 0000000..ad90d30
|
||||
+ set(${_sources} ${${_sources}} PARENT_SCOPE)
|
||||
+endfunction()
|
||||
--
|
||||
2.12.2
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 08679675740d92f022e0fd46207a42589c9f6c51 Mon Sep 17 00:00:00 2001
|
||||
From b0437cf318a26c62119ad60649430903f58bbab4 Mon Sep 17 00:00:00 2001
|
||||
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
|
||||
Date: Tue, 1 Oct 2013 13:19:20 +0200
|
||||
Subject: [PATCH 03/13] wayland: Add Wayland example
|
||||
Subject: [PATCH 03/15] wayland: Add Wayland example
|
||||
|
||||
---
|
||||
.../linux/apps/hello_pi/CMakeLists.txt | 1 +
|
||||
@@ -862,5 +862,5 @@ index 8225dd5..0be6ce7 100755
|
||||
make -C libs/ilclient
|
||||
make -C libs/vgfont
|
||||
@@ -31,4 +32,4 @@ make -C hello_videocube
|
||||
make -C hello_teapot
|
||||
make -C hello_teapot
|
||||
make -C hello_fft
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From eb9d0eb386b9b3df519a299887b45962c03e732c Mon Sep 17 00:00:00 2001
|
||||
From cae4ff834eef23c8f23126ba4d630db395f13aee Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 10 Aug 2015 02:38:27 -0700
|
||||
Subject: [PATCH 04/13] wayland-egl: Add bcm_host to dependencies
|
||||
Subject: [PATCH 04/15] wayland-egl: Add bcm_host to dependencies
|
||||
|
||||
It uses headers like vcos_platform_types.h but does not
|
||||
depend on module which should add the required include paths
|
||||
@@ -24,5 +24,5 @@ index 8bafc15..fd259c9 100644
|
||||
Libs: -L${libdir} -lwayland-egl
|
||||
Cflags: -I${includedir}
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From ef3162e061a3231fbf836208f98c38c7c5581a9e Mon Sep 17 00:00:00 2001
|
||||
From 8ee4f6eedb81e9bfe0e603a21606c52f9501e609 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sat, 24 Jan 2015 22:07:19 +0100
|
||||
Subject: [PATCH 05/13] interface: remove faulty assert() to make weston happy
|
||||
Subject: [PATCH 05/15] interface: remove faulty assert() to make weston happy
|
||||
at runtime
|
||||
|
||||
This was removed after a discussion on IRC with the weston guys
|
||||
@@ -13,7 +13,7 @@ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c
|
||||
index 45f4cff..5d0368c 100755
|
||||
index eab146e..29e0dee 100755
|
||||
--- a/interface/vmcs_host/vc_vchi_dispmanx.c
|
||||
+++ b/interface/vmcs_host/vc_vchi_dispmanx.c
|
||||
@@ -1306,7 +1306,6 @@ static void *dispmanx_notify_func( void *arg ) {
|
||||
@@ -25,5 +25,5 @@ index 45f4cff..5d0368c 100755
|
||||
}
|
||||
} else {
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 846e9271cf6a264e7e1f4e33be64df990ff39a74 Mon Sep 17 00:00:00 2001
|
||||
From 789b0b0c04b741c21dd573b78eded970721d14c2 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:10:47 -0800
|
||||
Subject: [PATCH 06/13] zero-out wl buffers in egl_surface_free
|
||||
Subject: [PATCH 06/15] zero-out wl buffers in egl_surface_free
|
||||
|
||||
origins from buildroot
|
||||
|
||||
@@ -29,5 +29,5 @@ index 42350bf..1f923d9 100644
|
||||
#endif
|
||||
}
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 15510fdf1c753c967b509046616b1e1a11b5b772 Mon Sep 17 00:00:00 2001
|
||||
From 762dd3156775f167ff0dfd44322dbb19a85822a7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:11:41 -0800
|
||||
Subject: [PATCH 07/13] initialize front back wayland buffers
|
||||
Subject: [PATCH 07/15] initialize front back wayland buffers
|
||||
|
||||
origins from metrological wayland support
|
||||
|
||||
@@ -30,5 +30,5 @@ index 1f923d9..9a9582c 100644
|
||||
}
|
||||
#endif
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 1df080ab9528b82321cf87d71927314294ef7121 Mon Sep 17 00:00:00 2001
|
||||
From f8929adbf95ad3d44491cf6fc8a84a686b71193e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:09:18 -0800
|
||||
Subject: [PATCH 08/13] Remove RPC_FLUSH
|
||||
Subject: [PATCH 08/15] Remove RPC_FLUSH
|
||||
|
||||
Origins from buildroot
|
||||
|
||||
@@ -23,5 +23,5 @@ index f9b7287..b04ffef 100644
|
||||
}
|
||||
#endif
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 11842307cc0e32bac6ef7622e7791ca7a0e9fa61 Mon Sep 17 00:00:00 2001
|
||||
From f53e028f33f261f85883c9168977dd5486e9b47c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 13:12:47 -0800
|
||||
Subject: [PATCH 09/13] fix cmake dependency race
|
||||
Subject: [PATCH 09/15] fix cmake dependency race
|
||||
|
||||
Fixes errors like
|
||||
|
||||
@@ -74,5 +74,5 @@ index f0bae30..8c44c58 100644
|
||||
struct wl_resource *resource;
|
||||
struct wl_dispmanx *dispmanx;
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 532dc7dc11877a9dae0f3d101c9bfdacc50840ca Mon Sep 17 00:00:00 2001
|
||||
From 6559a57c66c5f55571a1aa29cf14d9130a9ef2c9 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 29 Mar 2016 20:38:30 -0700
|
||||
Subject: [PATCH 10/13] Fix for framerate with nested composition
|
||||
Subject: [PATCH 10/15] Fix for framerate with nested composition
|
||||
|
||||
frame rate appears irregular and lower than expected when using nested composition.
|
||||
|
||||
@@ -56,5 +56,5 @@ index 03fe67b..13a110c 100644
|
||||
#ifdef ANDROID
|
||||
CLIENT_UNLOCK();
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 37ff90075102407d3abb3899b8c6ef64f6230207 Mon Sep 17 00:00:00 2001
|
||||
From 3e396f0b514f3acf90c02f5d55b3816028367a55 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 2 Apr 2016 10:37:24 -0700
|
||||
Subject: [PATCH 11/13] build shared library for vchostif
|
||||
Subject: [PATCH 11/15] build shared library for vchostif
|
||||
|
||||
Fixes #149
|
||||
|
||||
@@ -24,5 +24,5 @@ index c415176..d0cca1a 100755
|
||||
#add_library(bufman vc_vchi_bufman.c )
|
||||
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From ce130bff946c3b78fc4dbbf98d9b16b5152f2e85 Mon Sep 17 00:00:00 2001
|
||||
From f5b2263c8d65e307cb085414e08118cbbe00a94c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 2 Apr 2016 10:54:59 -0700
|
||||
Subject: [PATCH 12/13] implement buffer wrapping interface for dispmanx
|
||||
Subject: [PATCH 12/15] implement buffer wrapping interface for dispmanx
|
||||
|
||||
Courtesy: Zan Dobersek
|
||||
|
||||
@@ -88,5 +88,5 @@ index c18626d..11ed1ef 100644
|
||||
|
||||
</protocol>
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 14d915a63a4e69290966543ce12edd615bfa9a25 Mon Sep 17 00:00:00 2001
|
||||
From 10ba55489002c2ccdf96d221301ec059c4574811 Mon Sep 17 00:00:00 2001
|
||||
From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com>
|
||||
Date: Thu, 19 Jan 2017 18:56:07 +0000
|
||||
Subject: [PATCH 13/13] Implement triple buffering for wayland
|
||||
Subject: [PATCH 13/15] Implement triple buffering for wayland
|
||||
|
||||
Change from double to triple buffering for wayland.
|
||||
This enables higher frame rates without tearing artifacts
|
||||
@@ -67,10 +67,11 @@ diff --git a/interface/khronos/egl/egl_client_surface.h b/interface/khronos/egl/
|
||||
index e328b77..58a3184 100644
|
||||
--- a/interface/khronos/egl/egl_client_surface.h
|
||||
+++ b/interface/khronos/egl/egl_client_surface.h
|
||||
@@ -313,6 +313,17 @@ typedef struct {
|
||||
@@ -312,6 +312,17 @@ typedef struct {
|
||||
*/
|
||||
struct wl_dispmanx_client_buffer *front_wl_buffer;
|
||||
|
||||
/*
|
||||
+ /*
|
||||
+ middle_wl_buffer
|
||||
+
|
||||
+ Validity:
|
||||
@@ -81,10 +82,9 @@ index e328b77..58a3184 100644
|
||||
+ */
|
||||
+ struct wl_dispmanx_client_buffer *middle_wl_buffer;
|
||||
+
|
||||
+ /*
|
||||
/*
|
||||
back_wl_buffer
|
||||
|
||||
Validity:
|
||||
--
|
||||
2.12.0
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 55a66f56a14eb8c3ae8294860e49efc9c9598c46 Mon Sep 17 00:00:00 2001
|
||||
From d750c738b5c23bba24531cb713292e4ab3f2ec56 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 10 May 2017 06:39:34 +0000
|
||||
Subject: [PATCH] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT
|
||||
Subject: [PATCH 14/15] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT
|
||||
|
||||
weston code uses these defines
|
||||
Upstream-Status: Pending
|
||||
@@ -26,5 +26,5 @@ index 4eacf7f..283e3e1 100644
|
||||
#ifndef GL_EXT_texture_type_2_10_10_10_REV
|
||||
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
|
||||
--
|
||||
1.9.1
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 382e3b16cbcc09d825540d5bd3e45a2fca4484fe Mon Sep 17 00:00:00 2001
|
||||
From 827907f2223df93918e680101a1ac6228ba0f07e Mon Sep 17 00:00:00 2001
|
||||
From: Andrea Galbusera <gizero@gmail.com>
|
||||
Date: Fri, 14 Jul 2017 09:52:54 +0200
|
||||
Subject: [PATCH] EGL/glplatform.h: define EGL_CAST
|
||||
Subject: [PATCH 15/15] EGL/glplatform.h: define EGL_CAST
|
||||
|
||||
C++ / C typecast macros for special EGL handle values: used by libepoxy code
|
||||
The definition comes from the updated version of this header in mesa.
|
||||
@@ -28,5 +28,5 @@ index 1f7c930..c39d425 100644
|
||||
+
|
||||
#endif /* __eglplatform_h */
|
||||
--
|
||||
2.7.4
|
||||
2.15.0
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@ PR = "r5"
|
||||
PROVIDES = "virtual/libgles2 \
|
||||
virtual/egl"
|
||||
|
||||
RPROVIDES_${PN} += "libgles2 egl"
|
||||
RPROVIDES_${PN} += "libgles2 egl libegl"
|
||||
|
||||
COMPATIBLE_MACHINE = "^rpi$"
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCFORK = "raspberrypi"
|
||||
SRCREV = "3caf0cd4a61f46b71eff49422c36e1cd2727ab45"
|
||||
SRCREV = "bc3c52a51315399a9f31ed24049eb4bc81fd1c60"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
|
||||
|
||||
@@ -4,7 +4,9 @@ EXTRA_OECONF_append_rpi = " \
|
||||
--disable-xwayland-test \
|
||||
--disable-simple-egl-clients \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' \
|
||||
--enable-rpi-compositor \
|
||||
--disable-resize-optimization \
|
||||
--disable-setuid-install \
|
||||
WESTON_NATIVE_BACKEND=rpi-backend.so \
|
||||
', d)} \
|
||||
"
|
||||
|
||||
Binary file not shown.
@@ -1,59 +0,0 @@
|
||||
# NVRAM file for BCM943430WLSELG
|
||||
# 2.4 GHz, 20 MHz BW mode
|
||||
|
||||
# The following parameter values are just placeholders, need to be updated.
|
||||
manfid=0x2d0
|
||||
prodid=0x0726
|
||||
vendid=0x14e4
|
||||
devid=0x43e2
|
||||
boardtype=0x0726
|
||||
boardrev=0x1202
|
||||
boardnum=22
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
sromrev=11
|
||||
boardflags=0x00404201
|
||||
boardflags3=0x08000000
|
||||
xtalfreq=37400
|
||||
#xtalfreq=19200
|
||||
nocrc=1
|
||||
ag0=255
|
||||
aa2g=1
|
||||
ccode=ALL
|
||||
|
||||
pa0itssit=0x20
|
||||
extpagain2g=0
|
||||
|
||||
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
|
||||
pa2ga0=-168,7161,-820
|
||||
AvVmid_c0=0x0,0xc8
|
||||
cckpwroffset0=5
|
||||
|
||||
# PPR params
|
||||
maxp2ga0=84
|
||||
txpwrbckof=6
|
||||
cckbw202gpo=0
|
||||
legofdmbw202gpo=0x66111111
|
||||
mcsbw202gpo=0x77711111
|
||||
propbw202gpo=0xdd
|
||||
|
||||
# OFDM IIR :
|
||||
ofdmdigfilttype=18
|
||||
ofdmdigfilttypebe=18
|
||||
# PAPD mode:
|
||||
papdmode=1
|
||||
papdvalidtest=1
|
||||
pacalidx2g=32
|
||||
papdepsoffset=-36
|
||||
papdendidx=61
|
||||
|
||||
il0macaddr=00:90:4c:c5:12:38
|
||||
wl0id=0x431b
|
||||
|
||||
deadman_to=0xffffffff
|
||||
# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
|
||||
muxenab=0x1
|
||||
# CLDO PWM voltage settings - 0x4 - 1.1 volt
|
||||
#cldo_pwm=0x4
|
||||
|
||||
#VCO freq 326.4MHz
|
||||
spurconfig=0x3
|
||||
53
recipes-kernel/linux-firmware/linux-firmware-raspbian.bb
Normal file
53
recipes-kernel/linux-firmware/linux-firmware-raspbian.bb
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY = "Firmware files for use with Linux kernel"
|
||||
SECTION = "kernel"
|
||||
|
||||
LICENSE = "Firmware-broadcom_bcm43xx"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc"
|
||||
|
||||
# These are not common licenses, set NO_GENERIC_LICENSE for them
|
||||
# so that the license files will be copied from fetched source
|
||||
NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
|
||||
|
||||
SRCREV = "86e88fbf0345da49555d0ec34c80b4fbae7d0cd3"
|
||||
PV = "0.0+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
|
||||
|
||||
UPSTREAM_VERSION_UNKNOWN = "1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit allarch
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/brcm
|
||||
cp ./LICENCE.broadcom_bcm43xx ${D}${nonarch_base_libdir}/firmware
|
||||
cp -r ./brcm/brcmfmac43430* ${D}${nonarch_base_libdir}/firmware/brcm
|
||||
cp -r ./brcm/brcmfmac43455* ${D}${nonarch_base_libdir}/firmware/brcm
|
||||
}
|
||||
|
||||
PACKAGES = " \
|
||||
${PN}-broadcom-license \
|
||||
${PN}-bcm43430 \
|
||||
${PN}-bcm43455 \
|
||||
"
|
||||
|
||||
LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx"
|
||||
LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
|
||||
LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
|
||||
FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
|
||||
FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*"
|
||||
FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*"
|
||||
RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
|
||||
RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
|
||||
|
||||
# Firmware files are generally not ran on the CPU, so they can be
|
||||
# allarch despite being architecture specific
|
||||
INSANE_SKIP = "arch"
|
||||
@@ -1,26 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += " \
|
||||
file://brcmfmac43430-sdio.bin \
|
||||
file://brcmfmac43430-sdio.txt \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
# Overwrite v7.45.41.26 by the one we currently provide in this layer
|
||||
# (v7.45.41.46)
|
||||
local _firmware="brcmfmac43430-sdio.bin"
|
||||
local _oldmd5=9258986488eca9fe5343b0d6fe040f8e
|
||||
if [ "$(md5sum ${D}/lib/firmware/brcm/$_firmware | awk '{print $1}')" != "$_oldmd5" ]; then
|
||||
_firmware=""
|
||||
bbwarn "linux-firmware stopped providing brcmfmac43430 v7.45.41.26."
|
||||
else
|
||||
_firmware="${WORKDIR}/$_firmware"
|
||||
fi
|
||||
|
||||
mkdir -p ${D}/lib/firmware/brcm
|
||||
install -m 0644 $_firmware ${WORKDIR}/brcmfmac43430-sdio.txt ${D}/lib/firmware/brcm
|
||||
}
|
||||
|
||||
FILES_${PN}-bcm43430 += " \
|
||||
/lib/firmware/brcm/brcmfmac43430-sdio.txt \
|
||||
"
|
||||
@@ -1,8 +1,8 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
|
||||
|
||||
LINUX_VERSION ?= "4.9.50"
|
||||
LINUX_VERSION ?= "4.9.80"
|
||||
|
||||
SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a"
|
||||
SRCREV = "7f9c648dad6473469b4133898fa6bb8d818ecff9"
|
||||
SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y"
|
||||
|
||||
require linux-raspberrypi.inc
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
EXTRA_OECONF_append_raspberrypi = " --disable-asm"
|
||||
EXTRA_OECONF_append_raspberrypi0-wifi = " --disable-asm"
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# long-description: Creates a partitioned SD card image for use with
|
||||
# Raspberry Pi. Boot files are located in the first vfat partition.
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 20
|
||||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 20
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096
|
||||
|
||||
Reference in New Issue
Block a user