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

61 Commits

Author SHA1 Message Date
Mahesh Radhakrishnan
0679930ac7 ti-pdk: SRCREV update
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-04-16 21:48:16 +00:00
Mahesh Radhakrishnan
e593c48964 ti-pdk:SRCREV update to 2020.4.16
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-04-16 19:40:24 +00:00
Mahesh Radhakrishnan
010a8018f8 ti-pdk: SRCREV update to 2020.4.13
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-04-15 18:35:14 +00:00
Mahesh Radhakrishnan
1233c4f31a ti-pdk:SRCREV update to 2020.4.5
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-04-08 17:33:18 +00:00
Angela Stegmaier
d3716d4607 ti-pdk-fetch: SRCREV udpate to 2020.2.20
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-21 22:13:44 +00:00
Mahesh Radhakrishnan
f1112d5644 ti-pdk-fetch: SRCREV udpate to 2020.2.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 02:45:06 +00:00
Mahesh Radhakrishnan
9664c1ce97 ti-pdk-fetch: SRCREV update of pdk repo to 2020.1.22
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-01-23 14:20:34 +00:00
Jacob Stiffler
83e5425a12 ti-pdk-fetch: hard-link .git directory into workdir
Link the git directory into the recipe's work directory to provide
git history and commit information for recipes that may need it.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-01-23 02:15:07 +00:00
Jacob Stiffler
036668d1e3 ti-pdk-fetch: bump SRCREV for minor fix
* dualemac: fix to drop PTP sync msgs from unknown master

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-20 15:53:19 +00:00
Jacob Stiffler
aa54401858 ti-pdk-fetch: bump SRCREV for prusw-fw update
* STP switch support for per-port MAC addresses

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-18 23:32:52 +00:00
Jacob Stiffler
9cd23a0d60 ti-pdk-fetch: bump SRCREV for Processor SDK 6.2
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-18 04:16:12 +00:00
Luca Ceresoli
fb189e30eb 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-09 18:15:23 +00:00
Jacob Stiffler
d8a176c384 ti-pdk-fetch: add class for common pdk sources
Recently individual components and LLD sources have been combined
into a single PDK repo. Use this class to specify the common source.
Also use this class to keep the sources separate from each other when
building. This keeps the build identical to previous recipes while
keeping control on interdependencies.

Similar to gcc-source, use the ti-pdk-source recipe to unpack the
sources into a "work-shared" area. Then hard-link only the necessary
files into a recipe's WORKDIR.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-09 18:15:23 +00:00
Mahesh Radhakrishnan
4b709f8fbc 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 21:30:43 +00:00
Mahesh Radhakrishnan
8442a3c5e4 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-17 01:01:37 +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
Denys Dmytriyenko
2b524321a2 sdcard_image: remove deprecated class
This class has been deprecated for a while. The recommended replacement is
to use Yocto Project's new "wic" tool.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-29 16:06:58 -05:00
Koen Kooi
7b8b1fe4b8 sdcard_image bbclass: make ext4 the default
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:28:38 -04:00
Joel A Fernandes
3c4c1e3013 sdcard_image: Add image version info to root fs
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-15 16:34:01 +01:00
Koen Kooi
eceb8e05b9 sdcard_image bbclass: run genex2fs directly on the loop device
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-14 10:34:04 +01:00
Peter A. Bigot
2cd35f07bf sdcard_image: add dependency on native ext2 utilities
Signed-off-by: Peter A. Bigot <bigotp@acm.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-09 20:25:02 +01:00
Koen Kooi
4402447bb4 sdcard_image bbclass: reinstate vfat copy of uImage
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 13:34:12 +01:00
Koen Kooi
116a42e504 sdcard_image bbclass: switch to vfat layout
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 13:23:16 +01:00
Koen Kooi
d51ebcf4b4 sdcard_image bbclass: add proper ext4 support, fix inode calculations, etc, etc
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-07 18:07:55 +01:00
Koen Kooi
ded88c51bc sdcard_image bbclass: add ext4 support note
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-07 10:19:59 +01:00
Koen Kooi
87abedf129 sdcard_image bbclass: increas inode count again
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-05 15:18:04 +01:00
Koen Kooi
7ea2cf4849 sdcard_image bbclass: make payload errors non-fatal 2011-11-04 15:03:55 +01:00
Koen Kooi
6ce2516808 sdcard_image bbclass: fix payload logic
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 13:51:12 +01:00
Koen Kooi
05d91d63dd sdcard_image bbclass: add support to copy over payload from rootfs to vfat
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 08:42:25 +01:00
Koen Kooi
e6fe491161 sdcard_image bbclass: add timestamp to image filename
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 08:38:41 +01:00
Jason Kridner
7aff70deab sdimage_class: eliminate 2GB exception for BeagleBone
Gerald has said his supply of 2GB SD cards for BeagleBone has
gone away, so we are back to 4GB cards.  No more need for this
exeption:

Signed-off-by: Jason Kridner <jdk@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 08:16:36 +01:00
Koen Kooi
c8a6d183f3 sdcard_image bbclass: raise number of inodes to avoid out of space errors
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 14:56:10 +01:00
Koen Kooi
ff69dee7b8 Revert "sdcard_image: align partitions with flash pages"
This has 2 problems:

1) | Warning: partition 1 does not end at a cylinder boundary
   |
   | sfdisk: I don't like these partitions - nothing changed.

2) CCCCCCCCC on the beaglebone, the ROM code doesn't accept it after fixing 1) with --force

This reverts commit ed09701ebe.
2011-11-01 07:17:17 +01:00
Jason Kridner
ed09701ebe sdcard_image: align partitions with flash pages
* Align partitions for SD card performance/wear optimization. For more
details, please see:
http://sakoman.com/OMAP/a-script-for-partitioningformatting-a-bootable-sdmicrosd-card.html

# Modifications to align partitioning by Steve Sakoman
# based on work by Arnd Bergmann
# Align partitions for SD card performance/wear optimization
# FAT partition size is 131072 sectors (64MB) less:
#       MBR - 1 sector
#       padding to align to the page size of the underlying flash - 127 sectors
# so we start the first partition at sector 128 and make it 131072 - 128 = 130944 sectors
# second partition starts at 131072 and continues to fill the card

Signed-off-by: Jason Kridner <jdk@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2011-10-27 21:57:52 -04:00