Date   

[dunfell][PATCH 00/11] Adding support for am62xx

Ryan Eatmon
 

These patches add initial recipe support for am62xx.

Hari Nagalla (3):
ti-rtos: Add support for AM62x M4F
ti-rtos: Fix AM62x R5F DM FW paths
ti-rtos: Fix AM62x Fix MCU core numbers

Krunal Bhargav (1):
ti-graphics: Add AM62x GPU (AXE1-16M) support v4

Nikhil Devshatwar (3):
recipes-bsp: lpm-demo: Introduce low power mode demo package
recipes-bsp: tifs-lpm-stub: Introduce new recipe
recipes-bsp: lpm-demo: Fix build errors with clean task

Nishanth Menon (4):
machine: Add am62xx evm configuration
recipes-ti: ti-rtos-bin: Add AM62x binaries
recipes: Pick up correct image and build DM to boot images
HACK: recipes-ti: ti-rtos-metadata: Make am62x point to am64x

conf/machine/am62xx-evm-k3r5.conf | 11 +
conf/machine/am62xx-evm.conf | 15 +
conf/machine/include/am62xx.inc | 17 +
recipes-bsp/lpm-demo/files/GPL-2 | 340 ++++++++++++++++++
recipes-bsp/lpm-demo/lpm-demo_1.0.bb | 30 ++
.../ti-img-rogue-driver_1.13.5776728.bb | 40 ---
.../ti-img-rogue-driver_1.15.6133109.bb | 42 +++
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 18 +
.../tifs-lpm-stub/tifs-lpm-stub_git.bb | 22 ++
recipes-bsp/u-boot/u-boot-ti.inc | 7 +
...bb => ti-img-rogue-umlibs_1.15.6133109.bb} | 17 +-
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 37 ++
recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb | 1 +
13 files changed, 549 insertions(+), 48 deletions(-)
create mode 100644 conf/machine/am62xx-evm-k3r5.conf
create mode 100644 conf/machine/am62xx-evm.conf
create mode 100644 conf/machine/include/am62xx.inc
create mode 100644 recipes-bsp/lpm-demo/files/GPL-2
create mode 100644 recipes-bsp/lpm-demo/lpm-demo_1.0.bb
delete mode 100644 recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb
create mode 100644 recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
create mode 100644 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
rename recipes-graphics/libgles/{ti-img-rogue-umlibs_1.13.5776728.bb => ti-img-rogue-umlibs_1.15.6133109.bb} (77%)

--
2.17.1


Re: Patchwork

Nishanth Menon
 

On 15:55-20220315, Ryan Eatmon via lists.yoctoproject.org wrote:

All,

We are using the new Yocto Project Patchwork server to track the state of
patches sent to this mailing list. If you would like to know the status of
a given patch, you may query the project at:

https://patchwork.yoctoproject.org/project/ti/list/

There is also a public-inbox in kernel.org now at https://lore.kernel.org/yocto-meta-ti/

Thanks Denys and yoctoproject team for all the work in making this
happen.

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D


Patchwork

Ryan Eatmon
 

All,

We are using the new Yocto Project Patchwork server to track the state of patches sent to this mailing list. If you would like to know the status of a given patch, you may query the project at:

https://patchwork.yoctoproject.org/project/ti/list/


--
Ryan Eatmon
reatmon@...


[dunfell][PATCH] README: update maintainers list

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Update the maintainers list.

Signed-off-by: Denys Dmytriyenko <denys@...>
Reviewed-by: Praneeth Bajjuri <praneeth@...>
---
This is a modified backport of a similar change from master.

README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index 44544c6..40524a4 100644
--- a/README
+++ b/README
@@ -29,5 +29,5 @@ Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/g/meta-ti

Maintainers:
-Praneeth Bajjuri <praneeth@...>
+Ryan Eatmon <reatmon@...>
Denys Dmytriyenko <denys@...>
--
2.7.4


[dunfell][PATCH] u-boot-ti-staging: Bump to 08.02.00.006 release

Ryan Eatmon
 

Updated the u-boot version for 08.02.00.006

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
index 2c8fa2bc..5b13329f 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
@@ -2,8 +2,8 @@ require u-boot-ti.inc

LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

-PR = "r21"
+PR = "r22"

BRANCH = "ti-u-boot-2021.01"

-SRCREV = "993a48448c6458b2a5a6f612ba9a383a05183a4f"
+SRCREV = "44a87e3ab85c6d64044f0b5ad677008316baad70"
--
2.17.1


failing recipes from meta-ti for beaglebone black

Khem Raj
 

Hello all,

I have run a world build for beaglebone without X11 and using sgx-ddk
for graphics, there are several recipes from meta-ti which are
failing, You might be interested in addressing these failures

https://errors.yoctoproject.org/Errors/Build/142444/

There are some other failures which are perhaps unrelated to meta-ti
e.g. virglrender, qtwebkitgtk, they can be ignored

Thanks
-Khem


[dunfell][PATCH 2/4] linux-ti-staging-rt: Bump to 08.02.00.005 release

Ryan Eatmon
 

Updated the linux rt version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb b/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
index 1e590be0..05fe4d12 100644
--- a/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
+++ b/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"

BRANCH = "ti-rt-linux-5.10.y"

-SRCREV = "8844ac0db67cf31b83b1b1b125baf1e637ef38d0"
+SRCREV = "204ec708dc86f4334f585f04835527570be1c4eb"
PV = "5.10.100+git${SRCPV}"
--
2.17.1


[dunfell][PATCH 4/4] ti-linux-fw: Bump to 08.02.00.005 release

Ryan Eatmon
 

Updated the ti-linux-fw version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index fced78fd..faf998dd 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -19,7 +19,7 @@ CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"

-TI_LINUX_FW_SRCREV ?= "8810faf0c51a80554150e185122e43bee1553c37"
+TI_LINUX_FW_SRCREV ?= "0f4905088d24e474063f33777559149e11538be5"
SRCREV = "${TI_LINUX_FW_SRCREV}"

BRANCH ?= "ti-linux-firmware"
--
2.17.1


[dunfell][PATCH 3/4] u-boot-ti-staging: Bump to 08.02.00.005 release

Ryan Eatmon
 

Updated the u-boot version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
index 3cc3bc0c..2c8fa2bc 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
@@ -2,8 +2,8 @@ require u-boot-ti.inc

LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

-PR = "r20"
+PR = "r21"

BRANCH = "ti-u-boot-2021.01"

-SRCREV = "0fc56d453ecf89632cfc89eec0a979f557b7d58a"
+SRCREV = "993a48448c6458b2a5a6f612ba9a383a05183a4f"
--
2.17.1


[dunfell][PATCH 0/4] Update to 08.02.00.005

Ryan Eatmon
 

Update u-boot, integrated lts kernel and firmware to 08.02.00.005 tag.

Ryan Eatmon (4):
linux-ti-staging: Bump to 08.02.00.005 release
linux-ti-staging-rt: Bump to 08.02.00.005 release
u-boot-ti-staging: Bump to 08.02.00.005 release
ti-linux-fw: Bump to 08.02.00.005 release

recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 2 +-
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

--
2.17.1


[dunfell][PATCH 1/4] linux-ti-staging: Bump to 08.02.00.005 release

Ryan Eatmon
 

Updated the linux version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-ti-staging_5.10.bb b/recipes-kernel/linux/linux-ti-staging_5.10.bb
index 2ff3fb12..9eb5a306 100644
--- a/recipes-kernel/linux/linux-ti-staging_5.10.bb
+++ b/recipes-kernel/linux/linux-ti-staging_5.10.bb
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"

BRANCH = "ti-linux-5.10.y"

-SRCREV = "5a43918e31d3b89955ce1f8e2cf155a6deb7432e"
+SRCREV = "7a7a3af903da2b2d551d058f8262a66e6b42b6b1"
PV = "5.10.100+git${SRCPV}"

# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
--
2.17.1


Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

Denys Dmytriyenko
 

On Fri, Mar 04, 2022 at 03:24:37PM -0500, Denys Dmytriyenko wrote:
On Fri, Mar 04, 2022 at 02:06:47PM -0600, Ryan Eatmon wrote:


On 3/4/2022 13:40, Bajjuri, Praneeth wrote:


On 3/4/2022 1:25 PM, Ryan Eatmon wrote:
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
b/recipes-bsp/prueth-fw/prueth-fw.bb
Also, might want to name it prueth-fw_git.bb - not required, just a naming
convention to indicate it is pulled from git and version is set by recipe.


similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx,
AM437x and AM335x"
  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
  PR = "${INC_PR}.0"
I think you need to uniquify the PV variable for each platform. 
Right now you are just resetting each time and not overriding
it.

PV_am335x-evm = "${PRUETH_FW_AM335X_VERSION}"
etc...
Thanks for the quick review,
Does this work instead? PV_ti-soc?

The FW version for each platform could be different as the
mentioned commit in commitmessage points to updating the firmware
only for am57xx but not for am335x/am437x.
While I think that might technically work, there are only three
machines that come into these recipes. I think it would be more
confusing for someone reading the recipe to wonder what all makes up
ti-soc, rather than just seeing the three specific variables called
out. Plus you created three variables in the ti-linux-fw.inc. It
would fit more in line with other things in the same recipe to just
list them out:


TARGET = ""
TARGET_ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
TARGET_ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"

and

PV = ""
PV_ti33x = "${PRUETH_FW_AM335X_VERSION}"
PV_ti43x = "${PRUETH_FW_AM437X_VERSION}"
PV_am57xx-evm = "${PRUETH_FW_AM57XX_VERSION}"
PV_am57xx-hs-evm = "${PRUETH_FW_AM57XX_VERSION}"
No, PV_ti-soc won't work, it will be the same as plain PV and won't use the
correct value per platform.

What Ryan explains is correct - need an override per platform.

BTW, master uses a different override syntax, so this won't apply to master or
kirkstone and would need to be updated...
--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964


Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

Denys Dmytriyenko
 

On Fri, Mar 04, 2022 at 02:06:47PM -0600, Ryan Eatmon wrote:


On 3/4/2022 13:40, Bajjuri, Praneeth wrote:


On 3/4/2022 1:25 PM, Ryan Eatmon wrote:
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx,
AM437x and AM335x"
  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
  PR = "${INC_PR}.0"
I think you need to uniquify the PV variable for each platform. 
Right now you are just resetting each time and not overriding
it.

PV_am335x-evm = "${PRUETH_FW_AM335X_VERSION}"
etc...
Thanks for the quick review,
Does this work instead? PV_ti-soc?

The FW version for each platform could be different as the
mentioned commit in commitmessage points to updating the firmware
only for am57xx but not for am335x/am437x.
While I think that might technically work, there are only three
machines that come into these recipes. I think it would be more
confusing for someone reading the recipe to wonder what all makes up
ti-soc, rather than just seeing the three specific variables called
out. Plus you created three variables in the ti-linux-fw.inc. It
would fit more in line with other things in the same recipe to just
list them out:


TARGET = ""
TARGET_ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
TARGET_ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"

and

PV = ""
PV_ti33x = "${PRUETH_FW_AM335X_VERSION}"
PV_ti43x = "${PRUETH_FW_AM437X_VERSION}"
PV_am57xx-evm = "${PRUETH_FW_AM57XX_VERSION}"
PV_am57xx-hs-evm = "${PRUETH_FW_AM57XX_VERSION}"
No, PV_ti-soc won't work, it will be the same as plain PV and won't use the
correct value per platform.

What Ryan explains is correct - need an override per platform.

BTW, master uses a different override syntax, so this won't apply to master or
kirkstone and would need to be updated...

--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964


Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

Ryan Eatmon
 

On 3/4/2022 13:40, Bajjuri, Praneeth wrote:
On 3/4/2022 1:25 PM, Ryan Eatmon wrote:
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
  PR = "${INC_PR}.0"
I think you need to uniquify the PV variable for each platform.  Right now you are just resetting each time and not overriding it.

PV_am335x-evm = "${PRUETH_FW_AM335X_VERSION}"
etc...
Thanks for the quick review,
Does this work instead? PV_ti-soc?
The FW version for each platform could be different as the mentioned commit in commitmessage points to updating the firmware only for am57xx but not for am335x/am437x.
While I think that might technically work, there are only three machines that come into these recipes. I think it would be more confusing for someone reading the recipe to wonder what all makes up ti-soc, rather than just seeing the three specific variables called out. Plus you created three variables in the ti-linux-fw.inc. It would fit more in line with other things in the same recipe to just list them out:


TARGET = ""
TARGET_ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
TARGET_ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"

and

PV = ""
PV_ti33x = "${PRUETH_FW_AM335X_VERSION}"
PV_ti43x = "${PRUETH_FW_AM437X_VERSION}"
PV_am57xx-evm = "${PRUETH_FW_AM57XX_VERSION}"
PV_am57xx-hs-evm = "${PRUETH_FW_AM57XX_VERSION}"



--
Ryan Eatmon
reatmon@...


Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

praneeth
 

On 3/4/2022 1:25 PM, Ryan Eatmon wrote:
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
  PR = "${INC_PR}.0"
I think you need to uniquify the PV variable for each platform.  Right now you are just resetting each time and not overriding it.
PV_am335x-evm = "${PRUETH_FW_AM335X_VERSION}"
etc...
Thanks for the quick review,
Does this work instead? PV_ti-soc?

The FW version for each platform could be different as the mentioned commit in commitmessage points to updating the firmware only for am57xx but not for am335x/am437x.



Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

Ryan Eatmon
 

On 3/4/2022 13:15, Praneeth Bajjuri wrote:
commit 5a05d0b ("ti-pruss: Update AM57x PRP firmware to 002.020.035")
commit d88ee87 ("ti-pruss: Update AM57x HSR firmware to 002.020.035")
commit bc428f2 ("ti-pruss: Update AM57x Switch firmware to 003.002.012")
commit f154d9e ("ti-pruss: Update AM57x Dual-EMAC firmware to 005.006.018")
has updated hsr/prp/sw/dual-emac pruss firmware version for am57xx.
This fix is to update the version for am57xx and while at it
rename the recipes and capture the fix version for am335x, am437x and am57xx
in ti-linux-fw.inc.
Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
.../{prueth-fw_5.6.15.bb => prueth-fw.bb} | 3 +++
.../{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} | 3 +++
.../{pruprp-fw_2.17.25.bb => pruprp-fw.bb} | 3 +++
.../prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} | 3 +++
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 14 +++++++++++++-
5 files changed, 25 insertions(+), 1 deletion(-)
rename recipes-bsp/prueth-fw/{prueth-fw_5.6.15.bb => prueth-fw.bb} (88%)
rename recipes-bsp/pruhsr-fw/{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} (88%)
rename recipes-bsp/pruprp-fw/{pruprp-fw_2.17.25.bb => pruprp-fw.bb} (88%)
rename recipes-bsp/prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} (88%)
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
I think you need to uniquify the PV variable for each platform. Right now you are just resetting each time and not overriding it.

PV_am335x-evm = "${PRUETH_FW_AM335X_VERSION}"
etc...


CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
similarity index 88%
rename from recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
rename to recipes-bsp/pruhsr-fw/pruhsr-fw.bb
index 507a500b..1decd3d6 100644
--- a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PE = "1"
+PV = "${PRUHSR_FW_AM335X_VERSION}"
+PV = "${PRUHSR_FW_AM437X_VERSION}"
+PV = "${PRUHSR_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
Same here.


CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/recipes-bsp/pruprp-fw/pruprp-fw.bb
similarity index 88%
rename from recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
rename to recipes-bsp/pruprp-fw/pruprp-fw.bb
index ba203948..656a640b 100644
--- a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
+++ b/recipes-bsp/pruprp-fw/pruprp-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PE = "1"
+PV = "${PRUPRP_FW_AM335X_VERSION}"
+PV = "${PRUPRP_FW_AM437X_VERSION}"
+PV = "${PRUPRP_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
Same here.


CLEANBROKEN = "1"
diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/recipes-bsp/prusw-fw/prusw-fw.bb
similarity index 88%
rename from recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
rename to recipes-bsp/prusw-fw/prusw-fw.bb
index ec0a15f4..ce0e5013 100644
--- a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
+++ b/recipes-bsp/prusw-fw/prusw-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUSW_FW_AM335X_VERSION}"
+PV = "${PRUSW_FW_AM437X_VERSION}"
+PV = "${PRUSW_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
Same here.


CLEANBROKEN = "1"
diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index fced78fd..368b203f 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -12,14 +12,26 @@ SERDES_FW_VERSION = "3.3.0.2c"
NETCP_SA_FW_VERSION = "1.0.0"
NETCP_PA_FW_VERSION = "3.0.2.3"
QMSS_PDSP_FW_VERSION = "1.0.0.9"
+PRUETH_FW_AM335X_VERSION = "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM437X_VERSION "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM57XX_VERSION = "5.6.18"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07"
+PRUHSR_FW_AM335X_VERSION = "2.17.25"
+PRUHSR_FW_AM437X_VERSION = "2.17.25"
+PRUHSR_FW_AM57XX_VERSION = "2.20.35"
+PRUPRP_FW_AM335X_VERSION = "2.17.25"
+PRUPRP_FW_AM437X_VERSION = "2.17.25"
+PRUPRP_FW_AM57XX_VERSION = "2.20.35"
+PRUSW_FW_AM335X_VERSION = "3.2.7"
+PRUSW_FW_AM437X_VERSION = "3.2.7"
+PRUSW_FW_AM57XX_VERSION = "3.2.12"
GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"
-TI_LINUX_FW_SRCREV ?= "8810faf0c51a80554150e185122e43bee1553c37"
+TI_LINUX_FW_SRCREV ?= "0f4905088d24e474063f33777559149e11538be5"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"
--
Ryan Eatmon
reatmon@...


Re: [dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

praneeth
 

On 3/4/2022 1:15 PM, Praneeth Bajjuri wrote:
commit 5a05d0b ("ti-pruss: Update AM57x PRP firmware to 002.020.035")
commit d88ee87 ("ti-pruss: Update AM57x HSR firmware to 002.020.035")
commit bc428f2 ("ti-pruss: Update AM57x Switch firmware to 003.002.012")
commit f154d9e ("ti-pruss: Update AM57x Dual-EMAC firmware to 005.006.018")
has updated hsr/prp/sw/dual-emac pruss firmware version for am57xx.
This fix is to update the version for am57xx and while at it
rename the recipes and capture the fix version for am335x, am437x and am57xx
in ti-linux-fw.inc.
Ryan,
Have not chance to test this patch. Please review and verify.


Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
.../{prueth-fw_5.6.15.bb => prueth-fw.bb} | 3 +++
.../{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} | 3 +++
.../{pruprp-fw_2.17.25.bb => pruprp-fw.bb} | 3 +++
.../prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} | 3 +++
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 14 +++++++++++++-
5 files changed, 25 insertions(+), 1 deletion(-)
rename recipes-bsp/prueth-fw/{prueth-fw_5.6.15.bb => prueth-fw.bb} (88%)
rename recipes-bsp/pruhsr-fw/{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} (88%)
rename recipes-bsp/pruprp-fw/{pruprp-fw_2.17.25.bb => pruprp-fw.bb} (88%)
rename recipes-bsp/prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} (88%)
diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
similarity index 88%
rename from recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
rename to recipes-bsp/pruhsr-fw/pruhsr-fw.bb
index 507a500b..1decd3d6 100644
--- a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PE = "1"
+PV = "${PRUHSR_FW_AM335X_VERSION}"
+PV = "${PRUHSR_FW_AM437X_VERSION}"
+PV = "${PRUHSR_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/recipes-bsp/pruprp-fw/pruprp-fw.bb
similarity index 88%
rename from recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
rename to recipes-bsp/pruprp-fw/pruprp-fw.bb
index ba203948..656a640b 100644
--- a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
+++ b/recipes-bsp/pruprp-fw/pruprp-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PE = "1"
+PV = "${PRUPRP_FW_AM335X_VERSION}"
+PV = "${PRUPRP_FW_AM437X_VERSION}"
+PV = "${PRUPRP_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/recipes-bsp/prusw-fw/prusw-fw.bb
similarity index 88%
rename from recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
rename to recipes-bsp/prusw-fw/prusw-fw.bb
index ec0a15f4..ce0e5013 100644
--- a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
+++ b/recipes-bsp/prusw-fw/prusw-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+PV = "${PRUSW_FW_AM335X_VERSION}"
+PV = "${PRUSW_FW_AM437X_VERSION}"
+PV = "${PRUSW_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index fced78fd..368b203f 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -12,14 +12,26 @@ SERDES_FW_VERSION = "3.3.0.2c"
NETCP_SA_FW_VERSION = "1.0.0"
NETCP_PA_FW_VERSION = "3.0.2.3"
QMSS_PDSP_FW_VERSION = "1.0.0.9"
+PRUETH_FW_AM335X_VERSION = "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM437X_VERSION "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM57XX_VERSION = "5.6.18"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07"
+PRUHSR_FW_AM335X_VERSION = "2.17.25"
+PRUHSR_FW_AM437X_VERSION = "2.17.25"
+PRUHSR_FW_AM57XX_VERSION = "2.20.35"
+PRUPRP_FW_AM335X_VERSION = "2.17.25"
+PRUPRP_FW_AM437X_VERSION = "2.17.25"
+PRUPRP_FW_AM57XX_VERSION = "2.20.35"
+PRUSW_FW_AM335X_VERSION = "3.2.7"
+PRUSW_FW_AM437X_VERSION = "3.2.7"
+PRUSW_FW_AM57XX_VERSION = "3.2.12"
GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"
-TI_LINUX_FW_SRCREV ?= "8810faf0c51a80554150e185122e43bee1553c37"
+TI_LINUX_FW_SRCREV ?= "0f4905088d24e474063f33777559149e11538be5"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"


[dunfell/master PATCH] pruss-fw: am57xx: Update hsr/prp/sw/dual-emac firmware

praneeth
 

commit 5a05d0b ("ti-pruss: Update AM57x PRP firmware to 002.020.035")
commit d88ee87 ("ti-pruss: Update AM57x HSR firmware to 002.020.035")
commit bc428f2 ("ti-pruss: Update AM57x Switch firmware to 003.002.012")
commit f154d9e ("ti-pruss: Update AM57x Dual-EMAC firmware to 005.006.018")

has updated hsr/prp/sw/dual-emac pruss firmware version for am57xx.

This fix is to update the version for am57xx and while at it
rename the recipes and capture the fix version for am335x, am437x and am57xx
in ti-linux-fw.inc.

Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
.../{prueth-fw_5.6.15.bb => prueth-fw.bb} | 3 +++
.../{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} | 3 +++
.../{pruprp-fw_2.17.25.bb => pruprp-fw.bb} | 3 +++
.../prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} | 3 +++
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 14 +++++++++++++-
5 files changed, 25 insertions(+), 1 deletion(-)
rename recipes-bsp/prueth-fw/{prueth-fw_5.6.15.bb => prueth-fw.bb} (88%)
rename recipes-bsp/pruhsr-fw/{pruhsr-fw_2.17.25.bb => pruhsr-fw.bb} (88%)
rename recipes-bsp/pruprp-fw/{pruprp-fw_2.17.25.bb => pruprp-fw.bb} (88%)
rename recipes-bsp/prusw-fw/{prusw-fw_3.2.9.bb => prusw-fw.bb} (88%)

diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/recipes-bsp/prueth-fw/prueth-fw.bb
similarity index 88%
rename from recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
rename to recipes-bsp/prueth-fw/prueth-fw.bb
index f7336fb1..e41bb3c0 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"

require recipes-bsp/ti-linux-fw/ti-linux-fw.inc

+PV = "${PRUETH_FW_AM335X_VERSION}"
+PV = "${PRUETH_FW_AM437X_VERSION}"
+PV = "${PRUETH_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"

CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
similarity index 88%
rename from recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
rename to recipes-bsp/pruhsr-fw/pruhsr-fw.bb
index 507a500b..1decd3d6 100644
--- a/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc

PE = "1"
+PV = "${PRUHSR_FW_AM335X_VERSION}"
+PV = "${PRUHSR_FW_AM437X_VERSION}"
+PV = "${PRUHSR_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"

CLEANBROKEN = "1"
diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/recipes-bsp/pruprp-fw/pruprp-fw.bb
similarity index 88%
rename from recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
rename to recipes-bsp/pruprp-fw/pruprp-fw.bb
index ba203948..656a640b 100644
--- a/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
+++ b/recipes-bsp/pruprp-fw/pruprp-fw.bb
@@ -3,6 +3,9 @@ SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc

PE = "1"
+PV = "${PRUPRP_FW_AM335X_VERSION}"
+PV = "${PRUPRP_FW_AM437X_VERSION}"
+PV = "${PRUPRP_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"

CLEANBROKEN = "1"
diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/recipes-bsp/prusw-fw/prusw-fw.bb
similarity index 88%
rename from recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
rename to recipes-bsp/prusw-fw/prusw-fw.bb
index ec0a15f4..ce0e5013 100644
--- a/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
+++ b/recipes-bsp/prusw-fw/prusw-fw.bb
@@ -2,6 +2,9 @@ SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x"

require recipes-bsp/ti-linux-fw/ti-linux-fw.inc

+PV = "${PRUSW_FW_AM335X_VERSION}"
+PV = "${PRUSW_FW_AM437X_VERSION}"
+PV = "${PRUSW_FW_AM57XX_VERSION}"
PR = "${INC_PR}.0"

CLEANBROKEN = "1"
diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index fced78fd..368b203f 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -12,14 +12,26 @@ SERDES_FW_VERSION = "3.3.0.2c"
NETCP_SA_FW_VERSION = "1.0.0"
NETCP_PA_FW_VERSION = "3.0.2.3"
QMSS_PDSP_FW_VERSION = "1.0.0.9"
+PRUETH_FW_AM335X_VERSION = "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM437X_VERSION "REL.PDK_ICSS_EMAC_FW_08.01.00"
+PRUETH_FW_AM57XX_VERSION = "5.6.18"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07"
+PRUHSR_FW_AM335X_VERSION = "2.17.25"
+PRUHSR_FW_AM437X_VERSION = "2.17.25"
+PRUHSR_FW_AM57XX_VERSION = "2.20.35"
+PRUPRP_FW_AM335X_VERSION = "2.17.25"
+PRUPRP_FW_AM437X_VERSION = "2.17.25"
+PRUPRP_FW_AM57XX_VERSION = "2.20.35"
+PRUSW_FW_AM335X_VERSION = "3.2.7"
+PRUSW_FW_AM437X_VERSION = "3.2.7"
+PRUSW_FW_AM57XX_VERSION = "3.2.12"
GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"

-TI_LINUX_FW_SRCREV ?= "8810faf0c51a80554150e185122e43bee1553c37"
+TI_LINUX_FW_SRCREV ?= "0f4905088d24e474063f33777559149e11538be5"
SRCREV = "${TI_LINUX_FW_SRCREV}"

BRANCH ?= "ti-linux-firmware"
--
2.17.1


Re: [dunfell][PATCH] conf: machine: am64xx-hs-evm: Include required boot binaries in wic image

Denys Dmytriyenko
 

On Thu, Mar 03, 2022 at 05:35:04PM +0530, Aparna M wrote:
On 19:17-20220301, Denys Dmytriyenko wrote:
Hi Denys,

Yes, the wic image was tested on the HS platform and the boot works.
This should give you an idea about the boot flow :
https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/08_01_00_01/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#boot-flow
Yeah, I'm well aware of the K3 GP boot flow. I was asking about the same for
K3 HS, as few things aren't that clear. E.g. in legacy HS devices OPTEE was
part of FIT image loaded by U-boot. Now OPTEE loads much earlier. I was trying
to clarify few things like that and how certs and validation are handled...


Boot images are x509 cert signed and the fitImage and DTBs are present
in /boot in the rootfs partition of the wic image. Also, yes, I
Ah, right, see that now.


believe the other K3 HS platforms need similar fixes.
Do you plan to submit similar patches for those platforms?

Thanks.


Thanks, Aparna.

Was this tested on the actual HS platform?
Can you describe the boot flow briefly?
Where does fitImage with the kernel and DTBs go? I don't see it in wic.
Also, what about other K3 HS platforms? Should they be updated similarly?
Thanks.


On Wed, Mar 02, 2022 at 05:38:57AM +0530, Aparna M wrote:
The wic image generated for HS platforms do not contain all required
boot files. This happens because the IMAGE_BOOT_FILES variable that
contains boot binaries to be included in the wic image is not set
correctly. Populate this variable to include all boot binaries required.

All the HS platforms generate the u-boot binary as u-boot.img_HS but the
bootloader expects the binary to be named as u-boot.img. Use UBOOT_IMAGE
variable to include the binary as u-boot.img in the wic image.

Signed-off-by: Aparna M <a-m1@...>
---
conf/machine/am64xx-hs-evm.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/machine/am64xx-hs-evm.conf b/conf/machine/am64xx-hs-evm.conf
index 44e81463..960f63cf 100644
--- a/conf/machine/am64xx-hs-evm.conf
+++ b/conf/machine/am64xx-hs-evm.conf
@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
-IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
+UBOOT_IMAGE = "u-boot.img"
+IMAGE_BOOT_FILES = "tiboot3.bin ${SPL_BINARYNAME} ${UBOOT_IMAGE}"

TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
--
2.17.1
--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964


Re: [dunfell][PATCH] conf: machine: am64xx-hs-evm: Include required boot binaries in wic image

Aparna M
 

On 19:17-20220301, Denys Dmytriyenko wrote:
Hi Denys,

Yes, the wic image was tested on the HS platform and the boot works.
This should give you an idea about the boot flow :
https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/08_01_00_01/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#boot-flow
Boot images are x509 cert signed and the fitImage and DTBs are present
in /boot in the rootfs partition of the wic image. Also, yes, I
believe the other K3 HS platforms need similar fixes.

Thanks, Aparna.

Was this tested on the actual HS platform?
Can you describe the boot flow briefly?
Where does fitImage with the kernel and DTBs go? I don't see it in wic.
Also, what about other K3 HS platforms? Should they be updated similarly?
Thanks.


On Wed, Mar 02, 2022 at 05:38:57AM +0530, Aparna M wrote:
The wic image generated for HS platforms do not contain all required
boot files. This happens because the IMAGE_BOOT_FILES variable that
contains boot binaries to be included in the wic image is not set
correctly. Populate this variable to include all boot binaries required.

All the HS platforms generate the u-boot binary as u-boot.img_HS but the
bootloader expects the binary to be named as u-boot.img. Use UBOOT_IMAGE
variable to include the binary as u-boot.img in the wic image.

Signed-off-by: Aparna M <a-m1@...>
---
conf/machine/am64xx-hs-evm.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/machine/am64xx-hs-evm.conf b/conf/machine/am64xx-hs-evm.conf
index 44e81463..960f63cf 100644
--- a/conf/machine/am64xx-hs-evm.conf
+++ b/conf/machine/am64xx-hs-evm.conf
@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
-IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
+UBOOT_IMAGE = "u-boot.img"
+IMAGE_BOOT_FILES = "tiboot3.bin ${SPL_BINARYNAME} ${UBOOT_IMAGE}"

TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
--
2.17.1
--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964

361 - 380 of 14873