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

Compare commits

...

68 Commits

Author SHA1 Message Date
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
51 changed files with 221 additions and 61 deletions

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

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

View File

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

View File

@@ -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

@@ -10,6 +10,12 @@ 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"

View File

@@ -23,6 +23,8 @@ KERNEL_DEVICETREE = " \
BBMULTICONFIG += "k3r5-sr2"
# Use default IMAGE_BOOT_FILES_LEGACY files
# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0
IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"

View File

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

View File

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

View File

@@ -51,7 +51,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 +63,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

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

View File

@@ -14,10 +14,8 @@ KERNEL_DEVICETREE = " \
UBOOT_MACHINE = "j7200_evm_a72_config"
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
do_image_wic[depends] += "trusted-firmware-a:do_deploy"
do_image_tar[depends] += "trusted-firmware-a:do_deploy"
# J7200 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -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 = "g"
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -17,13 +17,13 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "linuxws/zeus/k5.4/${PV}"
BRANCH = "1.13-5776728/linux-k5.4"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "f58bea1084c5004f129943a53b94ee1446e9c3a7"
SRCREV = "ea77784e89f919bd3343a421862bf90cb65cc26c"
PVR_SOC = "j721e_linux"
PVR_BVNC = "22.104.208.318"

View File

@@ -3,12 +3,11 @@ SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "2020.08b"
PV_am64xx-evm-k3r5 = "2020.12"
PV = "2021.01a"
SRCREV = "0c268f292f3b3a71d3bd0b367f492304b45e37b1"
SRCREV = "306e8b92bcce0fe88b494732c0a614079f8ff73a"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "a4796e5f1304fe8197cba54ccea3d18b9998ff02"
SRCREV_imggen = "c376cd495b9821b6e3cb296b1bbae10d0f010817"
SRCREV_FORMAT = "imggen"
SRC_URI = " \

View File

@@ -3,6 +3,7 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-sk-k3r5 = " virtual/bootloader"
CLEANBROKEN = "1"
PR = "r1"
@@ -23,7 +24,6 @@ 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_PREFIX_7200-hs-evm-k3r5 = "ti-fs-firmware"
SYSFW_SUFFIX ?= "unknown"
@@ -54,6 +54,7 @@ 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/
@@ -98,6 +99,7 @@ do_deploy_j7200-evm-k3r5() {
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_am64xx-evm-k3r5() {
@@ -112,6 +114,22 @@ do_deploy_am64xx-evm-k3r5() {
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
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

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

View File

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

View File

@@ -66,6 +66,7 @@ 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}"
@@ -401,4 +402,9 @@ do_deploy_append_am64xx-evm-k3r5 () {
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_am64xx-sk-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
TOOLCHAIN = "gcc"

View File

@@ -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

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

View File

@@ -9,15 +9,18 @@ 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.9 Mainline version
SRCREV = "bbf5c979011a099af5dc76498918ed7df445635b"
PV = "5.9+git${SRCPV}"
# 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"
@@ -27,11 +30,11 @@ KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.g
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += " \
${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH};name=linux \
git://git.ti.com/ti-linux-kernel/ti-upstream-tools.git;protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=ti-upstream-tools \
git://git.ti.com/ti-linux-kernel/ti-upstream-tools.git;branch=${TOOLS_BRANCH};protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=ti-upstream-tools \
file://defconfig \
"
SRCREV_ti-upstream-tools = "3f36f66594d7905f7b97bc7870931173fd2466bd"
SRCREV_ti-upstream-tools = "d59b7471d99b806e3dc22342c8f42d5bb33f8cce"
SRCREV_FORMAT = "linux"
KERNEL_DEVICETREE = ""

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 = "5990047eb007737030748d449dc37275b317117b"
PV = "5.10.4+git${SRCPV}"

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
BRANCH = "ti-rt-linux-5.4.y"
SRCREV = "cfa321c18ddfc08dc4f4417c93fe607dadd9cdee"
PV = "5.4.84+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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
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:"

View File

@@ -0,0 +1,45 @@
SECTION = "kernel"
SUMMARY = "Linux kernel for TI devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
inherit kernel
DEFCONFIG_BUILDER = "${S}/ti_config_fragments/defconfig_builder.sh"
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/cmem.inc
require recipes-kernel/linux/ti-uio.inc
require recipes-kernel/linux/bundle-devicetree.inc
require recipes-kernel/linux/kernel-rdepends.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.10.y"
SRCREV = "44fb363f878fa80d5b502291954bb83d9cae842b"
PV = "5.10+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.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
file://defconfig"
FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
# Special configuration for remoteproc/rpmsg IPC modules
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
KERNEL_MODULE_AUTOLOAD_append_j7 = " rpmsg_kdrv_switch"
DEFAULT_PREFERENCE = "-1"

View File

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

View File

@@ -11,20 +11,23 @@ INHIBIT_DEFAULT_DEPS = "1"
inherit deploy
DEFAULT_METADATA_FILE ?= "metadata.inc"
DEFAULT_METADATA_FILE_am64xx ?= "mcusdk_metadata.inc"
# First, let's try including metadata.inc that could be fetched and deployed
# by ti-rtos-metadata earlier and provide new set of CORESDK_RTOS_* variables
include ${DEPLOY_DIR_IMAGE}/metadata.inc
include ${DEPLOY_DIR_IMAGE}/${DEFAULT_METADATA_FILE}
# Set some defaults for when metadata.inc is not available
DEFAULT_RTOS_FAMILY = "jacinto"
DEFAULT_RTOS_VERSION = "07_01_00_45"
DEFAULT_RTOS_VERSION_DOT = "07.01.00.45"
DEFAULT_RTOS_VERSION = "07_03_00_29"
DEFAULT_RTOS_VERSION_DOT = "07.03.00.29"
DEFAULT_RTOS_VERSION_am65xx = "07_01_00_55"
DEFAULT_RTOS_VERSION_DOT_am65xx = "07.01.00.55"
DEFAULT_RTOS_VERSION_am64xx = "07_03_00_19"
DEFAULT_RTOS_VERSION_DOT_am64xx = "07.03.00.19"
DEFAULT_RTOS_VERSION_am64xx = "07_01_03_09"
DEFAULT_RTOS_VERSION_DOT_am64xx = "07.01.03.09"
DEFAULT_RTOS_VERSION_am65xx = "07_03_00_22"
DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.22"
DEFAULT_RTOS_SOC = "undefined"
DEFAULT_RTOS_SOC_j7 = "j721e"
@@ -34,19 +37,21 @@ DEFAULT_RTOS_SOC_am64xx = "am64x"
DEFAULT_RTOS_WEBLINK = "undefined"
DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_WEBLINK_j7200-evm = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j7200/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_WEBLINK_am65xx = "https://software-dl.ti.com/processor-sdk-rtos/esd/AM65X/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_RTOS_WEBLINK_am64xx = "https://software-dl.ti.com/processor-sdk-rtos/esd/AM64X/firmware/${CORESDK_RTOS_VERSION}"
DEFAULT_FIRMWARE_FILE = "coresdk_rtos_${CORESDK_RTOS_SOC}_${CORESDK_RTOS_VERSION}_firmware.tar.xz"
DEFAULT_FIRMWARE_FILE_am64xx = "mcu_plus_sdk_${CORESDK_RTOS_SOC}_${CORESDK_RTOS_VERSION}_firmware.tar.xz"
DEFAULT_FIRMWARE_URL = "file://empty"
DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
DEFAULT_FIRMWARE_SHA256SUM = "unknown"
DEFAULT_FIRMWARE_SHA256SUM_j7 = "23e8dec2b31f126e26953eb350e9bb252c1ea5135fa96eb6621691f00a54232b"
DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "b1c0663327fc91f280ac93be1da786f68d296abaea33a75798f3c38f8578418a"
DEFAULT_FIRMWARE_SHA256SUM_am65xx = "688127b48bdcb273bd66f035690bf56aa4ad396ce51100a75439ea00c7695456"
DEFAULT_FIRMWARE_SHA256SUM_am64xx = "78ef4d1b4e07995323b872ca4fa1259ff43f10cf88d40a32b84fa4ac9a5fee51"
DEFAULT_FIRMWARE_SHA256SUM_j7 = "1e306065d7273c4ac6f803d5b404ba5ff0ddd55a1afa2911944fe5e696629193"
DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "28fa4f5c57459ea0adc44e8c83b814a4adcfb887bee69769c5656adf628586b2"
DEFAULT_FIRMWARE_SHA256SUM_am65xx = "61e0be08bea8ab1055645bd96504a6a29c70318c5b277237dee9981cd94d7f79"
DEFAULT_FIRMWARE_SHA256SUM_am64xx = "5d1785cbdb91904a5ef3027378061041c59186c4198d7ebcfa660a1ff513d528"
# Use weak assignment for CORESDK_RTOS_* variables to use defaults if not yet set
CORESDK_RTOS_FAMILY ?= "${DEFAULT_RTOS_FAMILY}"
@@ -67,8 +72,22 @@ PV = "${CORESDK_RTOS_VERSION_DOT}"
SRC_URI = "${CORESDK_RTOS_FIRMWARE_URL}${CORESDK_RTOS_FILE_SUFFIX}"
SRC_URI[sha256sum] = "${CORESDK_RTOS_FIRMWARE_SHA256SUM}"
DEPENDS += "openssl-native"
FILES_${PN} += "${base_libdir}"
TI_SECURE_DEV_PKG ?= ""
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
do_install_prepend_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${S}/firmware/pdk-ipc/; \
mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
)
}
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}${base_libdir}

View File

@@ -18,10 +18,11 @@ PLAT_SFX_am64xx = "/am64x"
# Use weak assignment to set defaults to TI_RTOS_METADATA_* variables
TI_RTOS_METADATA_URI ?= "git://git.ti.com/processor-sdk/coresdk_rtos_releases.git"
TI_RTOS_METADATA_PROTOCOL ?= "git"
TI_RTOS_METADATA_SRCREV ?= "1c8107dd47298ea9b8518083ffcd2f7e91ea7c00"
TI_RTOS_METADATA_SRCREV ?= "2ecbf45af64bc47806623cc5bf7ab493489acaf9"
TI_RTOS_METADATA_BRANCH ?= "master"
TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
TI_RTOS_METADATA_FILE_am64xx ?= "${S}${TI_RTOS_METADATA_DIR}/mcusdk_metadata.inc"
PV = "1.0.0+git${SRCPV}"