1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

260 Commits

Author SHA1 Message Date
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
Praneeth Bajjuri
25a1adc13a linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-19 18:20:22 -05:00
Praneeth Bajjuri
06f86d1f88 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-19 18:20:22 -05:00
Denys Dmytriyenko
00eb3341d4 layer.conf: remove releases before dunfell as compatible
For dunfell meta-ti moved to depend on meta-arm and is no longer compatible
with older releases.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-19 17:57:22 -05:00
Praneeth Bajjuri
1bd2073310 ti-sci-fw: Update image gen and sysfw to v2021.01a
Update the image gen and linux-firmware commit SHAs so that
we pick v2021.01a sysfw and the applicable
DM update with following version
* 07.03.00.21 for J721E and J7200

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:19:35 -05:00
Gowtham Tammana
57f24176dd ti-img-rogue-umlibs: Update artifacts to 1.13.5776728
Update GLES binary artifacts to latest version 1.13.5776728.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 12:53:58 -05:00
Gowtham Tammana
6cb197cbdd ti-img-rogue-driver: Update driver to 1.13.5776728
Update the Rogue kernel driver sources to version 1.13.5776728.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 12:53:24 -05:00
Shiju Sivasankaran
fd22326861 ti-rtos: update to uisng fw from mcu-plus-sdk for AM64x
update ti-rtos-metadata and ti-rtos-firmware recipes of meta-ti to
pick AM64x rtos firmware from mcu-plus-sdk instead of PDK.

Other devices such as AM65x, J7 continue to use fw from PDK.

Built and tested both IPC echo test applications - "rpmsg_client_sample”
& “rpmsg_char_simple”. Both tests passed for all remote R5F cores
on AM64x EVM

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
[praneeth@ti.com: rebase to dunfell/next]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 12:51:03 -05:00
Praneeth Bajjuri
40ee321451 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.21
am65xx: 07.03.00.22

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 12:51:03 -05:00
Nikhil Devshatwar
6c7764e500 recipes-bsp: wl18xx-fw: update SRCREV to latest
Update the wl18xx firmware recipe to latest version 8.9.0.0.86

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-11 22:30:00 -06:00
Vivien Didelot
0e26563f5f ti33x: allow different virtual/bootloader
Boards like the beaglebone currently hardcode "u-boot" as a dependency
for the image and the wic format, and this prevents one from choosing
a different bootloader via:

    PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Suggested-by: Denys Dmytriyenko <denis@denix.org>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-11 22:29:35 -06:00
Praneeth Bajjuri
9421b0df61 linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-05 17:24:25 -06:00
Praneeth Bajjuri
513d02a22a 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-05 17:21:21 -06:00
Praneeth Bajjuri
acbff6ec61 ti-rtos: Update path for firmwares on j7200
Between j7200 firmware tags 07.03.00.10 to 07.03.00.16
the downloadable weburl link changed
from *processor-sdk-rtos-jacinto7 to *processor-sdk-rtos-j7200.

This patch is to fix the recipe to pick the firmware from the
expected location on the new tag.

Fixes j7200 build error reported due to
77cdfa9f65 ("ti-rtos: Update metadata and versions for RTOS firmware")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
2021-03-05 17:19:05 -06:00
Nishanth Menon
687c4b9397 linux-ti-mainline: Bump kernel version to v5.11
And lets work with the latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-04 18:45:42 -06:00
Nishanth Menon
cc672ee2e8 linux-ti-mainline: Bump up ti-upstream-tools SRCREV
Bump up our recipe version for ti-upstream-tools for updates in config
files needed for latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-04 18:44:56 -06:00
Praneeth Bajjuri
06bddc4509 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
am64xx: 07.03.01.06
j721e, j7200, am65xx: 07.03.00.16

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2021-03-04 17:39:38 -06:00
Praneeth Bajjuri
c26165ef90 ti-sci-fw: Update image gen and sysfw to v2021.01
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2021.01 sysfw and the applicable
DM update with following version
* 07.03.00.12 for J721E
* 07.03.00.10 for J7200

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:33:57 -06:00
Praneeth Bajjuri
77cdfa9f65 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
am64xx: 07.03.01.02
am65xx: 07.03.00.10
j721e: 07.03.00.12
j7200: 07.03.00.10

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-22 14:08:05 -06:00
Praneeth Bajjuri
312f83615c linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-21 22:10:26 -06:00
Praneeth Bajjuri
0b4a372eca 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-02-21 22:02:57 -06:00
Praneeth Bajjuri
7401e9c10c ti-sci-fw: Update image gen to latest
update image get to latest

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-21 21:58:31 -06:00
Praneeth Bajjuri
94bd05eda5 linux-ti-staging: Update 5.4 kernel to 07.03.00.000
Update 5.4 kernel to 07.03.00.000

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-11 15:57:47 -06:00
Praneeth Bajjuri
c4ba4d5cea 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-02-11 11:54:31 -06:00
Lokesh Vutla
a882433f3e am64xx-sk Add combined boot build support
Add combined boot flow support for the AM64XX SK device.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-10 13:59:30 -06:00
Lokesh Vutla
9ae470af88 machine: am64xx-sk.conf: Add machine definition for AM64xx SK
AM642 StarterKit (SK) board is a low cost, small form factor board
designed for TI’s AM642 SoC. Add machine definition for SK board.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-06 14:51:56 -06:00
Praneeth Bajjuri
649ebb21dd linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-06 14:46:13 -06:00
Lokesh Vutla
f71fe2438f ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit that includes AM64xx SK platform

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-06 14:36:26 -06:00
Dan Murphy
67ad5a9bb3 linux-ti-staging_5.4: Update to 5.4.93 kernel revision
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-02-03 14:23:50 -06:00
Dan Murphy
b1a69deb89 linux-ti-staging_5.4: Update to 5.4.91 kernel revision
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-27 07:43:25 -06:00
Denys Dmytriyenko
6496a0edeb linux-ti-staging, u-boot-ti-staging: lower default preference
Latest versions of Linux kernel (5.10) and U-boot (2021.01) are not yet ready
for prime time in meta-ti and some features are still being migrated and causing
issues. The recipes are meant for development and not yet for production.

Normally selection of the version is done with PREFERRED_VERSION by the Distro
(e.g. Arago), but if not specified by a Distro (Poky, distroless, etc.), the
default is to use the latest version. Hence need to change the default to not
automatically pick the latest version that is not ready yet.

This can be removed/reverted once those versions are ready to be picked by
default.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-27 06:52:43 -06:00
Dan Murphy
ad5390700f u-boot-ti-staging: Override the LIC_FILE_CHKSUM for 2021
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-27 06:51:16 -06:00
Dan Murphy
a0ee3effd6 linux-ti-staging-5.10: With the kernel being AUTOREV'd remove the minor version
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-27 06:50:47 -06:00
Dan Murphy
542456ca08 ti-sci-fw: Update image gen and sysfw to v2020.12a
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2020.12a sysfw and the applicable
DM update on j7200 and j721e based on 07.02.00.10 tag

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-20 14:58:01 -06:00
Dan Murphy
c55ef77607 ti-rtos: Update metadata and versions for RTOS firmware
am64xx update to 07.02.01.06
am65, j7 and j7200 updated to 07.02.00.10

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-20 12:58:47 -06:00
Praneeth Bajjuri
1ed529d1cb ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-20 12:41:52 -06:00
Dan Murphy
4bd3b055a9 linux-ti-staging: Update 5.4 kernel to the latest SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-20 08:51:48 -06:00
Praneeth Bajjuri
c232ecd8c3 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-20 07:40:42 -06:00
Dan Murphy
72e443f03f ti-sci-fw: Remove incorrect directive for 7200-hs
The 7200-hs-evm does not exist as a machine and if it did then this
directive should have been j7200-hs.  So just remove it as it is
unneeded.

From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-18 13:28:12 -06:00
Dan Murphy
47987915f7 u-boot-ti-staging: Add 2021.01 recipe
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 15:07:16 -06:00
Dan Murphy
874ff0d7f9 linux-ti-staging: Add 5.10 recipe
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 15:07:05 -06:00
Praneeth Bajjuri
26cd10d5ae ti-sci-fw: Update image gen and sysfw to v2020.12
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2020.12 sysfw and the applicable
DM update on j7200 and j721e based on 07.02.00.05 tag

Dan Murphy - Removed am64xx PV over ride

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 14:39:34 -06:00
Dan Murphy
221737207c ti-rtos: Update metadata and versions for RTOS firmware to 07.02.0x.05
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 13:20:01 -06:00
Dan Murphy
14a232a272 linux-ti-staging: Update 5.4 kernel to the latest 5.4.87
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 13:19:05 -06:00
Praneeth Bajjuri
82e41e4414 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-14 13:19:05 -06:00
Dan Murphy
46b2004ab2 u-boot-ti: am64xx: Remove dm support for uboot
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 11:40:25 -06:00
Dan Murphy
53ae9e8076 linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 06:34:55 -06:00
Denys Dmytriyenko
be0396863b optee-os: upgrade to upstream 3.11.0
As meta-arm has this version in master, but not in dunfell, temporarily overlay
corresponding patches locally - could be removed for the next release. Need to
alter FILESEXTRAPATHS for bbappend to locate local patches.

Since meta-arm/dunfell has 3.8-specific patches in SRC_URI, let's redefine it
completely to match 3.11-specific patch list in meta-arm/master.

Last, but not least, guard all upstream recipe varibales with "ti-soc" override
to only affect platforms in meta-ti, but not any other BSPs.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 06:34:55 -06:00
Dan Murphy
89402b1230 am64xx: Add combined boot build support
Add combined boot flow support for the AM64XX device.

From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 06:34:55 -06:00
Praneeth Bajjuri
707f3b67c8 ti-sci-fw: am64x: Update image gen and sysfw to v2020.12
Update the image gen and sysfw commit SHAs so that am64x picks
v2020.12 version.

Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 06:34:17 -06:00
Praneeth Bajjuri
d6f8a0ba02 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-07 06:59:11 -06:00
Lokesh Vutla
bd2b6bf172 pruprp-fw: Update prp firmware to 2.17.25
Update prueth prp firmware to 2.17.25

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-06 09:41:47 -06:00
Lokesh Vutla
77776a0e73 pruhsr-fw: Update hsr firmware to 2.17.25
Update prueth hsr firmware to 2.17.25

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-06 09:41:41 -06:00
Lokesh Vutla
0704aef081 prusw-fw: Update switch firmwares to 3.2.7 version
Update prueth switch firmwares to 3.2.7 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-06 09:41:23 -06:00
Lokesh Vutla
76cc333b6d prueth-fw: Update prueth dual emac firmware to 5.5.13
Update the prueth dual emac firmware to 5.5.13 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-06 09:39:21 -06:00
Lokesh Vutla
ce0fecc116 k3conf: Update to latest commit
Update k3conf to latest sha, bumping up version to 0.2

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 14:42:07 -06:00
Dan Murphy
928cb40fbe linux-ti-staging: Update 5.4 kernel to 5.4.84
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-04 14:01:24 -06:00
Dan Murphy
418855aa0b prueth-fw-am65x-sr2: Updating firmware to 02.02.08.02
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 14:22:58 -06:00
Dan Murphy
d3d78e286c ti-sci-fw: Update image gen and sysfw commit SHA
Update the image gen and sysfw commit SHAs.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 14:22:51 -06:00
Dan Murphy
26c9810a30 k3conf: Update SRCREV to latest
Update the k3conf to the latest SHA to pick up AM64.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 11:55:34 -06:00
Dan Murphy
def08bdfe3 am64xx-evm-k3r5: Update SYSFW_SOC to am64x from am65x
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 11:55:34 -06:00
Dan Murphy
c13d467e73 ti-uboot-staging: Update to the latest commit
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 11:55:34 -06:00
Praneeth Bajjuri
888ed87486 trusted-firmware-a: Update SRCREV for AM64X support
Update SRCREV to pick latest that includes AM64X support

commit 65dd16b4e ("ti: k3: Introduce lite device board support")
adds support of AM64X platform in ti-atf branch.

This patch updates the SRCREV and also updates the BOARD to "lite" to
build for the mentioned platform.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
2020-12-17 07:13:47 -06:00
Dan Murphy
76ba5caad6 ti-rtos: Update metadata and versions for RTOS firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 07:13:47 -06:00
Dan Murphy
ffe3b7c6e0 machine: am64xx-evm.conf: Remove commented code and update PDK values
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 07:13:47 -06:00
Dan Murphy
873917f7dc u-boot-ti: Remove unneeded variable for am64xx
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 07:13:47 -06:00
Dan Murphy
0097e62a6c linux-ti-staging: Update kernel to latest commit sha
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-17 07:13:47 -06:00
Dan Murphy
9ec15b2fad ti-rtos: Update metadata with AM64 firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 12:38:26 -06:00
Dan Murphy
a7b1d85c9f u-boot-ti: Update u-boot to pick up AM64 architecture
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 10:44:06 -06:00
Dan Murphy
2436bcd3dd linux-ti-staging: Update kernel to pick up AM64 platform
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 10:44:06 -06:00
Dan Murphy
5f8c89ef7f machine: am64xx-evm.conf: Add machine definition for AM64xx platform
The AM64 is a follow on device of the AM65xx K3 multicore SoC architecture.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 10:44:06 -06:00
Suman Anna
05437e4d51 ipc: ti-rpmsg-char: Update library to 0.3.0
Update the ti-rpmsg-char library to 0.3.0 version that enables
the support for the various R5F remote processors on AM64x SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 06:23:45 -06:00
Nishanth Menon
33c89d6c52 trusted-firmware-a: Update to v2.4 merge
Update to v2.4 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-4

TI specific fixups include:
 - stub for shutdown (CPUs enter wfi)
 - uart console is now configurable.

While at it, update to include PV_k3 as 2.4. We use PV_k3 instead of
PV since this allows meta-ti to not affect other platforms esp in a
multi-BSP configuration.

We also add LIC_FILES_CHKSUM_k3 to make sure that we don't let any
re-licensing in the project pass through unnoticed as that has to
be carefully examined for making sure we have all the right legal
compliance - There has been no change compared to previous versions,
but we introduce this as a protection in case there is a change in the
future.

Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Suggested-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-11 06:23:45 -06:00
Dan Murphy
9dce84ef28 linux-ti-staging: Update kernel to 5.4.78
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-08 07:43:31 -06:00
Praneeth Bajjuri
19f7b0e421 u-boot-ti-staging_2020.01: Update SRCREV to latest
commit a6904f563f ("Remove redundant YYLOC global declaration")
is in ti-u-boot-2020.01 branch now.

Updating SRCREV of ti-u-boot-2020.01 to pick the patch from there.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-07 06:54:05 -06:00
Khem Raj
efabc3ccce u-boot-ti-staging_2020.01: Fix build on hosts with gcc10 on them
Backport a patch from upstream to fix build on distros with gcc10+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-19 10:33:45 -06:00
Dan Murphy
07209f738f ti-rtos: update metadata and firmware to 07.01.00.38
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-13 19:21:56 -06:00
Suman Anna
f7945aefb0 k3conf: Update SRCREV to latest
Use latest SRCREV on master branch to pick up all the
changes compliant with TIFS 2020.08b firmware.

The license CHKSUM also need to be updated due to a minor
change from http to https in the Copyright line.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-12 21:27:26 -06:00
Dan Murphy
e45b018fa2 ti-sci-fw: Update SHA to pick up 07.01.00.38 ti-dm firmware with 2020.08b sysfw
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-12 14:27:26 -06:00
Dan Murphy
0d0311cc2f linux-ti-staging: Update RT kernel hash to pick up a few fixes
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-12 09:17:13 -06:00
Dan Murphy
7fe282c6b7 u-boot-ti-staging: Update to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 21:25:32 -06:00
Dan Murphy
30899e6d73 ti-sci-fw: Update to 2020.08b system firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 21:25:32 -06:00
Dan Murphy
ef1709ac9a ti-rtos: update metadata and firmware to 07.01.00.33
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 07:14:08 -06:00
Gowtham Tammana
88a7a60825 ti-img-rogue-umlibs: update srcrev to pick rpath fixes
Update the srcrev to pick the latest artifacts that fix some of the
redundant rpath warnings seen with Yocto.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-05 10:11:23 -06:00
Nikhil Devshatwar
fe7adbfe0e recipes-devtools: k3conf: Update SRCREV to latest
Use latest SRCREV on master branch.
This adds support for resource management commands

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-05 10:10:51 -06:00
Suman Anna
56fb42a746 ipc: ti-rpmsg-char: Update library to 0.2.0
Update the ti-rpmsg-char library to 0.2.0 version that includes
an improvement to signal handling logic.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-05 10:10:16 -06:00
Dan Murphy
e32cc38566 linux-ti-staging: Update kernel to 5.4.74
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-03 09:19:21 -06:00
Dan Murphy
08ca4af7aa trusted-firmware-a: Update to newer SHA
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-03 09:19:07 -06:00
Gowtham Tammana
d9f526a399 ti-img-rogue-driver: pull general toolchain support
The patch for supporting the general toolchain is pulled into the repo.
Removing it here from the recipe.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 07:28:17 -06:00
Suman Anna
1c5da3b5cd ipc: ti-rpmsg-char: Update SRCREV
Update the ti-rpmsg-char SRCREV to pull in a bug fix.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 07:27:18 -06:00
Khem Raj
ec34c941a5 ti-rpmsg-char: Mark these recipes to be TI SOC specific
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 07:25:23 -06:00
Khem Raj
91fe7b2a7a ti-rpmsg-char-examples: Fix cross compile
This fixes problems during cross compile where it starts to peek into
build host's include and library paths and causes errors with clang and
QA warnings with gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 07:25:11 -06:00
Dan Murphy
31dfe138b5 ti-rtos: update metadata and firmware to 07.01.00.25
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-24 16:44:47 -05:00
Dan Murphy
4bd4014332 u-boot-ti-staging: Update to tag 07.01.00.004
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-24 16:44:26 -05:00
Denys Dmytriyenko
dc122351a0 conf/machine: extend SR2.0 support from AM65 GP to AM65 HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 14:38:49 -05:00
Dan Murphy
0dd5970453 u-boot-ti-staging: Update to latest HEAD for bug fix
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 11:27:29 -05:00
Suman Anna
e4403ea537 ipc: ti-rpmsg-char: Add initial recipes
Add the initial recipes for building the ti-rpmsg-char package.
The library and examples are built using two separate recipes
in ti-rpmsg-char_git.bb and ti-rpmsg-char-examples_git.bb.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 11:27:19 -05:00
Dan Murphy
2efa25e5ef linux-ti-staging: Update kernel to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 10:26:08 -05:00
Dan Murphy
fd8d653061 boot-monitor: update to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 09:28:44 -05:00
Dan Murphy
7da952e38e u-boot-ti-staging: Update to latest HEAD for j7 build
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-21 12:44:07 -05:00
Dan Murphy
fd396c3a2c u-boot-ti: Add new firmware to u-boot command line for j7
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-21 12:43:50 -05:00
Dan Murphy
ccfc0cc0d6 ti-rtos: update metadata and firmware to 07.01.00.24
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-21 12:43:34 -05:00
Dan Murphy
7bc99691d2 ti-sci-fw: Update to 2020.08-rc3 system firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-20 09:04:30 -05:00
Dan Murphy
57a0085d21 prusw-fw: Update the firmware to 3.1.6 version
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-19 06:51:20 -05:00
Khem Raj
177e77e5a2 ti-rtos-firmware: Remove trailing slash from S
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:55:15 -05:00
Khem Raj
7388e3c163 ti-pdk-fetch.bbclass: Do not emit trailing slash during S forming
latest OE-core does not promote using trailing slash to make pseudo's
life easier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:55:13 -05:00
Denys Dmytriyenko
8025ba5995 ti-sci-fw: now Cortex-R5 SPL can also be provided by u-boot-ti-mainline
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:46:40 -05:00
Dan Murphy
95fa7738d8 linux-ti-staging: Update kernel to 5.4.70
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-14 10:45:49 -05:00
Denys Dmytriyenko
74e9332414 u-boot-ti-mainline: add mainline 2020.10
Update md5 README checksum for u-boot. No actual licensing changes.

Change is with u-boot commit
35bd70c5107f0 ("Convert CONFIG_SPLASH_SCREEN et al to Kconfig")

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:40:54 -05:00
Denys Dmytriyenko
0cf0dd9af6 linux-ti-mainline: add mainline 5.9 using ti-upstream-tools
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:40:47 -05:00
Denys Dmytriyenko
9b10b8144c linux-ti-staging: extract common rdepends, pass defconfig_builder.sh via variable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 10:40:40 -05:00
Denys Dmytriyenko
b5cb0c8f45 u-boot-ti: adjust location of optee binary to align with meta-arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-10 11:46:45 -05:00
Denys Dmytriyenko
8ac0c75768 conf/machine: pass OPTEEFLAVOR via OPTEEMACHINE as <mach>-<flavor>
Recipe in meta-arm doesn't use OPTEEFLAVOR, but optee-os Makefile can extract
it from OPTEEMACHINE.
Keep OPTEEFLAVOR for legacy platforms - used for HS signing in the output name.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-10 11:46:38 -05:00
Denys Dmytriyenko
896afdb67d optee-os: add TI signing calls via TI_SECURE_DEV_PKG
It was originally residing in meta-arago due to earlier dependency on meta-optee
layer from meta-linaro. Now optee is in meta-arm and this code can move to meta-ti.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-10 11:46:29 -05:00
Dan Murphy
5c5fc6c2aa linux-ti-staging: Update kernel to 5.4.69
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-08 14:48:20 -05:00
Dan Murphy
d6093ec457 u-boot-ti-staging: Update to tag 07.01.00.003
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-06 14:02:20 -05:00
Dan Murphy
e1da4b3afe linux-ti-staging: Update to the tag 07.01.00.003
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-06 14:00:50 -05:00
Praveen Rao
db8acc79af ti-sci-fw: update imggen SRCREV to the latest
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-06 09:23:16 -05:00
Dan Murphy
4df4bc37e8 prueth-fw-am65x-sr2: Updating firmware to 02.02.07.02
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-05 13:51:13 -05:00
Roger Quadros
76cafa23d9 prusw-fw: Update the firmware to 3.1.4 version
Update the firmware to version 3.1.4

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-02 10:21:19 -05:00
Roger Quadros
0723d49290 prueth-fw: Update the firmware to 5.3.9 version
Update the firmware to version 5.3.9

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-02 10:21:19 -05:00
Denys Dmytriyenko
569cb33c53 README: fix branch name for dunfell
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-24 22:37:35 +00:00
Denys Dmytriyenko
d7f9fc42c5 README: document dependency on meta-arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-24 00:47:02 +00:00
Denys Dmytriyenko
9d70ee001c README: add Dan Murphy to maintainers list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-23 21:58:04 +00:00
Dan Murphy
04db9dc4a3 linux-ti-staging: Update linux-staging to 5.4.66
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-23 21:57:49 +00:00
Denys Dmytriyenko
aa76eef5b3 ti-rtos: update metadata and firmware to 07.01.00.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-22 19:21:11 +00:00
Gowtham Tammana
101afd379d ti-sgx-ddk-um: Update SRCRERV to pick latest artifacts
Update SRCREV to pick the latest artifacts. The GL headers are excluded
in the artifacts instead of it in the recipe.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-18 02:02:42 +00:00
Dan Murphy
e7de9f0a9a u-boot-ti-staging: Update to tag 07.01.00.0002
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-18 02:02:01 +00:00
Dan Murphy
b2e8251da8 linux-ti-staging: Update to the tag 07.01.000.02 and update linux-staging to 5.4.61
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-18 02:01:33 +00:00
Lokesh Vutla
fe280f8fbe prueth-prp: Update the firmware to 2.16.24 version
Update the prueth prp firmware to 2.16.24 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 15:58:39 +00:00
Lokesh Vutla
4ca8bdc994 prueth-hsr: Update the firmware to 2.16.24 version
Update the prueth hsr firmware to 2.16.24 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 15:58:27 +00:00
Lokesh Vutla
80a55e2702 prueth-fw: Update the firmware to 5.2.8 version
Update the prueth firmware to 5.2.8 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 15:58:13 +00:00
Denys Dmytriyenko
9216fc89b5 ti-rtos-firmware/metadata: update to 07.01.00.10 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-02 07:26:23 +00:00
Dan Murphy
3e63830e52 ti-sci-fw: upgrade 2020.07-rc2 -> 2020.07-rc3
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:30:34 +00:00
Dan Murphy
75e247d55b linux-ti-staging: Update to the tag 07.01.000.01 and rt kernel moves to 5.4.61
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:30:25 +00:00
Dan Murphy
61cf332b2c u-boot-ti-staging: Update to tag 07.01.00.0001
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:30:06 +00:00
Lokesh Vutla
83f7dd59e1 prusw-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 00:48:57 +00:00
Lokesh Vutla
393834355c prueth-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk
Aldo drop build for k2g as firmwares are not yet available.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 00:48:53 +00:00
Lokesh Vutla
dcd5aa12e2 prueth-hsr/prp: Update hsr/prp firmwares to latest
Update the hsr/prp firmwares to latest that includes support for
timestamping rx packets. Unfortunately version number is not
incremented for this update.

Also rename the bb file to add PV in it.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 00:48:41 +00:00
Denys Dmytriyenko
7452ceb1d2 ti-sci-fw: pick up u-boot-spl.bin from sysroot and simplify dependency
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:05:42 +00:00
Denys Dmytriyenko
6f56c41ec8 u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:05:36 +00:00
Denys Dmytriyenko
d231ad8d09 rtos, pdk, csl: bump PE where versions went backwards due to reverts
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:39 +00:00
Denys Dmytriyenko
c5e7e23e14 rtos, gcc-arm-none-eabi: Rename gcc-arm-none-eabi -> gcc-arm-baremetal
Rename gcc-arm-none-eabi to gcc-arm-baremetal.
As meta-arm now provides baremetal gcc-arm-none-eabi version 9, and due to layer
priorities, let's rename gcc-arm-none-eabi to gcc-arm-baremetal to force picking
the right version for RTOS builds.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:35 +00:00
Denys Dmytriyenko
9ea5416a23 Revert "ti-sysbios: upgrade 6.76.03.01 -> 6.82.01.19"
This reverts commit 0bdb11bd04.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:25 +00:00
Denys Dmytriyenko
88aa84679c Revert "ti-ndk: upgrade 3.61.01.01 -> 3.75.01.01"
This reverts commit f0aa865fe9.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:21 +00:00
Denys Dmytriyenko
8102adb54b Revert "ti-ns: upgrade 2.60.01.06 -> 2.75.00.17"
This reverts commit 292aed84fb.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:17 +00:00
Denys Dmytriyenko
ec50798702 Revert "ti-xdctools: upgrade 3.55.02.22 -> 3.61.00.16"
This reverts commit 4d2441931c.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:13 +00:00
Denys Dmytriyenko
6c6863a1c8 Revert "ti-cgt7x: upgrade 1.2.0 -> 1.3.0"
This reverts commit ce230a6b15.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:10 +00:00
Denys Dmytriyenko
0d81a83aca Revert "ti-cgt-arm: upgrade 18.12.5 -> 20.2.0"
This reverts commit 82a33143d1.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:07 +00:00
Denys Dmytriyenko
b80306b74c Revert "gcc-arm, gcc-aarch64: upgrade baremetal gcc compilers to 9.2-2019.12"
This reverts commit 3a657f7d35.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:03 +00:00
Denys Dmytriyenko
9f29dab2e7 Revert "edma3-lld: update to the latest"
This reverts commit f2419cdd2d.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:58:00 +00:00
Denys Dmytriyenko
152e3ae0a3 Revert "HACK: ipumm: Temporary work-around for linker error with XDC tools upgrade"
This reverts commit 33b0e937b7.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:57:56 +00:00
Denys Dmytriyenko
92c95804bf Revert "ti-pdk-fetch: update to REL.CORESDK.07.00.00.24 tag"
This reverts commit 1d66c14e43.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:57:53 +00:00
Denys Dmytriyenko
36104ff4cf Revert "ti-pdk-fetch: update to 07.00.00.34"
This reverts commit 380d55bd0a.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:57:49 +00:00
Denys Dmytriyenko
37dc82c6d3 Revert "common-csl-ip: update to REL.CORESDK.07.00.00.24"
This reverts commit 0085345562.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:57:45 +00:00
Denys Dmytriyenko
eb5db43f31 Revert "common-csl-ip: update to 07.00.00.34"
This reverts commit f2b2b2095f.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-25 17:57:42 +00:00
Denys Dmytriyenko
b260415c3d ti-rtos-metadata: expand compatibility to ti-soc, but deploy only k3 for now
This is needed for future support and to make CI prep step machine-agnostic.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 19:37:54 +00:00
Denys Dmytriyenko
3a72ba07c1 ti-rtos-firmware: add recipe for RTOS FW binary integration
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 18:13:28 +00:00
Denys Dmytriyenko
a66d20c1b1 ti-rtos-metadata: add recipe to fetch and deploy metadata.inc for RTOS FW binary integration
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 18:13:25 +00:00
Denys Dmytriyenko
e0b51996e0 ti-display-sharing-fw: remove deprecated firmware
Display sharing is not supported in K5.4+ and corresponding FW is now obsolete.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 18:13:21 +00:00
Denys Dmytriyenko
86ce914746 pru-icss: revert part of the last change that moved rpmsg_lib.lib to base_libdir
As part of replacing hard-coded /lib with ${base_libdir}, rpmsg_lib.lib was
also mistakenly moved from ${libdir} to ${base_libdir}, which is incorrect
and breaks other recipes, when they try to link against this library from
${libdir}.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 22:49:50 +00:00
Nikhil Devshatwar
00dc1b1cd7 conf: machine: j7200-evm: Add Jailhouse overlay
j7200-evm supports virtualization with Jailhouse hypervisor.
To use Jailhouse, kernel needs to boot with an additional
DTB overlay. Include this in the list of DTBs for the machine.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 22:49:43 +00:00
Dan Murphy
e5b6af6bbe linux-ti-staging: Update to the latest 5.4.58 stable release
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 22:49:25 +00:00
Nikhil Devshatwar
36f337c26e recipes-kernel: jailhouse: Add support for machine j7200-evm
Initialize the cell names and console for the j7200-evm machine

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 22:48:46 +00:00
Denys Dmytriyenko
deedc7882c conf/machine: introduce new j7200 platform
The J7200 SoC is a part of the K3 Multicore SoC architecture platform.
It is targeted for automotive gateway, vehicle compute systems,
Vehicle-to-Vehicle (V2V) and Vehicle-to-Everything (V2X) applications.
The SoC aims to meet the complex processing needs of modern embedded
products.

Some highlights of this SoC are:
* Dual Cortex-A72s in a single cluster, two clusters of lockstep
  capable dual Cortex-R5F MCUs and a Centralized Device Management and
  Security Controller (DMSC).
* Configurable L3 Cache and IO-coherent architecture with high data
  throughput capable distributed DMA architecture under NAVSS.
* Integrated Ethernet switch supporting up to a total of 4 external ports
  in addition to legacy Ethernet switch of up to 2 ports.
* Upto 1 PCIe-GEN3 controller, 1 USB3.0 Dual-role device subsystems,
  20 MCANs, 3 McASP, eMMC and SD, OSPI/HyperBus memory controller, I3C and
  I2C, eCAP/eQEP, eHRPWM among other peripherals.
* One hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL
  management.

See J7200 Technical Reference Manual (SPRUIU1, June 2020)
for further details: https://www.ti.com/lit/pdf/spruiu1

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:45 +00:00
Denys Dmytriyenko
c0924565aa u-boot-ti: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:42 +00:00
Denys Dmytriyenko
69b51bca36 ti-sci-fw: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:38 +00:00
Denys Dmytriyenko
0f2c17cf06 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:35 +00:00
Denys Dmytriyenko
3a9f3485e2 linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:31 +00:00
Denys Dmytriyenko
b6cfca3b7a ti-sci-fw: upgrade 2020.06 -> 2020.07-rc2
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 22:20:28 +00:00
Alessio Igor Bogani
363d0f688f Replace hard-coded lib with base_libdir variable
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 17:03:33 +00:00
Nikhil Devshatwar
fa7d594e81 recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-14 22:35:18 +00:00
Denys Dmytriyenko
5e12310bfc conf/machine: clean up MACHINE_FEATURES for k3/j7/am65 families
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 20:55:36 +00:00
Dan Murphy
9a75ee4f4c linux-ti-staging: update to 5.4.54
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 17:06:03 +00:00
Denys Dmytriyenko
7ee10b1083 ti-sci-fw: set PV inside .inc so it's easier to update 3 files
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-05 20:29:12 +00:00
Denys Dmytriyenko
93f261719d ti-sci-fw: rename k2g specific version with PV in the name
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-05 20:29:00 +00:00
Denys Dmytriyenko
e63fb24a6f u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-05 20:28:46 +00:00
Denys Dmytriyenko
456b57eba2 linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-05 20:28:35 +00:00
Denys Dmytriyenko
972d008d2b u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-31 01:04:04 +00:00
Denys Dmytriyenko
346017b313 linux-ti-staging: update to 5.4.52
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-31 01:03:47 +00:00
Denys Dmytriyenko
eba01bdc11 ti-sci-fw: update 2020.04a -> 2020.06
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-24 17:24:12 +00:00
Prasad Jondhale
160dfafcb3 cpsw9g-eth-fw: Update SRCREV to latest
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-10 16:25:19 +00:00
Murali Karicheri
132e0b1b5b linux-ti-staging: Package PRU HSR, PRP firmware for AM3/AM4/AM57xx
AM3/4/5 PREUTH driver now supports HSR/PRP offload driver. So include
these firmwares for the required SoCs.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-08 15:24:41 +00:00
Murali Karicheri
0d959d68aa prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
files are located on ti-linux-firmware.git. This is a forward port of
the recipe from processor sdk 6.3

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-07 18:31:01 +00:00
Denys Dmytriyenko
f2b2b2095f common-csl-ip: update to 07.00.00.34
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-03 17:13:03 +00:00
Denys Dmytriyenko
380d55bd0a ti-pdk-fetch: update to 07.00.00.34
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-03 17:12:59 +00:00
Dan Murphy
5312c1622d linux-ti-staging: update to 07.00.00.005 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-03 17:12:41 +00:00
Dan Murphy
8b82b2a9fd u-boot-ti-staging: update to 07.00.00.005 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-03 17:12:27 +00:00
Ramprasad N
33b0e937b7 HACK: ipumm: Temporary work-around for linker error with XDC tools upgrade
IPUMM build is showing linker error for a function
ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__E with latest xdc tool.

A dummy version of this function is added in ipumm as a temporary solution.

Signed-off-by: Ramprasad N <x0038811@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 19:02:46 +00:00
Denys Dmytriyenko
f2419cdd2d edma3-lld: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 19:01:47 +00:00
Denys Dmytriyenko
3a657f7d35 gcc-arm, gcc-aarch64: upgrade baremetal gcc compilers to 9.2-2019.12
Overlay recipes from meta-arm/master to provide baremetal gcc 9.2-2019.12

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:59:56 +00:00
Denys Dmytriyenko
82a33143d1 ti-cgt-arm: upgrade 18.12.5 -> 20.2.0
License file got changed from txt to html

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:59:52 +00:00
Denys Dmytriyenko
1d66c14e43 ti-pdk-fetch: update to REL.CORESDK.07.00.00.24 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:59:13 +00:00
Denys Dmytriyenko
0085345562 common-csl-ip: update to REL.CORESDK.07.00.00.24
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:57:37 +00:00
Denys Dmytriyenko
ce230a6b15 ti-cgt7x: upgrade 1.2.0 -> 1.3.0
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:46 +00:00
Denys Dmytriyenko
4d2441931c ti-xdctools: upgrade 3.55.02.22 -> 3.61.00.16
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:42 +00:00
Denys Dmytriyenko
ce65d05a39 ti-xdctools: drop old unused patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:39 +00:00
Denys Dmytriyenko
292aed84fb ti-ns: upgrade 2.60.01.06 -> 2.75.00.17
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:35 +00:00
Denys Dmytriyenko
f0aa865fe9 ti-ndk: upgrade 3.61.01.01 -> 3.75.01.01
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:31 +00:00
Denys Dmytriyenko
0bdb11bd04 ti-sysbios: upgrade 6.76.03.01 -> 6.82.01.19
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-01 18:56:26 +00:00
Denys Dmytriyenko
b8ee3362a8 ti-sci-fw: update to 2020.04a and 07.00.00.004 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-29 19:21:48 +00:00
Dan Murphy
e9916b9017 linux-ti-staging: update to 5.4.40 and 07.00.00.004 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-29 19:21:32 +00:00
Dan Murphy
4f457fa700 u-boot-ti-staging: update to 07.00.00.004 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-29 19:21:19 +00:00
Denys Dmytriyenko
df3d0dd66e conf/machine: unify common AM65x GP and HS settings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-28 01:11:05 +00:00
Gowtham Tammana
f8f0f083b5 ti-img-rogue-umlibs: Update srcrev to pick latest
Updating the srcrev to pick the latest changes which adds an unittest.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-28 01:10:51 +00:00
Denys Dmytriyenko
5357bcf01c trusted-firmware-a: override named SRC_URI and SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:04:31 +00:00
Dan Murphy
23ae1c7a05 u-boot-ti-staging: update to 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:04:05 +00:00
Dan Murphy
609a14ffaa linux-ti-staging: update to 5.4.40 and 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:03:49 +00:00
Denys Dmytriyenko
0f99cfb94c trusted-firmware-a: upstreamed and unified to meta-arm, drop locally
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-19 20:30:29 +00:00
Prasad Jondhale
f152e696d9 recipes-bsp: cpsw9g-eth-fw: Update SRCREV to latest
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 19:34:17 +00:00
Nikhil Devshatwar
6793ca0970 recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 19:33:23 +00:00
Denys Dmytriyenko
d91a615686 ti-sci-fw: introduce recipe to package sources for MAINMACHINE
ti-sci-fw builds multiple config variants via multiconfig and the number
is expected to grow. Provide a recipe to package a single set of sources
for MAINMACHINE.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 04:47:55 +00:00
Roger Quadros
2cb5121e0f am65xx-evm: Add missing k3-am654-idk-sr1.dtbo
For SR1.0 we use a different overlay for IDK card.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 04:47:49 +00:00
Denys Dmytriyenko
d8cc5fb4af atf, sciclient: add missing j7-hs-evm support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-14 00:13:45 +00:00
Dan Murphy
86c16be6cd linux-ti-staging: update to 5.4.39 and 07.00.00.002 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:55:32 +00:00
Jacob Stiffler
d3bda926d2 ti-xdctools: add more PRIVATE_LIBS
* libjli.so and libawt_xawt.so are now detected within the
  ti-xdctools packages.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:55:10 +00:00
Denys Dmytriyenko
eea4166cba ti-img-encode-decode: not compatible with K5.4 - remove
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:54:29 +00:00
133 changed files with 1553 additions and 858 deletions

10
README
View File

@@ -8,7 +8,11 @@ This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
branch: dunfell
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: dunfell
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
@@ -24,4 +28,6 @@ meta-ti@lists.yoctoproject.org
Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/g/meta-ti
Maintainers: Denys Dmytriyenko <denys@ti.com>
Maintainers:
Praneeth Bajjuri <praneeth@ti.com>
Denys Dmytriyenko <denys@konsulko.com>

View File

@@ -6,6 +6,7 @@ TI_PDK_SRCREV ?= "a1ace885998e9adbcbbd0abf8b9ded6ba9ec54ff"
TI_PDK_VERSION ?= "2020.5.6"
PV = "${TI_PDK_VERSION}"
PE = "2"
TI_PDK_COMP ?= ""
TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
@@ -14,7 +15,7 @@ TI_PDK_SOURCE_PN = "ti-pdk-source"
TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}"
# Hard-link only required sources from PDK
python do_unpack_append() {

View File

@@ -3,15 +3,15 @@ require recipes-ti/includes/ti-staging.inc
inherit perlnative
DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-baremetal-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
DEPENDS_remove_ti33x = "ti-cgt6x-native"
DEPENDS_remove_ti43x = "ti-cgt6x-native"
DEPENDS_append_omapl1 = " ti-cgt-arm-native"
DEPENDS_remove_am65xx = "gcc-arm-none-eabi-native ti-cgt6x-native"
DEPENDS_remove_am65xx = "gcc-arm-baremetal-native ti-cgt6x-native"
DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
DEPENDS_remove_j7 = "gcc-arm-none-eabi-native"
DEPENDS_remove_j7 = "gcc-arm-baremetal-native"
DEPENDS_append_j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
S = "${WORKDIR}/git"

View File

@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "meta-ti"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "6"
LAYERSERIES_COMPAT_meta-ti = "sumo thud warrior zeus dunfell"
LAYERSERIES_COMPAT_meta-ti = "dunfell"
LICENSE_PATH += "${LAYERDIR}/licenses"

View File

@@ -13,6 +13,6 @@ UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"
OPTEEMACHINE = "ti"
OPTEEMACHINE = "ti-am43xx"
OPTEEFLAVOR = "am43xx"
OPTEEOUTPUTMACHINE = "ti"

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

@@ -13,7 +13,7 @@ UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
OPTEEMACHINE = "ti"
OPTEEMACHINE = "ti-am57xx"
OPTEEFLAVOR = "am57xx"
OPTEEOUTPUTMACHINE = "ti"
OPTEEPAGER = "y"

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: AM64xx EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM64xx EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am64x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am64x_evm_r5_defconfig"

View File

@@ -0,0 +1,7 @@
#@TYPE: Machine
#@NAME: AM64xx EVM
#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
require conf/machine/include/am64xx.inc
UBOOT_MACHINE = "am64x_evm_a53_defconfig"

View File

@@ -0,0 +1,11 @@
#@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"

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: AM64xx SK
#@DESCRIPTION: Machine configuration for the TI AM64xx SK board
require conf/machine/include/am64xx.inc
UBOOT_MACHINE = "am64x_sk_a53_defconfig"
KERNEL_DEVICETREE = " \
ti/k3-am642-sk.dtb \
"

View File

@@ -4,33 +4,4 @@
require conf/machine/include/am65xx.inc
BBMULTICONFIG += "k3r5-sr2"
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb \
ti/k3-am654-base-board-sr1.dtb \
ti/k3-am654-gp.dtbo \
ti/k3-am654-idk.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 \
"
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"
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

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: AM65xx SR2.0 HS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 HS EVM (R5F core)
# Booting SR2 requires different SYSFW, the rest is handled at runtime
require conf/machine/am65xx-hs-evm-k3r5.conf
SOC_FAMILY_append = ":k3r5-sr2"
SYSFW_SOC = "am65x_sr2"
SYSFW_SYMLINK = "sysfw.itb"

View File

@@ -7,6 +7,7 @@ require conf/machine/include/k3r5.inc
SYSFW_SOC = "am65x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs"
SYSFW_SYMLINK = ""
UBOOT_MACHINE = "am65x_hs_evm_r5_defconfig"

View File

@@ -4,26 +4,8 @@
require conf/machine/include/am65xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.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 \
"
UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_RD_LOADADDRESS = "0x84000000"
@@ -38,7 +20,3 @@ UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"

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

@@ -13,7 +13,7 @@ UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
OPTEEMACHINE = "ti"
OPTEEMACHINE = "ti-dra7xx"
OPTEEFLAVOR = "dra7xx"
OPTEEOUTPUTMACHINE = "ti"
OPTEEPAGER = "y"

View File

@@ -0,0 +1,26 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":am64xx"
MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am642-evm.dtb \
"
# 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"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am64x"
TI_PDK_LIMIT_BOARDS = "am64x_evm"
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0 mcu1_1 mcu2_0 mcu2_1"

View File

@@ -1,6 +1,26 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":am65xx"
MACHINE_FEATURES += "screen touchscreen gpu"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb \
"
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"
OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am65xx"
TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"

View File

@@ -1,10 +1,11 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":j7"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "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

@@ -26,6 +26,9 @@ UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
TFA_PLATFORM = "k3"
TFA_BOARD = "generic"
MACHINE_GUI_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
@@ -33,12 +36,15 @@ MACHINE_GUI_CLASS = "smallscreen"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci gpu"
# Not ready yet - dsp mmip
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

@@ -21,3 +21,4 @@ UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
PACKAGECONFIG_pn-u-boot-ti-staging = ""
PACKAGECONFIG_pn-u-boot-ti-mainline = ""

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 \
@@ -51,7 +50,7 @@ UBOOT_SUFFIX = "img"
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
@@ -63,4 +62,4 @@ TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"
do_image_wic[depends] += "virtual/bootloader:do_deploy"

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

@@ -4,15 +4,13 @@
require conf/machine/include/j7.inc
MACHINE_FEATURES += "gpu"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
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 \
"
UBOOT_MACHINE = "j721e_evm_a72_config"

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: J7200 EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j7200"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j7200_evm_r5_defconfig"

View File

@@ -0,0 +1,20 @@
#@TYPE: Machine
#@NAME: J7200 EVM
#@DESCRIPTION: Machine configuration for the TI J7200 EVM
require conf/machine/include/j7.inc
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-j7200-common-proc-board.dtb \
"
UBOOT_MACHINE = "j7200_evm_a72_config"
# 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

@@ -1,71 +0,0 @@
SUMMARY = "ARM Trusted Firmware"
DESCRIPTION = "ARM Trusted Firmware provides a reference implementation of \
Secure World software for ARMv8-A, including Exception Level 3 (EL3) software. \
It provides implementations of various ARM interface standards such as the \
Power State Coordination Interface (PSCI), Trusted Board Boot Requirements \
(TBBR) and Secure monitor code."
HOMEPAGE = "http://infocenter.arm.com/help/topic/com.arm.doc.dui0928e/CJHIDGJF.html"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
inherit deploy
DEPENDS += "dtc-native openssl-native"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
PV_append = "+git${SRCPV}"
BRANCH = "ti-atf"
SRC_URI = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH}"
SRCREV ?= "e516a389ac12fbe1597f61fea80ed3f230b9c5fd"
# Make ATF "aware" of OPTEE, no build dependency
PACKAGECONFIG[optee] = "SPD=opteed"
COMPATIBLE_MACHINE = "k3"
ATFPLATFORM_k3 = "k3"
ATFBOARD_k3 = "generic"
PACKAGECONFIG_k3 = "optee"
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
do_configure[noexec] = "1"
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" PLAT="${ATFPLATFORM}" TARGET_BOARD="${ATFBOARD}" ${PACKAGECONFIG_CONFARGS}'
do_compile() {
oe_runmake all
}
do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_install() {
install -d ${D}/boot
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${D}/boot/
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${D}/boot/
}
do_deploy() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${DEPLOYDIR}/
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile
FILES_${PN} = "/boot"
SYSROOT_DIRS += "/boot"

View File

@@ -15,7 +15,7 @@ BRANCH = "master"
S = "${WORKDIR}/git"
SRCREV = "e1f885ab6dc544884728e333cc6e396f7eb08286"
SRCREV = "d57d5c1d8f0b0b1487484d9ceb1595bd4507231a"
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"

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

@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1"
PV = "03.03.00.17B"
INC_PR = "r0"
PE = "1"
PE = "2"
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
CSL_GIT_PROTOCOL ="git"

2
recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb Normal file → Executable file
View File

@@ -11,7 +11,7 @@ inherit update-alternatives
PROTOCOL = "git"
BRANCH = "master"
SRCREV = "2f55ffedf0787f9c4c935473967fb88737d22778"
SRCREV = "91f1628507bf7f8716f0bc7cafe88ad7f14c94f5"
SRC_URI = "git://git.ti.com/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}"

View File

@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
PR = "${INC_PR}.1"
DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-baremetal-native ti-cgt-arm-native ti-cgt6x-native"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -18,7 +18,7 @@ SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5"
S = "${WORKDIR}/git"
PV = "3.00.15.00"
PR = "r5"
PR = "r7"
require recipes-ti/includes/ti-paths.inc

View File

@@ -1,56 +0,0 @@
From dbdbd9309a58ee723fc827ef5fd45c28347cf61f Mon Sep 17 00:00:00 2001
From: Eric Ruei <e-ruei1@ti.com>
Date: Tue, 7 May 2019 17:06:09 -0400
Subject: [PATCH] km: support general toolchain
This is a patch from IMG to support general toolchains such as
aarch64-oe-linux-gnu, aarch64-poky-linux-gnu, arm-none-linux-gnueabi
per IMG ticket 122059
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
build/linux/config/compiler.mk | 12 +++++++++++-
.../build/linux/config/compilers/arm-linux-gnueabi.mk | 6 ++++++
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 build/linux/config/compilers/arm-linux-gnueabi.mk
diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
index 82c9d44..dead2f9 100644
--- a/build/linux/config/compiler.mk
+++ b/build/linux/config/compiler.mk
@@ -48,13 +48,14 @@ define calculate-compiler-preferred-target
ifeq ($(2),qcc)
$(1)_compiler_preferred_target := qcc
else
- $(1)_compiler_preferred_target := $$(subst --,-,$$(shell $(2) -dumpmachine))
+ $(1)_compiler_preferred_target := $$(subst --,-,$$(subst unknown,,$$(shell $(2) -dumpmachine)))
ifeq ($$($(1)_compiler_preferred_target),)
$$(warning No output from '$(2) -dumpmachine')
$$(warning Check that the compiler is in your PATH and CROSS_COMPILE is)
$$(warning set correctly.)
$$(error Unable to run compiler '$(2)')
endif
+ $$(warning $(1) $(2))
ifneq ($$(filter %-w64-mingw32,$$($(1)_compiler_preferred_target)),)
# Use the compiler target name.
else
@@ -64,6 +65,15 @@ define calculate-compiler-preferred-target
ifneq ($$(filter arm-linux-android,$$($(1)_compiler_preferred_target)),)
$(1)_compiler_preferred_target := arm-linux-androideabi
endif
+ ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
+ $(1)_compiler_preferred_target := aarch64-linux-gnu
+ endif
+ ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
+ $(1)_compiler_preferred_target := arm-linux-gnueabi
+ endif
+ ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
+ $(1)_compiler_preferred_target := arm-linux-gnueabihf
+ endif
ifneq ($$(filter clang%,$(2)),)
ifeq ($(1),target)
ifeq (arm-linux-gnueabihf,$$(CROSS_TRIPLE))
--
2.7.4

View File

@@ -1,13 +1,13 @@
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232261e805325fac2"
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
inherit module features_check
REQUIRED_MACHINE_FEATURES = "gpu"
MACHINE_KERNEL_PR_append = "f"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -17,14 +17,13 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "linuxws/zeus/k5.4/${PV}"
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-km-support-general-toolchain.patch \
"
S = "${WORKDIR}/git"
SRCREV = "e0bc128ee5098e30c9fb096634ba6bec01b5fc17"
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 = "w"
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 = "9d1358eaf3a416ec5c1f4830fba0ffc3d61192a5"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"

View File

@@ -53,7 +53,7 @@ do_compile() {
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}/lib/firmware/pru
install -d ${D}${base_libdir}/firmware/pru
install -d ${D}${includedir}
cp ${CP_ARGS} ${S}/include/* ${D}${includedir}
install -d ${D}${libdir}
@@ -65,49 +65,49 @@ FILES_${PN}-dev = "${includedir}"
do_install_append_ti33x() {
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
for i in 0 1
do
install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
}
do_install_append_ti43x() {
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
for i in 0 1
do
for j in 0 1
do
install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
done
}
do_install_append_omap-a15() {
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
for i in 1 2
do
for j in 0 1
do
install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
done
}
do_install_append_k2g() {
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
for i in 0 1
do
for j in 0 1
do
install -m 0644 ${S}/examples/k2g/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
done
}
@@ -116,20 +116,20 @@ do_install_append_am65xx() {
for i in 0 1
do
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
for i in 0 1 2
do
for j in 0 1
do
install -m 0644 ${S}/examples/am65x/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 0644 ${S}/examples/am65x/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
done
@@ -139,28 +139,28 @@ do_install_append_j7() {
for i in 0 1
do
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
for i in 0 1
do
for j in 0 1
do
install -m 0644 ${S}/examples/j721e/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
install -m 0644 ${S}/examples/j721e/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
${D}${base_libdir}/firmware/pru
done
done
}
FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt* /lib/firmware/pru/RTU_Halt* /lib/firmware/pru/TX_PRU_Halt*"
FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
FILES_${PN}-halt = "${base_libdir}/firmware/pru/PRU_Halt* ${base_libdir}/firmware/pru/RTU_Halt* ${base_libdir}/firmware/pru/TX_PRU_Halt*"
FILES_${PN}-rpmsg-echo = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt* ${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
# Set up names for the firmwares
PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw"
@@ -171,55 +171,55 @@ PRU_ICSS_ALTERNATIVES_am65xx = "am65x-pru0_0-fw am65x-pru0_1-fw am65x-pru1_0-f
PRU_ICSS_ALTERNATIVES_j7 = "j7-pru0_0-fw j7-pru0_1-fw j7-pru1_0-fw j7-pru1_1-fw j7-rtu0_0-fw j7-rtu0_1-fw j7-rtu1_0-fw j7-rtu1_1-fw"
# Set up link names for the firmwares
ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"
ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "/lib/firmware/am335x-pru1-fw"
ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "${base_libdir}/firmware/am335x-pru0-fw"
ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "${base_libdir}/firmware/am335x-pru1-fw"
ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "/lib/firmware/am437x-pru0_0-fw"
ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "/lib/firmware/am437x-pru0_1-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "/lib/firmware/am437x-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "/lib/firmware/am437x-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "${base_libdir}/firmware/am437x-pru0_0-fw"
ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "${base_libdir}/firmware/am437x-pru0_1-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "${base_libdir}/firmware/am437x-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "${base_libdir}/firmware/am437x-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "/lib/firmware/am57xx-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "/lib/firmware/am57xx-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "/lib/firmware/am57xx-pru2_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "/lib/firmware/am57xx-pru2_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "${base_libdir}/firmware/am57xx-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "${base_libdir}/firmware/am57xx-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "${base_libdir}/firmware/am57xx-pru2_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "${base_libdir}/firmware/am57xx-pru2_1-fw"
ALTERNATIVE_LINK_NAME[k2g-pru0_0-fw] = "/lib/firmware/k2g-pru0_0-fw"
ALTERNATIVE_LINK_NAME[k2g-pru0_1-fw] = "/lib/firmware/k2g-pru0_1-fw"
ALTERNATIVE_LINK_NAME[k2g-pru1_0-fw] = "/lib/firmware/k2g-pru1_0-fw"
ALTERNATIVE_LINK_NAME[k2g-pru1_1-fw] = "/lib/firmware/k2g-pru1_1-fw"
ALTERNATIVE_LINK_NAME[k2g-pru0_0-fw] = "${base_libdir}/firmware/k2g-pru0_0-fw"
ALTERNATIVE_LINK_NAME[k2g-pru0_1-fw] = "${base_libdir}/firmware/k2g-pru0_1-fw"
ALTERNATIVE_LINK_NAME[k2g-pru1_0-fw] = "${base_libdir}/firmware/k2g-pru1_0-fw"
ALTERNATIVE_LINK_NAME[k2g-pru1_1-fw] = "${base_libdir}/firmware/k2g-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "/lib/firmware/am65x-pru0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "/lib/firmware/am65x-pru0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "/lib/firmware/am65x-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "/lib/firmware/am65x-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "/lib/firmware/am65x-pru2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "/lib/firmware/am65x-pru2_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "/lib/firmware/am65x-rtu0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "/lib/firmware/am65x-rtu0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "/lib/firmware/am65x-rtu1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "/lib/firmware/am65x-rtu1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "/lib/firmware/am65x-rtu2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "/lib/firmware/am65x-rtu2_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru0_0-fw] = "/lib/firmware/am65x-txpru0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru0_1-fw] = "/lib/firmware/am65x-txpru0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru1_0-fw] = "/lib/firmware/am65x-txpru1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru1_1-fw] = "/lib/firmware/am65x-txpru1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru2_0-fw] = "/lib/firmware/am65x-txpru2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru2_1-fw] = "/lib/firmware/am65x-txpru2_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "${base_libdir}/firmware/am65x-pru0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "${base_libdir}/firmware/am65x-pru0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "${base_libdir}/firmware/am65x-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "${base_libdir}/firmware/am65x-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "${base_libdir}/firmware/am65x-pru2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "${base_libdir}/firmware/am65x-pru2_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "${base_libdir}/firmware/am65x-rtu0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "${base_libdir}/firmware/am65x-rtu0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "${base_libdir}/firmware/am65x-rtu1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "${base_libdir}/firmware/am65x-rtu1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "${base_libdir}/firmware/am65x-rtu2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "${base_libdir}/firmware/am65x-rtu2_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru0_0-fw] = "${base_libdir}/firmware/am65x-txpru0_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru0_1-fw] = "${base_libdir}/firmware/am65x-txpru0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru1_0-fw] = "${base_libdir}/firmware/am65x-txpru1_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru1_1-fw] = "${base_libdir}/firmware/am65x-txpru1_1-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru2_0-fw] = "${base_libdir}/firmware/am65x-txpru2_0-fw"
ALTERNATIVE_LINK_NAME[am65x-txpru2_1-fw] = "${base_libdir}/firmware/am65x-txpru2_1-fw"
ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "/lib/firmware/j7-pru0_0-fw"
ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "/lib/firmware/j7-pru0_1-fw"
ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "/lib/firmware/j7-pru1_0-fw"
ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "/lib/firmware/j7-pru1_1-fw"
ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "/lib/firmware/j7-rtu0_0-fw"
ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "/lib/firmware/j7-rtu0_1-fw"
ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "/lib/firmware/j7-rtu1_0-fw"
ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "/lib/firmware/j7-rtu1_1-fw"
ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "/lib/firmware/j7-txpru0_0-fw"
ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "/lib/firmware/j7-txpru0_1-fw"
ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "/lib/firmware/j7-txpru1_0-fw"
ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "/lib/firmware/j7-txpru1_1-fw"
ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "${base_libdir}/firmware/j7-pru0_0-fw"
ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "${base_libdir}/firmware/j7-pru0_1-fw"
ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "${base_libdir}/firmware/j7-pru1_0-fw"
ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "${base_libdir}/firmware/j7-pru1_1-fw"
ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "${base_libdir}/firmware/j7-rtu0_0-fw"
ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "${base_libdir}/firmware/j7-rtu0_1-fw"
ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "${base_libdir}/firmware/j7-rtu1_0-fw"
ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "${base_libdir}/firmware/j7-rtu1_1-fw"
ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "${base_libdir}/firmware/j7-txpru0_0-fw"
ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "${base_libdir}/firmware/j7-txpru0_1-fw"
ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "${base_libdir}/firmware/j7-txpru1_0-fw"
ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "${base_libdir}/firmware/j7-txpru1_1-fw"
# Create the pru-icss-halt firmware alternatives
ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
@@ -228,55 +228,55 @@ ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
ALTERNATIVE_pru-icss-halt_append_am65xx = " am65x-txpru0_0-fw am65x-txpru0_1-fw am65x-txpru1_0-fw am65x-txpru1_1-fw am65x-txpru2_0-fw am65x-txpru2_1-fw"
ALTERNATIVE_pru-icss-halt_append_j7 = " j7-txpru0_0-fw j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
ALTERNATIVE_PRIORITY_pru-icss-halt = "50"
@@ -284,45 +284,45 @@ ALTERNATIVE_PRIORITY_pru-icss-halt = "50"
# Create the pru-icss-rpmsg-echo firmware alternatives
ALTERNATIVE_pru-icss-rpmsg-echo = "${PRU_ICSS_ALTERNATIVES}"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100"

View File

@@ -3,7 +3,7 @@ SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "2.2.0.1+2.2.0.2-rc1"
PV = "02.02.08.02"
CLEANBROKEN = "1"
@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = "am65xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "ea4bf53ba0a4a30bb7e0e8b6138fdb22fe50372a"
SRCREV = "31e626d84a3f8a5dc7175b79440972ce90a23de0"
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,37 @@
SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
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"
do_install() {
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"
INSANE_SKIP_${PN} = "arch"

View File

@@ -1,47 +0,0 @@
DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G"
require recipes-ti/includes/ti-paths.inc
require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
PR = "${INC_PR}.0"
TI_PDK_COMP = "ti.drv.icss_emac.firmware"
B = "${S}/icss_dualemac"
COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm|ti43x|ti33x|k2g"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "ti-cgt-pru-native"
PRU_VERSION = ""
PRU_VERSION_ti33x = "REV1"
PRU_VERSION_ti43x = "REV1"
PRU_VERSION_am57xx-evm = "REV2"
PRU_VERSION_am57xx-hs-evm = "REV2"
PRU_VERSION_k2g = "REV2"
FW_PREFIX = ""
FW_PREFIX_ti33x = "am335x"
FW_PREFIX_ti43x = "am437x"
FW_PREFIX_am57xx-evm = "am57xx"
FW_PREFIX_am57xx-hs-evm = "am57xx"
FW_PREFIX_k2g = "k2g"
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}""
do_install() {
install -d ${D}${base_libdir}/firmware/ti-pruss
install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU0.elf \
${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prueth-fw.elf
install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU1.elf \
${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prueth-fw.elf
}
FILES_${PN} = "${base_libdir}/firmware"
INSANE_SKIP_${PN} = "arch"

View File

@@ -0,0 +1,37 @@
SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PE = "1"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
TARGET = ""
TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
do_install() {
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"
INSANE_SKIP_${PN} = "arch"

View File

@@ -0,0 +1,38 @@
SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PE = "1"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
TARGET = ""
TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
do_install() {
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"
INSANE_SKIP_${PN} = "arch"

View File

@@ -0,0 +1,37 @@
SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "0038ff0ecda8dae83c65d454c85776c6a4ef8e63"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
TARGET = ""
TARGET_ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf"
TARGET_ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf"
TARGET_am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
TARGET_am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
do_install() {
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"
INSANE_SKIP_${PN} = "arch"

View File

@@ -1,40 +0,0 @@
DESCRIPTION = "PRU Switch firmware for AM57xx"
require recipes-ti/includes/ti-paths.inc
require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
PR = "${INC_PR}.0"
TI_PDK_COMP = "ti.drv.icss_emac.firmware"
B = "${S}/icss_switch"
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "ti-cgt-pru-native"
PRU_VERSION = ""
PRU_VERSION_dra7xx = "REV2"
FW_PREFIX = ""
FW_PREFIX_dra7xx = "am57xx"
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}""
do_install() {
install -d ${D}${base_libdir}/firmware/ti-pruss
install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \
${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf
install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \
${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf
}
FILES_${PN} = "${base_libdir}/firmware"
INSANE_SKIP_${PN} = "arch"

View File

@@ -27,6 +27,7 @@ export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/pac
BUILD_HS = ""
BUILD_HS_am65xx-hs-evm = "yes"
BUILD_HS_j7-hs-evm = "yes"
export BUILD_HS
# Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES

View File

@@ -1,6 +1,6 @@
require starterware.inc
DEPENDS = "gcc-arm-none-eabi-native ti-pdk-build-rtos ti-xdctools-native"
DEPENDS = "gcc-arm-baremetal-native ti-pdk-build-rtos ti-xdctools-native"
require recipes-ti/includes/ti-paths.inc

View File

@@ -1,48 +0,0 @@
SUMMARY = "TI Display Sharing Firmware"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "06.01.00.00+git${SRCPV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit deploy
inherit update-alternatives
PROTOCOL = "git"
BRANCH = "ti-linux-firmware"
SRCREV = "e7be1ab85266c47236330e2909997d20fc62e312"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=${PROTOCOL};branch=${BRANCH}"
S = "${WORKDIR}/git"
TI_DISP_SHARE_FW_DIR = "${S}/ti-display-sharing/"
TI_DISP_SHARE_FW_FILENAME = "ti-display-sharing-j721e.bin"
# make sure that lib/firmware, and all its contents are part of the package
FILES_${PN} += "${base_libdir}/firmware"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0755 ${TI_DISP_SHARE_FW_DIR}/${TI_DISP_SHARE_FW_FILENAME} ${D}${base_libdir}/firmware
}
TARGET_MAIN_R5FSS0_1 = "j7-main-r5f0_1-fw"
ALTERNATIVE_${PN} = "j7-main-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TI_DISP_SHARE_FW_FILENAME}"
ALTERNATIVE_PRIORITY = "9"
# This is used to prevent the build system to strip the executables
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
# This is used to prevent the build system to split the debug info in a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
INSANE_SKIP_${PN} += "arch"
# we don't want to configure and build the source code
do_compile[noexec] = "1"
do_configure[noexec] = "1"

View File

@@ -1,31 +0,0 @@
SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://driver/common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
inherit module
MACHINE_KERNEL_PR_append = "g"
PR = "${MACHINE_KERNEL_PR}"
COMPATIBLE_MACHINE = "j7"
SRCREV = "0eba3678300f649e49f03d92d1b624cf0e008008"
EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}"
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
do_compile() {
oe_runmake all -C ${S}/linux/decoder
oe_runmake all -C ${S}/linux/encoder
}
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/decoder/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/encoder/vxe-enc.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

View File

@@ -1,18 +0,0 @@
SUMMARY = "Test applications for TI DEC (v4l2 decoder for IMG D5520)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=f17e17d664f72942124e4fcf06c178ee"
DEPENDS = "libdrm ffmpeg"
inherit autotools pkgconfig
PR = "r1"
SRCREV = "94a80c8c090dbfdc7fafd4e5bb78c2091e715af2"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/viddec-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -1,18 +0,0 @@
SUMMARY = "Test applications for TI ENC (v4l2 encoder for IMG VXE384)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=3545dd5bdf513840937d38c10b866605"
DEPENDS = "libdrm"
inherit autotools pkgconfig
PR = "r0"
SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/videnc-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -1,34 +0,0 @@
SUMMARY = "Video Decoding Firmware Packaging recipe"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1"
BRANCH = "master"
SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
PV = "1.0-git${SRCPV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
VXD_FW_DIR = "${S}/decoder/firmware/"
# make sure that lib/firmware, and all its contents are part of the package
FILES_${PN} += "${base_libdir}/firmware"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware
}
# This is used to prevent the build system to strip the executables
INHIBIT_PACKAGE_STRIP = "1"
# This is used to prevent the build system to split the debug info in a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
INSANE_SKIP_${PN} += "arch"
# we don't want to configure and build the source code
do_compile[noexec] = "1"
do_configure[noexec] = "1"

View File

@@ -0,0 +1,45 @@
# ti-sci-fw builds and packages multiple config variants via multiconfig
# Let's take a page from gcc-source as a common recipe for all gcc stages,
# but also to provide a single package for MAINMACHINE of all multiconfigs
require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
SUMMARY += "- sources"
COMPATIBLE_MACHINE = "k3"
EXCLUDE_FROM_WORLD = "1"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = ""
PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
SRCIPK_SRC_DIR = "${WORKDIR}/imggen"
SRCIPK_INSTALL_DIR = "board-support/k3-image-gen-${PV}"
FILES_${PN} = "${SRCIPK_INSTALL_DIR}"
do_install() {
# Copy sources for packaging
mkdir -p ${D}/${SRCIPK_INSTALL_DIR}
if [ -e ${SRCIPK_SRC_DIR} ]; then
if [ "${SRCIPK_SRC_DIR}" = "${WORKDIR}" ]; then
excludes='--exclude ./temp --exclude ${D}'
fi
tar -C ${SRCIPK_SRC_DIR} -cO $excludes . | tar -C ${D}/${SRCIPK_INSTALL_DIR} -xpf -
fi
# Fix up patches/ directory to contain actual patches instead of symlinks
if [ -e ${D}/${SRCIPK_INSTALL_DIR}/patches ]
then
mv ${D}/${SRCIPK_INSTALL_DIR}/patches ${D}/${SRCIPK_INSTALL_DIR}/patches-links
cp -rL ${D}/${SRCIPK_INSTALL_DIR}/patches-links ${D}/${SRCIPK_INSTALL_DIR}/patches
rm -rf ${D}/${SRCIPK_INSTALL_DIR}/patches-links
fi
}
# Do not perform any QA checks on source package
INSANE_SKIP_${PN} += "${ALL_QA}"

View File

@@ -0,0 +1,18 @@
SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "2021.01a"
SRCREV = "306e8b92bcce0fe88b494732c0a614079f8ff73a"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "a6b09643aa1acbcfa59bd2c1c080e3ad6c9e8074"
SRCREV_FORMAT = "imggen"
SRC_URI = " \
git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH} \
git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,37 @@
DESCRIPTION = "TI SCI firmware"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "0.1.1.50"
PR = "r2"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "k2g"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "ab507546f0f3f217f4c782a20845856e14b38224"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
TARGET = "ti-sci-firmware-k2g.bin"
do_install() {
install -d ${D}/boot
install -m 0644 ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
}
FILES_${PN} = "/boot"
inherit deploy
do_deploy () {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/ti-keystone/${TARGET} ${DEPLOYDIR}/${TARGET}
}
addtask deploy before do_build after do_compile

View File

@@ -1,94 +0,0 @@
SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
CLEANBROKEN = "1"
PR = "r1"
# Loaded by R5F core
COMPATIBLE_MACHINE = "k3r5"
COMPATIBLE_MACHINE_aarch64 = "null"
PACKAGE_ARCH = "${MACHINE_ARCH}"
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
SRCREV = "6b02b1ea07da65a68444e86439ad5b031e9fd5a2"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "a7d3909ed8ae23a7c90f7ef821713a8b0c3c061d"
SRCREV_FORMAT = "imggen"
SRC_URI = " \
git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH} \
git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
"
S = "${WORKDIR}/git"
SYSFW_SOC ?= "unknown"
SYSFW_CONFIG ?= "unknown"
SYSFW_PREFIX = "ti-sci-firmware"
SYSFW_SUFFIX ?= "unknown"
SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-${SYSFW_SUFFIX}"
SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}*.bin"
SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_SYMLINK ?= "sysfw.itb"
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
do_configure[noexec] = "1"
EXTRA_OEMAKE = "\
CROSS_COMPILE=${TARGET_PREFIX} SYSFW_DL_URL='' SYSFW_HS_DL_URL='' SYSFW_HS_INNER_CERT_DL_URL='' \
SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \
"
EXTRA_OEMAKE_HS = " \
HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
"
EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
do_compile() {
cd ${WORKDIR}/imggen/
oe_runmake
}
do_install() {
install -d ${D}/boot
install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${D}/boot/${SYSFW_VBINARY}
ln -sf ${SYSFW_VBINARY} ${D}/boot/${SYSFW_IMAGE}
if [ ! -z "${SYSFW_SYMLINK}" ]; then
ln -sf ${SYSFW_VBINARY} ${D}/boot/${SYSFW_SYMLINK}
fi
}
FILES_${PN} = "/boot"
inherit deploy
do_deploy () {
install -d ${DEPLOYDIR}
install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_VBINARY}
rm -f ${DEPLOYDIR}/${SYSFW_IMAGE}
ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
if [ ! -z "${SYSFW_SYMLINK}" ]; then
rm -f ${DEPLOYDIR}/${SYSFW_SYMLINK}
ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_SYMLINK}
fi
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile

View File

@@ -1,28 +1,73 @@
DESCRIPTION = "TI SCI firmware"
require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "0.1.1.50"
PR = "r2"
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"
COMPATIBLE_MACHINE = "k2g"
# Loaded by R5F core
COMPATIBLE_MACHINE = "k3r5"
COMPATIBLE_MACHINE_aarch64 = "null"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "ab507546f0f3f217f4c782a20845856e14b38224"
BRANCH ?= "ti-linux-firmware"
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
SYSFW_SOC ?= "unknown"
SYSFW_CONFIG ?= "unknown"
S = "${WORKDIR}/git"
TARGET = "ti-sci-firmware-k2g.bin"
SYSFW_PREFIX = "ti-sci-firmware"
SYSFW_PREFIX_j7-evm-k3r5 = "ti-fs-firmware"
SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware"
SYSFW_PREFIX_j7-hs-evm-k3r5 = "ti-fs-firmware"
SYSFW_SUFFIX ?= "unknown"
SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-${SYSFW_SUFFIX}"
SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}*.bin"
SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
SYSFW_SYMLINK ?= "sysfw.itb"
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
do_configure[noexec] = "1"
EXTRA_OEMAKE = "\
CROSS_COMPILE=${TARGET_PREFIX} SYSFW_DL_URL='' SYSFW_HS_DL_URL='' SYSFW_HS_INNER_CERT_DL_URL='' \
SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \
"
EXTRA_OEMAKE_HS = " \
HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
"
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/
oe_runmake
}
do_install() {
install -d ${D}/boot
install -m 0644 ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${D}/boot/${SYSFW_VBINARY}
ln -sf ${SYSFW_VBINARY} ${D}/boot/${SYSFW_IMAGE}
if [ ! -z "${SYSFW_SYMLINK}" ]; then
ln -sf ${SYSFW_VBINARY} ${D}/boot/${SYSFW_SYMLINK}
fi
}
FILES_${PN} = "/boot"
@@ -31,7 +76,60 @@ inherit deploy
do_deploy () {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/ti-keystone/${TARGET} ${DEPLOYDIR}/${TARGET}
install -m 644 ${WORKDIR}/imggen/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_VBINARY}
rm -f ${DEPLOYDIR}/${SYSFW_IMAGE}
ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
if [ ! -z "${SYSFW_SYMLINK}" ]; then
rm -f ${DEPLOYDIR}/${SYSFW_SYMLINK}
ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_SYMLINK}
fi
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_j7200-evm-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_j7200-evm-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}/
}
do_install_am64xx-evm-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-evm-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}/
}
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

@@ -0,0 +1,25 @@
PV_k3 = "2.4"
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"
COMPATIBLE_MACHINE_k3 = "k3"
TFA_BUILD_TARGET_k3 = "all"
TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"
do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_compile_append_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}

View File

@@ -0,0 +1,10 @@
require u-boot-ti.inc
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"

View File

@@ -1,7 +1,7 @@
require u-boot-ti.inc
PR = "r9"
PR = "r36"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "018f7f1c324fbd3f494a4e5e112853eb32b7bcdd"
SRCREV = "2781231a33c3d779e32445f4fe55164c45d6d7c1"

View File

@@ -0,0 +1,9 @@
require u-boot-ti.inc
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PR = "r2"
BRANCH = "ti-u-boot-2021.01"
SRCREV = "ae3a9e682e51cfa153cd12bf9b42563c74e6a542"

View File

@@ -33,10 +33,14 @@ PV_append = "+git${SRCPV}"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-ipc/${DM_FIRMWARE},,ti-rtos-firmware"
PACKAGECONFIG_append_aarch64 = " atf optee"
PACKAGECONFIG_append_j7 = " dm"
COMPATIBLE_MACHINE = "(ti-soc)"
@@ -53,12 +57,16 @@ S = "${WORKDIR}/git"
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
SYSROOT_DIRS += "/boot"
# SPL (Second Program Loader) to be loaded over UART
SPL_UART_BINARY = "u-boot-spl.bin"
SPL_UART_BINARY_keystone = ""
SPL_UART_BINARY_k3 = ""
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}"
@@ -381,4 +389,22 @@ do_deploy_append_keystone () {
fi
}
# j7200 uses combined image for tiboot3.bin that includes u-boot-spl.bin and sysfw
# along with board PM/RM configs generated by k3-image-gen and comes from ti-sci-fw
# hence move the legacy u-boot's tiboot3.bin and u-boot-spl.bin out of the way
do_deploy_append_j7200-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_am64xx-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
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

@@ -7,8 +7,7 @@ SRC_URI = " \
file://0001-Add-Makefile-to-install-firmware-files.patch \
"
# Tag: R8.7-SP3 (8.7.3)
SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71"
BRANCH = "master"
S = "${WORKDIR}/git"

View File

@@ -1,14 +1,14 @@
SUMMARY = "Diagnostic tool for TI K3 processors"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=37f4e460bd8501c6f02ce71f02bc7ccf"
LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d"
PV = "0.1+git${SRCPV}"
PV = "0.2+git${SRCPV}"
COMPATIBLE_MACHINE = "k3"
BRANCH ?= "master"
SRCREV = "9199c3a3b6ec5603a2c4283410b4761e79e81e82"
SRCREV = "79f007cd462384ce22e750e9002b714878f56892"
SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}"

View File

@@ -10,12 +10,13 @@ REQUIRED_MACHINE_FEATURES = "gpu"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j7"
PR = "r7"
PR = "r3"
BRANCH = "linuxws/zeus/k5.4/${PV}"
BRANCH = "linuxws/dunfell/k5.10/${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
SRCREV = "20748df00f123d56079cab07f83b0133e3378b53"
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 = "r35"
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 = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
SRCREV = "742cf38aba13e1ba1a910cf1f036a1a212c263b6"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"
@@ -57,8 +57,6 @@ do_install () {
oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT}
ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1
rm -rf ${D}${includedir}/GL
chown -R root:root ${D}
}

View File

@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = " \
"
PV = "0.12+git${SRCPV}"
SRCREV = "2c6516ce3d0e0c4e9372e4439562dd660877cb79"
SRCREV = "0d059b6f2c3efeaa2466517300540498b34b7655"
BRANCH = "ti-jailhouse-0.12"
SRC_URI = " \
@@ -47,14 +47,17 @@ 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}"
@@ -62,6 +65,7 @@ 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} ];

View File

@@ -0,0 +1,40 @@
# Pull in the devicetree files into the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree"
# Add run-time dependency for PM firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " amx3-cm3"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " amx3-cm3"
# Add run-time dependency for VPE VPDMA firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_dra7xx = " vpdma-fw"
# Add run-time dependency for Goodix firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_dra7xx = " goodix-fw"
# Install boot-monitor skern file into /boot dir of rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " boot-monitor"
# Install ti-sci-fw into /boot dir of rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " ti-sci-fw"
# Add run-time dependency for SerDes firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " serdes-fw"
# Add run-time dependency for QMSS PDSP firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " qmss-pdsp-fw"
# Add run-time dependency for NETCP PA firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2hk = " netcp-pa-fw"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2e = " netcp-pa-fw"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2l = " netcp-pa-fw"
# Add run-time dependency for PRU Ethernet firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-evm = " prueth-fw prusw-fw pruhsr-fw pruprp-fw"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw prusw-fw pruhsr-fw pruprp-fw"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp-fw"
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"
# Add run-time dependency for Cadence MHDP firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_arm64_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omapl138_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_release

View File

@@ -0,0 +1,73 @@
SECTION = "kernel"
SUMMARY = "Mainline Linux kernel for TI devices (with ti-upstream-tools)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
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
DEPENDS += "gmp-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
S = "${WORKDIR}/git"
BRANCH = "master"
TOOLS_BRANCH = "master"
# 5.11 Mainline version
SRCREV = "f40ddce88593482919761f74910f42f4b84c004b"
PV = "5.11+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"
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;branch=${TOOLS_BRANCH};protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=ti-upstream-tools \
file://defconfig \
"
SRCREV_ti-upstream-tools = "d59b7471d99b806e3dc22342c8f42d5bb33f8cce"
SRCREV_FORMAT = "linux"
KERNEL_DEVICETREE = ""
kernel_do_compile_append() {
oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
oe_runmake -C ${WORKDIR}/ti-upstream-tools LINUX=${S} DTC=${B}/scripts/dtc/dtc O=${B} CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
}
do_install_append() {
for dtbf in `find arch/${ARCH}/boot/dts/ \( -name '*.dtb' -or -name '*.dtbo' \)`; do
dtb="$dtbf"
dtb_ext=${dtb##*.}
dtb_base_name=`basename $dtb .$dtb_ext`
dtb_path=`get_real_dtb_path_in_kernel "$dtb"`
install -m 0644 $dtbf ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext
done
}
do_deploy_append() {
for dtbf in `find arch/${ARCH}/boot/dts/ \( -name '*.dtb' -or -name '*.dtbo' \) -printf '%P\n'`; do
dtb="$dtbf"
dtb_ext=${dtb##*.}
dtb_base_name=`basename $dtb .$dtb_ext`
dtb_dir=`dirname $dtb`
install -d ${DEPLOYDIR}
install -m 0644 ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext ${DEPLOYDIR}/$dtb_base_name.$dtb_ext
done
}
do_shared_workdir_prepend() {
cd ${B}
echo >> Module.symvers
}
FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_arm64_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omapl138_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_arm64_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_rt_release

View File

@@ -0,0 +1,10 @@
require linux-ti-staging_5.10.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
BRANCH = "ti-rt-linux-5.10.y"
SRCREV = "85acf0d261f2dfd6c0bc5dcb7fda42771656701d"
PV = "5.10.21+git${SRCPV}"

View File

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

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_arm64_debug

Some files were not shown because too many files have changed in this diff Show More