From 5418ba22e4800f61a851a3c59c2206bfd79d8aae Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Thu, 3 Sep 2020 11:23:16 +0800 Subject: [PATCH] Add Cortex-M4 Support --- conf/machine/smarcimx8mm2g.conf | 1 + conf/machine/smarcimx8mm4g.conf | 1 + recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb | 2 +- recipes-kernel/linux/linux-smarcimx8mm_4.19.35.bb | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/machine/smarcimx8mm2g.conf b/conf/machine/smarcimx8mm2g.conf index 0c972b2..e09be80 100644 --- a/conf/machine/smarcimx8mm2g.conf +++ b/conf/machine/smarcimx8mm2g.conf @@ -23,6 +23,7 @@ PREFERRED_VERSION_linux-smarcimx8mm2g_smarcimx8mm2g = "4.19.35" KERNEL_DEVICETREE = " \ embedian/fsl-smarcimx8mm.dtb \ + embedian/fsl-smarcimx8mm-m4.dtb \ " IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy" IMAGE_BOOT_FILES += "imx8mm_m4_TCM_hello_world.bin \ diff --git a/conf/machine/smarcimx8mm4g.conf b/conf/machine/smarcimx8mm4g.conf index 939f635..c719286 100644 --- a/conf/machine/smarcimx8mm4g.conf +++ b/conf/machine/smarcimx8mm4g.conf @@ -23,6 +23,7 @@ PREFERRED_VERSION_linux-smarcimx8mm4g_smarcimx8mm4g = "4.19.35" KERNEL_DEVICETREE = " \ embedian/fsl-smarcimx8mm.dtb \ + embedian/fsl-smarcimx8mm-m4.dtb \ " IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy" IMAGE_BOOT_FILES += "imx8mm_m4_TCM_hello_world.bin \ diff --git a/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb b/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb index 4220d26..4db2250 100644 --- a/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb +++ b/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh" SRCBRANCH = "smarc_8mm-imx_v2019.04_4.19.35_1.1.0" SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" -SRCREV = "731c0fd70c338cf30512557588398efc6362f560" +SRCREV = "402b04a84a4ff9c046a78da93bd1da81b686a070" S = "${WORKDIR}/git" diff --git a/recipes-kernel/linux/linux-smarcimx8mm_4.19.35.bb b/recipes-kernel/linux/linux-smarcimx8mm_4.19.35.bb index 5ae4f99..ba04bf1 100644 --- a/recipes-kernel/linux/linux-smarcimx8mm_4.19.35.bb +++ b/recipes-kernel/linux/linux-smarcimx8mm_4.19.35.bb @@ -23,7 +23,7 @@ DEFAULT_DTB = "fsl-smarcimx8mm" KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" -SRCREV = "229d119e766994b550b7c08691d3932b54ee162f" +SRCREV = "9b1539c5d70fdd340ca180584cd03c215177daef" S = "${WORKDIR}/git" -- 1.9.1