u-boot-boundary: Update to v2018.07
PATCH 1/1 u-boot-boundary: Update to v2018.07
From: Ian Coolidge <[email protected]>
From: Ian Coolidge <[email protected]>
Compatible with nitrogem8m board
Blog post: https://boundarydevices.com/u-boot-v2018-07/
Signed-off-by Ian Coolidge <[email protected]>
Signed-off-by Gary Bisson <[email protected]>
---
.../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%)recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc deleted +0 -15
@@ -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}"
recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc renamed from recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc +4 -4
@@ -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"
recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config new file +1 -0
@@ -0,0 +1 @@ +/dev/mmcblk0boot0 0x1fe000 0x2000 0x1000
recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config renamed from recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config +0 -0
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb renamed from recipes-bsp/u-boot/u-boot-boundary-fw-utils_2017.07.bb +6 -2
@@ -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 () {
recipes-bsp/u-boot/u-boot-boundary_2017.03.imx8m.bb deleted +0 -6
@@ -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)"
recipes-bsp/u-boot/u-boot-boundary_2017.07.bb deleted +0 -6
@@ -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)"
recipes-bsp/u-boot/u-boot-boundary_2018.07.bb new file +17 -0
@@ -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)"
recipes-bsp/u-boot/u-boot-script-boundary_2017.03.imx8m.bb deleted +0 -45
45 lines not on this page · raw message
recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb renamed from recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bb +1 -1
@@ -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)"
Signature · 1 line
2.19.0