From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web10.900.1582838914369385744 for ; Thu, 27 Feb 2020 13:28:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=x45m59tB; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: denys@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01RLSXNO091688; Thu, 27 Feb 2020 15:28:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1582838913; bh=o4gYbgHzELa548adq5/AHheOcRCeqbJP/PEiNc8RTnY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=x45m59tBh+WAZeduTd9E3et36ar0yGRz6r+OhAxl3fTQKjnQAiPYHrkxppjgPohT4 Q/TgorQrCSWSohHfIXeFBw/gNBdR0Ueh9OwS5q6XdI8RqiqlFJbns2R1N6mllqKPCh JZWfuYqwvU59okykTzSEWaoCMJpIMZST5j+mzvZ4= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 01RLSXff117692 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Feb 2020 15:28:33 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 27 Feb 2020 15:28:33 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 27 Feb 2020 15:28:33 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01RLSX1b011928; Thu, 27 Feb 2020 15:28:33 -0600 Date: Thu, 27 Feb 2020 16:28:33 -0500 From: "Denys Dmytriyenko" To: CC: , Subject: Re: [meta-ti] [thud/master][PATCH] sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin Message-ID: <20200227212832.GA1876@beryl> References: <20200226213750.32020-1-m-radhakrishnan2@ti.com> MIME-Version: 1.0 In-Reply-To: <20200226213750.32020-1-m-radhakrishnan2@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Wed, Feb 26, 2020 at 04:37:50PM -0500, Mahesh Radhakrishnan via Lists.Yoctoproject.Org wrote: > --- > recipes-bsp/sciclient/sciclient-rtos_git.bb | 40 +++++++++++++++++++-- > 1 file changed, 38 insertions(+), 2 deletions(-) > > diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb > index 6a3d79c3..ca3894fa 100644 > --- a/recipes-bsp/sciclient/sciclient-rtos_git.bb > +++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb > @@ -7,14 +7,15 @@ TI_PDK_COMP = "ti.drv.sciclient" > PE = "1" > > LICENSE = "BSD-3-Clause" > -LIC_FILES_CHKSUM = "file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a" > +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb" > > COMPATIBLE_MACHINE = "k3" > PACKAGE_ARCH = "${MACHINE_ARCH}" > > -PR = "r0" > +PR = "r1" > > DEPENDS_append = " osal-rtos common-csl-ip-rtos" > +DEPENDS_append_k3 = " openssl-native" Isn't it redundant since the recipe is only compatible with "k3"? > # Build with make instead of XDC > TI_PDK_XDCMAKE = "0" > @@ -60,6 +61,41 @@ do_compile() { > tar -cf sciclient.tar --exclude='*.tar' ./* > } > > + > +do_compile_prepend_am65xx-hs-evm() { > + > + cd ${SCICLIENT_ROOTPATH} > + > + # Saving the GP firmware to a different GP name > + cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin > + > + cd ${SCICLIENT_ROOTPATH}/tools > + # Create the .bin file for HS > + ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages > + cd - > +} > + > +do_compile_prepend_am65xx-evm() { > + > + cd ${SCICLIENT_ROOTPATH}/tools > + > + # Create the .bin file for GP, PG1 > + ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages > + # Create the .bin file for GP, PG2 > + ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages > + > + cd - > +} > + > + > +do_compile_prepend_j7-evm() { > + > + cd ${SCICLIENT_ROOTPATH}/tools > + # Create the .bin file for GP > + ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages > + cd - > +} > + > do_install() { > cd ${SCICLIENT_ROOTPATH} > install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient > -- > 2.17.1 > >