All of lore.kernel.org
 help / color / mirror / Atom feed
* [master][PATCH 1/4] recipes-bsp: meta-ti now builds multiconfig u-boot/ti-sci-fw for R5
@ 2020-05-04 20:54 Denys Dmytriyenko
  2020-05-04 20:54 ` [master][PATCH 2/4] toolchain: remove secondary toolchain hack Denys Dmytriyenko
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2020-05-04 20:54 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf           |  7 --
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_2020.03.bb     | 94 ----------------------
 .../recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb     | 25 ------
 3 files changed, 126 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2020.03.bb
 delete mode 100644 meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 2fcb953..1c78692 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -154,13 +154,6 @@ RDEPENDS_pulseaudio-server_remove = "alsa-plugins-pulseaudio-conf"
 # Configure RAMFS for jailhouse linux-demo
 JH_RAMFS_IMAGE = "arago-tiny-image"
 
-# K3 devices also requre R5 SPL and SYSFW to boot
-EXTRA_IMAGEDEPENDS_append_k3 = " u-boot-k3-r5 ti-sci-fw"
-IMAGE_BOOT_FILES_append_k3 = " tiboot3.bin sysfw.itb"
-EXTRA_WIC_DEPENDS = ""
-EXTRA_WIC_DEPENDS_k3 = "u-boot-k3-r5:do_deploy ti-sci-fw:do_deploy"
-do_image_wic[depends] += "${EXTRA_WIC_DEPENDS}"
-
 # Enable UI and scripting for perf
 PERF_FEATURES_ENABLE ?= "perf-scripting perf-tui"
 
diff --git a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2020.03.bb b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2020.03.bb
deleted file mode 100644
index bae8e5c..0000000
--- a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2020.03.bb
+++ /dev/null
@@ -1,94 +0,0 @@
-SUMMARY = "TI SCI firmware"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
-
-DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
-
-CLEANBROKEN = "1"
-PR = "r0"
-
-COMPATIBLE_MACHINE = "k3"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-TI_SECURE_DEV_PKG ?= ""
-export TI_SECURE_DEV_PKG
-
-SRCREV = "1c5f73de97c27d99dd8672d9c26c450cd9a4677d"
-BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "79f3807e0b169f2029dec9f3a679c231f4deb625"
-SRCREV_FORMAT = "imggen"
-
-SRC_URI = " \
-	git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH} \
-	git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
-"
-
-S = "${WORKDIR}/git"
-
-SYSFW_SOC_am65xx = "am65x"
-SYSFW_SOC_j7 = "j721e"
-SYSFW_CONFIG = "evm"
-
-SYSFW_PREFIX = "ti-sci-firmware"
-
-SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-gp"
-SYSFW_BASE_am65xx-hs-evm = "${SYSFW_PREFIX}-${SYSFW_SOC}-hs"
-SYSFW_BASE_j7-hs-evm = "${SYSFW_PREFIX}-${SYSFW_SOC}-hs"
-
-SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}.bin"
-SYSFW_TISCI_am65xx-hs-evm = "${S}/ti-sysfw/${SYSFW_BASE}-*.bin"
-SYSFW_TISCI_j7-hs-evm = "${S}/ti-sysfw/${SYSFW_BASE}-*.bin"
-
-SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
-SYSFW_IMAGE = "sysfw-${PV}.itb"
-SYSFW_SYMLINK = "sysfw.itb"
-
-CFLAGS[unexport] = "1"
-LDFLAGS[unexport] = "1"
-AS[unexport] = "1"
-LD[unexport] = "1"
-
-do_configure[noexec] = "1"
-
-CROSS_COMPILE_V7 = "${@['${TARGET_SYS}-','${ELT_TARGET_SYS_ARMV7}-'][d.getVar('TOOLCHAIN_TYPE') == 'external' and d.getVar('TOOLCHAIN_BRAND') == 'linaro']}"
-CROSS_COMPILE_V7 = "${@['${TARGET_SYS}-','${EAT_TARGET_SYS_ARMV7}-'][d.getVar('TOOLCHAIN_TYPE') == 'external' and d.getVar('TOOLCHAIN_BRAND') == 'arm']}"
-PATH_prepend = "${TOOLCHAIN_PATH_ARMV7}/bin:"
-
-EXTRA_OEMAKE = "\
-    CROSS_COMPILE=${CROSS_COMPILE_V7} SYSFW_DL_URL='' SYSFW_HS_DL_URL='' SYSFW_HS_INNER_CERT_DL_URL='' \
-    SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \
-"
-EXTRA_OEMAKE_append_am65xx-hs-evm = " \
-    HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
-"
-EXTRA_OEMAKE_append_j7-hs-evm = " \
-    HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
-"
-
-do_compile() {
-	cd ${WORKDIR}/imggen/
-	oe_runmake
-}
-
-do_install() {
-	install -d ${D}/boot
-	install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${D}/boot/${SYSFW_IMAGE}
-	ln -sf ${SYSFW_IMAGE} ${D}/boot/${SYSFW_SYMLINK}
-}
-
-FILES_${PN} = "/boot"
-
-inherit deploy
-
-do_deploy () {
-	install -d ${DEPLOYDIR}
-	install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
-	rm -f ${DEPLOYDIR}/${SYSFW_SYMLINK}
-	ln -sf ${SYSFW_IMAGE} ${DEPLOYDIR}/${SYSFW_SYMLINK}
-
-	install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
-}
-
-addtask deploy before do_build after do_compile
diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb
deleted file mode 100644
index f368572..0000000
--- a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-require recipes-bsp/u-boot/u-boot-ti-staging_${PV}.bb
-
-PROVIDES = ""
-PKG_${PN} = "${PN}"
-PKG_${PN}-dev = "${PN}-dev"
-PKG_${PN}-dbg = "${PN}-dbg"
-
-COMPATIBLE_MACHINE = "k3"
-
-CROSS_COMPILE_V7 = "${@['${TARGET_SYS}-','${ELT_TARGET_SYS_ARMV7}-'][d.getVar('TOOLCHAIN_TYPE') == 'external' and d.getVar('TOOLCHAIN_BRAND') == 'linaro']}"
-CROSS_COMPILE_V7 = "${@['${TARGET_SYS}-','${EAT_TARGET_SYS_ARMV7}-'][d.getVar('TOOLCHAIN_TYPE') == 'external' and d.getVar('TOOLCHAIN_BRAND') == 'arm']}"
-PATH_prepend = "${TOOLCHAIN_PATH_ARMV7}/bin:"
-
-UBOOT_MACHINE_am65xx-evm = "am65x_evm_r5_defconfig"
-UBOOT_MACHINE_am65xx-hs-evm = "am65x_hs_evm_r5_defconfig"
-UBOOT_MACHINE_j7-evm = "j721e_evm_r5_defconfig"
-UBOOT_MACHINE_j7-hs-evm = "j721e_hs_evm_r5_defconfig"
-
-EXTRA_OEMAKE = 'ARCH=arm CROSS_COMPILE=${CROSS_COMPILE_V7} CC="${CROSS_COMPILE_V7}gcc ${TOOLCHAIN_OPTIONS}" V=1'
-EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
-
-UBOOT_BINARY = "tiboot3.bin"
-UBOOT_IMAGE = "tiboot3-${MACHINE}-${PV}-${PR}.bin"
-UBOOT_SYMLINK = "tiboot3-${MACHINE}.bin"
-SPL_BINARY_k3 = ""
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-05 11:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-04 20:54 [master][PATCH 1/4] recipes-bsp: meta-ti now builds multiconfig u-boot/ti-sci-fw for R5 Denys Dmytriyenko
2020-05-04 20:54 ` [master][PATCH 2/4] toolchain: remove secondary toolchain hack Denys Dmytriyenko
2020-05-04 21:06   ` [EXTERNAL] " Stiffler, Jacob
2020-05-04 21:16     ` Denys Dmytriyenko
2020-05-05 11:12       ` Jacob Stiffler
2020-05-04 20:54 ` [master][PATCH 3/4] packagegroup: ti-sci-fw is only compatible with k3r5, not main k3 Denys Dmytriyenko
2020-05-04 20:54 ` [master][PATCH 4/4] arago.conf: only need to separate TMPDIR by TCMODE, not ARCH Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.