Commit 314dc12c authored by Ettore Chimenti's avatar Ettore Chimenti
Browse files

C61: switch to kernel 5.4.70 and u-boot 2020.04

Switch to imx-5.4.70, enabling audio in, mipi/csi, pcie eth and LVDS
parent e8519452
......@@ -13,12 +13,47 @@ require conf/machine/include/tune-cortexa53.inc
KERNEL_DEVICETREE_BASENAME = "seco-imx8mm-c61"
KERNEL_DEVICETREE_append_use-nxp-bsp = " \
freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
seco/${KERNEL_DEVICETREE_BASENAME}.dtb \
"
KERNEL_DEVICETREE_append_use-mainline-bsp = " \
freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
seco/${KERNEL_DEVICETREE_BASENAME}.dtb \
"
PREFERRED_PROVIDER_virtual/kernel = "linux-seco-fslc"
MACHINE_FEATURES += " pci "
KERNEL_DEVICETREE = "\
seco/seco-imx8mm-c61.dtb \
seco/overlays/seco-imx8mm-c61-video-sn65dsi86.dtbo\
seco/overlays/seco-imx8mm-c61-video-sn65dsi84.dtbo\
seco/overlays/seco-imx8mm-c61-ov5640.dtbo\
seco/overlays/seco-imx8mm-c61-port1-can.dtbo\
seco/overlays/seco-imx8mm-c61-port1-rs232.dtbo\
seco/overlays/seco-imx8mm-c61-port1-rs485.dtbo\
seco/overlays/seco-imx8mm-c61-port1-gpios.dtbo\
seco/overlays/seco-imx8mm-c61-port2-can.dtbo\
seco/overlays/seco-imx8mm-c61-port2-rs232.dtbo\
seco/overlays/seco-imx8mm-c61-port2-rs485.dtbo\
seco/overlays/seco-imx8mm-c61-port2-gpios.dtbo\
seco/overlays/seco-imx8mm-c61-modem.dtbo\
"
IMG_KERNEL_DEVICETREE = "\
seco-imx8mm-c61.dtb\
overlays/seco-imx8mm-c61-video-sn65dsi86.dtbo\
overlays/seco-imx8mm-c61-video-sn65dsi84.dtbo\
overlays/seco-imx8mm-c61-ov5640.dtbo\
overlays/seco-imx8mm-c61-port1-can.dtbo\
overlays/seco-imx8mm-c61-port1-rs232.dtbo\
overlays/seco-imx8mm-c61-port1-rs485.dtbo\
overlays/seco-imx8mm-c61-port1-gpios.dtbo\
overlays/seco-imx8mm-c61-port2-can.dtbo\
overlays/seco-imx8mm-c61-port2-rs232.dtbo\
overlays/seco-imx8mm-c61-port2-rs485.dtbo\
overlays/seco-imx8mm-c61-port2-gpios.dtbo\
overlays/seco-imx8mm-c61-modem.dtbo\
"
PREFERRED_PROVIDER_virtual/kernel = "linux-seco"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-seco-imx"
PREFERRED_PROVIDER_u-boot = "u-boot-seco-imx"
......
......@@ -4,8 +4,8 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://git.seco.com/pub/i.mx/yocto/5.x/uboot-seco-imx.git;protocol=https;branch=${SRCBRANCH}"
SRCBRANCH = "seco/develop/imx_5.4.70_2.3.0/ohos"
SRCREV = "c3c3f02063127b5b00378ef95795333427e40939"
SRCBRANCH = "ohos/develop/imx_5.4.70_2.3.0"
SRCREV = "7da63baaba769b556b7434e77cb259689dc5f2ad"
DEPENDS += "flex-native bison-native bc-native dtc-native"
......
# Released under the MIT license (see COPYING.MIT for the terms)
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
KERNEL_SRC ?= "git://git.seco.com/pub/i.mx/yocto/5.x/linux-seco-imx.git"
PROTOCOL ?= "protocol=ssh;"
REPO_USER ?= ""
SRCBRANCH = "ohos/develop/imx_5.4.70_2.3.0"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH};${PROTOCOL}${REPO_USER}"
SRCREV = "9982915529b7f4e49a1814f189b737b43bdc0cd1"
LINUX_VERSION ?= "5.4.70"
SUMMARY = "Linux Kernel provided and supported by SECO"
DESCRIPTION = "Linux Kernel provided and supported by SECO with focus on \
SECO Boards. It includes support for many IPs such as GPU, VPU and IPU."
require recipes-kernel/linux/linux-imx.inc
include linux-seco-src-5.4.70.inc
DEPENDS += "lzop-native bc-native"
COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
EXTRA_OEMAKE_append_mx6 = " ARCH=arm"
EXTRA_OEMAKE_append_mx8 = " ARCH=arm64"
KBUILD_DEFCONFIG_seco-imx8mm-c61 = "seco_imx8_linux_defconfig"
do_preconfigure_prepend() {
install -d ${B}
cp ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment