require recipes-bsp/u-boot/u-boot.inc include conf/tdx_version.conf inherit tegra-u-boot-localversion PROVIDES = "u-boot virtual/bootloader" DEPENDS += "dtc-native" DEPENDS_append_apalis-tk1 = " cbootimage-native" DEPENDS_append_apalis-tk1-mainline = " cbootimage-native" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" COMPATIBLE_MACHINE = "(apalis-t30|apalis-tk1|colibri-t20|colibri-t30)" DEFAULT_PREFERENCE_apalis-t30 = "1" DEFAULT_PREFERENCE_apalis-tk1 = "1" DEFAULT_PREFERENCE_colibri-t20 = "1" DEFAULT_PREFERENCE_colibri-t30 = "1" FILESPATHPKG =. "git:" S = "${WORKDIR}/git" # This revision is based on upstream "v2016.11" SRCREV = "52259cf22a165c0721bb26c723c0dc5e2659eaa7" SRCBRANCH = "2016.11-toradex" SRCREV_use-head-next = "${AUTOREV}" SRCBRANCH_use-head-next = "2016.11-toradex-next" SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH}" SRC_URI_append_apalis-tk1 = " \ file://apalis-tk1.img.cfg \ file://PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct \ " SRC_URI_append_apalis-tk1-mainline = " \ file://apalis-tk1.img.cfg \ file://PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct \ " PV = "2016.11+git${SRCPV}" PR = "${TDX_VER_INT}" PACKAGE_ARCH = "${MACHINE_ARCH}" do_deploy_append_apalis-tk1() { cd ${DEPLOYDIR} cp ${WORKDIR}/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct . cbootimage -s tegra124 ${WORKDIR}/apalis-tk1.img.cfg apalis-tk1.img rm PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct } do_deploy_append_apalis-tk1-mainline() { cd ${DEPLOYDIR} cp ${WORKDIR}/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct . cbootimage -s tegra124 ${WORKDIR}/apalis-tk1.img.cfg apalis-tk1.img rm PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct }