Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accelerated graphics on Raspberry Pi 4 #476

Merged
merged 4 commits into from
Aug 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/machine/raspberrypi4-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ KERNEL_IMAGETYPE_UBOOT ?= "Image"
KERNEL_IMAGETYPE_DIRECT ?= "Image"
KERNEL_BOOTCMD ?= "booti"

RPI_EXTRA_CONFIG ?= "\n# Force arm in 64bit mode. See: https://github.com/raspberrypi/firmware/issues/1193.\narm_64bit=1\n\n# Limit RAM to 3G. See: https://github.com/raspberrypi/linux/issues/3093\ntotal_mem=3072"
RPI_EXTRA_CONFIG ?= "\n# Force arm in 64bit mode. See: https://github.com/raspberrypi/firmware/issues/1193.\narm_64bit=1"

ARMSTUB ?= "armstub8-gic.bin"
8 changes: 4 additions & 4 deletions recipes-bsp/common/raspberrypi-firmware.inc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
RPIFW_DATE ?= "20190709"
SRCREV ?= "356f5c2880a3c7e8774025aa6fc934a617553e7b"
RPIFW_DATE ?= "20190718"
SRCREV ?= "d36bde339b067bf13b610fd9741d6351c1dafc38"
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] = "5962784e7963f0116cd1519e47749b25"
SRC_URI[sha256sum] = "6e07d98e4229ba7a1970a4c475fc6b8631823d200d3b8734a508e7ff5ea4c120"
SRC_URI[md5sum] = "273fe147e3edc92ce38a0ff6bf49e3b9"
SRC_URI[sha256sum] = "f266df66ce92e7726e894c0c870f0d8e7257434f102ba77bd60640970b689aa3"

PV = "${RPIFW_DATE}"
2 changes: 1 addition & 1 deletion recipes-graphics/mesa/mesa_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
# in case oe-core changes this default, we set dri3 explicitly.
PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
GALLIUMDRIVERS_append_rpi = ",vc4"
GALLIUMDRIVERS_append_rpi = ",vc4,v3d,kmsro"
DRIDRIVERS_rpi = ""
4 changes: 2 additions & 2 deletions recipes-kernel/linux/linux-raspberrypi_4.19.bb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"

LINUX_VERSION ?= "4.19.58"
LINUX_VERSION ?= "4.19.66"
LINUX_RPI_BRANCH ?= "rpi-4.19.y"

SRCREV = "d5dc848c982dff2e020f294e384447efe6ea6617"
SRCREV = "fc5826fb999e0b32900d1f487e90c27a92010214"
SRC_URI = " \
git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINUX_RPI_BRANCH} \
"
Expand Down