summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2018-09-11 13:08:57 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-09-11 13:22:56 +0200
commitb62b46a5bb331a0256b9c40a00acd3da98522039 (patch)
treeda716084af571cd6d54d91efd7ac13f2aa8adef7
parent5ed470410ed7868d50b2f44c7245eacdc87aecfb (diff)
downloadmeta-phytec-b62b46a5bb331a0256b9c40a00acd3da98522039.tar.bz2
meta-phytec-b62b46a5bb331a0256b9c40a00acd3da98522039.zip
u-boot-imx: Add U-boot-imx recipe
Changes since rel_imx_4.9.51_8mq_ga: include: configs: plc066.h: Add static ip for ethernet doc: net: ti, dp83867: Add documentation of optional properities board: phytec: pcl066: Adding ethernet dts: phytec-phycore-imx8mq: Add fec1 as ethernet port configs: pcl066: Add random MAC for ethernet, add PHY_TI and PHYLIB drivers: net: fec_mxc: Add reading of DT phy-handle node net: phy: ti: Disable FORCE_LINK_GOOD in PHYCTRL net: phy: ti: Add binding for the CLK_OUT pin muxing doc: net: ti, dp83867: Add documentation for CLK_OUT net: phy: ti: add workaround for incorrect RX_CTRL pin strap net: phy: ti: Recover from "port mirroring" N/A MODE4 net: phy: ti: Add lane swapping support in the DP83867 TI's PHY driver Net: phy: ti: Fix fifo_depth register write mx8m: Add Phytec PCL066 i.MX8M Quad Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2017.03-imx8mq-phy1.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx_2017.03-imx8mq-phy1.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03-imx8mq-phy1.bb
new file mode 100644
index 0000000..5eb419d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-imx_2017.03-imx8mq-phy1.bb
@@ -0,0 +1,52 @@
+# Copyright (C) 2013-2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
+
+DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
+
+inherit phygittag
+require recipes-bsp/u-boot/u-boot.inc
+inherit pythonnative
+
+PROVIDES += "u-boot"
+DEPENDS_append = " python dtc-native"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+GIT_URL = "git://git.phytec.de/${PN}"
+SRC_URI = "${GIT_URL};branch=${BRANCH}"
+
+PR = "r0"
+SRCREV = "e9bbb97a0079125f979306e53a2436b3dc091f47"
+
+S = "${WORKDIR}/git"
+
+BOOT_TOOLS = "imx-boot-tools"
+
+do_deploy_append_mx8mq () {
+ # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-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}
+ fi
+ done
+ unset j
+ done
+ unset i
+ fi
+
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "phyboard-polaris-imx8m-1"
+
+UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"