1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

Compare commits

...

107 Commits

Author SHA1 Message Date
Yogesh Siraswar
4a9c7c18d4 ti-sci-fw: Update ti-linux-firmware srcrev to 08.00.00.003
Update ti-linux-firmware to pick 08.00.00.003

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-16 20:23:49 +00:00
Yogesh Siraswar
13f9690aa6 linux-ti-staging-rt: Update linux-rt srcrev to 08.00.00.003
Updated the linux-rt to pick 08.00.00.003 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-16 19:26:32 +00:00
Yogesh Siraswar
344de9c04c linux-ti-staging: Update the linux srcrev to 08.00.00.003
Updated the linux branch to pick 08.00.00.003 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-16 19:21:53 +00:00
Yogesh Siraswar
63d042cc10 u-boot-ti-staging: Update the u-boot srcrev to 08.00.00.003
Update the u-boot to pick tag 08.00.00.003

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-16 19:18:27 +00:00
Yogesh Siraswar
eff643e591 ti-rtos-firmware: update the source to ti-linux-firmware
This is temporary change to pick the 08.00.00.026 firmware from
ti-linux-firmware repos:
1) Using the ti-sci-fw to pick the latest firmware and support AUTOREV
in future
2) Kept the destination folder name same to avoid wide-spead changes to
other recipes. Since that will be changed as part of over-all clean-up

TODO:
1) Re-structure rtos firmware repo and update all dependent firmware recipes.
2) Fix the destination folder name to match src folder

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-16 17:29:08 +00:00
Denys Dmytriyenko
e287e588bb ti-img-rogue-driver: support OE nodistro toolchain same as Poky
Add OpenEmbedded "nodistro" internal toolchain triplet detection similar to
corresponding Poky one.

Cc: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 04:37:26 +00:00
Nishanth Menon
ee7389ab67 recipes-bsp: u-boot-ti-mainline: Update to v2021.07 release
Update u-boot recipe to be on the latest official upstream tag.

This introduces initial support for AM64x which works with v5.13
kernel tag.

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 04:34:12 +00:00
Sinthu Raja
26acf04c06 conf: j7-evm: Add j721e eaik dtb to KERNEL_DEVICETREE
J721E EdgeAI Kit (EAIK) is a low cost, small form factor board designed
for TI’s J721E SoC. TI’s J721E SoC comprises of dual core A72, high
performance vision accelerators, video codec accelerators, latest C71x
and C66x DSP, high bandwidth real-time IPs for capture and display,
GPU, dedicated safety island and security accelerators.

J721E EAIK supports the following interfaces:
* 4 GB LPDDR4 RAM
* x1 Gigabit Ethernet interface
* x1 USB 3.0 Type-C port
* x3 USB 3.0 Type-A ports
* x1 PCIe M.2 E Key
* x1 PCIe M.2 M Key
* x2 CSI2 Camera interface (RPi and TI Camera connector)
* 40-pin Raspberry Pi compatible GPIO header

J721e EVM and EAIK uses the unified bootloader. Add j721e eaik dtb
for machine=j721e-evm

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 04:29:26 +00:00
Yogesh Siraswar
64012ed5e0 ti-sci-fw: Update linux firmware repo to 08.00.00.002
Update linux firmware repo to 08.00.00.002

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-08 05:01:21 +00:00
Yogesh Siraswar
c63eff371b u-boot-ti-staging: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-08 04:53:55 +00:00
Yogesh Siraswar
46fcec17d5 linux-ti-staging-rt: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-08 04:51:08 +00:00
Yogesh Siraswar
5aaea8ee7f linux-ti-staging: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-08 04:46:52 +00:00
Nishanth Menon
bad7dbba38 linux-ti-mainline: Bump kernel version to v5.13
And lets work with the latest kernel and while at it bump the system up
to latest ti-upstream-tools repo to get:
* AM65x SR1.0 overlay support
* EFI configuration to allow for the eventual support
* Few more cleanups for new architectures that have popped in.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-07 22:23:41 +00:00
Nishanth Menon
d5db414172 ti-sci-fw: k3-image-gen: Revert SPL address change for mainline
Commit 02a2433c ("ti-sci-fw: Update image gen to latest") switched to a
newer commit in k3-image-gen that also picked up TISCI firmware release,
However, does include a change where the SPL address changed.

This switch in address has been queued for upstream in a future release
(v5.14 + u-boot 2021.10) and current mainline formal tags do not support
this address change. As a result, we have a broken AM64x mainline
support.

Revert this specific change from k3-image-gen for mainline alone for
now.

NOTE: This uses ARAGO_BRAND=mainline which is NOT accurate for meta-ti
which is distro independent, hence without appropriate changes while
using alternate distros, this change will not take effect.

Reported-by: Tom Rini <trini@konsulko.com>
Suggested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-07 22:23:13 +00:00
Nishanth Menon
69f5800255 ti-sci-fw: Update linux firmware repo to 08.00.00.001
Just updating imggen to a configuration compatible with latest firmware
should not have been accepted, we should have ensured that firmware
commit has moved correspondingly as well. Fix the same, else we get a
broken system.

Fixes: 406f599822 ("ti-sci-fw: Update imggen to release 08.00.00.001 tag")

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-30 20:45:18 +00:00
Lokesh Vutla
4a63e03c63 prueth-fw: Update prueth dual emac firmware to 5.6.15
Update the Prueth Dual Emac firmware to 5.6.15 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 03:06:46 +00:00
Lokesh Vutla
518092b90a prusw-fw: Update switch firmwares to 3.2.9 version
Update prueth switch firmwares to 3.2.9 version

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 03:06:46 +00:00
Yogesh Siraswar
24959c861c linux-ti-staging: Update to 08.00.00.001 release tag
Update to 08.00.00.001 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 02:51:47 +00:00
Yogesh Siraswar
3d86b4f2bb linux-ti-staging-rt: Update to 08.00.00.001 release tag
Update to 08.00.00.001 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 02:51:38 +00:00
Yogesh Siraswar
05fd87a80e u-boot-ti-staging: Update to 08.00.00.001 release tag
Update to 08.00.00.001 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 02:51:32 +00:00
Yogesh Siraswar
406f599822 ti-sci-fw: Update imggen to release 08.00.00.001 tag
Update imggen for release 08.00.00.001 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-29 02:51:23 +00:00
Praneeth Bajjuri
b394c5feba optee-os: upgrade to upstream 3.12.0
Upgrade optee-os to upstream 3.12.0 on dunfell branch.

upstream optee 3.13.0 tag has the following patches.
f50962e3 ta_dev_kit.mk: make sure that libutils is linked second time
73196b58 link.mk: implement support for libnames-after-libgcc variable
36e784f6 libutils: provide empty __getauxval() implementation

Hence removing from here.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-28 11:21:31 +00:00
Grygorii Strashko
7c4f40e09b prueth-fw-am65x-sr2: Updating firmware to 02.02.09.02
Update AM65x SR2.0 prueth firmware to 02.02.09.02

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-28 11:19:21 +00:00
Grygorii Strashko
ececc4f073 prueth-fw: am65x: SR1.0: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk build,
due to inconsistency of PDK releases vs Linux SDK releases vs different
SoCs.

Update to FW version: REL.CORESDK.08.00.00.20

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-28 11:17:38 +00:00
Nikhil Devshatwar
d8e96545f1 recipes-kernel: jailhouse: Remove jailhouse recipe
Jailhouse support is dropped for K3 platforms, remove the
recipe and corresponding patches.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-26 11:53:49 +00:00
Nikhil Devshatwar
7876863adb recipes-bsp: ivshmem: Remove ivshmem packages
Jailhouse support is dropped for K3 platforms. So the ivshmem
(inter VM shared memory) based UIO driver and test applications
cannot be build and are not required.

Remove the recipes for the same.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-26 11:53:20 +00:00
Praneeth Bajjuri
2ab3edaf70 trusted-firmware-a: Update to v2.5
Update to v2.5 tag merge from upstream to keep TF-A in sync.

For major changes in trusted-firmware-a, See:
https://trustedfirmware-a.readthedocs.io/en/latest/change-log.html#version-2-5

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-25 15:23:22 +00:00
Praneeth Bajjuri
749fcd9b91 ti-sci-fw: Update linux-firmware to latest
update linux-firmware to latest which has sync from upstream linux-firmware main branch.

This commit also picks latest version of DisplayPort firmware v2.1.0
commit f99d6a1d579e ("linux-firmware: update firmware for mhdp8546")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-25 15:20:48 +00:00
Praneeth Bajjuri
02a2433c47 ti-sci-fw: Update image gen to latest
update image gen to latest.
This commit also picks AM64x boot critical fix.
commit e411dc16862b ("soc: am64x: Makefile: Move the SPL Load address to 0x70000000")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-06-10 19:49:54 -05:00
Praneeth Bajjuri
f4dfe17248 linux-ti-staging: Update 5.10 kernel to tag 08.00.00.000
Update 5.10 kernel to tag 08.00.00.000

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-06-10 17:52:16 -05:00
Praneeth Bajjuri
cb349db54f linux-ti-staging: Update 5.10 kernel to 5.10.41
Update linux 5.10 to 5.10.41 stable

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-06-10 08:19:17 -05:00
Praneeth Bajjuri
3f7375b6d1 conf: j7-evm: ReIntroduce pm1 SOM with tps65917 PMIC
commit 8b206b32ec ("conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel")
removed all non-existent dtb* for j7-evm as they were not
available on linux 5.10 branch at that time.

Since the support for pm1 SOM with tps65917 PMIC is added in ti-linux-5.10.y by
commit dd97d0bbafb7 ("arm64: dts: ti: k3-j721e: Add support for pm1 SOM with tps65917 PMIC")

This patch adds the support back with the supported dtb.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-06-10 08:19:17 -05:00
Praneeth Bajjuri
65a60dc349 linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-06-10 08:19:17 -05:00
Praneeth Bajjuri
45f43b3a29 conf: am65xx-evm: ReIntroduce display overlays for 5.10
commit 9ea50db095 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10")
removed all non-existent dtb* for am65xx-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces following display overlays.
- k3-am654-evm-tc358876.dtbo
- k3-am654-evm-oldi-lcd1evm.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:19:41 -05:00
Praneeth Bajjuri
e13d00e73e conf/machine: am64xx: Add overlay to support icssg1-dualemac
This patch adds overlay to support icssg1-dualemac
ie: 1 x CPSW3g ports and 2 x ICSSG1 ports configuration

overlay: k3-am642-evm-icssg1-dualemac.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:18:48 -05:00
Praneeth Bajjuri
cd4e782d01 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:16:28 -05:00
Praneeth Bajjuri
2de2c5ec01 linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:15:00 -05:00
Praneeth Bajjuri
6983b50ecf linux-ti-staging: Update 5.10 kernel to 5.10.35
Update linux 5.10 to 5.10.35 stable

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:13:49 -05:00
Praneeth Bajjuri
fbcd6401ae conf: j7-evm: ReIntroduce existent dtbo for 5.10
commit 8b206b32ec ("conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel")
removed all non-existent dtb* for j7-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces k3-j721e-common-proc-board-infotainment.dtbo overlay.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:11:05 -05:00
Grygorii Strashko
48dabba548 prueth-fw: am64xx-evm: add prebuilt PRU Ethernet FW
Add prebuilt PRU Ethernet FW for am64xx-evm which is the same as
for AM65x SR2.0.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-06-08 09:08:13 -05:00
Yogesh Siraswar
99cf543ee3 linux-ti-staging: Add extra dtc flags to support dtb overlays
Added KERNEL_DTB_OVERLAY_SUPPORT to common ti-soc include. This fixes the issue
where the dtbs are build without symbols causing issue with overlays.

Please note this increases the size of the dtb for all platform
derived from ti-soc. So for custom boards disable it from local.conf to
reduce size.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-05-26 12:17:22 -05:00
Lokesh Vutla
0a7997966f machine: am64xx-sk: Drop am64xx-sk Machine support
With U-Boot supporting both am64xx-evm and am64xx-sk with single
defconfig, there is not need for a new machine for am64xx-sk.

So, drop support for am64xx-sk machine.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2021-05-17 17:37:22 -05:00
Lokesh Vutla
33ad83a1de conf/machine: am64xx: Include SK dtb for machine am64xx-evm
As a step towards unification for am64xx-evm and am64xx-sk,
start including am64xx-sk dtb for machine=am64xx-evm.

Once U-Boot merges support for unified bootloader, am64xx-sk
machine can be dropped.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2021-05-14 01:07:05 -05:00
Praneeth Bajjuri
b180f68878 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-14 01:01:26 -05:00
Praneeth Bajjuri
f0abcc93b2 linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-07 15:19:52 -05:00
Praneeth Bajjuri
b0693ec74e ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-06 23:44:21 -05:00
Gowtham Tammana
87e80d7ad5 ti-sgx-ddk-km: Update srcrev to pick rt kernel build fix
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-05 11:44:27 -05:00
Nishanth Menon
492dc9ebe7 recipes-kernel: perf: Add a perf.bbappend to handle RDEPENDS on newer kernel
Commit 159cdb159ad0 ("perf-tests: add bash into RDEPENDS (v5.12-rc5+)")
in upstream openembedded-core layer.

Copying over a snippet of description over:

Commit 1dc481c0b0cf perf test: Change to use bash for daemon test
in upstream kernel
Changes tools/perf/tests/shell/daemon.sh to be explicitly bash
(it was already required, but was just skipped on various
 distros).

We add it into our RDEPENDS for perf-tests to fixup 5.12+
builds.

We already have relatively heavy RDEPENDS for perf tests (python3), so
adding bash into the RDEPENDS isn't signifcant even for older perf
builds that use the same recipe.

[OE patch by: Bruce Ashfield <bruce.ashfield@gmail.com>]
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-05-04 10:51:54 -05:00
Nishanth Menon
78e0514091 linux-ti-mainline: Bump kernel version to v5.12
And lets work with the latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
2021-05-03 16:14:36 -05:00
Nishanth Menon
618058733b recipes-bsp: u-boot-ti-mainline: Update to v2021.04 release
Update u-boot recipe to be on the bleeding upstream tag.

While at it, also update the u-boot source url to point to the new
server as per [1].

While it may be redundant, lets document the usage of URI and
PROTOCOL for those, who (cough), may get tripped otherwise.

[1] a3bbd0b912

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-05-03 16:14:27 -05:00
Praneeth Bajjuri
8ec0047a59 conf: am65xx-evm: ReIntroduce AM65 SR1.0 overlay
ReIntroduce AM65x SR1.0 Overlay as the support for it
is added in the ti-linux-5.10.y kernel now.

Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-30 16:03:25 -05:00
Praneeth Bajjuri
b5f7ee1ad0 linux-ti-staging: Update 5.10 kernel to 5.10.30
Update linux 5.10 to 5.10.30 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-30 15:11:27 -05:00
Praneeth Bajjuri
cb71afd6f0 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-29 22:48:31 -05:00
Praneeth Bajjuri
4327c89816 conf: am65xx-evm: ReIntroduce existent dtbo for 5.10
commit 9ea50db095 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10")
removed all non-existent dtb* for am65xx-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces overlays present current on ti-linux-5.10.y kernel.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-27 23:20:58 -05:00
Praneeth Bajjuri
4c3481159e linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-27 23:14:14 -05:00
Praneeth Bajjuri
e6a02d3eca ti-sci-fw: Update image gen and linux-firmware to latest
update image gen and linux-firmware projects to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-27 23:07:15 -05:00
Gowtham Tammana
64c450cc36 ti-gc320-driver: update branch for 5.10
Update branch and srcrev for picking up 5.10 branch.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-27 22:50:25 -05:00
Praneeth Bajjuri
f775554c61 linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-23 12:04:49 -05:00
Praneeth Bajjuri
370b80eb00 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-23 12:00:22 -05:00
Praneeth Bajjuri
856bc72e8a cmem: Update to new version 4.20.00.01
The update brings the fix for 5.10.x linux kernel.
commit c0039f1fec25 ("cmemk: Fix 5.10 build errors for non Keystone2 platforms")
commit 8aba20e20bf7 ("cmemk: Fix build errors for 5.10+ kernels")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-04-22 16:53:03 -05:00
Praneeth Bajjuri
3bd1551585 uio-module-drv: Build fix for linux kernel 5.10
This update contains build fix for linux kernel 5.10
* uio-module-drv: Replace ioremap_nocache with ioremap

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-22 16:49:55 -05:00
Praneeth Bajjuri
b089096575 dsptop: bump SRCREV for kernel 5.10 build fix
bump SRCREV to latest to pick build fix for 5.10 kernel.
this update picks
commit 816485e68430 ("Merge pull request #1 in DBG/dsptop from for-5.10 to master")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-04-21 19:26:18 -05:00
Praneeth Bajjuri
f9ab185896 gdbc6x: bump SRCREV for kernel 5.10 build fix
bump SRCREV to latest to pick build fix for 5.10 kernel.
this update picks
commit dd0c82fb5763 ("Merge pull request #1 in DBG/gdbc6x from for-5.10 to master")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-04-21 19:25:49 -05:00
Praneeth Bajjuri
6a45f077c7 ti-sci-fw: Update image gen to latest
update image get to latest

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-20 00:21:05 -05:00
Praneeth Bajjuri
8bdfe1413c conf: dra7xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    dra7-evm-lcd-osd101t2045.dtb
-    dra7-evm-lcd-osd101t2587.dtb
-    dra71-evm-nand.dtb
-    dra71-evm-lcd-auo-g101evn01.0.dtb
-    dra72-evm-lcd-osd101t2045.dtb
-    dra72-evm-lcd-osd101t2587.dtb
-    dra72-evm-revc-lcd-osd101t2045.dtb
-    dra72-evm-revc-lcd-osd101t2587.dtb
-    dra76-evm-tfp410.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
43bf0f36a3 conf: am57xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am57xx-evm-cam-ov10635.dtb
-    am57xx-evm-reva3-cam-ov10635.dtb
-    am571x-idk-lcd-osd101t2045.dtb
-    am571x-idk-lcd-osd101t2587.dtb
-    am572x-idk-lcd-osd101t2045.dtb
-    am572x-idk-lcd-osd101t2587.dtb
-    am574x-idk-lcd-osd101t2587.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
ba0ddc5ae9 conf: am437xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am437x-gp-evm-hdmi.dtb
-    am43x-epos-evm-hdmi.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
ad28c58781 conf: am335x-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am335x-icev2-prueth.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
0d04083f54 conf: k2g-evm: Remove keystone-k2g-evm-lcd.dtb from 5.10
Remove the non-existent dtb, as they are not currently present on
ti-linux-5.10.y.

-    keystone-k2g-evm-lcd.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
9ea50db095 conf: am65xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    ti/k3-am654-base-board-sr1.dtb
-    ti/k3-am654-gp.dtbo
-    ti/k3-am654-idk.dtbo
-    ti/k3-am654-idk-sr1.dtbo
-    ti/k3-am654-evm-hdmi.dtbo
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo
-    ti/k3-am654-evm-tc358876.dtbo
-    ti/k3-am654-pcie-usb2.dtbo
-    ti/k3-am654-pcie-usb3.dtbo
-    ti/k3-am654-base-board-jailhouse.dtbo
-    ti/k3-am654-evm-prupwm.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
fb0a0ddd25 conf: j7200-evm: Remove jailhouse overlay from 5.10 kernel
Remove jailhouse overlay as it is not currently available in
ti-linux-5.10.y branch.

Removing for now, and shall be added back once they are
available in 5.10 kernel.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
8b206b32ec conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel
The following dtb/o are not currently available in
ti-linux-5.10.y branch.

Removing for now, and shall be added back once they are
available in 5.10 kernel.

-    ti/k3-j721e-proc-board-tps65917.dtb
-    ti/k3-j721e-common-proc-board-infotainment.dtbo
-    ti/k3-j721e-pcie-backplane.dtbo
-    ti/k3-j721e-common-proc-board-jailhouse.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
61457cc75d linux-ti-staging: Update 5.10 kernel to 5.10.21
Update linux 5.10 to 5.10.21 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
0a604e6ab7 Revert "linux-ti-staging-5.10: With the kernel being AUTOREV'd remove the minor version"
This reverts commit a0ee3effd6.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
48d5570ce6 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Praneeth Bajjuri
7793303e6c Revert "linux-ti-staging, u-boot-ti-staging: lower default preference"
This reverts commit a0e26c1caf.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-19 16:33:41 -05:00
Gowtham Tammana
1669778190 ti-sgx-ddk-um: Update srcrev to pick latest
The eglplatform.h header is updated to account for deprecation of
MESA_EGL_NO_X11_HEADERS macro. Update srcrev to pick this change.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-19 16:33:41 -05:00
Gowtham Tammana
4a39ee8c9a ti-sgx-ddk-km: update srcrev to pick 5.10
Update the srcrev to pick the k5.10 development branch sources.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-19 16:33:41 -05:00
Zan Dobersek
4442defeb9 ti-sgx-ddk-km: properly handle arm-poky-linux-gnueabi compiler prefix
The additional patch for ti-sgx-ddk-km remaps the arm-oe-linux-gnueabi prefix
to the arm-linux-gnueabihf preferred target. Same should be done for the
arm-poky-linux-gnueabi prefix.

Signed-off-by: Zan Dobersek <zan@falconsigh.net>
Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-19 16:33:41 -05:00
Gowtham Tammana
916b2256db ti-img-rogue-umlibs: update branch to pick 5.10
Update the branch name to pick 5.10 development branch. The srcrev
remains the same at this point.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-12 22:27:24 -05:00
Gowtham Tammana
55f2b9a1fa ti-img-rogue-driver: update srcrev to pick 5.10 branch
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-12 22:26:48 -05:00
Denys Dmytriyenko
235ff03755 README: update maintainers
Noticed maintainers list was outdated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-09 10:49:53 -05:00
Denys Dmytriyenko
0aa7a43f7f common-csl-ip-rtos: drop unnecessary dependency on ti-sysbios
It appears common-csl-ip-rtos does not require ti-sysbios dependency to build,
but ti-pdk.bbclass adds it by default. While most of PDK-based components do
require ti-sysbios to be built from sources, it is safe to remove it from CSL,
reducing the dependency tree for special cases like PRU FW based on CSL, but
not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when
RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2021-04-05 23:03:40 -05:00
Praneeth Bajjuri
02a53f48b9 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.29

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-05 09:51:27 -05:00
Shiju Sivasankaran
1da075847d ti-rtos: update metadata and version of am64x rtos firmware
update am64x rtos firmware to keep pinmux and control MMRs
remain unlocked now since linux needs this to be unlock.
this fix the USB and performance degradation issues.

am64xx: 07.03.00.19

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-05 09:28:38 -05:00
Praneeth Bajjuri
5e3770dbfb ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.26

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-01 15:13:25 -05:00
Nishanth Menon
03450999c5 conf/machine: k3: Lets build bmap files by default
Lets generate bmap files for bmaptool to use as well as default to use
with wic files.

NOTE: bmaptool can speed up flashing SD cards by 2x-3x by skipping
empty blocks of the image.

https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#flashing-images-using-bmaptool

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:45:25 -05:00
Nishanth Menon
44d9a6a344 conf/machine: am64xx: Switch to multi-certificate boot images
Switch to using all of multi-certificate boot images. This allows us
to create bootable images - in this case, we are missing tiboot3.bin

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:45:07 -05:00
Nishanth Menon
6d4a13deb0 conf/machine: am64xx: Consolidate image configuration to SoC include
IMAGE type and dependencies can easily be centralized to SoC include
file. This is necessary to make sure that we don't do the duplication
and having multiple places to fix up.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:44:57 -05:00
Nishanth Menon
fbbeea5344 conf/machine: j7200-evm: Switch to multi-certificate boot images
Switch to using all of multi-certificate boot images. This allows us
to create bootable images - in this case, we are missing tiboot3.bin

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:44:47 -05:00
Nishanth Menon
4393653953 conf/machine: am64xx/j7200: Drop trusted-firmware deployment for tar wic
wic and tar dependency on trusted firmware is wrong. It is u-boot build
that depends on trusted firmware deployment and is correctly handled by
u-boot recipe. No point in duplicating that dependency, so just clean it
all up.

Reported-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:44:18 -05:00
Nishanth Menon
ff6e95ff42 conf/machine: j7: Document boot images as legacy mode
We use the default IMAGE_BOOT_FILES configuration which matches up with
legacy boot configuration. Document the same to allow folks to
understand by just looking at the SoC include file.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:43:19 -05:00
Nishanth Menon
be0c8f09c4 conf/machine: am65xx: Document boot images as legacy mode
We use the default IMAGE_BOOT_FILES configuration which matches up with
legacy boot configuration. Document the same to allow folks to
understand by just looking at the SoC include file.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:43:07 -05:00
Nishanth Menon
f36bf3544c conf/machine: k3: Add multi-certificate boot image support
Lets keep things consistent by providing two possibilities for platforms
to pick from - legacy boot and multi-certificate boot.

In legacy boot, the base bootloader and system firmware are
maintained as separate binaries (tiboot3.bin and sysfw.itb).

In multi-certificate boot that newer K3 devices support, ROM is smarter
and can handle multiple x509 certificate based images: so we can strip
out the sysfw.itb and integrate it as part of tiboot3.bin itself. This
improves authentication and overall system boot times since we are now
able to boot both the system controller and the boot processor in
parallel.

We do have a scheme currently to identify the images necessary for boot
etc, but things are handled on a platform conf file basis. We can
improve that by introducing the pattern at the top level include and use
the relevant pattern in platforms as needed.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-31 21:42:59 -05:00
Denys Dmytriyenko
d1fec62587 conf/machine: am64*, j7200: cleanup k3r5 configs
Remove duplicate machine-specific redefines of UBOOT_BINARY, UBOOT_IMAGE and
UBOOT_SYMLINK variables, as they are already defined with same values in the
common k3r5.inc file.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
2021-03-31 21:41:25 -05:00
Shiju Sivasankaran
31ff7a4768 ti-rtos: update metadata and version of am64x rtos firmware
updated am64x rtos release mode firmware
am64xx: 07.03.00.18

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-31 21:38:58 -05:00
Praneeth Bajjuri
eb52e3d60f linux-ti-staging: Update 5.4 kernel to 07.03.00.004
Update 5.4 kernel to 07.03.00.004

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-29 17:59:53 -05:00
Shiju Sivasankaran
b3e1efd370 ti-rtos: update metadata and version of am64x rtos firmware
updated rtos firmware
am64xx: 07.03.00.13

rtos fw of am64x build and upload from mcu-plus-sdk repo.

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
[praneeth@ti.com: updated commit message]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 23:45:23 -05:00
Denys Dmytriyenko
75e510d8bd ti-rtos-firmware: depend on openssl-native for signing
Fixes:
.../scripts/secure-binary-image.sh: line 69: openssl: command not found
.../scripts/secure-binary-image.sh: line 78: openssl: command not found

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 21:41:53 -05:00
Praneeth Bajjuri
7f98b27724 linux-ti-staging: Update 5.4 kernel to 5.4.106
Update linux 5.4 to 5.4.106 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-27 12:19:27 -05:00
Praneeth Bajjuri
51a6085326 ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-26 19:15:15 -05:00
Praneeth Bajjuri
8b1aa75cfe ti-rtos-firmware: sign DM firmware for J721e HS platform
U-boot build process requires DM firmware to be signed for J7 HS.
It's better for ti-rtos-firmware package (that delivers DM firmware) to sign
it once and provide signed version to other packages, instead of U-boot needing
to re-sign it during build in staging location.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-26 13:18:18 -05:00
Praneeth Bajjuri
5809a83e37 conf/machine: fix OPTEEMACHINE name for J721e
OPTEEMACHINE name as defined in the optee_os project [1] for
j721e is k3-j721e.

This patch fixes the name to correct target.

[1]: 87613cf952

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-26 08:15:15 -05:00
Gowtham Tammana
dd2f003ad3 ti-img-rogue-umlibs: Update to pick rpath fixes
Update srcrev to pick the rpath warning fixes.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-25 16:25:34 -05:00
Dan Murphy
ff736a05b3 linux-ti-mainline: Set the branch for the ti-upstream-tools repo
ti-upstream-tools[1] repository carries the overlays and defconfig
fragments that we don't wish to overload upstream kernel community with.
The reason for that being these are constantly on churn as our test
coverage increases etc. Currently we reuse the "BRANCH" variable to also
matchup with kernel and ti-upstream-tools repositories as well.

This can tend to be a little painful if we decide to start testing
various kernel configurations - RT etc.. So, lets just split out the
TOOLS_BRANCH separated from the branch we use for kernel. Even though
the branch remains the exact same at this point.

[1] https://git.ti.com/cgit/ti-linux-kernel/ti-upstream-tools/

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
2021-03-25 16:23:03 -05:00
Dan Murphy
0376ebcd43 linux-ti-mainline: Add gmp-native as a kernel dependency
Add GNU Multiple Precision Arithmetic Library as a dependency for
mainline linux builds. These are necesary for kernel to handle gcc
plugins for builtins.h

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-25 16:22:30 -05:00
Lucas Weaver
5776fe04ad ti-sci-fw: Update J7200/AM64 deploy to install ti-sci-fw
The J7200/AM64 ti-sci-fw needs to be installed in the deploy
directory so that it can be packaged in Processor SDK bundle

This is required because the ti-sci-fw is needed in the
installer prebuilt-images in order to build the combined boot
image for J7200/AM64

Signed-off-by: Lucas Weaver <l-weaver@ti.com>
2021-03-25 16:21:42 -05:00
62 changed files with 317 additions and 722 deletions

4
README
View File

@@ -29,5 +29,5 @@ Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/g/meta-ti
Maintainers:
Dan Murphy <dmurphy@ti.com>
Denys Dmytriyenko <denys@ti.com>
Praneeth Bajjuri <praneeth@ti.com>
Denys Dmytriyenko <denys@konsulko.com>

View File

@@ -14,17 +14,10 @@ KERNEL_DEVICETREE = " \
am57xx-beagle-x15-revc.dtb \
am5729-beagleboneai.dtb \
am57xx-evm.dtb \
am57xx-evm-cam-ov10635.dtb \
am57xx-evm-reva3.dtb \
am57xx-evm-reva3-cam-ov10635.dtb \
am571x-idk.dtb \
am571x-idk-lcd-osd101t2045.dtb \
am571x-idk-lcd-osd101t2587.dtb \
am572x-idk.dtb \
am572x-idk-lcd-osd101t2045.dtb \
am572x-idk-lcd-osd101t2587.dtb \
am574x-idk.dtb \
am574x-idk-lcd-osd101t2587.dtb \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

View File

@@ -9,6 +9,3 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am64x_evm_r5_defconfig"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"

View File

@@ -4,12 +4,4 @@
require conf/machine/include/am64xx.inc
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
UBOOT_MACHINE = "am64x_evm_a53_defconfig"
do_image_wic[depends] += "trusted-firmware-a:do_deploy"
do_image_tar[depends] += "trusted-firmware-a:do_deploy"
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -1,14 +0,0 @@
#@TYPE: Machine
#@NAME: AM64xx SK (R5F)
#@DESCRIPTION: Machine configuration for the TI AM64xx SK (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am64x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am64x_sk_r5_defconfig"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"

View File

@@ -1,19 +0,0 @@
#@TYPE: Machine
#@NAME: AM64xx SK
#@DESCRIPTION: Machine configuration for the TI AM64xx SK board
require conf/machine/include/am64xx.inc
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
UBOOT_MACHINE = "am64x_sk_a53_defconfig"
do_image_wic[depends] += "trusted-firmware-a:do_deploy"
do_image_tar[depends] += "trusted-firmware-a:do_deploy"
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
KERNEL_DEVICETREE = " \
ti/k3-am642-sk.dtb \
"

View File

@@ -10,19 +10,10 @@ SERIAL_CONSOLES = "115200;ttyS0"
KERNEL_DEVICETREE = " \
dra7-evm.dtb \
dra7-evm-lcd-osd101t2045.dtb \
dra7-evm-lcd-osd101t2587.dtb \
dra71-evm.dtb \
dra71-evm-nand.dtb \
dra71-evm-lcd-auo-g101evn01.0.dtb \
dra72-evm.dtb \
dra72-evm-lcd-osd101t2045.dtb \
dra72-evm-lcd-osd101t2587.dtb \
dra72-evm-revc.dtb \
dra72-evm-revc-lcd-osd101t2045.dtb \
dra72-evm-revc-lcd-osd101t2587.dtb \
dra76-evm.dtb \
dra76-evm-tfp410.dtb \
"
UBOOT_MACHINE = "dra7xx_evm_config"

View File

@@ -8,8 +8,16 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am642-evm.dtb \
ti/k3-am642-sk.dtb \
ti/k3-am642-evm-icssg1-dualemac.dtbo \
"
# AM64 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"

View File

@@ -8,21 +8,21 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb \
ti/k3-am654-base-board-sr1.dtb \
ti/k3-am654-base-board-sr1.dtbo \
ti/k3-am654-gp.dtbo \
ti/k3-am654-idk.dtbo \
ti/k3-am654-idk-sr1.dtbo \
ti/k3-am654-evm-hdmi.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-sr1.dtbo \
ti/k3-am654-pcie-usb2.dtbo \
ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-base-board-jailhouse.dtbo \
ti/k3-am654-evm-prupwm.dtbo \
ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
"
BBMULTICONFIG += "k3r5-sr2"
# Use default IMAGE_BOOT_FILES_LEGACY files
# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0
IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"

View File

@@ -1,9 +1,11 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":j7"
OPTEEMACHINE = "k3-j7"
OPTEEMACHINE = "k3-j721e"
OPTEEOUTPUTMACHINE = "k3"
# Use default IMAGE_BOOT_FILES_LEGACY files
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "j721e j7200"
TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"

View File

@@ -38,9 +38,13 @@ UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci"
IMAGE_FSTYPES += "tar.xz wic.xz"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
WKS_FILE ?= "sdimage-2part.wks"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -1,4 +1,5 @@
# This is a generic TI SOC family. It is a superset of all other SOCs
# and platforms defined in meta-ti to allow BSP-level overrides.
SOC_FAMILY = "ti-soc"
KERNEL_DTB_OVERLAY_SUPPORT ?= "1"
require conf/machine/include/soc-family.inc

View File

@@ -29,7 +29,6 @@ KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
am335x-evm.dtb am335x-evmsk.dtb \
am335x-icev2.dtb \
am335x-icev2-prueth.dtb \
am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \

View File

@@ -27,9 +27,9 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \
am437x-gp-evm.dtb \
am437x-sk-evm.dtb am437x-idk-evm.dtb \
am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \
am43x-epos-evm.dtb \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"

View File

@@ -13,8 +13,7 @@ KERNEL_DEVICETREE = " \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-proc-board-tps65917.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-pcie-backplane.dtbo \
ti/k3-j721e-common-proc-board-jailhouse.dtbo \
ti/k3-j721e-eaik.dtb \
"
UBOOT_MACHINE = "j721e_evm_a72_config"

View File

@@ -9,6 +9,3 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j7200_evm_r5_defconfig"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"

View File

@@ -9,15 +9,12 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-j7200-common-proc-board.dtb \
ti/k3-j7200-common-proc-board-jailhouse.dtbo \
"
UBOOT_MACHINE = "j7200_evm_a72_config"
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
do_image_wic[depends] += "trusted-firmware-a:do_deploy"
do_image_tar[depends] += "trusted-firmware-a:do_deploy"
# J7200 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -6,7 +6,7 @@ require conf/machine/include/k2g.inc
MACHINE_FEATURES += "alsa"
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-ice.dtb \
${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
UBOOT_MACHINE = "k2g_evm_config"

View File

@@ -4,10 +4,10 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=26be509e4bb413905bda8309e338e2b1"
BRANCH = "master"
# This corresponds to version 4.16.00.00
SRCREV = "4f970f053b42e8d2a6f1a8cd4b14786196468fd3"
# This corresponds to version 4.20.00.01
SRCREV = "86269258a48e0a9008dd9d5ebfae9da7ce843393"
PV = "4.16.00.00+git${SRCPV}"
PV = "4.20.00.01+git${SRCPV}"
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"

View File

@@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_append = "|c66x|k3"
inherit ti-pdk
DEPENDS_remove = "${PN}"
DEPENDS_remove = "ti-sysbios"
# Build with make instead of XDC
TI_PDK_XDCMAKE = "0"

View File

@@ -1,7 +1,7 @@
# This corresponds to version 1.4.0
SRCREV = "25e823b04e62af224dce97b90359b7569ce3fbb5"
SRCREV = "816485e68430bbec643eac9498bfa5303eb2c2e1"
PV = "1.4.0"
INC_PR = "r1"
INC_PR = "r2"
SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"

View File

@@ -7,13 +7,13 @@ inherit module features_check
REQUIRED_MACHINE_FEATURES = "gc320"
MACHINE_KERNEL_PR_append = "h"
MACHINE_KERNEL_PR_append = "i"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k5.4"
BRANCH = "ti-${PV}-k5.10"
SRCREV = "2a4fbe8353fa56011a613aeeaf69e274cd07a825"
SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"

View File

@@ -1,29 +0,0 @@
SUMMARY = "Kernel driver for IVSHMEM based UIO driver"
DESCRIPTION = "Kernel module which registers a UIO (userspace io) device for inter VM shared memory"
HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
inherit module
RDEPENDS_${PN} = "jailhouse"
PROTOCOL = "git"
BRANCH = "jailhouse"
SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"'
COMPATIBLE_MACHINE = "(ti-soc)"
do_compile_prepend() {
cd ${S}/kernel_module/uio
}
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/kernel_module/uio/uio_ivshmem.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

View File

@@ -1,23 +0,0 @@
SUMMARY = "UIO tests for IVSHMEM based UIO driver"
DESCRIPTION = "Test programs which use UIO (userspace io) device for inter VM communication"
HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
inherit cmake
PROTOCOL = "git"
BRANCH = "jailhouse"
SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
S = "${WORKDIR}/git/uio/tests/Interrupts/VM"
COMPATIBLE_MACHINE = "(ti-soc)"
OECMAKE_TARGET_COMPILE = "uio_send uio_read"
do_install() {
install -d ${D}/${bindir}
install -m 755 ${B}/uio_send ${D}/${bindir}/
install -m 755 ${B}/uio_read ${D}/${bindir}/
}

View File

@@ -0,0 +1,29 @@
From 80d32fee3d768abbd77cce77ea9a7574651460a9 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
Date: Wed, 7 Jul 2021 13:11:56 -0400
Subject: [PATCH] compiler: support OpenEmbedded "nodistro" internal aarch64
toolchain
Upstream-Status: Pending
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
build/linux/config/compiler.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
index 53a0bef..d788579 100644
--- a/build/linux/config/compiler.mk
+++ b/build/linux/config/compiler.mk
@@ -65,7 +65,7 @@ define calculate-compiler-preferred-target
ifneq ($$(filter i386-% i486-% i586-% i686-%,$$($(1)_compiler_preferred_target)),)
$(1)_compiler_preferred_target := i386-linux-gnu
endif
- ifneq ($$(filter aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
+ ifneq ($$(filter aarch64-oe-linux aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
$(1)_compiler_preferred_target := aarch64-linux-gnu
endif
ifneq ($$(filter armv7a-cros-linux-gnueabi armv7l-tizen-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
--
2.7.4

View File

@@ -7,7 +7,7 @@ inherit module features_check
REQUIRED_MACHINE_FEATURES = "gpu"
MACHINE_KERNEL_PR_append = "a"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -17,13 +17,16 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "1.13-5776728/linux-k5.4"
BRANCH = "1.13-5776728/linux-k5.10"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH}"
SRC_URI = " \
git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
file://0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch \
"
S = "${WORKDIR}/git"
SRCREV = "ea77784e89f919bd3343a421862bf90cb65cc26c"
SRCREV = "35a25875ae8738f82c7cabc6b077ef992b0cca84"
PVR_SOC = "j721e_linux"
PVR_BVNC = "22.104.208.318"

View File

@@ -17,7 +17,7 @@ index dead2f9..2ba3e5e 100644
ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
$(1)_compiler_preferred_target := aarch64-linux-gnu
endif
+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
+ $(1)_compiler_preferred_target := arm-linux-gnueabihf
+ endif
ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)

View File

@@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "gpu"
COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
MACHINE_KERNEL_PR_append = "v"
MACHINE_KERNEL_PR_append = "x"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -18,7 +18,7 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "ti-img-sgx/${PV}/k5.4"
BRANCH = "ti-img-sgx/${PV}/k5.10"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
@@ -26,7 +26,7 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
S = "${WORKDIR}/git"
SRCREV = "50c1ec2308b9f64488d252ac55d65b51a0dfe287"
SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"

View File

@@ -3,15 +3,15 @@ SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "02.02.08.02"
PV = "02.02.09.02"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "am65xx-evm"
COMPATIBLE_MACHINE = "am65xx-evm|am64xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "31e626d84a3f8a5dc7175b79440972ce90a23de0"
SRCREV = "c0bbbc44fee68f2a3eba1ca98c340e34e759624d"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"

View File

@@ -1,43 +1,35 @@
SUMMARY = "PRU Ethernet firmware for AM65x"
require recipes-ti/includes/ti-paths.inc
require recipes-bsp/emac-lld/emac-lld.inc
SUMMARY = "PRU Ethernet firmware for AM65x SR1.0"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PR = "r0"
PV = "08.00.00.20"
TI_PDK_COMP = "ti.drv.emac.firmware"
B = "${S}/icss_dualmac"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "am65xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "ti-cgt-pru-native"
SRCREV = "517b0cd8d8d80e91f1f7d80f035e6af041c39726"
BRANCH ?= "ti-linux-firmware"
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}""
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
do_compile() {
oe_runmake -C src
}
S = "${WORKDIR}/git"
TARGET = " \
am65x-pru0-prueth-fw.elf \
am65x-pru1-prueth-fw.elf \
am65x-rtu0-prueth-fw.elf \
am65x-rtu1-prueth-fw.elf \
"
do_install() {
install -d ${D}${base_libdir}/firmware/ti-pruss
install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \
${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf
install -m 0644 bin/rtu_test0/rtu_v2.out \
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf
install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \
${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf
install -m 0644 bin/rtu_test1/rtu_v2.out \
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf
install -d ${D}${base_libdir}/firmware/ti-pruss
for f in ${TARGET}; do
install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
done
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
SRCREV = "11fecaf08eeed27f2a834c9911edb8a5fb2a23b1"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"

View File

@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
SRCREV = "dccfb2328354be2933a5a179b528ec8a18b92d3a"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"

View File

@@ -0,0 +1,36 @@
From 83d29d5e346083254e71fbe483cb14f6657b9965 Mon Sep 17 00:00:00 2001
From: Nishanth Menon <nm@ti.com>
Date: Tue, 29 Jun 2021 12:03:29 -0500
Subject: [PATCH] Revert "soc: am64x: Makefile: Move the SPL Load address to
0x70000000"
This reverts commit e411dc16862b5bb2d8befb12496b03d7b01c87b2.
Mainline is NOT ready for the change yet as of u-boot 2021.07 + v5.13,
So, this patch reverts the SPL address change.
This patch needs to be dropped once mainline u-boot and kernel have
migrated over to newer releases.
Upstream-Status: Not applicable
Signed-off-by: Nishanth Menon <nm@ti.com>
---
soc/am64x/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/soc/am64x/Makefile b/soc/am64x/Makefile
index 45425428f9c6..e8747376f153 100644
--- a/soc/am64x/Makefile
+++ b/soc/am64x/Makefile
@@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-SBL_LOADADDDR ?= 0x70000000
+SBL_LOADADDDR ?= 0x70020000
COMBINED_SYSFW_BRDCFG_LOADADDR ?= 0x70000
LOADADDR ?= 0x44000
SCIFS = sci
--
2.32.0

View File

@@ -3,11 +3,11 @@ SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "2021.01a"
PV = "2021.05"
SRCREV = "306e8b92bcce0fe88b494732c0a614079f8ff73a"
SRCREV = "b4a3051362f371c8b6f40a33eca258ef1832bec1"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "c376cd495b9821b6e3cb296b1bbae10d0f010817"
SRCREV_imggen = "b65ae80847f5a0d1885ed6e4de4d9d635544053c"
SRCREV_FORMAT = "imggen"
SRC_URI = " \
@@ -15,4 +15,15 @@ SRC_URI = " \
git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
"
# This is a protection in case the definition is not present in other distros.
ARAGO_BRAND ?= ""
# Mainline u_boot 2021.07 and upstream kernel v5.13 tag cannot use new SPL address
# in K3-Imagegen
SRC_URI += "\
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '\
file://0001-Revert-soc-am64x-Makefile-Move-the-SPL-Load-address-.patch;patchdir=../imggen \
', '', d)} \
"
S = "${WORKDIR}/git"

View File

@@ -3,7 +3,6 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-sk-k3r5 = " virtual/bootloader"
CLEANBROKEN = "1"
PR = "r1"
@@ -54,7 +53,6 @@ EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}
EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
EXTRA_OEMAKE_append_am64xx-sk-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
do_compile() {
cd ${WORKDIR}/imggen/
@@ -99,6 +97,7 @@ do_deploy_j7200-evm-k3r5() {
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_am64xx-evm-k3r5() {
@@ -113,20 +112,7 @@ do_deploy_am64xx-evm-k3r5() {
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
}
do_install_am64xx-sk-k3r5() {
install -d ${D}/boot
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
}
do_deploy_am64xx-sk-k3r5() {
install -d ${DEPLOYDIR}
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile

View File

@@ -1,8 +1,8 @@
PV_k3 = "2.4"
PV_k3 = "2.5"
LIC_FILES_CHKSUM_k3 = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
BRANCH_k3 = "ti-atf"
SRC_URI_k3 = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH};name=tfa"
SRCREV_tfa_k3 = "65dd16b4ea5032752af62e94ca64cff41733a123"
SRCREV_tfa_k3 = "0693f356eb2a25adf8758d98058120bed082cc73"
COMPATIBLE_MACHINE_k3 = "k3"
TFA_BUILD_TARGET_k3 = "all"
TFA_INSTALL_TARGET_k3 = "bl31"

View File

@@ -4,7 +4,15 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PR = "r0"
PV = "2020.10"
UBOOT_GIT_URI = "git://gitlab.denx.de/u-boot/u-boot.git"
UBOOT_GIT_PROTOCOL = "http"
SRCREV = "050acee119b3757fee3bd128f55d720fdd9bb890"
PV = "2021.07"
# For the un-initiated:
# The actual URL you'd use with a git clone for example would be:
# https://source.denx.de/u-boot/u-boot.git/
# However, in the context of OE, we have to explicitly split things up:
# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
# used https here, we'd endup attempting wget instead of git)
# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
SRCREV = "840658b093976390e9537724f802281c9c8439f5"

View File

@@ -1,7 +1,7 @@
require u-boot-ti.inc
PR = "r35"
PR = "r36"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "654d73f8725db340ccb470d5d130df3fcf7ce482"
SRCREV = "2781231a33c3d779e32445f4fe55164c45d6d7c1"

View File

@@ -1,12 +1,9 @@
require u-boot-ti.inc
#Temporarily add this as the checksum has changed in 2021
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PR = "r1"
PR = "r10"
BRANCH = "ti-u-boot-2021.01"
SRCREV = "c4fddedc48f336eabc4ce3f74940e6aa372de18c"
DEFAULT_PREFERENCE = "-1"
SRCREV = "e335337914f2a47b72f823f0d5e36924c1747ad1"

View File

@@ -66,7 +66,6 @@ SPL_UART_BINARY_k3r5 = ""
SPL_UART_BINARY_lego-ev3 = ""
SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_BINARY_am64xx-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_BINARY_am64xx-sk-k3r5 = "u-boot-spl.bin"
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
@@ -402,9 +401,4 @@ do_deploy_append_am64xx-evm-k3r5 () {
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_am64xx-sk-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
TOOLCHAIN = "gcc"

View File

@@ -0,0 +1,35 @@
From b5c4036dac06817bffd0be21c5fa1b7f75f74e4b Mon Sep 17 00:00:00 2001
From: Suman Anna <s-anna@ti.com>
Date: Mon, 19 Apr 2021 13:15:51 -0500
Subject: [PATCH] uio-module-drv: Replace ioremap_nocache with ioremap
The ioremap_nocache is the same as the regular ioremap and its
definition has been dropped from the Linux kernel v5.6 onwards in
commit 4bdc0d676a64 ("remove ioremap_nocache and devm_ioremap_nocache")
[1]. The uio-module-drv module fails to build against these newer
kernels, so fix it by simply replacing ioremap_nocache with ioremap.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4bdc0d676a643140bdf17dbf7eafedee3d496a3c
Signed-off-by: Suman Anna <s-anna@ti.com>
---
uio_module_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uio_module_drv.c b/uio_module_drv.c
index 5a67dd199e21..7cc6005d1f05 100644
--- a/uio_module_drv.c
+++ b/uio_module_drv.c
@@ -240,7 +240,7 @@ static ssize_t uio_module_drv_transfer(struct file *file, char __user *buf,
return -EINVAL;
}
- virt_addr_p = ioremap_nocache(phys_addr, count);
+ virt_addr_p = ioremap(phys_addr, count);
if (!virt_addr_p) {
dev_err(uio_module_drv->dev, "Mapping of virtual memory failed\n");
return(-ENOMEM);
--
2.30.1

View File

@@ -2,6 +2,10 @@ DESCRIPTION = "User space IO (UIO) driver for on-chip modules"
include uio-module-drv.inc
FILESEXTRAPATHS_prepend:= "${THISDIR}/${PN}:"
SRC_URI += "file://0001-uio-module-drv-Replace-ioremap_nocache-with-ioremap.patch"
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "d"
PR = "${MACHINE_KERNEL_PR}"

View File

@@ -1,8 +1,8 @@
# This corresponds to version 1.1.0
SRCREV = "d1d32c32fa9e40b48fabf5893487ccbd5790499c"
SRCREV = "dd0c82fb5763a6b32dc6d68e561efb66ab8283d7"
PV = "1.1.0"
INC_PR = "r6"
INC_PR = "r7"
SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}"

View File

@@ -10,13 +10,13 @@ REQUIRED_MACHINE_FEATURES = "gpu"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j7"
PR = "r1"
PR = "r3"
BRANCH = "linuxws/dunfell/k5.4/${PV}"
BRANCH = "linuxws/dunfell/k5.10/${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
SRCREV = "3c4cabc8df10a066569e5f959cbbd4c0ce9961cd"
SRCREV = "5ef38353c38d921a65ea6df75c7b6ce710b66034"
PVR_SOC ?= "j721e_linux"
PVR_BUILD ?= "release"

View File

@@ -10,12 +10,12 @@ REQUIRED_MACHINE_FEATURES = "gpu"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
PR = "r36"
PR = "r37"
BRANCH = "ti-img-sgx/zeus/${PV}"
BRANCH = "ti-img-sgx/dunfell/${PV}"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
SRCREV = "7519eda203308c4356e68fd6af67a0900ed09cb4"
SRCREV = "742cf38aba13e1ba1a910cf1f036a1a212c263b6"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"

View File

@@ -1,22 +0,0 @@
# Set jailhouse architecture JH_ARCH variable
#
# return value must match one of architectures supported by jailhouse
#
valid_jh_archs = "x86 arm"
def map_jh_arch(a, d):
import re
valid_jh_archs = d.getVar('valid_jh_archs', True).split()
if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
elif re.match('armeb$', a): return 'arm'
elif re.match('aarch64$', a): return 'arm64'
elif re.match('aarch64_be$', a): return 'arm64'
elif a in valid_jh_archs: return a
else:
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"

View File

@@ -1,56 +0,0 @@
From 24e58c75592a2ba09f3062c8a4722c0e29a9b558 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Wed, 1 Apr 2020 15:44:46 -0400
Subject: [PATCH] tools: update shebang in helper scripts for python3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
tools/jailhouse-cell-linux | 2 +-
tools/jailhouse-cell-stats | 2 +-
tools/jailhouse-config-create | 2 +-
tools/jailhouse-hardware-check | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux
index 007a5c4..e106b9d 100755
--- a/tools/jailhouse-cell-linux
+++ b/tools/jailhouse-cell-linux
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Jailhouse, a Linux-based partitioning hypervisor
#
diff --git a/tools/jailhouse-cell-stats b/tools/jailhouse-cell-stats
index 2f7e966..4c5289f 100755
--- a/tools/jailhouse-cell-stats
+++ b/tools/jailhouse-cell-stats
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Jailhouse, a Linux-based partitioning hypervisor
#
diff --git a/tools/jailhouse-config-create b/tools/jailhouse-config-create
index 1e2df74..9382b05 100755
--- a/tools/jailhouse-config-create
+++ b/tools/jailhouse-config-create
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Jailhouse, a Linux-based partitioning hypervisor
#
diff --git a/tools/jailhouse-hardware-check b/tools/jailhouse-hardware-check
index 375816e..658ce6f 100755
--- a/tools/jailhouse-hardware-check
+++ b/tools/jailhouse-hardware-check
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Jailhouse, a Linux-based partitioning hypervisor
#
--
2.7.4

View File

@@ -1,168 +0,0 @@
SUMMARY = "Linux-based partitioning hypervisor"
DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
HOMEPAGE = "https://github.com/siemens/jailhouse"
SECTION = "jailhouse"
LICENSE = "GPL-2.0 & BSD-2-Clause"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
"
PV = "0.12+git${SRCPV}"
SRCREV = "0d059b6f2c3efeaa2466517300540498b34b7655"
BRANCH = "ti-jailhouse-0.12"
SRC_URI = " \
git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
file://0001-tools-update-shebang-in-helper-scripts-for-python3.patch \
"
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
RDEPENDS_${PN} += "\
python3-curses\
python3-datetime\
python3-mmap\
"
require jailhouse-arch.inc
inherit module python3native bash-completion deploy setuptools3
S = "${WORKDIR}/git"
B = "${S}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ti-soc)"
JH_DATADIR ?= "${datadir}/jailhouse"
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
CELL_DIR ?= "${JH_DATADIR}/cells"
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
INMATES_DIR ?= "${JH_DATADIR}/inmates"
JH_CELL_FILES ?= "*.cell"
JH_CELL_FILES_k3 ?= "k3-*.cell"
JH_INMATE_DTB ?= ""
JH_INMATE_DTB_am65xx ?= "inmate-k3-am654-idk.dtb"
JH_INMATE_DTB_j7 ?= "inmate-k3-j721e-evm.dtb"
JH_INMATE_DTB_j7200-evm ?= "inmate-k3-j7200-evm.dtb"
JH_LINUX_DEMO_CELL ?= ""
JH_LINUX_DEMO_CELL_am65xx ?= "k3-am654-idk-linux-demo.cell"
JH_LINUX_DEMO_CELL_j7 ?= "k3-j721e-evm-linux-demo.cell"
JH_LINUX_DEMO_CELL_j7200-evm ?= "k3-j7200-evm-linux-demo.cell"
JH_SYSCONFIG_CELL ?= ""
JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell"
JH_SYSCONFIG_CELL_j7 ?= "k3-j721e-evm.cell"
JH_SYSCONFIG_CELL_j7200-evm ?= "k3-j7200-evm.cell"
INITRAMFS_IMAGE ?= ""
JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
JH_CMDLINE ?= ""
JH_CMDLINE_am65xx ?= "console=ttyS1,115200n8"
JH_CMDLINE_j7 ?= "console=ttyS3,115200n8"
JH_CMDLINE_j7200-evm ?= "console=ttyS3,115200n8"
do_configure() {
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
then
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
fi
}
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
-I../driver'
TOOLS_SRC_DIR = "${S}/tools"
EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
do_compile() {
oe_runmake V=1
}
do_install() {
# Install pyjailhouse python modules needed by the tools
distutils3_do_install
# We want to install the python tools, but we do not want to use pip...
# At least with v0.10, we can work around this with
# 'PIP=":" PYTHON_PIP_USEABLE=yes'
oe_runmake PIP=: PYTHON=python3 PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
install -d ${D}${CELL_DIR}
install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
install -d ${D}${INMATES_DIR}
install -m 0644 ${B}/inmates/demos/${JH_ARCH}/*.bin ${D}${INMATES_DIR}
install -d ${D}/boot
if [ -n "${JH_RAMFS_IMAGE}" ]
then
if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ]
then
install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot
else
bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!"
bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES."
fi
fi
if [ -n "${JH_INMATE_DTB}" -a -n "${JH_LINUX_DEMO_CELL}" ]; then
cd ${TOOLS_SRC_DIR}
echo "#! /bin/sh" > ${D}${JH_DATADIR}/linux-demo.sh
echo "jailhouse enable ${CELL_DIR}/${JH_SYSCONFIG_CELL}" >> ${D}${JH_DATADIR}/linux-demo.sh
./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
-a ${JH_ARCH} -c "${JH_CMDLINE}" \
-d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
-i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \
${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
${DEPLOY_DIR_IMAGE}/Image \
| tr -cd '\11\12\15\40-\176' \
>> ${D}${JH_DATADIR}/linux-demo.sh
sed -i -e 's,^Modified device tree written.*,,g' ${D}${JH_DATADIR}/linux-demo.sh
sed -i -e 's,\${D},,g' ${D}${JH_DATADIR}/linux-demo.sh
sed -i -e 's, linux-loader.bin, ${JH_EXEC_DIR}/linux-loader.bin,g' ${D}${JH_DATADIR}/linux-demo.sh
sed -i -e 's,\${DEPLOY_DIR_IMAGE},/boot,g' ${D}${JH_DATADIR}/linux-demo.sh
sed -i -e '/^\s*$/d' ${D}${JH_DATADIR}/linux-demo.sh
chmod +x ${D}${JH_DATADIR}/linux-demo.sh
fi
}
PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
FILES_${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} /boot"
FILES_pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
FILES_${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
RDEPENDS_${PN}-tools = "pyjailhouse python3-mmap python3-math python3-datetime python3-curses python3-compression"
RDEPENDS_pyjailhouse = "python3-core python3-ctypes python3-fcntl python3-shell"
RRECOMMENDS_${PN} = "${PN}-tools"
INSANE_SKIP_${PN} = "ldflags"
KERNEL_MODULE_AUTOLOAD += "jailhouse"
# Any extra cells/inmates from external recipes/packages
CELLS = ""
python __anonymous () {
d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
ramfs = d.getVar('JH_RAMFS_IMAGE', True)
if ramfs:
d.appendVarFlag('do_install', 'depends', ' ${JH_RAMFS_IMAGE}:do_image_complete')
# Setup DEPENDS and RDEPENDS to included cells
cells = d.getVar('CELLS', True) or ""
for cell in cells.split():
d.appendVar('DEPENDS', ' ' + cell)
d.appendVar('RDEPENDS_${PN}', ' ' + cell)
}

View File

@@ -35,6 +35,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw pruhsr-fw pruprp-fw"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2"
# Add run-time dependency for Cadence MHDP firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"

View File

@@ -8,30 +8,35 @@ inherit kernel
DEFCONFIG_BUILDER = "${WORKDIR}/ti-upstream-tools/config/defconfig_builder.sh"
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/kernel-rdepends.inc
require recipes-kernel/linux/ti-kernel.inc
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
DEPENDS += "gmp-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
${EXTRA_DTC_ARGS}"
S = "${WORKDIR}/git"
BRANCH = "master"
TOOLS_BRANCH = "master"
# 5.11 Mainline version
SRCREV = "f40ddce88593482919761f74910f42f4b84c004b"
PV = "5.11+git${SRCPV}"
# 5.13 Mainline version
SRCREV = "62fb9874f5da54fdb243003b386128037319b219"
PV = "5.13+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += " \
${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH};name=linux \
git://git.ti.com/ti-linux-kernel/ti-upstream-tools.git;protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=ti-upstream-tools \
git://git.ti.com/ti-linux-kernel/ti-upstream-tools.git;branch=${TOOLS_BRANCH};protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=ti-upstream-tools \
file://defconfig \
"
SRCREV_ti-upstream-tools = "d59b7471d99b806e3dc22342c8f42d5bb33f8cce"
SRCREV_ti-upstream-tools = "c9b8150cb00a5beb7b7f3e42d0d817aa9392fabd"
SRCREV_FORMAT = "linux"
KERNEL_DEVICETREE = ""

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
BRANCH = "ti-rt-linux-5.10.y"
SRCREV = "5990047eb007737030748d449dc37275b317117b"
PV = "5.10.4+git${SRCPV}"
SRCREV = "bee192299392dc41c94f4603968b7a3c02f17a1d"
PV = "5.10.41+git${SRCPV}"

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
BRANCH = "ti-rt-linux-5.4.y"
SRCREV = "5b5ca4d6ecedcb05721f0d5a7d753dd01c37b1f8"
PV = "5.4.93+git${SRCPV}"
SRCREV = "519667b0d81d74a6e55105dcd6072ae550352599"
PV = "5.4.106+git${SRCPV}"

View File

@@ -11,18 +11,20 @@ require recipes-kernel/linux/cmem.inc
require recipes-kernel/linux/ti-uio.inc
require recipes-kernel/linux/bundle-devicetree.inc
require recipes-kernel/linux/kernel-rdepends.inc
require recipes-kernel/linux/ti-kernel.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
${EXTRA_DTC_ARGS}"
S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.10.y"
SRCREV = "44fb363f878fa80d5b502291954bb83d9cae842b"
PV = "5.10+git${SRCPV}"
SRCREV = "4d2f380d7b799fca168f0474531a4efe59cec426"
PV = "5.10.41+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"
@@ -41,5 +43,3 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
KERNEL_MODULE_AUTOLOAD_append_j7 = " rpmsg_kdrv_switch"
DEFAULT_PREFERENCE = "-1"

View File

@@ -21,8 +21,8 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.4.y"
SRCREV = "70781a6b7a782e6433fee618f258d4aba7e2f34b"
PV = "5.4.93+git${SRCPV}"
SRCREV = "023faefa70274929bff92dc41167b007f7523792"
PV = "5.4.106+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"

View File

@@ -0,0 +1,9 @@
# Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled
def get_extra_dtc_args(d):
if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1":
return "DTC_FLAGS=-@"
else:
return ""
EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"

View File

@@ -0,0 +1 @@
RDEPENDS_${PN}-tests_ti-soc += "bash"

View File

@@ -1,62 +0,0 @@
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
From 36e784f621bf5d5be9183beba35f39426277c110 Mon Sep 17 00:00:00 2001
From: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Date: Tue, 13 Oct 2020 22:45:39 +0300
Subject: [PATCH 1/3] libutils: provide empty __getauxval() implementation
Never version of libgcc are built with LSE implementation in mind. To
determine if LSE is available on platform it calls __getauxval(), so in
some cases we can get undefined reference to __getauxval() error.
Prominent case is libgcc_eh.a library, which is used by C++ TAs. Exception
handler depends on atomic operations, so it tries to call
init_have_lse_atomics() first. This function in turn calls __getauxval(),
which causes linking error.
In the future we can make __getauxval() to return actual platform
capabilities.
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
---
lib/libutils/ext/arch/arm/auxval.c | 12 ++++++++++++
lib/libutils/ext/arch/arm/sub.mk | 1 +
2 files changed, 13 insertions(+)
create mode 100644 lib/libutils/ext/arch/arm/auxval.c
diff --git a/lib/libutils/ext/arch/arm/auxval.c b/lib/libutils/ext/arch/arm/auxval.c
new file mode 100644
index 00000000..98bca850
--- /dev/null
+++ b/lib/libutils/ext/arch/arm/auxval.c
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: BSD-2-Clause
+/*
+ * Copyright (c) 2020, EPAM Systems
+ */
+
+#include <compiler.h>
+
+unsigned long int __getauxval (unsigned long int type);
+unsigned long int __getauxval (unsigned long int type __unused)
+{
+ return 0;
+}
diff --git a/lib/libutils/ext/arch/arm/sub.mk b/lib/libutils/ext/arch/arm/sub.mk
index dc5eed67..2e779066 100644
--- a/lib/libutils/ext/arch/arm/sub.mk
+++ b/lib/libutils/ext/arch/arm/sub.mk
@@ -3,6 +3,7 @@ srcs-$(CFG_ARM32_$(sm)) += aeabi_unwind.c
endif
srcs-$(CFG_ARM32_$(sm)) += atomic_a32.S
srcs-$(CFG_ARM64_$(sm)) += atomic_a64.S
+srcs-y += auxval.c
ifneq ($(sm),ldelf) # TA, core
srcs-$(CFG_ARM32_$(sm)) += mcount_a32.S
srcs-$(CFG_ARM64_$(sm)) += mcount_a64.S
--
2.25.1

View File

@@ -1,55 +0,0 @@
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
From 73196b58ea6978ffa5e581738030f51c5789ef73 Mon Sep 17 00:00:00 2001
From: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Date: Tue, 13 Oct 2020 22:54:13 +0300
Subject: [PATCH 2/3] link.mk: implement support for libnames-after-libgcc
variable
Newer versions of libgcc depend on external __getauxval() symbol, which is
now provided by libutils. But libgcc is linked after libutils, so linker
can't resolve that symbol. We can't include libgcc into linking group with
libtutils, because libgcc provides symbols that conflict with libutil's
ones, like __aeabi_idiv with friends for instance.
So, to resolve libgcc dependency on libutils we need to link with libutils
second time. To make things more generic, we will introduce
$(libnames-after-libgcc) variable for libraries that should be linked after
libgcc.
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
---
ta/arch/arm/link.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ta/arch/arm/link.mk b/ta/arch/arm/link.mk
index 445c285d..3025acb1 100644
--- a/ta/arch/arm/link.mk
+++ b/ta/arch/arm/link.mk
@@ -55,8 +55,11 @@ link-ldflags += --eh-frame-hdr
link-ldadd += $(libstdc++$(sm)) $(libgcc_eh$(sm))
endif
link-ldadd += --end-group
-ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) $(libgcc$(sm))
+link-ldadd-after-libgcc += $(addprefix -l,$(libnames-after-libgcc))
+
+ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \
+ $(libgcc$(sm)) $(link-ldadd-after-libgcc)
link-script-cppflags-$(sm) := \
$(filter-out $(CPPFLAGS_REMOVE) $(cppflags-remove), \
@@ -76,6 +79,7 @@ $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefi
$(link-script-cppflags-$(sm)) $$< -o $$@
$(link-out-dir$(sm))/$(user-ta-uuid).elf: $(objs) $(libdeps) \
+ $(libdeps-after-libgcc) \
$(link-script-pp$(sm)) \
$(dynlistdep) \
$(additional-link-deps)
--
2.25.1

View File

@@ -1,44 +0,0 @@
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
From f50962e3f56f0932662b2ffa10afe53339a335dd Mon Sep 17 00:00:00 2001
From: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Date: Fri, 16 Oct 2020 16:36:08 +0300
Subject: [PATCH 3/3] ta_dev_kit.mk: make sure that libutils is linked second
time
libgcc depends on __getauxval symbol from libuils. As, generally libutils
is linked before libgcc, we will get "unresolved symbol" error. To resolve
this dependency we need to link libutils second time - after libgcc.
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
---
ta/mk/ta_dev_kit.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/ta/mk/ta_dev_kit.mk b/ta/mk/ta_dev_kit.mk
index e28be677..d0e66317 100644
--- a/ta/mk/ta_dev_kit.mk
+++ b/ta/mk/ta_dev_kit.mk
@@ -78,6 +78,16 @@ endif
libnames += dl
libdeps += $(ta-dev-kit-dir$(sm))/lib/libdl.a
+# libutils provides __getauxval symbol which is needed by libgcc 10.x. We can't
+# link libutils after libgcc, because libgcc will replace some symbols provided
+# by libutils, which will cause further linking issues.
+#
+# But if we place libutils before libgcc, linker will not be able to resolve
+# __getauxval. So we need to link with libutils twice: before and after libgcc.
+# Hence it included both in $(libnames) and in $(libnames-after-libgcc)
+libnames-after-libgcc += utils
+libdeps-after-libgcc += $(ta-dev-kit-dir$(sm))/lib/libutils.a
+
# Pass config variable (CFG_) from conf.mk on the command line
cppflags$(sm) += $(strip \
$(foreach var, $(filter CFG_%,$(.VARIABLES)), \
--
2.25.1

View File

@@ -1,16 +1,13 @@
FILESEXTRAPATHS_prepend_ti-soc := "${THISDIR}/${PN}:"
PV_ti-soc = "3.11.0+git${SRCPV}"
PV_ti-soc = "3.12.0+git${SRCPV}"
SRCREV_ti-soc = "c4def2a8262a03244d9a88461699b9b8e43c6b55"
SRCREV_ti-soc = "3d47a131bca1d9ed511bfd516aa5e70269e12c1d"
SRC_URI_ti-soc = " \
git://github.com/OP-TEE/optee_os.git \
file://0006-allow-setting-sysroot-for-libgcc-lookup.patch \
file://0007-allow-setting-sysroot-for-clang.patch \
file://0001-libutils-provide-empty-__getauxval-implementation.patch \
file://0002-link.mk-implement-support-for-libnames-after-libgcc-.patch \
file://0003-ta_dev_kit.mk-make-sure-that-libutils-is-linked-seco.patch \
"
do_compile_prepend_ti-soc() {

View File

@@ -11,76 +11,74 @@ INHIBIT_DEFAULT_DEPS = "1"
inherit deploy
DEFAULT_METADATA_FILE ?= "metadata.inc"
DEFAULT_METADATA_FILE_am64xx ?= "mcusdk_metadata.inc"
PLAT_SFX = ""
PLAT_SFX_j7 = "j721e"
PLAT_SFX_j7200-evm = "j7200"
PLAT_SFX_am65xx = "am65xx"
PLAT_SFX_am64xx = "am64xx"
# 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}/${DEFAULT_METADATA_FILE}
require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
# Set some defaults for when metadata.inc is not available
DEFAULT_RTOS_FAMILY = "jacinto"
DEFAULT_RTOS_VERSION = "07_03_00_21"
DEFAULT_RTOS_VERSION_DOT = "07.03.00.21"
CORESDK_RTOS_VERSION ?= "08.00.00.26"
PV = "${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_VERSION_am64xx = "07_03_00_03"
DEFAULT_RTOS_VERSION_DOT_am64xx = "07.03.00.03"
CLEANBROKEN = "1"
PR = "r1"
DEFAULT_RTOS_VERSION_am65xx = "07_03_00_22"
DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.22"
DEFAULT_RTOS_SOC = "undefined"
DEFAULT_RTOS_SOC_j7 = "j721e"
DEFAULT_RTOS_SOC_j7200-evm = "j7200"
DEFAULT_RTOS_SOC_am65xx = "am65xx"
DEFAULT_RTOS_SOC_am64xx = "am64x"
DEFAULT_RTOS_WEBLINK = "undefined"
DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_WEBLINK_j7200-evm = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j7200/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_WEBLINK_am65xx = "https://software-dl.ti.com/processor-sdk-rtos/esd/AM65X/firmware/${CORESDK_RTOS_VERSION}"
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}"
DEFAULT_FIRMWARE_SHA256SUM = "unknown"
DEFAULT_FIRMWARE_SHA256SUM_j7 = "fc7805ed3d6c1801efb2b85ac9af99a8657aa3a7a9327bc16a1163d566f11c2c"
DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "71f282ba6768ad3b603a17d30851cc621986c88311c174960a50196bfc79f85c"
DEFAULT_FIRMWARE_SHA256SUM_am65xx = "61e0be08bea8ab1055645bd96504a6a29c70318c5b277237dee9981cd94d7f79"
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}"
CORESDK_RTOS_VERSION ?= "${DEFAULT_RTOS_VERSION}"
CORESDK_RTOS_VERSION_DOT ?= "${DEFAULT_RTOS_VERSION_DOT}"
CORESDK_RTOS_SOC ?= "${DEFAULT_RTOS_SOC}"
CORESDK_RTOS_WEBLINK ?= "${DEFAULT_RTOS_WEBLINK}"
CORESDK_RTOS_FIRMWARE_URL ?= "${DEFAULT_FIRMWARE_URL}"
CORESDK_RTOS_FIRMWARE_SHA256SUM ?= "${DEFAULT_FIRMWARE_SHA256SUM}"
CORESDK_RTOS_FILE_PREFIX ?= ""
CORESDK_RTOS_FILE_SUFFIX ?= ""
# Common code below
S = "${WORKDIR}/lib"
PV = "${CORESDK_RTOS_VERSION_DOT}"
SRC_URI = "${CORESDK_RTOS_FIRMWARE_URL}${CORESDK_RTOS_FILE_SUFFIX}"
SRC_URI[sha256sum] = "${CORESDK_RTOS_FIRMWARE_SHA256SUM}"
# Secure Build
DEPENDS += "openssl-native"
FILES_${PN} += "${base_libdir}"
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}${base_libdir}
cp ${CP_ARGS} ${S} ${D}
TI_SECURE_DEV_PKG ?= ""
RTOS_ETH_FW_DIR = "${S}/ti-eth/${PLAT_SFX}"
RTOS_DM_FW_DIR = "${S}/ti-dm/${PLAT_SFX}"
RTOS_IPC_FW_DIR = "${S}/ti-ipc/${PLAT_SFX}"
# For back-ward compatability keeping legacy firmware folder name
# TODO: fix this in next version
LEGACY_ETH_FW_DIR = "${D}${base_libdir}/firmware/ethfw"
LEGACY_IPC_FW_DIR = "${D}${base_libdir}/firmware/pdk-ipc"
LEGACY_DM_FW_DIR = "${D}${base_libdir}/firmware/ethfw"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
# Install
do_install_prepend_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${RTOS_DM_FW_DIR}; \
mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
)
}
FILES_${PN} = "${base_libdir}"
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${LEGACY_ETH_FW_DIR}
install -d ${LEGACY_IPC_FW_DIR}
cp ${CP_ARGS} "${RTOS_ETH_FW_DIR}/." ${LEGACY_ETH_FW_DIR}
cp ${CP_ARGS} "${RTOS_IPC_FW_DIR}/." ${LEGACY_IPC_FW_DIR}
cp ${CP_ARGS} "${RTOS_DM_FW_DIR}/." ${LEGACY_IPC_FW_DIR}
}
do_install_am65xx() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${LEGACY_IPC_FW_DIR}
cp ${CP_ARGS} "${RTOS_IPC_FW_DIR}/." ${LEGACY_IPC_FW_DIR}
}
do_install_am64xx() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${LEGACY_IPC_FW_DIR}
cp ${CP_ARGS} "${RTOS_IPC_FW_DIR}/." ${LEGACY_IPC_FW_DIR}
}
# make sure that lib/firmware, and all its contents are part of the package
FILES_${PN} += "${base_libdir}/firmware"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

View File

@@ -18,7 +18,7 @@ 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 ?= "3cda650c9e22eb4fd4eb5797ad998991a6124243"
TI_RTOS_METADATA_SRCREV ?= "2ecbf45af64bc47806623cc5bf7ab493489acaf9"
TI_RTOS_METADATA_BRANCH ?= "master"
TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"