diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 42753d686..65545dcd9 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -36,6 +36,7 @@ KERNEL_INITRAMFS ?= "" SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img" SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img" SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img" +SDIMG_KERNELIMAGE_raspberrypi-cm3-64 ?= "kernel8.img" # Boot partition volume id BOOTDD_VOLUME_ID ?= "${MACHINE}" diff --git a/conf/machine/raspberrypi-cm3-64.conf b/conf/machine/raspberrypi-cm3-64.conf new file mode 100644 index 000000000..7080f7691 --- /dev/null +++ b/conf/machine/raspberrypi-cm3-64.conf @@ -0,0 +1,41 @@ +#@TYPE: Machine +#@NAME: RaspberryPi 3 Development Board +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode + +MACHINEOVERRIDES = "raspberrypi2:${MACHINE}" + +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430" + +require conf/machine/include/arm/arch-armv8.inc +include conf/machine/include/rpi-base.inc + +KERNEL_DEVICETREE = " \ + broadcom/bcm2837-rpi-cm3.dtb \ + \ + overlays/hifiberry-amp.dtbo \ + overlays/hifiberry-dac.dtbo \ + overlays/hifiberry-dacplus.dtbo \ + overlays/hifiberry-digi.dtbo \ + overlays/i2c-rtc.dtbo \ + overlays/iqaudio-dac.dtbo \ + overlays/iqaudio-dacplus.dtbo \ + overlays/lirc-rpi.dtbo \ + overlays/pitft22.dtbo \ + overlays/pitft28-resistive.dtbo \ + overlays/pitft35-resistive.dtbo \ + overlays/pps-gpio.dtbo \ + overlays/rpi-ft5406.dtbo \ + overlays/w1-gpio.dtbo \ + overlays/w1-gpio-pullup.dtbo \ + overlays/pi3-disable-bt.dtbo \ + overlays/pi3-miniuart-bt.dtbo \ + overlays/vc4-kms-v3d.dtbo \ + overlays/vc4-fkms-v3d.dtbo \ + " + +SERIAL_CONSOLE ?= "115200 ttyS0" +#VC4_CMA_SIZE ?= "cma-256" + +UBOOT_MACHINE = "rpi_3_config" +#MACHINE_FEATURES_append = " vc4graphics" +KERNEL_DEFCONFIG ?= "bcmrpi3_defconfig" diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index e0b14e9af..96cbceae1 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -16,6 +16,7 @@ KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" KBUILD_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" KBUILD_DEFCONFIG_raspberrypi3 ?= "bcm2709_defconfig" KBUILD_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" +KBUILD_DEFCONFIG_raspberrypi-cm3-64 ?= "bcmrpi3_defconfig" # CMDLINE for raspberrypi CMDLINE ?= "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb b/recipes-kernel/linux/linux-raspberrypi_4.9.bb index 068965ffb..0e279ca59 100644 --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb @@ -1,9 +1,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.50" +LINUX_VERSION ?= "4.9.52" -SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" -SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" +SRCREV = "19577521f46c188a592f44cb311c0d421b0c9d93" +SRC_URI = "git://github.com/synapticon/linux.git;branch=cm3_64" require linux-raspberrypi.inc