rpi-default-versions.inc: Use fallback weak assignment
PATCH 1/3 rpi-default-versions.inc: Use fallback weak assignment
This lets machines use ?= to choose their preferred kernel e.g. 64bit rpi3 needs 4.9 minimum but default right now is 4.4
At the same time it keeps the option for user to override any of these settings via config metadata e.g. local.conf
Signed-off-by Khem Raj <[email protected]>
--- conf/machine/include/rpi-default-versions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rpi-default-versions.inc +1 -1
@@ -1,3 +1,3 @@ # RaspberryPi BSP default versions -PREFERRED_VERSION_linux-raspberrypi ?= "4.4.%" +PREFERRED_VERSION_linux-raspberrypi ??= "4.4.%"
Signature · 1 line
2.11.1
PATCH 2/3 raspberrypi3-64.conf: Add vc4graphics to MACHINE_FEATURES
Userland wont work in 64bit mode
Signed-off-by Khem Raj <[email protected]>
--- conf/machine/raspberrypi3-64.conf | 1 + 1 file changed, 1 insertion(+)
conf/machine/raspberrypi3-64.conf +1 -0
@@ -36,5 +36,6 @@ SERIAL_CONSOLE = "115200 ttyS0" VC4_CMA_SIZE ?= "cma-256" UBOOT_MACHINE = "rpi_3_config" +MACHINE_FEATURES_append = " vc4graphics" PREFERRED_VERSION_linux-raspberrypi ?= "4.9.%"
Signature · 1 line
2.11.1
PATCH 3/3 linux-raspberrypi_dev: Fix build on rpi3 64bit
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- recipes-kernel/linux/linux-raspberrypi_dev.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-raspberrypi_dev.bb +2 -1
@@ -1,8 +1,9 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:" LINUX_VERSION ?= "4.10.0-rc7" SRCREV = "28439f3b9b1de5c3b5ccf04fc359730fc8cd0646" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.10.y \ + file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \ " require linux-raspberrypi.inc
Signature · 1 line
2.11.1