1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-01 00:11:11 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Luca Ceresoli c9df259df4 Fix "basehash value changed" errors and BB_NUMBER_THREADS usage
Changing BB_NUMBER_THREADS between successive builds causes a "basehash
value changed" error. Additionally, using BB_NUMBER_THREADS to pass a
number of processes to run to xdc is wrong: PARALLEL_MAKE is the correct
variable to use.

Fix both problems by using oe.utils.parallel_make_argument() to obtain the
number of processes to run from PARALLEL_MAKE.

Fixes:

  ERROR: When reparsing .../meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb.do_configure, the basehash value changed from 63897a188012cedde03f756b5dbbfa70 to 13b80bf4f4327c367bd201eb4aa32ad7. The metadata is not deterministic and this needs to be fixed.
  ERROR: When reparsing .../meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb.do_compile, the basehash value changed from 2fb59a7db2a2f69d2c25c06c1b6a4245 to 314c664cc040afae2800fcc378dd9ae0. The metadata is not deterministic and this needs to be fixed.

Steps to reproduce:

  BB_NUMBER_THREADS="3" bitbake ti-ipc-rtos ti-ipc-examples-linux
  BB_NUMBER_THREADS="4" bitbake -c cleansstate osal-rtos
  BB_NUMBER_THREADS="5" bitbake ti-ipc-rtos ti-ipc-examples-linux

Reported here: https://e2e.ti.com/support/processors/f/791/p/825142/3059419
Reported-by: Matthew McKee (e-mail unknown)
Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-06 22:38:10 +00:00
Mahesh Radhakrishnan 35a6a9f436 ti-pdk.bbclass:j7-evm.conf: Correcting the core list for j7-evm (mpu2/3_x to mcu2/3_x)
Correcting the corelist. There is no mpu2_x or mpu3_x instead they
should be  mcu2_x/mcu3_x which is present in j7-evm

Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-08-30 16:22:35 +00:00
Mahesh Radhakrishnan 712ae7ed03 ti-pdk-bbclass: Defining dependants for j7-evm, updated the default core list
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-08-16 18:26:12 +00:00
Mahesh Radhakrishnan f7659b553a ti-pdk-bbclass: Using machine name as k3 instead of am65xx
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-10-01 03:19:15 +00:00
Djordje Senicic 722c1e6d93 ti-pdk-class: Include EVE toolchain path, as needed by ti-pdk-build-rtos for some SoCs
Signed-off-by: Djordje Senicic <x0157990@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-09-11 23:58:04 +00:00
Sam Nelson ea70f91888 ti-pdk: Add tool chain dependencies for am65xx platform
Adds the dependency on toolchain needed for A53 and R5 cores

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-08-24 20:08:41 +00:00
Denys Dmytriyenko a5ecd90543 meta-ti: cleanup use of d.getVar()
1. drop use of True as second parameter, which is default, to align with master
2. there were instances of incorrectly passing 'd' as second parameter from
previous conversion from bb.data.getVar() usage

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-07-10 18:39:09 +00:00
Joshua Watt bd3bd8632e ti-pdk: Allow Doxygen generation to be optional
Users can choose to completely disable doxygen generation in pdk recipes
by setting TI_PDK_DOXYGEN_SUPPORT = "0" in local.conf

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-02-26 19:43:00 -05:00
Mertz, Timothy de8bb5892c ti-xdctools: extend to native and nativesdk
ti-xdctools should be a native recipe as it more accurately reflects how
it is supposed to be used. In addition, this allows it to be built as
nativesdk and included in SDK image tools

Signed-off-by: "Mertz, Timothy" <timothy.mertz@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Jacob Stiffler <j-stiffler@ti.com>
2017-12-21 23:11:55 -05:00
Denys Dmytriyenko f3ae0baba8 ti-pdk.bbclass: depend on doxygen native for documentation
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-12-19 13:42:40 -05:00
Jacob Stiffler 4c28ce3d85 ti-pdk: clean the sources during the configure task
* For the XDCMAKE recipes, a clean was already occuring udring the
  compile task.
* Move the clean to the configure task to more closely match the
  base.bbclass.
* As the non XDCMAKE recipes generate dep files, add a clean in
  configure for when dependencies have changed.
* Use oe_runmake to share options between "make release" and
  "make clean".
* There appears to be an issue with parallel builds using the
  ti-pdk-build framework, so unset PARALLEL_MAKE.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-25 08:33:58 -04:00
Hongmei Gou 195895717b ti-pdk.bbclass: add dependency on ti-cgt-pru-native
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-02 16:19:14 -04:00
Mahesh Radhakrishnan 1c924c003f ti-pdk-bbclass: Fix for building pru firmware
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-09-01 12:51:09 -04:00
Mahesh Radhakrishnan d8c22a9503 ti-pdk: Update tool paths for omapl1 & update cores for ti33x & ti43x
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-07-12 14:08:59 -04:00
Jacob Stiffler 5375c16c91 ti-pdk: limit the set of cores to build
* Use LIMIT_CORES to enable only the cores with available toolchains.
* Add new variables which will allow recipes to fully configure the
  options provided to make.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-06-11 18:36:19 -04:00
Jacob Stiffler cda2ad7240 ti-pdk: clean up variables by adding TI_PDK_ prefix
* Add TI_PDK_ prefix to variables which may be set by recipes to
  stress that they are used to configure the ti-pdk class.
* Deprecate TI_PDK_XDCARGS in favor of TI_PDK_LIMIT_SOCS as both are
  used to define a list of SOCs.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Cc: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-06-11 18:36:14 -04:00
Justin Sobota e12f3832d1 Resolve host contamination warnings
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-05-01 18:29:50 -04:00
Karthik Ramanan 86dd71f732 Remove CCS dependencies for all components
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-04-27 20:18:42 -04:00
Justin Sobota de355a34c4 ti-pdk: Add makefile support to ti-pdk.bbclass for RTOS components
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:10:45 -04:00
Jacob Stiffler a83eb9039e ti-pdk.bbclass: Add class for creating RTOS PDK components
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:49 -05:00