Commit 7c869ff2 authored by Otavio Salvador's avatar Otavio Salvador

Rework machines to use dtb file in KERNEL_DEVICETREE variable

The linux-dtb.inc has been reworked to use the Linux kernel build
system to generate the DeviceTree binaries so now KERNEL_DEVICETREE
variable should has the /target/ name, not the file path. This patch
reworks following machines:

 - imx23evk
 - imx28evk
 - imx51evk
 - imx53ard
 - imx53qsb
 - imx6dlsabreauto
 - imx6dlsabresd
 - imx6qsabreauto
 - imx6qsabresd
 - imx6solosabreauto
 - imx6solosabresd

Change-Id: I37e9c3737552299677e315b6279a6e0a8e217836
Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
parent c0a74540
......@@ -11,7 +11,7 @@ IMXBOOTLETS_MACHINE = "stmp378x_dev"
UBOOT_MACHINE = "mx23evk_config"
KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx23-evk.dts"
KERNEL_DEVICETREE = "imx23-evk.dtb"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
......
......@@ -11,7 +11,7 @@ IMXBOOTLETS_MACHINE = "iMX28_EVK"
UBOOT_MACHINE = "mx28evk_config"
KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx28-evk.dts"
KERNEL_DEVICETREE = "imx28-evk.dtb"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
......
......@@ -8,6 +8,6 @@ include conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "mx5:mx51"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx51-babbage.dts"
KERNEL_DEVICETREE = "imx51-babbage.dtb"
UBOOT_MACHINE = "mx51evk_config"
......@@ -8,7 +8,7 @@ include conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "mx5:mx53"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx53-ard.dts"
KERNEL_DEVICETREE = "imx53-ard.dtb"
UBOOT_MACHINE = "mx53ard_config"
......
......@@ -8,7 +8,7 @@ include conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "mx5:mx53"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx53-qsb.dts"
KERNEL_DEVICETREE = "imx53-qsb.dtb"
UBOOT_MACHINE = "mx53loco_config"
......
......@@ -7,7 +7,7 @@ require conf/machine/include/imx6sabreauto-common.inc
SOC_FAMILY = "mx6:mx6dl"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6dl-sabreauto.dts"
KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb"
UBOOT_MACHINE = "mx6dlsabreauto_config"
PREFERRED_PROVIDER_u-boot = "u-boot-imx"
......@@ -7,6 +7,6 @@ require conf/machine/include/imx6sabresd-common.inc
SOC_FAMILY = "mx6:mx6dl"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6dl-sabresd.dts"
KERNEL_DEVICETREE = "imx6dl-sabresd.dtb"
UBOOT_MACHINE = "mx6dlsabresd_config"
......@@ -7,6 +7,6 @@ require conf/machine/include/imx6sabreauto-common.inc
SOC_FAMILY = "mx6:mx6q"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabreauto.dts"
KERNEL_DEVICETREE = "imx6q-sabreauto.dtb"
UBOOT_MACHINE = "mx6qsabreauto_config"
......@@ -7,6 +7,6 @@ require conf/machine/include/imx6sabresd-common.inc
SOC_FAMILY = "mx6:mx6q"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
UBOOT_MACHINE = "mx6qsabresd_config"
......@@ -7,7 +7,7 @@ require conf/machine/include/imx6sabresd-common.inc
SOC_FAMILY = "mx6:mx6s"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6dl-sabreauto.dts"
KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb"
UBOOT_MACHINE = " mx6solosabreauto_config"
PREFERRED_PROVIDER_u-boot = "u-boot-imx"
......@@ -7,7 +7,7 @@ require conf/machine/include/imx6sabresd-common.inc
SOC_FAMILY = "mx6:mx6s"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6dl-sabresd.dts"
KERNEL_DEVICETREE = "imx6dl-sabresd.dtb"
UBOOT_MACHINE = " mx6solosabresd_config"
PREFERRED_PROVIDER_u-boot = "u-boot-imx"
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