Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 880FAE00DB1; Thu, 12 Jul 2018 18:06:04 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5607EE00972 for ; Thu, 12 Jul 2018 18:06:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 76FC420DDA; Fri, 13 Jul 2018 01:06:02 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xkd0QeXiXZZp; Fri, 13 Jul 2018 01:06:02 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id DDF0A20DD7; Fri, 13 Jul 2018 01:06:00 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id 6A9E8163512; Thu, 12 Jul 2018 21:05:58 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Thu, 12 Jul 2018 21:05:57 -0400 Message-Id: <1531443957-22911-1-git-send-email-denys@ti.com> X-Mailer: git-send-email 2.7.4 Subject: [rocko/master][PATCH] pru-icss: fix up build for am65xx-evm X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 01:06:04 -0000 * Only PRU* images were picked up, not RTU* * Setting up alternatives for non-existing PRU_Halt FW resulted in warnings * Since PRU_Halt FW was absent, no ${PN}-halt package was made, resulting in error pulling it in to an image Signed-off-by: Denys Dmytriyenko --- recipes-bsp/pru/pru-icss_git.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb index 5161e1f..e359b56 100644 --- a/recipes-bsp/pru/pru-icss_git.bb +++ b/recipes-bsp/pru/pru-icss_git.bb @@ -117,7 +117,7 @@ do_install_append_am65xx-evm() { } FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out" -FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*" +FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*" # Set up names for the firmwares PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw" @@ -161,6 +161,9 @@ ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "/lib/firmware/am65x-rtu2_1-fw" # Create the pru-icss-halt firmware alternatives ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}" +# am65xx doesn't have halt FW for now +ALTERNATIVE_pru-icss-halt_am65xx-evm = "" + ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out" ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out" @@ -217,6 +220,9 @@ ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100" +# am65xx doesn't have halt FW for now +ALLOW_EMPTY_${PN}-halt = "1" + ALLOW_EMPTY_${PN} = "1" # This installs PRU firmware, so skip "arch" QA check -- 2.7.4