summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2019-07-17 08:12:51 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-10-17 09:53:03 (GMT)
commit34a131bc8b160040dc5e3989c2c52569afb9e787 (patch)
treede83aa5915d8aec145cfeb04b2c542b325ad6aa8
parent34ee72812704031b6aa7fc1febdcc1f82733b045 (diff)
downloadmeta-phytec-34a131bc8b160040dc5e3989c2c52569afb9e787.zip
meta-phytec-34a131bc8b160040dc5e3989c2c52569afb9e787.tar.bz2
uboot-imx: imx8: Add recipe for v2018.03-phy1
Changes since rel_imx_4.14.98_2.0.0_ga: pcm064: Add mmc autodetect support mx8qm: Add PHYTEC phyCORE-i.MX8QM support board: phytec: pcl066: Add 2GB support board: phytec: pcl066: spl: Add a function to read eeprom mx8m: Add Phytec PCL066 i.MX8M Quad doc: net: ti, dp83867: Add documentation of optional properities 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 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_2018.03-phy1.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx_2018.03-phy1.bb b/recipes-bsp/u-boot/u-boot-imx_2018.03-phy1.bb
new file mode 100644
index 0000000..7f1aa9e
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-imx_2018.03-phy1.bb
@@ -0,0 +1,52 @@
+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 = "cdef39f873bd5b6f840c39b06791755485dd5b55"
+
+S = "${WORKDIR}/git"
+
+BOOT_TOOLS = "imx-boot-tools"
+
+do_deploy_append_mx8m () {
+ # 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}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG}
+ fi
+ done
+ unset j
+ done
+ unset i
+ fi
+
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "^("
+COMPATIBLE_MACHINE .= "phycore-imx8-2"
+COMPATIBLE_MACHINE .= "|phyboard-polaris-imx8m-2"
+COMPATIBLE_MACHINE .= ")$"
+
+UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"