DESCRIPTION = "Linux kernel for the R-Car Generation 3 based board" require include/avb-control.inc require include/iccom-control.inc require recipes-kernel/linux/linux-yocto.inc require include/cas-control.inc FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/:" COMPATIBLE_MACHINE = "salvator-x|h3ulcb|m3ulcb|ebisu" RENESAS_BSP_URL = "git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git" BRANCH = "v4.14/rcar-3.6.2" SRCREV = "a95d91d636e3dcfdb8279a0293da17e90c871186" SRC_URI = "${RENESAS_BSP_URL};protocol=git;nocheckout=1;branch=${BRANCH}" LINUX_VERSION ?= "4.14.0" PV = "${LINUX_VERSION}+git${SRCPV}" PR = "r1" SRC_URI_append = " \ file://defconfig \ file://touch.cfg \ file://video-capture.cfg \ ${@base_conditional("USE_AVB", "1", " file://usb-video-class.cfg", "", d)} \ " # Patches for sysc SRC_URI_append = " \ file://0001-soc-renesas-rcar-sysc-Update-power-control-flow-for-.patch \ file://0002-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch \ file://0003-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch \ file://0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch \ file://0005-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch \ file://0006-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch \ " # Enable RPMSG_VIRTIO depend on ICCOM SUPPORT_ICCOM = " \ file://0001-rpmsg-Add-message-to-be-able-to-configure-RPMSG_VIRT.patch \ file://iccom.cfg \ " SRC_URI_append = " \ ${@base_conditional("USE_ICCOM", "1", "${SUPPORT_ICCOM}", "", d)} \ " # Add SCHED_DEBUG config fragment to support CAS SRC_URI_append = " \ ${@base_conditional("USE_CAS", "1", " file://capacity_aware_migration_strategy.cfg", "",d)} \ " # Install USB3.0 firmware to rootfs USB3_FIRMWARE_V2 = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/r8a779x_usb3_v2.dlmem;md5sum=645db7e9056029efa15f158e51cc8a11" USB3_FIRMWARE_V3 = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/r8a779x_usb3_v3.dlmem;md5sum=687d5d42f38f9850f8d5a6071dca3109" SRC_URI_append = " \ ${USB3_FIRMWARE_V2} \ ${USB3_FIRMWARE_V3} \ ${@bb.utils.contains('MACHINE_FEATURES','usb3','file://usb3.cfg','',d)} \ " do_download_firmware () { install -m 755 ${WORKDIR}/r8a779x_usb3_v*.dlmem ${STAGING_KERNEL_DIR}/firmware } addtask do_download_firmware after do_configure before do_compile