Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3EB1FE00A0A; Fri, 5 Oct 2018 08:36:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.221.65 listed in list.dnswl.org] * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F24E9E0053F for ; Fri, 5 Oct 2018 08:36:16 -0700 (PDT) Received: by mail-wr1-f65.google.com with SMTP id w5-v6so14019606wrt.2 for ; Fri, 05 Oct 2018 08:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wR8DdUl6WfO503Lh96X8kkhcVhAiJHAKdKh7Q/YJhAo=; b=oJDx9M+nzUyQYFE7wMIbkH/Geyvyrsl4Bt5uyDu1TrB7Wu6aWlYGnmrNi1P8bp0Niv U3DeGPORxCiaxos7dA2Zj3VJMTmEx0UkhY4FW4d0lExAWAggLWE7jRG6Quqs2qqwdQb4 F93ppqfBEFDQ2gR5FC2FYA68NggSGgSUh9lFPizhTc3Nq+mD0raBCEEHU+Cn/agFOT2B Fmjk3ZNGiKnW4JAqdgcf1TeQklZLcbIkHUQsLX3Ukn0lcdgmqsnZhZkSRWUd9BkN0yMY uG3hKlI6t5Ko4hc4Sb4wxyQmKDWdhKzeCS49JvK6zkP8ntEK7/+7w0jkdZImNQ9fSTrE 3ftg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wR8DdUl6WfO503Lh96X8kkhcVhAiJHAKdKh7Q/YJhAo=; b=tNUH9WtP9b0SxcnkiSjJdfLverQd0DvVR3IgPfZECeSr4ISsXkHo/y1MhYq1NwWx5V rcPP/RZl5l4wATOXx4zGQvUPBjswpw1U69ocwhSHtgSI8fMdGyKHpe0NvQ/WugspJwzv W6EOCJ23pQoCzPGE8NGBvSPU7zeoVMpeKLVr9zJ8UGi31lTwea711AxOvvpbjQViC5gg kavXEyAoJHgVJtso7MIDLpBbMZRMxHMLvaDg+89ErqYuIoPuawN9Z1+qioiLIGIKyaDi jp3RfgNt/2lu2awo94uRYprY9U00LC8JPuKBAxGmmvvxUHavMVrTZseyvJt/UsR7H3Yc 6FxA== X-Gm-Message-State: ABuFfoiGDOEMQvzz9g8zeFVNrPhO+8jjZPh3qZhaUmqsk2N8lFg7RWB6 S/QiTeeHb01LzalLl0VAB583KvnFwQ0= X-Google-Smtp-Source: ACcGV61JYyOViX/WzHhzjZ2trWElX5n78TIsGT7kQwlTVBEQTJhXwlwYoTZY1RrhcAO1y8h1M3hNAA== X-Received: by 2002:adf:9304:: with SMTP id 4-v6mr8304400wro.129.1538753775448; Fri, 05 Oct 2018 08:36:15 -0700 (PDT) Received: from g751.home (2a01cb040a7dd500dcf6cae10c410b78.ipv6.abo.wanadoo.fr. [2a01:cb04:a7d:d500:dcf6:cae1:c41:b78]) by smtp.googlemail.com with ESMTPSA id p8sm7419876wrx.9.2018.10.05.08.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 08:36:14 -0700 (PDT) From: Gary Bisson To: meta-freescale@yoctoproject.org Date: Fri, 5 Oct 2018 17:36:08 +0200 Message-Id: <20181005153608.9145-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Subject: [3rdparty][PATCH] u-boot-boundary: Update to v2018.07 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:36:18 -0000 Content-Transfer-Encoding: 8bit From: Ian Coolidge From: Ian Coolidge Compatible with nitrogem8m board Blog post: https://boundarydevices.com/u-boot-v2018-07/ Signed-off-by: Ian Coolidge Signed-off-by: Gary Bisson --- .../u-boot-boundary-common_2017.03.imx8m.inc | 15 ------- ...inc => u-boot-boundary-common_2018.07.inc} | 8 ++-- .../aarch64/fw_env.config | 1 + .../{ => arm}/fw_env.config | 0 ...bb => u-boot-boundary-fw-utils_2018.07.bb} | 8 +++- .../u-boot/u-boot-boundary_2017.03.imx8m.bb | 6 --- recipes-bsp/u-boot/u-boot-boundary_2017.07.bb | 6 --- recipes-bsp/u-boot/u-boot-boundary_2018.07.bb | 17 +++++++ .../u-boot-script-boundary_2017.03.imx8m.bb | 45 ------------------- ...7.bb => u-boot-script-boundary_2018.07.bb} | 2 +- 10 files changed, 29 insertions(+), 79 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc rename recipes-bsp/u-boot/{u-boot-boundary-common_2017.07.inc => u-boot-boundary-common_2018.07.inc} (51%) create mode 100644 recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config rename recipes-bsp/u-boot/u-boot-boundary-fw-utils/{ => arm}/fw_env.config (100%) rename recipes-bsp/u-boot/{u-boot-boundary-fw-utils_2017.07.bb => u-boot-boundary-fw-utils_2018.07.bb} (83%) delete mode 100644 recipes-bsp/u-boot/u-boot-boundary_2017.03.imx8m.bb delete mode 100644 recipes-bsp/u-boot/u-boot-boundary_2017.07.bb create mode 100644 recipes-bsp/u-boot/u-boot-boundary_2018.07.bb delete mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_2017.03.imx8m.bb rename recipes-bsp/u-boot/{u-boot-script-boundary_2017.07.bb => u-boot-script-boundary_2018.07.bb} (94%) diff --git a/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc b/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc deleted file mode 100644 index 63f2bac..0000000 --- a/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "U-Boot for Boundary Devices boards" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" - -PV = "v2017.03.imx8m+git${SRCPV}" - -SRCREV = "962210405277c99520aa4c5185c5aa2d589fbd1d" -SRCBRANCH = "boundary-imx_v2017.03_4.9.51_imx8m_ga" -SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" - -S = "${WORKDIR}/git" - -inherit dtc-145 - -PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc b/recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc similarity index 51% rename from recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc rename to recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc index 4263fa1..9b9b363 100644 --- a/recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc +++ b/recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc @@ -1,11 +1,11 @@ DESCRIPTION = "U-Boot for Boundary Devices boards" LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e" -PV = "v2017.07+git${SRCPV}" +PV = "v2018.07+git${SRCPV}" -SRCREV = "445823ef2abfff2fc1c63cc53c57c1e139f88b1b" -SRCBRANCH = "boundary-v2017.07" +SRCREV = "f35ba6cfbe5a0f039ec14e790e212564e98c84d6" +SRCBRANCH = "boundary-v2018.07" SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" S = "${WORKDIR}/git" diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config b/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config new file mode 100644 index 0000000..eccfb0f --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config @@ -0,0 +1 @@ +/dev/mmcblk0boot0 0x1fe000 0x2000 0x1000 diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config b/recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config similarity index 100% rename from recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config rename to recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2017.07.bb b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb similarity index 83% rename from recipes-bsp/u-boot/u-boot-boundary-fw-utils_2017.07.bb rename to recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb index f5dd879..56ba151 100644 --- a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2017.07.bb +++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb @@ -1,7 +1,11 @@ require u-boot-boundary-common_${PV}.inc SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" -DEPENDS = "mtd-utils" +DEPENDS += "mtd-utils bison-native" + +FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/arm:" +FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/arm:" +FILESEXTRAPATHS_prepend_mx8 := "${THISDIR}/${PN}/aarch64:" SRC_URI += " \ file://fw_env.config \ @@ -15,7 +19,7 @@ inherit uboot-config do_compile () { oe_runmake ${UBOOT_MACHINE} - oe_runmake env + oe_runmake envtools } do_install () { diff --git a/recipes-bsp/u-boot/u-boot-boundary_2017.03.imx8m.bb b/recipes-bsp/u-boot/u-boot-boundary_2017.03.imx8m.bb deleted file mode 100644 index ba0f680..0000000 --- a/recipes-bsp/u-boot/u-boot-boundary_2017.03.imx8m.bb +++ /dev/null @@ -1,6 +0,0 @@ -require recipes-bsp/u-boot/u-boot.inc -require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc - -PROVIDES += "u-boot" - -COMPATIBLE_MACHINE = "(nitrogen8m)" diff --git a/recipes-bsp/u-boot/u-boot-boundary_2017.07.bb b/recipes-bsp/u-boot/u-boot-boundary_2017.07.bb deleted file mode 100644 index 2e683db..0000000 --- a/recipes-bsp/u-boot/u-boot-boundary_2017.07.bb +++ /dev/null @@ -1,6 +0,0 @@ -require recipes-bsp/u-boot/u-boot.inc -require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc - -PROVIDES += "u-boot" - -COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7)" diff --git a/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb b/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb new file mode 100644 index 0000000..d9417f5 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb @@ -0,0 +1,17 @@ +require recipes-bsp/u-boot/u-boot.inc +require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc + +DEPENDS += "bison-native" + +PROVIDES += "u-boot" + +BOOT_TOOLS = "imx-boot-tools" + +do_deploy_append_mx8mq () { + 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} +} + +COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7|nitrogen8m)" diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_2017.03.imx8m.bb b/recipes-bsp/u-boot/u-boot-script-boundary_2017.03.imx8m.bb deleted file mode 100644 index ade3ad3..0000000 --- a/recipes-bsp/u-boot/u-boot-script-boundary_2017.03.imx8m.bb +++ /dev/null @@ -1,45 +0,0 @@ -require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc - -DEPENDS = "u-boot-mkimage-native" - -inherit deploy - -BOOTSCRIPT ??= "${S}/board/boundary/bootscripts/bootscript-yocto.txt" -BOOTSCRIPT_use-mainline-bsp ??= "${S}/board/boundary/bootscripts/bootscript-mainline.txt" - -UPGRADESCRIPT = "${S}/board/boundary/bootscripts/upgrade.txt" - -do_mkimage () { - uboot-mkimage -A arm64 -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d ${BOOTSCRIPT} ${S}/boot.scr - - uboot-mkimage -A arm64 -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d ${UPGRADESCRIPT} ${S}/upgrade.scr -} - -addtask mkimage after do_compile before do_install - -do_compile[noexec] = "1" - -do_install () { - install -D -m 644 ${S}/boot.scr ${D}/boot.scr - install -D -m 644 ${S}/upgrade.scr ${D}/upgrade.scr -} - -do_deploy () { - install -D -m 644 ${D}/boot.scr \ - ${DEPLOYDIR}/boot.scr-${MACHINE}-${PV}-${PR} - install -D -m 644 ${D}/upgrade.scr \ - ${DEPLOYDIR}/upgrade.scr-${MACHINE}-${PV}-${PR} - - cd ${DEPLOYDIR} - rm -f boot.scr-${MACHINE} upgrade.scr-${MACHINE} - ln -sf boot.scr-${MACHINE}-${PV}-${PR} boot.scr-${MACHINE} - ln -sf upgrade.scr-${MACHINE}-${PV}-${PR} upgrade.scr-${MACHINE} -} - -addtask deploy after do_install before do_build - -FILES_${PN} += "/" - -COMPATIBLE_MACHINE = "(nitrogen8m)" diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bb b/recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb similarity index 94% rename from recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bb rename to recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb index 211cb84..ef47d5f 100644 --- a/recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bb +++ b/recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb @@ -42,4 +42,4 @@ addtask deploy after do_install before do_build FILES_${PN} += "/" -COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7)" +COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7|nitrogen8m)" -- 2.19.0