summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* conf: machine: j7200-evm: Add MCSPI loopback overlay for J7200Vaishnav Achath2023-03-211-0/+1
| | | | | | | | | | Add the MCSPI loopback overlay file for J7200 EVM which helps users to enable MCU-MAIN MCSPI loopback applications. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j784s4: Add ehrpwm overlay for am69-skDasnavis Sabiya2023-03-211-0/+1
| | | | | | | | | | The AM69 SK has PWM output pins connected to its RPi header. Add overlay file to enable PWM pins. Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx-lp-evm: Add OLDI Panel overlayAradhya Bhatia2023-03-211-0/+1
| | | | | | | | | | Add the Microtips OLDI Panel DT overlay for AM62 LP SK. Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com> Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add ehrpwm overlay for am68-skSinthu Raja2023-03-211-0/+1
| | | | | | | | | | The AM68 SK has PWM output pins connected to its RPi headers. Add overlay file to enable PWM pins. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j784s4: Add FPDLink overlays for AM69 SKDasnavis Sabiya2023-03-211-0/+17
| | | | | | | | | | | | Add the overlay files for AM69 SK: 1. Fusion board (For FPDLink-III cameras). 2. IMX390 FPDLink-III camera module that includes both the CM and RCM type of modules. Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add FPDLink overlays for am68-skSinthu Raja2023-03-211-0/+17
| | | | | | | | | | | | | Add the overlay files, over AM68 SK, for the following: 1. Fusion board (For FPDLink-III cameras). 2. IMX390 FPDLink-III camera module which includes both the CM and RCM type of modules. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Fix DTB overlay extension for OV5640Sinthu Raja2023-03-211-1/+1
| | | | | | | | | | | The extension for OV5640 overlay is incorrect. Therefore, update the correct extension to build the overlay with .dtbo Fixes: f67e9805 ("conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREE") Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j784s4: Add AM69 SK specific dtb and dtbo to KERNEL_DEVICETREEDasnavis Sabiya2023-03-211-0/+4
| | | | | | | | | | | | | | | | | | | AM69 Starter Kit is a single board designed based on TI's AM69 SOC providing advanced system integration in automotive ADAS applications, autonomous mobile robot and edge AI applications. Add support for the same to include the board dtb file into the root filesystem. Add DT overlays support for the following features on AM69 SK: * Add DTBO entry to support OV5640 camera * Add DTBO entry to support RPi(IMX219) camera * Add DTBO entry for the DDR memory carveout. [1]:https://www.ti.com/lit/zip/spruj52 Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62axx: Add overlays for IMX390 camerasJai Luthra2023-03-211-0/+8
| | | | | | | | | | | | | | IMX390 is a 2MP FPDLink-III raw camera. This sensor was originally targeted for J7-based devices, but AM62A can re-use the existing overlays. Both the CM and RCM type of modules are supported. As AM62A only has one CSI-RX port, we only use 4 out of the 8 total FPDLink ports on the fusion board. Signed-off-by: Jai Luthra <j-luthra@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREESinthu Raja2023-03-211-0/+4
| | | | | | | | | | | | | | | | AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68/J721S2 SoC[1] which is optimized to provide best in class performance for industrial applications. Add DTB entry for the same. AM68 SK features camera support with MIPI(OV5640) and RPi(IMX219) connectors. Add DTBO for the same. Also, add DTBO entry for the DDR memory carveout. [1]:http://www.ti.com/lit/zip/spruj28 Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62axx: Add camera overlays for AM62A SKJai Luthra2023-03-211-0/+6
| | | | | | | | | | | | | Add the following overlay files on AM62A SK: 1. Fusion board (For FPDLink-III cameras) 2. OV2312 FPDLink camera module 3. IMX219 RPi-compatible camera module Signed-off-by: Jai Luthra <j-luthra@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx: Add missing overlays for AM625 SKAradhya Bhatia2023-03-211-0/+5
| | | | | | | | | | | | | | | Add the overlay files, over AM625 SK, for the following: 1. Technexion OV5640 Camera 2. Enhanced Capture (ECAP) 3. HDMI Audio Output 4. MCAN Transceiver 5. Microtips OLDI Panel Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j784s4-evm: Add support for J784S4 HS-FSDasnavis2023-03-215-2/+62
| | | | | | | | | | | | | Add the basic J784S4 HS-FS configuration. * Add configurations to support both HS-FS and GP keeping GP as default. * Add ti-sci-firmware overrides for HS-FS. * Remove evm conf file inclusion in hs-evm conf. * Add j784s4 hs-evm specific config to hs-evm conf. Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* am62axx-evm: Add AM62A HS-FS evm configurationSai Sree Kartheek Adivi2023-03-217-14/+75
| | | | | | | | | | | | | | | Lets add the basic AM62A configuration - Add machine conf for AM62A. - The wic images will boot on AM62A HS-FS devices by default. - The sysfw image for GP and HS-SE will be packaged in the wic image as tiboot3-am62ax-gp-evm.bin and tiboot3-am62ax-hs-evm.bin respectively. - Add ti-sci-firmware overrides. - Sign ATF, OPTEE and RTOS Firmware. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2-evm: Add support for J721S2 HS-FSSinthu Raja2023-03-217-2/+66
| | | | | | | | | | | | | | | Add the basic J721S2 HS-FS configuration. - Add configurations to support both HS-FS and GP keeping GP as default. - Add ti-sci-firmware overrides for HS-FS. - Remove evm conf file inclusion in hs-evm conf. - Add j721s2 hs-evm specific config to hs-evm conf. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sci-fw: Add SYSFW_SUFFIX to sysfw.itb filesRyan Eatmon2023-03-211-2/+18
| | | | | | | | | | | | | With the advent of using multiconfigs to build all of the versions of the machines (gp, hs-se, hs-fs, etc...) the sysfw.itb has become a point of contention for do_deploy. To resolve the duplicate file copy errors from bitbake we need to uniquify the sysfw.itb file names. So, let's do the same thing we do with the tiboot3.bin file and add the SYSFW_SUFFIX into the name. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* am62xx-lp-evm: Add AM62x LP HS-FS evm configurationChirag Shilwant2023-03-214-1/+28
| | | | | | | | | | | | | | Lets add the basic AM62x LP HS-FS configuration - Add machine conf for AM62x LP HS-FS. - The wic images will boot on AM62x LP HS-FS devices by default. - The sysfw image for HS-SE will be packaged in the wic image as tiboot3-am62x-hs-evm.bin. - Add ti-sci-firmware overrides. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* am62xx-evm: Add AM62x HS-FS evm configurationChirag Shilwant2023-03-215-3/+31
| | | | | | | | | | | | | | Lets add the basic AM62x HS-FS configuration - Add machine conf for AM62x HS-FS. - The wic images will boot on AM62x HS-FS devices by default. - The sysfw image for GP and HS-SE will be packaged in the wic image as tiboot3-am62x-gp-evm.bin and tiboot3-am62x-hs-evm.bin respectively. - Add ti-sci-firmware overrides. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: k3: Define RD, DTB and DTBO load address for FIT imageSinthu Raja2023-03-215-32/+5
| | | | | | | | | | | | | | | | | K3 platforms include the FIT image-based kernel by default. The bootloader loads the kernel and DTB from the FIT image. The DTB/DTBOs are added to the FIT image but the load address is not included in the image section of each DTB/DTBO. This load address is determined by the LOADADDRESS macros in the kernel-fitmage class. Hence, define the RD/DTB/DTBOs LOADADDRESS and OFFSET macros in the K3 common include, and remove those macros defined in the K3 board specific config files. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Reviewed-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os-tadevkit: update to match optee-osDenys Dmytriyenko2023-03-211-0/+24
| | | | | | | | This installs shared OPTEE-OS APIs and needs to match in order for latest client/test/examples to be able to build. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee: update optee components to 3.20 tagManorit Chawdhry2023-03-211-0/+7
| | | | | | | | | | OPTEE tests is not being upgraded due to a newer python dependency for the build Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add AM62x HS-SE evm configurationChirag Shilwant2023-03-215-1/+38
| | | | | | | | | | | | | | | | | Lets add the basic AM62x HS-SE configuration. - Add machine conf for AM62x HS-SE. - The wic images will boot on AM62x GP devices by default. - To boot on AM62x HS-SE, simply switch out the SYSFW image: $ cd /mnt/sd-card/boot $ mv tiboot3-am62x-hs-evm.bin tiboot3.bin - Add ti-sci-firmware overrides. - Add support to sign ATF and OPTEE. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* k3conf update SRCREV to add am62ax supportBryan Brattlof2023-03-211-1/+1
| | | | | | | | | | update the SHA of k3conf to pickup am62ax support Signed-off-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: upgrade to v2.8+Judith Mendez2023-03-211-2/+2
| | | | | | | | | | | | | | | | | Upgrade arm-trusted-firmare to v2.8-226-g2fcd408bb. This upgrade picks up K3 L2 cache, snoop delayed, and EA handling updates from upstream master. Do not update to tip of master due to PSCI system off support breaking AM62x and AM62q platforms. Signed-off-by: Judith Mendez <jm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Tested-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os: Enable SW PRNG for OP-TEE in AM62XDhruva Gole2023-03-211-1/+1
| | | | | | | | | | | | | | | commit 98506a4a07363 ("optee-os: Update SRCREV for OP-TEE TRNG in AM62X") Disables SW PRNG => Enabling Hardware RNG. This is breaking Suspend Resume on AM62xx EVM variants. To fix this keep using SOFTWARE_PRNG enabled as it was. Cc: vibhore@ti.com Cc: Andrew Davis <afd@ti.com> Signed-off-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* hs: Deploy the unsigned versions of bl31 and bl32Ryan Eatmon2023-03-212-7/+15
| | | | | | | | | In addition to releasing the signed versions of the bl31.bin and bl32.bin files, also release the unsigned original versions. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add AM62Q HS-SE evm configurationChirag Shilwant2023-03-216-3/+49
| | | | | | | | | | | | | | Lets add the basic AM62Q HS-SE configuration. - Add configurations. - Add ti-sci-firmware overrides. - Add u-boot overrides. - Add optee overrides. - Add ti-rtos-firmware overrides. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os: Lower log level for am62axxPraneeth Bajjuri2023-03-211-0/+1
| | | | | | | | | | | | | | Lower the log level for am62axx platform commit 27641e1f2d7f ("optee-os: Lower log level for AM62x") changes the log level for am62xx platforms. This patch is to extend the same for am62axx Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Reported-by: Sai Sree Kartheek Adivi <s-adivi@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.5.2Devarsh Thakkar2023-03-211-3/+3
| | | | | | | | | | | | Update library to 0.5.2 as it adds support for AM62A SoC. Co-Authored-By: Sai Sree Kartheek Adivi <s-adivi@ti.com> Signed-off-by: Devarsh Thakkar <devarsht@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee: update optee-test, optee-examples to 3.19 tagManorit Chawdhry2023-03-212-0/+4
| | | | | | | | | | | optee-os is already at 3.20 tag but the others were still outdated. Updates other optee components to 3.19 tag Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os: Revert to lower log level for AM62xKamlesh Gurudasani2023-03-211-0/+2
| | | | | | | | | | | | | | | While removing SOFTWARE_PRNG support commit:98506a4a07363a1b57012ccfaee263f47e5b46c4, accidently removed the changes applied by commit:27641e1f2d7f6696fd7bbd8f24fcac20766b6234 (optee-os: Lower log level for AM62x). Reverting those changes back Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add am62axx evm configurationParesh Bhagat2023-03-219-23/+87
| | | | | | | | | | | | | | | Lets add the basic AM62Axx-evm configuration. - Add configurations. - Add firmware overrides. - Add u-boot overrides. - Add tifs-lpm-stub. - Add cnm-wave-fw. Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: Remove vmlinux.gz from KERNEL_IMAGETYPESRyan Eatmon2023-03-211-1/+1
| | | | | | | | | | | With a recent patch to the TI kernel that includes debug symbols, the vmlinux.gz file grew in size that impacted the testing. This file is not needed to be in the final image so remove it from the list. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: omap-a15: Fix parsing when KERNEL_DEVICETREE is not setZachary Booth2023-03-211-1/+1
| | | | | | | | | | | Correctly handle parsing when KERNEL_DEVICETREE is not set. Signed-off-by: Zachary Booth <zachary.booth@garmin.com> Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os: Enable OP-TEE TRNG in AM62XKamlesh Gurudasani2023-03-211-2/+0
| | | | | | | | | | | Enable trng support as trng support is added now in OP-TEE Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Acked-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* j784s4-hs: changes to support new hs platformManorit Chawdhry2023-03-211-0/+1
| | | | | | | | | | | | | Changes to support new j784s4-hs platform in: 1) ti-sci-fw_git: Update firmware prefix for j784s4-hs 2) atf: sign the image 4) optee: sign the image Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Add J784S4 hs platformManorit Chawdhry2023-03-212-0/+22
| | | | | | | | | | Machine conf for J784S4 HS platform. Used J721S2 hs as reference. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Deploy secure firmware unconditionallyAndrew Davis2023-03-011-34/+4
| | | | | | | | | | Having signed firmware is needed for the HS platforms, but does not cause any issues for non-HS. To keep things simple, let's deploy both sets unconditionally. This prevents mistakes when adding HS support and further reduces the image delta between the two types. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Fix use of base_libdir with nonarch_base_libdirAndrew Davis2023-03-011-56/+56
| | | | | | | Firmware belongs in the nonarch lib directory. Use the right variable. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use a table instead of a list of copy commandsAndrew Davis2023-03-011-209/+67
| | | | | | | | | | | | | | | Using a table makes it easier to see what firmware is included with each machine build. It also helps prevent errors here. Since the same functions run across machines we now sign all the firmware without needing to add a new signing function for each new machine. Another fix is that we install the DM firmware to the deploy directory for all machines that use need it. This was added for J7x machines but missed for AM62x. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use defines to set firmware namesAndrew Davis2023-03-011-184/+201
| | | | | | | | This allows us to change the name in one spot and avoid duplication. It also helps prevent hard to see changes/typos in the firmware names. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Do not break the source directory by renaming filesAndrew Davis2023-03-011-6/+6
| | | | | | | | If we rename files in the source directory the next time we need to rebuild the original files will be gone and build will fail. Use symlinks instead. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Fix name for AM64x and AM62x firmwareAndrew Davis2023-03-011-18/+18
| | | | | | | | | | | | The firmware for AM64x and AM62x are renamed to match the other platforms, but we don't actually change them to match. Remove baremetal from the names. These are only referenced to by softlink, so this change will have no effect on Linux users. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Remove unneeded per-machine TARGET definesAndrew Davis2023-03-011-147/+66
| | | | | | | | | Since these TARGET defines are only used on the machine for which an ALTERNATIVE is defined and always have the same name, these provide nothing. Drop them. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-k3-secdev: Remove inclusion of ti-paths.incAndrew Davis2023-03-012-5/+2
| | | | | | | | Since this directory path will not change, let's avoid use of ti-paths.inc which is set to be removed. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: k3: Remove unneeded TI_SECURE_DEV_PKG_K3 assignmentsAndrew Davis2023-03-018-16/+2
| | | | | | | | | For K3 machines the SECDEV selection happens in the recipes that use it. This assignment is therefor no longer needed. Remove it. Suggested-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sci-fw: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-6/+2
| | | | | | | | Use the new ti-k3-secdev package to pull in the signing tools if they are not provided by the environment. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-6/+1
| | | | | | | | | | Use ti-k3-secdev native package to provide secure-binary-image.sh script when it is not passed on as an environment variable. This fixes an issue with AM64xx which is always HS but should not require TI_SECURE_DEV_PKG when building for HS-FS or GP platforms. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* u-boot-ti: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-2/+1
| | | | | | | | | | | | Use the new ti-k3-secdev package to pull in the signing tools if they are not provided by the environment. This allows us to use these tools unconditionally. Remove the checks for the script and do the signing for all K3 machines. The signature is automatically stripped from the binaries on non-HS devices at boot time as needed so this change is harmless for GP devices. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee-os: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-36/+7
| | | | | | | | | | | | Use the new ti-k3-secdev package to pull in the signing tools if they are not provided by the environment. This allows us to use these tools unconditionally. Remove the checks for the script and do the signing for all K3 machines. The signature is automatically stripped from the binaries on non-HS devices at boot time as needed so this change is harmless for GP devices. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>