All of lore.kernel.org
 help / color / mirror / Atom feed
From: "praneeth" <praneeth@ti.com>
To: Denys Dmytriyenko <denis@denix.org>, <shiju@ti.com>
Cc: <meta-ti@lists.yoctoproject.org>
Subject: Re: [meta-ti] [dunfell/next v2 PATCH] ti-rtos: update to uisng fw from mcu-plus-sdk for AM64x
Date: Fri, 12 Mar 2021 20:41:18 -0600	[thread overview]
Message-ID: <ed0c8702-1661-685e-5562-f6522b61a074@ti.com> (raw)
In-Reply-To: <20210312230730.GD4892@denix.org>



On 3/12/2021 5:07 PM, Denys Dmytriyenko wrote:
> On Thu, Mar 11, 2021 at 03:54:30PM +0530, Shiju Sivasankaran via lists.yoctoproject.org wrote:
>> update ti-rtos-metadata and ti-rtos-firmware recipes of meta-ti to
>> pick AM64x rtos firmware from mcu-plus-sdk instead of PDK.
>>
>> Other devices such as AM65x, J7 continue to use fw from PDK.
>>
>> Built and tested both IPC echo test applications - "rpmsg_client_sample”
>> & “rpmsg_char_simple”. Both tests passed for all remote R5F cores
>> on AM64x EVM
>>
>> Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
>> ---
>> v2: rebased to dunfell-next
>> DEFAULT_FIRMWARE_SHA256SUM_am65xx updated
> 
> Why are you updating am65xx when you said only am64xx is being switched from
> PDK to mcu-plus-sdk?
> 
> Also, can you explain what is it and why it has to be the default for am64x?
> Shouldn't CoreSDK Linux pick CoreSDK RTOS (i.e. PDK) components by default?
> 
> Thanks.
> 
> 
>>   recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 14 +++++++++-----
>>   recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb |  3 ++-
>>   2 files changed, 11 insertions(+), 6 deletions(-)
>>
>> diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
>> index 507d0000..c70fc50d 100644
>> --- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
>> +++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
>> @@ -11,17 +11,20 @@ INHIBIT_DEFAULT_DEPS = "1"
>>   
>>   inherit deploy
>>   
>> +DEFAULT_METADATA_FILE ?= "metadata.inc"
>> +DEFAULT_METADATA_FILE_am64xx ?= "mcusdk_metadata.inc"
>> +
>>   # First, let's try including metadata.inc that could be fetched and deployed
>>   # by ti-rtos-metadata earlier and provide new set of CORESDK_RTOS_* variables
>> -include ${DEPLOY_DIR_IMAGE}/metadata.inc
>> +include ${DEPLOY_DIR_IMAGE}/${DEFAULT_METADATA_FILE}
>>   
>>   # Set some defaults for when metadata.inc is not available
>>   DEFAULT_RTOS_FAMILY = "jacinto"
>>   DEFAULT_RTOS_VERSION = "07_03_00_16"
>>   DEFAULT_RTOS_VERSION_DOT = "07.03.00.16"
>>   
>> -DEFAULT_RTOS_VERSION_am64xx = "07_03_01_06"
>> -DEFAULT_RTOS_VERSION_DOT_am64xx = "07.03.01.06"
>> +DEFAULT_RTOS_VERSION_am64xx = "07_03_00_03"
>> +DEFAULT_RTOS_VERSION_DOT_am64xx = "07.03.00.03"
>>   
>>   DEFAULT_RTOS_SOC = "undefined"
>>   DEFAULT_RTOS_SOC_j7 = "j721e"
>> @@ -36,6 +39,7 @@ DEFAULT_RTOS_WEBLINK_am65xx = "https://software-dl.ti.com/processor-sdk-rtos/esd
>>   DEFAULT_RTOS_WEBLINK_am64xx = "https://software-dl.ti.com/processor-sdk-rtos/esd/AM64X/firmware/${CORESDK_RTOS_VERSION}"
>>   
>>   DEFAULT_FIRMWARE_FILE = "coresdk_rtos_${CORESDK_RTOS_SOC}_${CORESDK_RTOS_VERSION}_firmware.tar.xz"
>> +DEFAULT_FIRMWARE_FILE_am64xx = "mcu_plus_sdk_${CORESDK_RTOS_SOC}_${CORESDK_RTOS_VERSION}_firmware.tar.xz"
>>   
>>   DEFAULT_FIRMWARE_URL = "file://empty"
>>   DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
>> @@ -43,8 +47,8 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
>>   DEFAULT_FIRMWARE_SHA256SUM = "unknown"
>>   DEFAULT_FIRMWARE_SHA256SUM_j7 = "78f3ab929a0f3c6e2907538061de82e16d8aff7ffb2fac0c3c4d56df8abec3b0"
>>   DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "5bae696d35e206bbcd9b26ab6508af59a2c2d72f9b89aa1d3fc1aa808f7a8615"
>> -DEFAULT_FIRMWARE_SHA256SUM_am65xx = "7bd854dbf96c25683d684ac731fde3edd7fb8a65f8727f7aae3802a2e9a9cab6"
>> -DEFAULT_FIRMWARE_SHA256SUM_am64xx = "450bf23d659756695d62168fe06eebe4641522293d89692a9eea837426bac0f9"
>> +DEFAULT_FIRMWARE_SHA256SUM_am65xx = "d3cffd472fdd17b000afcee806318344e6033ac271ab3a6fa9ca8f432e8420c9"

Shiju, Fix this ,

AM65xx update doesnt make sense in this patch.


>> +DEFAULT_FIRMWARE_SHA256SUM_am64xx = "bc2d3d603ad30006ea3fefa3e777c26c19b95ee6d6f5a630259009f2f5a4996b"
>>   
>>   # Use weak assignment for CORESDK_RTOS_* variables to use defaults if not yet set
>>   CORESDK_RTOS_FAMILY ?= "${DEFAULT_RTOS_FAMILY}"
>> diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb b/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
>> index 9bb0d3c5..466a22a8 100644
>> --- a/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
>> +++ b/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
>> @@ -18,10 +18,11 @@ PLAT_SFX_am64xx = "/am64x"
>>   # Use weak assignment to set defaults to TI_RTOS_METADATA_* variables
>>   TI_RTOS_METADATA_URI ?= "git://git.ti.com/processor-sdk/coresdk_rtos_releases.git"
>>   TI_RTOS_METADATA_PROTOCOL ?= "git"
>> -TI_RTOS_METADATA_SRCREV ?= "ba81dc5a9342fc35435920092a0df2cb2ab342ef"
>> +TI_RTOS_METADATA_SRCREV ?= "e558080592d910783bf2f9ad46ed3b622f899155"
>>   TI_RTOS_METADATA_BRANCH ?= "master"
>>   TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
>>   TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
>> +TI_RTOS_METADATA_FILE_am64xx ?= "${S}${TI_RTOS_METADATA_DIR}/mcusdk_metadata.inc"
>>   
>>   PV = "1.0.0+git${SRCPV}"
>>   
>> -- 
>> 2.17.1
>>
> 

  reply	other threads:[~2021-03-13  2:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 10:24 [dunfell/next v2 PATCH] ti-rtos: update to uisng fw from mcu-plus-sdk for AM64x Shiju Sivasankaran
2021-03-12 23:07 ` [meta-ti] " Denys Dmytriyenko
2021-03-13  2:41   ` praneeth [this message]
2021-03-15  6:27     ` Shiju Sivasankaran
2021-03-15 23:05       ` praneeth
2021-03-15  8:20   ` [EXTERNAL] " Shiju Sivasankaran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed0c8702-1661-685e-5562-f6522b61a074@ti.com \
    --to=praneeth@ti.com \
    --cc=denis@denix.org \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=shiju@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.