From aa27fc62095cfd6c147c8f6865296ddc29bf0fa6 Mon Sep 17 00:00:00 2001 From: Mihai Lindner Date: Mon, 9 Dec 2019 17:06:01 +0200 Subject: u-boot-imx: Upgrade to version 2019.04 Signed-off-by: Mihai Lindner --- recipes-bsp/u-boot/u-boot-imx-mfgtool_2018.03.bb | 6 --- recipes-bsp/u-boot/u-boot-imx-mfgtool_2019.04.bb | 6 +++ recipes-bsp/u-boot/u-boot-imx_2018.03.bb | 48 ----------------------- recipes-bsp/u-boot/u-boot-imx_2019.04.bb | 50 ++++++++++++++++++++++++ 4 files changed, 56 insertions(+), 54 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2018.03.bb create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2019.04.bb delete mode 100644 recipes-bsp/u-boot/u-boot-imx_2018.03.bb create mode 100644 recipes-bsp/u-boot/u-boot-imx_2019.04.bb (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2018.03.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2018.03.bb deleted file mode 100644 index ec1de27dd..000000000 --- a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2018.03.bb +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright (C) 2014 O.S. Systems Software LTDA. -# Copyright (C) 2014-2016 Freescale Semiconductor -# Copyright 2017-2019 NXP - -require u-boot-imx_${PV}.bb -require u-boot-mfgtool.inc diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2019.04.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2019.04.bb new file mode 100644 index 000000000..ec1de27dd --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2019.04.bb @@ -0,0 +1,6 @@ +# Copyright (C) 2014 O.S. Systems Software LTDA. +# Copyright (C) 2014-2016 Freescale Semiconductor +# Copyright 2017-2019 NXP + +require u-boot-imx_${PV}.bb +require u-boot-mfgtool.inc diff --git a/recipes-bsp/u-boot/u-boot-imx_2018.03.bb b/recipes-bsp/u-boot/u-boot-imx_2018.03.bb deleted file mode 100644 index ed32ffcbe..000000000 --- a/recipes-bsp/u-boot/u-boot-imx_2018.03.bb +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2013-2016 Freescale Semiconductor -# Copyright 2018 (C) O.S. Systems Software LTDA. -# Copyright 2017-2019 NXP - -DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards." -require recipes-bsp/u-boot/u-boot.inc - -PROVIDES += "u-boot" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -SRCBRANCH = "imx_v2018.03_4.14.98_2.0.0_ga" -SRC_URI = "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" -SRCREV = "0d6d8807793e74402e23772062469aeb4808dd48" - -S = "${WORKDIR}/git" - -inherit fsl-u-boot-localversion - -LOCALVERSION ?= "-${SRCBRANCH}" - -BOOT_TOOLS = "imx-boot-tools" - -do_deploy_append_mx8m() { - # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary - if [ -n "${UBOOT_CONFIG}" ] - then - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ] - then - install -d ${DEPLOYDIR}/${BOOT_TOOLS} - install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} - install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot - install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} - fi - done - unset j - done - unset i - fi -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" diff --git a/recipes-bsp/u-boot/u-boot-imx_2019.04.bb b/recipes-bsp/u-boot/u-boot-imx_2019.04.bb new file mode 100644 index 000000000..9b12482d1 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-imx_2019.04.bb @@ -0,0 +1,50 @@ +# Copyright (C) 2013-2016 Freescale Semiconductor +# Copyright 2018 (C) O.S. Systems Software LTDA. +# Copyright 2017-2019 NXP + +DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards." +require recipes-bsp/u-boot/u-boot.inc + +PROVIDES += "u-boot" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRCBRANCH = "imx_v2019.04_4.19.35_1.1.0" +SRC_URI = "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" +SRCREV = "4d377539a1190e838eae5d8b8a794dde0696d572" + +DEPENDS += "flex-native bison-native bc-native dtc-native" + +S = "${WORKDIR}/git" + +inherit fsl-u-boot-localversion + +LOCALVERSION ?= "-${SRCBRANCH}" + +BOOT_TOOLS = "imx-boot-tools" + +do_deploy_append_mx8m() { + # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary + if [ -n "${UBOOT_CONFIG}" ] + then + for config in ${UBOOT_MACHINE}; do + i=$(expr $i + 1); + for type in ${UBOOT_CONFIG}; do + j=$(expr $j + 1); + if [ $j -eq $i ] + then + install -d ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot + install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} + fi + done + unset j + done + unset i + fi +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" -- cgit v1.2.3-54-g00ecf