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

Compare commits

..

329 Commits

Author SHA1 Message Date
Sam Nelson
090b02a104 uio-module-drv: Update to new version 1.0.2.3
- Also add test code recipe for uio-module-drv
- Common part of recipe moved to uio-module-drv.inc

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-02 09:44:59 -04:00
Karthik Ramanan
3ba05c758e ipumm-fw: update to 3.00.08.02
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-02 09:44:55 -04:00
Karthik Ramanan
1a9bf092a5 omapdrm-pvr: Update recipe for K3.14
Contains updates for the following:
    * enable traces when the SGX recovers from error
    * close GEM vm using DRM API.

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:42:50 -04:00
Karthik Ramanan
dc486eb2b6 omap5-sgx-um-linux: Update SRCREV with bugfixes
Contains updates for the following issues:
 * Fix for the application hang seen with Half float textures
 * Fix SGX HW recovery issue due to delayed Weston buffer release event

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:42:48 -04:00
Sam Nelson
d7a14691e3 boot-monitor: Update to new version 15.07
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:40:00 -04:00
Sam Nelson
ba7c4b9b98 u-boot-keystone: Update to new version 2013_01_15.07_01
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:39:53 -04:00
Sam Nelson
001cce1e78 linux-keystone: update to new version 3.10.72_15.08
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:39:49 -04:00
Jacob Stiffler
355915791b cmem: Bump SRCREV to fix build with GCC 4.9 and Linux 4.1
* Changes retain compatibility with older tolchain and kernl.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:20:25 -04:00
Molfetta, Stephen
667f44b581 tiipclad-daemon.sh: Enabling GateMP support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-19 20:54:56 -04:00
Jacob Stiffler
f3519cab14 ti-xdctools: Add version 3.31.02.38.
* This version adheres to the new "core" package format.
* Add the version-indepedent include file for the core packages
* Extract common information between the core and legacy packages
  into the ti-xdctools-common.inc file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:13:51 -04:00
Denys Dmytriyenko
7ce026fb81 am335x-evm: bump max_leb_cnt to fit larger FS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-07 18:00:47 -04:00
Jacob Stiffler
524e33b66b ti-cgt6x: Upgrade to version 8.0.3
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-04 22:21:51 -04:00
Jacob Stiffler
f2bc9c3bba ti-sysbios: Update version to 6.41.04.54
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-04 22:18:55 -04:00
Denys Dmytriyenko
b5e6b69152 linux-ti-staging 3.14: update to 3.14.49
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-03 15:23:55 -04:00
Denys Dmytriyenko
25bc201f81 Revert "u-boot-ti-staging: add version 2015.07-rc3"
No plans to support ti-u-boot-2015.07 on daisy

This reverts commit 2bb8a7425c.
2015-07-27 20:37:35 -04:00
Denys Dmytriyenko
e8491188cc linux-ti-staging 3.14: update to 3.14.48 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:36:18 -04:00
Karthik Ramanan
fed606f468 ipumm-fw: Update download path and checksum
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:36:04 -04:00
Denys Dmytriyenko
94a0f1c1b9 Revert "linux-ti-staging: add version 4.1.1"
No plans to support kernel 4.1 on daisy

This reverts commit ee2d74c3e3.
2015-07-22 14:26:28 -04:00
Denys Dmytriyenko
2bb8a7425c u-boot-ti-staging: add version 2015.07-rc3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:18 -04:00
Denys Dmytriyenko
ee2d74c3e3 linux-ti-staging: add version 4.1.1
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:14 -04:00
Denys Dmytriyenko
796837592c linux-ti-staging: update to 3.14.47 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:07 -04:00
Karthik Ramanan
89489aaeee omap5-sgx-ddk-um-linux: Bug fixes for memory leak
* Fix memory leak in Wayland WSEGL
* Refactor the code for print messages

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-07 16:27:31 -04:00
Karthik Ramanan
65d78fb686 omapdrm-pvr: Bug fixes and updates to the driver
* Fixed array out of bounds issue which causes failure in create_gem_wrapper
* Truncate SGX HW recovery traces

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-07 16:26:11 -04:00
Jacob Stiffler
b28b085864 ti-softhsmv2: Stop recipe from using headers from host build machine.
* Without the "--with-zlib" configure option, the zlib header will be
  obtained from the build machines "/usr/include" directory if the
  header exists there.
* From ${S}/m4/acx_zlib.m4:

AC_DEFUN([ACX_ZLIB],[
        AC_ARG_WITH(zlib,
                AC_HELP_STRING([--with-zlib=PATH],[Specify prefix of path of zlib]),
                [
                        ZLIB_PATH="$withval"
                ],
                [
                        ZLIB_PATH="/usr"
                ])

        AC_MSG_CHECKING(what are the zlib includes)
        ZLIB_INCLUDES="-I$ZLIB_PATH/include"
...

* Therefore add configure option to point to staging sysroot for zlib
  header and add dependency on zlib.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-02 19:11:58 -04:00
Denys Dmytriyenko
12b8d3c9ec layer.conf: add more modules to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 21:43:38 -04:00
Sam Nelson
6e02d2ddef hyplnk-lld: Correct reference to k2l library
- Hyperlink module is not present in k2l device.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:08:25 -04:00
Sam Nelson
878b2fb694 hplib: Add Run time dependency on hplib-mod
- Library requires hplib kernel module loaded

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:07:48 -04:00
Sam Nelson
21c7bf1605 boot-monitor: Mark the package as machine-specific
- Recipe builds machine specific skern image

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:07:10 -04:00
Denys Dmytriyenko
af94b54a5e u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-17 11:22:27 -04:00
Denys Dmytriyenko
ccd6159a6c linux-ti-staging: update with latest PM and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-17 11:22:25 -04:00
Denys Dmytriyenko
02e76db37c linux-ti-staging: update with latest connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-16 10:36:36 -04:00
Denys Dmytriyenko
70a06c5bf9 layer.conf: add cmem and gdbserverproxy modules to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-15 18:51:30 -04:00
Denys Dmytriyenko
b812d89ed4 linux-ti-staging: A/D fix for vpe firmware load race
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-11 21:35:53 -04:00
Denys Dmytriyenko
68b4766a6d linux-ti-staging: update with latest A/D and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-08 17:39:19 -04:00
Jacob Stiffler
2c5c6306b9 rtos-recipes: Add files to ${PN}-dev instead of ${PN}.
* These packages only contain firmware development files.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-05 10:17:54 -04:00
Jacob Stiffler
e237189ada linux-ti-staging: Fix dra7 DTBs appearing in am57xx-evm build.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-04 15:59:32 -04:00
Denys Dmytriyenko
7e50591a69 ipumm-fw: update to 3.00.08.01
Note: this prebuilt FW image hasn't been released publicly yet - interim copy
It doesn't have the correct Manifest either.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 20:26:55 -04:00
Denys Dmytriyenko
24c5c09b5d ti-ipc: update to 3.36.01.11
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 20:26:52 -04:00
Denys Dmytriyenko
f47b368bd5 linux-ti-staging: update with latest platform and PM fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 13:42:36 -04:00
Denys Dmytriyenko
d0352aecb8 Revert "llvm-common: Extend to nativesdk class."
This reverts commit 02ca76d894.
2015-06-02 21:39:37 -04:00
Denys Dmytriyenko
dcb88233a8 linux-ti-staging: update with latest PM, connectivity and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 11:56:41 -04:00
Hao Zhang
70e1b13336 linux-keystone: update to new kernel version 3.10.72
Branch name changed to release specific branch

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:59:42 -04:00
Jacob Stiffler
2621fcec21 omapdrm-pvr: Use kernel mechanism for module installation.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:59:16 -04:00
Sam Nelson
7d01ae47ff cmem: Update to new version 4.10.01.02
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:58:45 -04:00
Jacob Stiffler
b9036f2c8e edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:53:57 -04:00
Jacob Stiffler
4053f29fa6 edma3-lld: Update to version 2.12.01.21.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:53:48 -04:00
Jacob Stiffler
f802ffbd1b edma3-lld: Seperate source and version into include file.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:53:42 -04:00
Jacob Stiffler
29eeee9ff4 common-csl-ip-rtos: Add CSL RTOS package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:47:02 -04:00
Jacob Stiffler
78d38afdb9 common-csl-ip.inc: Add source revision for dra7xx.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:46:49 -04:00
Jacob Stiffler
cb8640e907 common-csl-ip: Seperate source and version into include file.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:46:37 -04:00
Jacob Stiffler
2274d378c8 ti-paths: Add PDK_INSTALL_DIR for RTOS drivers.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:46:27 -04:00
Jacob Stiffler
9a981f8049 ti-framework-components: Add version 3.40.00.02.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:33 -04:00
Jacob Stiffler
3095e4e8c7 ti-framework-components: Add all files to the main package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:23 -04:00
Jacob Stiffler
90de37337c ti-framework-components: Move LIC_FILES_CHKSUM into recipe.
* This is version specific, so it should not be in a version-agnostic
  include file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:12 -04:00
Jacob Stiffler
4287b0fafa gdbc6x: Add version 1.1.0
* The gdbc6x utility provides remote gdb capabilities for C6x DSP
  cores.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:32:18 -04:00
Jacob Stiffler
ab170d0a0f gdbserver-c6x: Add version 1.1.0
* c6x DSP development files required to support remote gdb debugging.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:30:08 -04:00
Jacob Stiffler
02ca76d894 llvm-common: Extend to nativesdk class.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:22:26 -04:00
Jacob Stiffler
f4ea115ca0 ti-ipc-rtos: Add the TI-RTOS IPC package version 3.35.01.07
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:09:44 -04:00
Denys Dmytriyenko
09b40bea39 u-boot-ti-staging: update with usb fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-26 10:14:15 -04:00
Denys Dmytriyenko
f778976d10 linux-ti-staging: update with connectivity and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-26 10:14:10 -04:00
Jacob Stiffler
3d09af48ef ti-xdais: Add version 7.24.00.04
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:13:46 -04:00
Jacob Stiffler
f527afaae4 ti-xdais: Move LIC_FILES_CHKSUM into recipe.
* This is version specific, so it should not be in a version-agnostic
  include file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:13:45 -04:00
Jacob Stiffler
26ada267c5 ti-sysbios: Add version 6.41.02.41
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:13:31 -04:00
Jacob Stiffler
c0325a242e ti-xdctools: Add version 3.30.06.67
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:12:55 -04:00
Jacob Stiffler
e4f5110cf6 ti-cgt6x: Fix installation for native and nativesdk classes.
* Many RTOS packages assume that the entire cgt is installed in a
  single directory as opposed to standard install paths.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 13:56:18 -04:00
Jacob Stiffler
11a1a04386 gdbserverproxy-module-drv: Add version 1.1.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:37:21 -04:00
Jacob Stiffler
3a1f93c6c0 dsptop: Add version 1.2.0
* dsptop is a utility that provides a top-like interface to observe
  DSP resource usage in real-time.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:33:01 -04:00
Jacob Stiffler
4a297054ef libulm: Add ULM library for ARM and DSP.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:31:46 -04:00
Jacob Stiffler
5b891588b3 debugss-module-drv: Add version 1.2.0
* The debugss-module-drv is require for the dsptop utility.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:05:09 -04:00
Denys Dmytriyenko
8913c7cf42 omap5-sgx-ddk-um-linux: fix GNU_HASH and RPATH QA warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:10:36 -04:00
Denys Dmytriyenko
43a86749cf vpe-tests: mark as machine-specific due to kernel dependency
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:10:27 -04:00
Denys Dmytriyenko
3df50212ee layer.conf: add ti-ipc to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:10:15 -04:00
Denys Dmytriyenko
a257bfb6ca recipes: move SRCPV from PR to PV, so PRServ can package AUTOINC after patching
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:10:05 -04:00
Denys Dmytriyenko
0e771ce6af u-boot: remove unused and upstreamed 2015.01
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:09:43 -04:00
Jacob Stiffler
c1a686ec23 linux-ti-staging-3.14: Allow CMEM DT injection.
* Disabled by default.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 15:30:27 -04:00
Jacob Stiffler
a6afbc2e89 linux/cmem.inc: Support reserving memory for CMEM.
To reserve contiguous memory for CMEM:
* include the "recipes-kernel/linux/cmem.inc"
* Set CMEM_BASE and CMEM_SIZE to the physical memory address and size,
  respectively, to reserve for CMEM.

Currently limited to reserving a single memory region used to create
a single buffer pool of a single buffer.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 15:30:05 -04:00
Denys Dmytriyenko
0b7d3bcc37 linux-mainline: update to the latest stable 3.14.43 and lower default preference
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 14:24:04 -04:00
Denys Dmytriyenko
3af3f957f4 u-boot-ti-staging: update with spi fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-18 14:45:41 -04:00
Denys Dmytriyenko
23700a4c06 linux-ti-staging: update to 3.14.43 with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-18 14:45:36 -04:00
Denys Dmytriyenko
5e499ff53b linux-ti-staging: update to 3.14.42 with more fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-13 17:43:33 -04:00
Denys Dmytriyenko
12d1b6f536 boot-monitor: pass custom LD var that includes sysroot option
Otherwise it fails to link against static libgcc with OE toolchain.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-13 17:43:28 -04:00
Denys Dmytriyenko
efc3f4a768 u-boot-ti-staging: update with connectivity, x15 and other fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-11 17:48:27 -04:00
Denys Dmytriyenko
8ece338973 linux-ti-staging: update to 3.14.41 with platform, connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-11 17:48:17 -04:00
Denys Dmytriyenko
f57702adf4 linux: remove outdated kernel recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:09 -04:00
Denys Dmytriyenko
5e84c68eff omap4/pandaboard: switch from outdated 3.4 kernel to 3.14-staging
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:49:34 -04:00
Denys Dmytriyenko
259a5d757e u-boot-ti-staging: update with more fixes (x15, usb, etc.)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:49:26 -04:00
Denys Dmytriyenko
6b3f404f43 linux-ti-staging: update with more fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:49:20 -04:00
Denys Dmytriyenko
216d98bd54 linux-ti-staging: update to 3.14.40 and PM, A/D and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-29 11:36:50 -04:00
Sam Nelson
141b6deaa3 traceframework: Update commit id for version 1.1.1.6
- Fixes issue with parallel build

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:30:47 -04:00
Sam Nelson
dc1a5ab13e hplib: Update to new version 1.1.0.5
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:30:31 -04:00
Sam Nelson
610b000a4a nwal-lld: Update to new version 2.1.0.6
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:30:05 -04:00
Sam Nelson
a9cac6d38b netapi: Update to new version 1.1.0.6
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:29:26 -04:00
Denys Dmytriyenko
8f90e6e268 linux-ti-staging: update with PM and other fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-27 18:08:54 -04:00
Denys Dmytriyenko
409cf1cade ti-cgt6x: update LICENSE to the proper format
This avoids warnings in master.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-27 11:41:45 -04:00
Sam Nelson
22fae58f64 multiprocmgr: Update to new version 2.0.1.8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:34 -04:00
Sam Nelson
6502a6aa69 ipc-transport-srio: Add recipe for ipc transport using srio interface
- Adds ipc transport layer using srio interface
- Supports k2h & k2k devices
- test recipe provides test code using srio transport

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:20 -04:00
Sam Nelson
5074fec603 ipc-transport-qmss: Add recipe for ipc qmss transport and test code
- Provides ipc transport layer using qmss module
- Supports k2h, k2k, k2e, k2l devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:02:53 -04:00
Sam Nelson
fe401c2bfc ipc: Update to new version 3.35.1.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:01:46 -04:00
Denys Dmytriyenko
aeab3c1825 linux-ti-staging: update to 3.14.39 plus fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:49:24 -04:00
Jacob Stiffler
34cc0d20a0 am57xx-evm: ubifs: Increase max_leb_cnt.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:19:09 -04:00
Sam Nelson
f9de1136a3 mpm-transport: Update to new version 1.0.6.0
- Add new transport using qmss, srio modules
- Update new dependency on cmem, rm-lld, qmss-lld, cppi-lld & srio-lld

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:15:45 -04:00
Sam Nelson
6b23a352f2 mmap-lld: Update to new version 2.0.0.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:14:51 -04:00
Sam Nelson
ec4c024264 netapi: Update to new version 1.1.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:25 -04:00
Sam Nelson
c8b70e0609 uio-module-drv: Update to new version 1.0.2.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:17 -04:00
Sam Nelson
7199c0b0e2 srio-lld: Update to new version 2.0.0.12
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:09 -04:00
Sam Nelson
7afc4419f8 nwal-lld: Update to new version 2.1.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:01 -04:00
Sam Nelson
df510f7721 sa-lld: Update to new version 3.0.0.10
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:07:53 -04:00
Sam Nelson
f509814335 pa-lld: Update to new version 3.0.1.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:07:47 -04:00
Sam Nelson
267cb70c49 rm-lld: Update to new version 2.1.0.8
- Updated test files

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:07:39 -04:00
Sam Nelson
b8b30b7aef qmss-lld: Update to new version 2.1.0.10
- Add init script for creating symbolic link for generic device library at boot time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:07:26 -04:00
Sam Nelson
29bb1c08eb iqn2-lld: Update to new version 1.0.0.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:06:29 -04:00
Sam Nelson
f4b61df92a hyplnk-lld: Update to new version 2.1.0.2
- Add init script to add symbolic link for generic device library
- remove unused CHOICELIST

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:06:19 -04:00
Sam Nelson
ed5282b256 dfe-lld: Update to new version 1.0.0.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:06:03 -04:00
Sam Nelson
49a0ef570a common-csl-ip: Update to new version 2.1.0.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:59:15 -04:00
Sam Nelson
7f0bfb45e6 cppi-lld: Update to new version 2.1.0.8
- Add init script for creating symbolic link for generic device library boot time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:59:06 -04:00
Sam Nelson
329af944f1 srss-tc: Update to new version 1.0.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:58:56 -04:00
Denys Dmytriyenko
3a95559c12 rwmem: add rwmem tool
https://github.com/tomba/rwmem

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-08 18:43:27 -04:00
Denys Dmytriyenko
edd7478359 uim: update and move from gitorious.org
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-08 18:42:42 -04:00
Jacob Stiffler
d63fd7691e omap3-sgx-modules: Install via the kernel's "modules_install" target.
* This allows the modules to have a consistent installation structure
  when directly building from source.
* Previously, these modules would be manualy installed to appears as
  in-tree modules.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:45:46 -04:00
Karthik Ramanan
e4ea45aafd ipumm-fw: Add RDEPENDS to libdce
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:45:35 -04:00
Karthik Ramanan
8780d3f30a omapdrm-pvr: add support for voluntary kernel preemption option
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:45:21 -04:00
Denys Dmytriyenko
131ec72713 u-boot-ti-staging: update with x15 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-27 12:48:22 -04:00
Denys Dmytriyenko
0cc7fc0839 linux-ti-staging: update with connectivity and a&d fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-27 12:41:23 -04:00
Denys Dmytriyenko
34729e54e3 ipumm-fw: dra7xx variant is reused for am57x MACHINE too
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-20 21:56:59 -04:00
Denys Dmytriyenko
238cc60002 linux-ti-staging: update with more connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-20 12:22:11 -04:00
Denys Dmytriyenko
600f9fad73 ipumm-fw: split omap5-evm and dra7xx-evm recipes due to different versions
The last version update left omap5-evm behind, which breaks the recipe.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 23:51:46 -04:00
Denys Dmytriyenko
be8d1c1de1 omap-a15, dra7xx: add mmip feature to entire SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:52:03 -04:00
Denys Dmytriyenko
0ac70b7107 linux-ti-staging: update with connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:29:59 -04:00
Sam Nelson
6c23743f0f linux-keystone: update to new kernel version 3.10.61
- Branch names changed to release version specific branch

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:19:59 -04:00
Jacob Stiffler
7e6f1b75b3 multiprocmgr: Add virutal/kernel dependency.
* "linux/remoteproc_user.h" is included by ./src/daemon/mpmdlif.c

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-17 21:03:15 -04:00
Denys Dmytriyenko
fb58d9314f linux-ti-staging: update with wlcore and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-12 18:46:21 -04:00
Denys Dmytriyenko
4f8920b871 ti-u-boot: update with am57x support and pinmux fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-11 16:48:24 -04:00
Denys Dmytriyenko
28e59c42d4 linux-ti-staging: update to 3.14.35 and platform merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-11 16:48:17 -04:00
Sam Nelson
08d7652c32 ti-ipc: Update to new version of ipc 3.35.00.05
- Update license checksum
- Add support for k2hk, k2l & k2e evm.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:29:20 -05:00
Denys Dmytriyenko
fb3e5cf1f9 linux-ti-staging: update with platform, connectivity, a&d fixes, am57 dtb
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:29:11 -05:00
Jacob Stiffler
7c235c9b66 sitara-linux-ti-staging: Update commit to fix touchscreen issues on AM335x SK
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:28:57 -05:00
Denys Dmytriyenko
a09c79c5bd linux-ti-staging: update with recent platform and connectivity changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-03 20:08:52 -05:00
Denys Dmytriyenko
afe1657071 linux-ti-staging: update to 3.14.34 plus platform and pm fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:21 -05:00
Denys Dmytriyenko
0d1515bf66 linux-keystone: add 3.13 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:11 -05:00
Denys Dmytriyenko
8dc545fb72 kernel .inc: fix the breakage due to S!=B separation in master
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:03 -05:00
Denys Dmytriyenko
92d21a95b5 udev: rules for seamless transition to 8250_omap serial driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 20:32:36 -05:00
Denys Dmytriyenko
bb97d02d5f linux-ti-staging: update with fixes from feature trees
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 20:32:34 -05:00
Sam Nelson
40cd328669 netapi: Add recipe for NETAPI module
- Provide TI user space network library and test code
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 14:04:15 -05:00
Jacob Stiffler
1547003eb4 cmem: Bump version to 4.10.0.1 and enable autoload of module.
* This version introduces the ability to configure CMEM through
  the device tree.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 12:12:16 -05:00
Jacob Stiffler
6a130efc74 ti-cgt6x: Add verion 8.0.0
* Supports native and nativesdk classes as well as target.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 12:10:00 -05:00
Karthik Ramanan
9aa966a6ae ipumm-fw: Latest firmware compatible with IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:11:08 -05:00
Karthik Ramanan
d05b2e694c dspdce-fw: Updated dspdce firmware for IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:10:56 -05:00
Karthik Ramanan
6dba273309 omapdrm-pvr: recipe update for SGX KM for Kernel 3.14
* Change do_install for updated directory structure

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:10:41 -05:00
Sam Nelson
81317592f1 srio-lld: Add recipe for srio peripheral low level driver
- Provides user space low level driver for srio peripheral
- Devices supported k2h & k2k

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:05:13 -05:00
Karthik Ramanan
df50c4d5bb omap5-sgx-ddk-um-linux: Updated SRCREV to include bugfixes
* This version is compatible with version Kernel 3.14

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-20 12:27:05 -05:00
Jacob Stiffler
d992571ccd ti-eula-unpack: Add support for general binary installers.
* ti-unpack.inc has been created to allow support for general binary
  installers by creating a variable which is used to pass arbitrary
  arguments to the executable.
* ti-eula-unpack.inc sets the default arguments to retain support for
  recipes which still use this feature.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-20 11:51:19 -05:00
Karthik Ramanan
593fc027ee ti-ipc: Upgrade to IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:44:59 -05:00
Sam Nelson
0b6676ff73 engine-pkcs11: Add recipe for PKCS11 engine
- Provides OpenSSL PKCS11 engine

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:44:08 -05:00
Sam Nelson
df7956e71e iqn2-lld: Add recipe for iqn2 lld test code
- Adds test code for iqn2 peripheral low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:43:19 -05:00
Sam Nelson
2905123437 dfe-lld: Add recipe for dfe test code
- Adds test code for Digital front end low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:43:12 -05:00
Sam Nelson
2fbeb7cfab iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver
- Provides low level driver for TI iqn2 peripheral module
- Supports k2l device

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:43:00 -05:00
Sam Nelson
02805ffa10 dfe-lld: Add recipe for Digital Radio Front end low level driver
- Provides low level driver for Digital Radio front end
- Supports device k2l

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:42:54 -05:00
Denys Dmytriyenko
e757a6de61 linux-ti-staging: update to 3.14.33 with A&D, connectivity, platform and rpmsg updates
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-12 11:02:21 -05:00
Denys Dmytriyenko
3a3a4619ef multi-kernel: improve deploying additional files and sstate handling
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-12 11:02:07 -05:00
Sam Nelson
24dab89ad8 libp11: Add recipe for libp11
- Provides PKCS11 abstraction library

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:30:14 -05:00
Sam Nelson
c723c52446 ti-ipc: Correct error in ti ipc lad daemon startup script
- Need to add -l for the log file parameter
- Added -- to pass log file as additional parameter

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:16:52 -05:00
Sam Nelson
f989fcd952 common-csl-ip: Update to version 2.1.0.6
- Commit id updated

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:16:00 -05:00
Denys Dmytriyenko
3c96c655d6 keystone: stop backfilling rtc
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:15:18 -05:00
Karthik Ramanan
f94472f82c vpe-tests: Add DEPENDS for the recipe
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:14:35 -05:00
Denys Dmytriyenko
8cfcab6963 u-boot-ti-staging: update with am57x/x15 and config fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2015-02-02 21:35:08 -05:00
Denys Dmytriyenko
ba8c6930dc linux-ti-staging: update to 3.14.31, plus latest feature merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2015-02-02 21:35:00 -05:00
Franklin S. Cooper Jr
2e39f3ee3e Graphics SDK: Add 05.01.01.02
* This graphics sdk is a minor update to the 05.01.01.01 version but includes
  updates to support the 3.14 kernel.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:14:55 -05:00
Franklin S. Cooper Jr
8f25c83c74 sitara-linux-ti-staging_3.14.bb: Update commit to pull in suspend/standby fix
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:14:30 -05:00
Sam Nelson
9c1b22c6ba udma: Add recipe for user space library for udma kernel driver
- Provides zero copy access from user-space to packet dma channels
  via udma kernel driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:14:19 -05:00
Sam Nelson
a4fa63b39f ti-softhsmv2: Add recipe for ti customised softhsm package
- Provide library, deamon and util for ti customised softhsm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:14:09 -05:00
Karthik Ramanan
9221a67a91 dra7xx-evm: ubifs: Increase "max_leb_cnt"
* This is need to allow some room for customers to build on top
      of the filesystem that we support
    * This is needed for larger filesystem size to support dev image.

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:13:52 -05:00
Nikhil Devshatwar
a47fe3573e vpdma-fw: Separate vpdma-fw and vpe-tests recipe
VPDMA firmware is published publicly as IPUMM firmware.
This patch creates a separate recipe for VPDMA firmware.
Also, it updates the package names in kernel dependencies.

The vpe-tests is an independent recipe which can be included
in the packagegroup if required.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-27 19:38:53 -05:00
Sam Nelson
521f58d1eb nwal-lld: Add recipes for Network abstraction layer low level driver and test code
- Provide Network abstraction layer for keystone devices.
- Supports k2h, k2k, k2l & k2e devices.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-27 19:37:46 -05:00
Sam Nelson
62b35f2f1f srss-tc: Add recipe for Smart reflex application
- Provides Smart reflex temperature control with keystone devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-26 13:01:20 -05:00
Denys Dmytriyenko
e9b118d031 linux-ti-staging: update to stable 3.14.29
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-26 13:00:23 -05:00
Sam Nelson
38fd3c3e47 traceframework: Add recipe for TI trace framework library
- Provide libraries and test code for trace framework.
- Support framework to stream data from producer to multiple consumers
- Supports devices K2H, K2K, K2E, K2L & c6614

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:09:29 -05:00
Sam Nelson
09410e4b76 multiprocmgr: Update to new version of MPM 2.0.1.7
- Recipe split into main and test recipes.
- Added dependency on mpm-transport & libdaemon & syslog-ng
- Added startup scripts for daemon
- Removed PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:08:58 -05:00
Sam Nelson
aaf20a0b75 multiprocmgr: Moved recipe verbatim from meta-arago
- Original location: meta-arago:
  meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:08:31 -05:00
Sam Nelson
db6bdcd044 hplib: Add recipe for TI high performance library
- Provides high performance library, kernel module, user space libraries
  and test binaries
- Supports devices k2h, k2k, k2l & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:08:02 -05:00
Sam Nelson
a993f20a30 cuia: Add recipe for TI unified Instrumentation Architecture in C module
- Provides instrumentation libraries in C for TI SoCs

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-15 21:35:05 -05:00
Franklin S. Cooper Jr
9e1ca2d9e1 sitara-linux-ti-staging: Create recipe for Sitara 3.14 kernel tree
* The Sitara 3.14 Kernel tree is based on the linux-ti-staging_3.14 recipe and
  kernel. However, the tree includes additional patches and configs.
* This tree is only meant for AM335x and AM437x

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-15 21:34:58 -05:00
Denys Dmytriyenko
5acd0c6914 linux-ti-staging: update with PM fixes for am43x
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 20:45:40 -05:00
Sam Nelson
97b82e4e18 pktlib: Update to explicitly include compile and install steps
- without this the compilation and install doesnot happen
  because of main make filename.
- Correct mistake on extra oemake options

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:35:42 -05:00
Denys Dmytriyenko
1de9c6bd8d setup-defconfig: fix bashism
Reported by Francesco Del Degan

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:28:16 -05:00
Denys Dmytriyenko
6d96a4b09b linux-ti-staging: update with latest fixes in connectivity and A/D
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:28:13 -05:00
Denys Dmytriyenko
50adb4b8b6 u-boot 2015.01: prepare recipe for upcoming mainline 2015.01 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:28:10 -05:00
Denys Dmytriyenko
eb5d6cd6c5 u-boot-ti-staging: update with the latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:28:07 -05:00
Denys Dmytriyenko
5532d8df96 multi-kernel: update to work with latest code
Handle multi-config kernel builds with separate namespaces to allow installing
them side by side safely.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 11:08:15 -05:00
Sam Nelson
12691b5868 pktlib: Adds recipe for pklib component
- pktlib: provides library for handling packet descriptor for keystone devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:00 -05:00
Jacob Stiffler
b195119dc2 am57xx-evm, dra7xx-evm: ubifs: Increase "max_leb_cnt"
* This is needed for larger filesystem size.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 11:57:48 -05:00
Jacob Stiffler
549f3fcbff ti-ipc: Upgrade to IPC 3.30.01.12 GA.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 11:57:27 -05:00
Denys Dmytriyenko
91e70b16fc setup-defconfig: support combined defconfig with listed config fragments
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 11:57:00 -05:00
Sam Nelson
28cfd520fc mpm-transport: Update to new version 1.0.6.0
- Commit id and version updated to DEV.MPM-TRANSPORT-01.00.06.00

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 11:55:14 -05:00
Sam Nelson
624c9b54dc sa-lld: Add recipes for SA module low level driver
- Provides library and test code for Security accelerator module
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:12 -05:00
Sam Nelson
b32b8c2838 pa-lld: Add recipes for PA low level driver and test code
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:06 -05:00
Denys Dmytriyenko
1b916ddb5f u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:31:22 -05:00
Denys Dmytriyenko
1d46274416 linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:31:15 -05:00
Denys Dmytriyenko
61ce5e9c6d am33x-cm3: update to version 0x190
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:31:07 -05:00
Sam Nelson
1c766f882d mpm-transport: Add new recipe for multiproc transport library and test code
- mpm-transport provide basic transport layer for moving data between different processing nodes
- Support communication with the process nodes using shared memory and hyperlink interface

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:43:11 -05:00
Sam Nelson
6d73d2d14b qmss-lld: Add new recipe for QMSS Module low level driver
- Provides low level driver and test code for Queue managment subsystem module
- Supports k2h, k2k, k2l k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:43:01 -05:00
Sam Nelson
2a3575bd28 cppi-lld: Add new recipe for CPPI Module low level driver
- Provides low level driver and test code for Communications port programming
  interface module
- Supports k2h, k2k, k2l k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:42:45 -05:00
Sam Nelson
8cde7b5f12 edma3-lld: add new recipe for edma3 low level driver
- Provides low level driver for EDMA3 module
- supports k2k, k2l, k2e evm platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-15 15:01:17 -05:00
Sam Nelson
d120100b58 mmap-lld; Add new recipe for mmap lld
- Provides memory map driver using Keystone MPAX module
- Test recipe is used to build test binaries using the mmap lld library
- Supports k2h, k2k & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-15 15:01:14 -05:00
Denys Dmytriyenko
0917a521b4 linux-ti-staging: update to 3.14.26, add new DTBs, sort configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-09 11:53:52 -05:00
Denys Dmytriyenko
e38ca73f01 u-boot-ti-staging: update 2014.07 with few fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:50:04 -05:00
Denys Dmytriyenko
a7fa5da29b linux-mainline: update to 3.14.25
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:49:56 -05:00
Denys Dmytriyenko
3134824488 linux-ti-staging: update to 3.14.25
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:49:47 -05:00
Sam Nelson
b8854f7969 hyplnk-lld: Add new recipe for Hyperlink lld
- Provides low level driver for Hyperlink module
- Test recipe is used to build tests and examples using
  the hyperlink library.
- Supports k2h, k2k & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-12 14:32:49 -05:00
Denys Dmytriyenko
733cf9f484 dra7xx: add "mmip" to MACHINE_FEATURES
This reverts commit ae064c55f3.
2014-11-03 20:38:41 -05:00
Sam Nelson
c06f259133 boot-monitor: Update to latest tag 14.09
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:41 -04:00
Sam Nelson
7915cfb478 u-boot-keystone: Update to latest tag 2013_01_14.09
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:31 -04:00
Sam Nelson
3fd55cb7ea linux-keystone: update to the latest tag 03.10.10_14.09_01
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:25 -04:00
Karthik Ramanan
19c88084c2 dspdce-fw: Updated dspdce firmware for latest IPC version
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:18 -04:00
Karthik Ramanan
9a2656cb37 ipumm-fw: Updated ipumm firmware for latest IPC version
* This includes the error handling support.
* Minor bug fixes
* Relax support for entire DRA7xx SOC family to cover AM57x

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:08 -04:00
Denys Dmytriyenko
80924d3bba u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:07:40 -04:00
Denys Dmytriyenko
a6f4056b62 linux-ti-staging 3.12: update to 3.12.30 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:07:34 -04:00
Denys Dmytriyenko
568100f386 linux-ti-staging 3.14: update to latest with connectivity, pm, a/d fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:07:23 -04:00
Denys Dmytriyenko
ae064c55f3 Revert "dra7xx: add "mmip" to MACHINE_FEATURES"
Results in gstreamer conflicts in SDK.

This reverts commit 2dce435ff1.
2014-10-10 14:55:44 -04:00
Enric Balletbo i Serra
cbd2f82aad ti-linuxutils: Fix build problems for kernel up to 3.17
Add to patches to fix the build of cmemk and sdmak kernel modules.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:49:57 -04:00
Enric Balletbo i Serra
c9f00172ad ti-dsplink: Fix irq mismatch for kernel versions greater than 3.7.0.
Commit 7d7e1eb (ARM: OMAP2+: Prepare for irqs.h removal) and commit
ec2c082 (ARM: OMAP2+: Remove hardcoded IRQs and enable SPARSE_IRQ)
from kernel updated the way interrupts for OMAP2/3 devices are defined.

Fix irq number as dsplink misses to add the NR_IRQS relative offset.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:49:36 -04:00
Enric Balletbo i Serra
175d1d4715 ti-dmai: Fix build with recent kernels and compilers.
Remove unused includes that only redefine some typedefs already defined in
other includes and add the --sysroot flag to fix a linkage problem.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:49:24 -04:00
Jacob Stiffler
2f6b824501 ti-ipc: Upgrade to IPC 3.30.00.09
* Added new recipe for latest IPC
* Removed older recipe versions
* Latest recipe points to IPC 3.30.00.09

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:32:57 -04:00
Jacob Stiffler
2dce435ff1 dra7xx: add "mmip" to MACHINE_FEATURES
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:28:29 -04:00
Sam Nelson
a085e612c5 rm-lld: Rename recipe and update to new version
- Removed ti-prefix based on review
- Update to new version 2.1.0.6
- Add dependency on libdaemon
- Remove device dependency
- Updated license to BSD-3-Clause

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:27:22 -04:00
Sam Nelson
b9c234ffe3 ti-rm: Move from meta-arago to meta-ti
- Moved recipe from meta-arago based on review comments
- Provides resource manager low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:27:15 -04:00
Denys Dmytriyenko
474aa34965 linux-mainline 3.14: update to 3.14.20
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:50:12 -04:00
Denys Dmytriyenko
77ca7ec962 linux-ti-staging 3.12: update to 3.12.29
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:50:06 -04:00
Denys Dmytriyenko
e8df8ef878 linux-ti-staging 3.14: update with latest fixes
non-smp configuration has moved to the kernel

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:49:58 -04:00
Denys Dmytriyenko
51621f90c1 boot-monitor: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Otherwise fails with the below error, similar to am33x-cm3:

fatal error: gnu/stubs-soft.h: No such file or directory

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 18:44:30 -04:00
Sam Nelson
9d2046b7c2 uio-module-drv: Add new recipe for user space io driver
- Provides User space IO driver for on-chip modules

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:28:09 -04:00
Sam Nelson
bc68ca3a01 common-csl-ip: Update to csl version 2.1.0.5
- Updated description
- Updated LICENSE to BSD-3-Clause
- Updated Commit id
- Removed trailing whitespaces

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:23:09 -04:00
Sam Nelson
b31045066f common-csl-ip: (ti-csl) Moved from meta-arago and renamed
- Moved from meta-arago (where it was called ti-csl_git.bb)
  http://arago-project.org/git/?p=meta-arago.git;a=blob_plain;f=meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb;hb=HEAD
- Renamed it to common-csl-ip_git.bb
- This package provides chip support library interface files

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:22:22 -04:00
Karthik Ramanan
3baa3aeaeb omap5-sgx-ddk-um-linux: Updated SRCREV to include bugfixes
* This version is compatible with version Kernel 3.12

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:03:48 -04:00
Karthik Ramanan
08c8277270 bltsville: Updated SRCREV to the latest
* Contains incremental updates and bug fixes

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:03:45 -04:00
Karthik Ramanan
937b7408f2 omapdrm-pvr: recipe update for SGX KM compatible with Kernel 3.12
* Also adapted recipe to directory restructuring

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:03:41 -04:00
Denys Dmytriyenko
f1df325eb0 linux-ti-staging: update with fixes in platform, connectivity and A/D
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-29 15:56:40 -04:00
Denys Dmytriyenko
df04699e3a linux-mainline: update to version 3.14.19
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:13:05 -04:00
Denys Dmytriyenko
26511e179e u-boot-ti-staging: update with numerous fixes on top of 2014.07
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:13:01 -04:00
Denys Dmytriyenko
7817d03f04 linux-ti-staging: update to 3.14.19 with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:57 -04:00
Denys Dmytriyenko
630f9e198e am33x-cm3: update to version 0x189
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:54 -04:00
Khem Raj
41dd39e0ed am33x-cm3: Add TOOLCHAIN_OPTIONS to redefined CC
This error will show up when using sstate which was generated
using a different buiid time sysroot. Since we override CC we
still need to honor --sysroot which is specified via TOOLCHAIN_OPTIONS

Fixes

| DEBUG: Executing shell function do_compile
|      CC       src/sys_exec/sys_init.o
| In file included from src/sys_exec/rsc_table.h:13:0,
|                  from src/sys_exec/sys_init.c:19:
|
/home/ubuntu/work/angstrom/build/tmp-angstrom_next-glibc/sysroots/x86_64-linux/usr/lib/arm-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.9.2/include/stdint.h:9:26:
fatal error: stdint.h: No such file or directory
|  # include_next <stdint.h>
|                           ^
| compilation terminated.
| make: *** [src/sys_exec/sys_init.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 12:29:47 -04:00
Denys Dmytriyenko
0c73d5f105 dra7xx: add "pci" to MACHINE_FEATURES
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-11 10:43:03 -04:00
Denys Dmytriyenko
0a0687943d vpe-vpdma: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Similar fix as 7b8ee4026e, see for more details.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-11 10:42:53 -04:00
Denys Dmytriyenko
b236fc5ea3 am33x-cm3: add voltage scaling binaries
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-08 18:00:26 -04:00
Denys Dmytriyenko
21a478d55a linux-ti-staging: update with A&D merge, add new DTBs for AM437x-SK and J6Eco
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-08 10:29:20 -04:00
Peter A. Bigot
169647d3dc linux-ti-staging_3.14: make kernel origin configurable
Using variables for KERNEL_GIT_URI and KERNEL_GIT_PROTOCOL allows layer
bbappends to specify local repositories to test of pending changes that
are not available in the official TI kernel, without requiring
duplication of config fragments specified in SRC_URI in the base recipe.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-08 10:29:03 -04:00
Denys Dmytriyenko
2870012425 linux-ti-staging: fix breakage in rpmsg/rproc caused by the merge
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:29:30 -04:00
Denys Dmytriyenko
ea17f7e17e linux-ti-staging: merge audio/display changes, drop local SGX-related patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:01:00 -04:00
Denys Dmytriyenko
f4b716c066 linux-mainline 3.14: update to the latest stable 3.14.17 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:00:52 -04:00
Denys Dmytriyenko
3cad087222 linux-ti-staging 3.12: update to the latest stable 3.12.27 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:00:45 -04:00
Denys Dmytriyenko
517864123d linux-ti-staging: update to the latest rev and add wlan config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-03 12:41:15 -04:00
Denys Dmytriyenko
41457c50e2 machine: clean up MACHINE_FEATURES for omap5, dra7, am57
* Enable "sgx" feature on all - the driver may still be missing, but GLES is
  available from omap5-sgx-ddk-linux package
* Enable "touchscreen" feature only on dra7 and am57 - not available on omap5

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-29 12:36:34 -04:00
Denys Dmytriyenko
3844eea82c u-boot-ti-staging: update with DRA7 and AM335 ENV/FAT/SD changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-20 20:08:06 -04:00
Denys Dmytriyenko
7b8ee4026e am33x-cm3: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Since we are re-using the Linux cross-compiler to compile Cortex-M3 firmware
code and not a dedicated bare-metal compiler, we have to match the float ABI
for the compiler to find the correct gnu/stubs.h files. In other words, if we
built a hardfp compiler, it doesn't have the corresponding gnu/stubs-soft.h
header and fails when building anything non-hardfp. Even though float ABI
flag doesn't make any sense for Cortex-M3 build. The error looks like this:

|      CC       src/sys_exec/trace.o
|      CC       src/sys_exec/sys_init.o
| In file included from /OE/sysroots/am335x-evm/usr/include/features.h:402:0,
|                  from /OE/sysroots/am335x-evm/usr/include/stdint.h:25,
|                  from /OE/sysroots/x86_64-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/include/stdint.h:9,
|                  from src/sys_exec/rsc_table.h:13,
|                  from src/sys_exec/sys_init.c:19:
| /OE/sysroots/am335x-evm/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
|  # include <gnu/stubs-soft.h>
|                              ^
| compilation terminated.
| Makefile:51: recipe for target 'src/sys_exec/sys_init.o' failed
| make: *** [src/sys_exec/sys_init.o] Error 1

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-18 18:38:30 -04:00
Denys Dmytriyenko
96cf07485b linux-ti-staging: update to 3.14.17 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-14 12:34:38 -04:00
Denys Dmytriyenko
a817ad5826 am33x-cm3: update with version 1.8.7
* Move repo to git.ti.com
* Bump PE due to versioning schema change
* Drop init scripts needed back in 3.8 days

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-12 17:52:31 -04:00
Denys Dmytriyenko
9e7c32cb67 beaglebone.conf: use correct UBOOT_MACHINE
Previous patch introduced a typo, the correct name is am335x_boneblack_config.

Thanks to Diego Sueiro <diego.sueiro@gmail.com> for spotting it.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-12 17:52:23 -04:00
Alexandre Belloni
7eeebc0f79 beaglebone: use the am335x_boneblack u-boot configuration
Using the am335x_boneblack configuration for u-boot allows to save the
environment to the emmc. Else, it is not possible to save the
environment at all.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 21:45:12 -04:00
Denys Dmytriyenko
b7b9bfe61c linux-ti-staging: update to 3.14.16 with am57xx and other updates
Add am57xx-beagle-x15.dtb to the list of installed dra7xx DTB files.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 21:44:02 -04:00
Franklin S. Cooper Jr
f54041ddbd am57xx-evm: Update the config name used in U-boot for this board
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 20:08:57 -04:00
Denys Dmytriyenko
2275b0b824 omap3-sgx-modules: update one of Darren's patches to match change in 3.14 API
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-05 13:06:22 -04:00
Denys Dmytriyenko
aa289a01a1 linux-ti-staging 3.14: update to latest 3.14.15
Update SGX patching, as now being partially upstreamed to the kernel.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-05 13:06:14 -04:00
Denys Dmytriyenko
4d94495508 linux-ti-staging 3.12: update to latest 3.12.26
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-04 16:48:03 -04:00
Denys Dmytriyenko
e5eaf3bef4 omap3-sgx-modules 5.01.01.01: add Darren's patches to work with 3.14 kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-31 19:12:05 -04:00
Denys Dmytriyenko
a565ad89a4 linux-ti-staging: add Darren's SGX patches to make graphics work with 3.14
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-31 19:11:54 -04:00
Denys Dmytriyenko
c82bcd1922 u-boot-ti-staging: add TI staging version of u-boot 2014.07
Mainline version of 2014.07 will be pushed to mainline OE-Core soon.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-29 20:31:49 -04:00
Denys Dmytriyenko
344c440263 linux-ti-staging: update to 3.14.14 with wlcore defconfig changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-29 20:31:38 -04:00
Denys Dmytriyenko
fd4246e492 u-boot: update to 2014.07 release version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-25 13:05:08 -04:00
Franklin S. Cooper Jr
89d290eca3 am57xx-evm.conf: Use correct TTY port
* This machine config is based on dra7xx-evm.conf.
* However, due to differences in the boards a different serial console is used.
* Update port for the am57xx-evm (GP).

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-23 16:15:04 -04:00
Denys Dmytriyenko
6070bc9d97 linux-ti-staging: update to the latest source with new config fragments
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-18 16:29:41 -04:00
Maupin, Chase
c58a5d88a2 vis: inhibit package strip for DSP binaries
* These binaries are for the DSP and the strip command in the
  ARM compiler does not work on them.  Without this the following
  error is seen:
    * ERROR: runstrip: ''arm-linux-gnueabihf-strip' --remove-section=.comment
      --remove-section=.note '<PATH>/dra7-dsp1-fw-radio.xe66'' strip
      command failed

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:45:19 -04:00
Maupin, Chase
13ce1b64d4 Update dra7xx-evm settings to use dra7xx SOC_FAMILY
* Update to use the dra7xx SOC_FAMILY instead of the specific
  dra7xx-evm machine type.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:56 -04:00
Maupin, Chase
ab34a9cb30 dra7xx-evm: Use dra7xx include
* Update the include file used to the dra7xx.inc file which
  brings access to the dra7xx SOC_FAMILY

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:49 -04:00
Maupin, Chase
ff0b3236c4 am57xx-evm: Add the AM57xx machine type
* Add the AM57xx machine type which is used to differentiate
  between the AM57xx and the DRA7xx which are derivative devices
  with different HW platforms and SoC capabilities.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:43 -04:00
Maupin, Chase
5c074704d4 dra7xx: create DRA7xx include file for new SOC Family
* Create the dra7xx.inc file which inherits the omap-a15.inc file
  and then adds the dra7xx as another valid SOC_FAMILY setting.
* The addition of the dra7xx SOC_FAMILY is done while still keeping
  access to the omap-a15 family.  What this means is that omap-a15
  can apply to omap5-evm, dra7xx-evm, and am57xx-evm.  Then the
  dra7xx family can be used to differentiate between omap5 and
  dra7xx based devices.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:37 -04:00
Ash Charles
4e17ed6921 Conditionally set ${TOOLCHAIN_PATH} used by some recipes
Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:23 -04:00
Cody P Schafer
1e7c1fd731 libgles-omap3: add already-stripped to INSANE_SKIP to fix build in poky
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:44:11 -04:00
Denys Dmytriyenko
0c5e4a5c84 u-boot: switch from SPL/MLO to "ais" image for omapl138 SOCs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Tom Rini <trini@ti.com>
2014-07-02 15:44:01 -04:00
Denys Dmytriyenko
5dad1bc02d linux-ti-staging: temporarily lower default priority due to sgx breakage
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:14 -04:00
Denys Dmytriyenko
8c41ce2b54 linux-mainline: update to use linux-3.14.y stable branch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:06 -04:00
Denys Dmytriyenko
6b504496d7 u-boot-am37x: remove old machine-specific version in favor of mainline
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:00 -04:00
Denys Dmytriyenko
7241b9d0c2 conf/machine: update legacy machines to use latest mainline kernel and u-boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:16:53 -04:00
Denys Dmytriyenko
65a3d9a04d recipes: consolidate firmware recipes under recipes-bsp in own directories
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:53:15 -04:00
Denys Dmytriyenko
4b0995edb1 libgles-omap3, omap3-sgx-modules: remove old 4.8.x and 5.x versions
Leave 4.9 as the last release providing softfp binaries and x11 support.
Leave 4.5 for now as being widely used on legacy omap3 devices.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:52:41 -04:00
Denys Dmytriyenko
6e83b4130e u-boot: remove old platform-specific versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:51:57 -04:00
Denys Dmytriyenko
eba101cc81 linux: remove old platform-specific 2.6.37 kernels
Most of the legacy devices should be working fine with latest kernels,
either ti-staging or mainline.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:51:19 -04:00
Ash Charles
20b214200d ti-dmai: Allow do_prepsources to run release.sh
The do_prepsources task runs after do_unpack at which point the
${S}/patches directory has been created.  In the last step of
do_prepsources, code should be copied over to ${S} by the release.sh
script.  However, this script silently fails if the target directory
(${S}) is not empty---it contains the 'patches' directory.  The
failure manifests in the do_patch step when trying to applying patches
against the source which wasn't populated by release.sh.

Here, we pre-emptively clean out the directory release.sh intends to
use.  The patch directory is re-created by the do_patch step.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:47:13 -04:00
Ash Charles
ec85fc2d3b Use INSANE_SKIP_${PN} = "installed-vs-shipped"
A number of recipes in recipes-ti install more files than are
packaged causing lots of QA errors.  We choose to ignore these.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:47:09 -04:00
Ash Charles
c725d8334f gstreamer-ti: Revert to build in place ${B} = ${S}
This recipe use autotools and breaks when built out-of-tree
(${B} != ${S}).

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:47:04 -04:00
Scott Ellis
e10d7fe4e9 gstreamer-ti: Break packages into dev and staticdev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:46:58 -04:00
Scott Ellis
66abb4452e Remove deprecated update-modules from recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:46:54 -04:00
Franklin S. Cooper Jr
5f5ce539b9 u-boot-ti-staging:_2013.10: Update to pull in critical fixes
* Critical fixes have been added to the ti-u-boot-2013.10 branch for AM4x.
* Update commit id to point to this new commit.
* For all other platforms nothing should have changed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 12:23:47 -04:00
Denys Dmytriyenko
347189b906 linux-ti-staging: add device trees for legacy omap3 devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:41:21 -04:00
Denys Dmytriyenko
034971520f linux-ti-staging: update to latest 3.14 stable, as being LTS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:41:13 -04:00
Denys Dmytriyenko
c77be96781 machine configs: set optimized hardfp DEFAULTTUNE if not set
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:41:05 -04:00
Denys Dmytriyenko
d8c5571b1b linux-mainline: update to 3.14.8 and enable legacy omap3 devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:40:48 -04:00
Hao Zhang
4fcc5d8c08 keystone: config: fix K2L boot monitor build target name error
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:23:14 -04:00
Maupin, Chase
15d14fa675 u-boot: remove old mainline versions
* Remove old mainline u-boot versions since the latest version
  has better support for TI platforms.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:21:40 -04:00
Maupin, Chase
ca565599c2 u-boot: Add mainline u-boot version 2014.07-rc3
* The latest mainline u-boot works well for most TI devices and
  we want to enable more people to use and test it.  Adding
  version 2014.07-rc3 will allow more people to build and use this
  u-boot version
* Add a dependency on dtc-native since the latest mainline of u-boot
  now requires this and not every build host will have the right
  version.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:20:40 -04:00
Denys Dmytriyenko
a518c83ef5 am180x-evm: don't request ubi FS w/o setting MKUBIFS and UBINIZE vars
It was ignored previously, but now it breaks the build.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:18:36 -04:00
Denys Dmytriyenko
00dbaa9e85 Revert "dra7xx-evm: Add sgx to MACHINE_FEATURES"
Since sgx support is broken for newer kernels and Qt4, disable it for now
until Qt5 becomes default and kernel drivers are updated.

This reverts commit f9253dc88f.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-13 10:43:59 -04:00
Hao Zhang
45db1b50bd keystone: linux: add K2L and K2E DTB for RT build
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:30 -04:00
Hao Zhang
355e8633e5 keystone: linux: add K2E and K2L DTB build support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:28 -04:00
Denys Dmytriyenko
da24e97624 linux-ti-staging: lower the preference for 3.15 recipe for now
* It breaks libgles/SGX due to missing omafb/omafb.h header
* Will be switching to 3.14 instead for LTS

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2014-05-29 14:56:54 -04:00
Hao Zhang
931c8a045f keystone: u-boot: add build support for EMIF16 NAND gph image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-29 14:56:52 -04:00
Denys Dmytriyenko
d4ddeb2320 linux-ti-staging: fix _append/_prepend logic in prev changes
* Add a missing space to KERNEL_CONFIG_FRAGMENTS_append
* Use FILESEXTRAPATHS_prepend instead of _append version

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 23:21:37 -04:00
Maupin, Chase
5becd8dbae linux-ti-staging: Add version 3.15 of TI integration kernel
* Add version 3.15 of the TI integration kernel.  Major changes
  from previous version are:
    * Config fragments now come primarily from the integration
      tree.  Removed baseport and connectivity fragments for now
      and the others can be removed as they are added to the
      integration tree.
    * Added a non-smp.cfg config to disable SMP for single core
      devices instead of using a patch to the defconfig file as
      we did in the past.
* Use the right SRCREV

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:59:08 -04:00
Maupin, Chase
593c10902a setup-defconfig: allow use of in-kernel config fragments
* Allow the use of in-kernel config fragments instead of only
  pulling config fragments from the OE meta data.
* The absolute path to the config fragment is used to allow
  pointing to different fragment locations.
* Update the linux-ti-staging_3.12 recipe which uses config
  fragments to specify the absolute path

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:54:57 -04:00
Maupin, Chase
33807817cb linux-ti-staging: Make files directory version specific
* As we add the next version of the linux-ti-staging kernel there
  will be a different list of config fragments, removed patches,
  etc.  For this reason it makes sense to have the file directory
  be version specific

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:54:51 -04:00
Maupin, Chase
07fe51c233 linux-ti-staging: Remove old 3.8 version
* The 3.8 version is replaced with v3.12 which has full support
  for all devices.
* As part of adding a v3.15 version cleanup the v3.8 version to
  reduce the number of kernels to latest and last stable.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:54:45 -04:00
Denys Dmytriyenko
30dc05eb33 linux-ti-staging: bump to 3.12.20 stable release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:54:40 -04:00
Denys Dmytriyenko
1ccfc1f256 omap5-sgx-ddk-um-linux: remove version 1.9.0.10 as replaced by 1.9.0.12
Also version 1.9.0.10 of the recipe doesn't have necessary PROVIDES and
results in conflicts with mesa and other gl/gles providers.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 14:54:34 -04:00
Andreas Müller
4331132e65 formfactor: : remove PRINC
last oe-core PR-bump was commited May 2nd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:42:26 -04:00
Andreas Müller
dd71096bb3 xserver-xf86-config_0.1: remove PRINC
last oe-core PR-bump was commited May 2nd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:42:24 -04:00
Mrinmayee Hingolikar
27e836d56d omap5-sgx-ddk-um-linux: Add version 1.9.0.12
* Pulled in latest version 1.9.0.12 from meta-ti-gsldk and
  preserved authorship for Mrinmayee
* Mark this recipe as providing the gles1, gles2, and egl
  libraries so that it doesn't conflict with other recipes like
  mesa and will be pulled in to satisfy those dependencies

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:23:34 -04:00
Maupin, Chase
afad60025d dra7xx-evm: Add sgx to MACHINE_FEATURES
* Add sgx to the MACHINE_FEATURES so that the dra7xx-evm can
  start including sgx libraries.  NOTE: currently there are
  no driver modules that work with v3.12 of the Linux kernel
  but this does work with version 3.8.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:59 -04:00
Mrinmayee Hingolikar
99970bb459 bltsville: Add TI BLTsville library
* Migrated from meta-ti-glsdk and preserved authorship for
  Mrinmayee
* This library allows use of the GC320 2D blitter
* Modified for upstream:
    * LICENSE was changed to BSD-3-Clause but the TI-TSPA license
      is still present as well so modified this to be a dual
      license package.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:56 -04:00
Karthik Ramanan
f59f3e03c7 vis: Add radio application firmware
* Migrated from meta-ti-glsdk and preserved authorship for
  Karthik
* Modified for upstream:
    * Made PACKAGE_ARCH machine specific
    * Removed bogus HOMEPAGE setting
    * Separated the firmware into a ${PN}-fw package and left the
      ARM side RadioApp in the base package.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:52 -04:00
Mrinmayee Hingolikar
f8f298be41 dspdce-fw: Add DSP firmware recipe
* Migrated the dspdce-fw recipe from meta-ti-glsdk and
  preserved authorship for Mrinmayee.
* Cleaned up for upstream:
    * Removed the MACHINE name from the recipe name
    * Used MACHINE variable in SRC_URI
    * Update to use default variables such as base_libdir

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:49 -04:00
Mrinmayee Hingolikar
5770e1f791 ipumm-fw: Add MM accelerator firmware recipe
* Based on recipes from meta-ti-glsdk and preserved authorship
  for Mrinmayee
* Modified for upstreaming:
    * Combined the dra7xx-evm and omap5-evm versions into a
      shared recipe.  This changes the recipe name to just
      ipumm-fw.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:46 -04:00
Maupin, Chase
d91f59771e ti-ipc: Consolidate IPC recipes with include file
* Update the 3.00.00 and 3.21.00.07 versions of ti-ipc to use
  a common ti-ipc.inc file which combines the configuration and
  installation steps for both to be common.
* Modify the tiiipclad-daemon.sh script to have a replacement
  variable so that it can be used for more than a single device.
* Move the tiipclad-daemon script to the ti-ipc directory with
  the rest of the files used by this recipe.
* Fix the permissions for the tiipclad-daemon script

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:42 -04:00
Mrinmayee Hingolikar
2a86668af1 ti-ipc: Add version 3.21.00.07
* Added version 3.21.00.07 from the meta-ti-glsdk layer.
  Preserved authorship by Mrinmayee
* Cleaned up the recipe for upstream by removing the sed lines
  in do_configure and instead using EXTRA_OEMAKE values passed
  into the make process.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:40 -04:00
Maupin, Chase
74b7fd994d ti-ipc: Consolidate include file and old recipe
* The ti-ipc.inc file was for the legacy 1.24.00.16 version of
  ti-ipc.  So consolidate these files together since there is
  only one version of the ti-ipc recipe that needs that .inc
  file and there are no updates planned for it.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:37 -04:00
Hao Zhang
9c5900749c keystone: k2e-evm config: add k2e-evm machine config
Add a new k2e-evm machine config for Keystone II SoC family.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:17:28 -04:00
Hao Zhang
d85e6fc975 keystone: k2l-evm conf: add k2l-evm machine config
k2l-evm machine config shares the same Keystone SoC family, it has K2L EVM
specific machine configuration for UBI image, boot monitor, U-boot, etc.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:17:24 -04:00
Hao Zhang
bf320fe6f3 keystone: machine config: change machine config name from keystone-evm to k2hk-evm
Keystone II SOC family has multiple devices and EVMs: k2hk, k2l
and k2e, each EVM should have a separate machine config, and share
the common keystone SOC family.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:17:19 -04:00
Hao Zhang
f4caeed4c9 keystone: u-boot: rename tci6638 to k2hk evm config
Rename U-boot "tci6638_evm_config" to "k2hk_evm_config" to align
with DTB device name.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:17:14 -04:00
Denys Dmytriyenko
a0d7187ac2 linux-keystone: update to the latest tag 03.10.10_14.03_03
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:41:44 -04:00
Denys Dmytriyenko
1f9bdeab53 u-boot-keystone: update to the latest version
Modified version of the original patch from Sam Nelson

* Update source URL/REV
* Added SPI NOR binaries and deployed images

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:41:41 -04:00
681 changed files with 16837 additions and 12074 deletions

6
.gitignore vendored
View File

@@ -1,6 +0,0 @@
*.pyc
*.pyo
*.swp
*.orig
*.rej
*~

23
README
View File

@@ -1,4 +1,23 @@
Collection of layers for the OE-core universe
The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
Please see the respective READMEs in the layer subdirectories
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
source repository at git://git.yoctoproject.org/meta-ti
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
distributions and layer stacks, such as:
distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
Please follow the recommended setup procedures of your OE distribution.
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
Maintainers: Denys Dmytriyenko <denys@ti.com>

2
TODO
View File

@@ -1,2 +0,0 @@
This TODO list allows us to track certain actions and lists of patches that
need to be removed at a future date.

View File

@@ -1,52 +0,0 @@
{
"APPEND-1" : {
"skip_vars" : [ "ALTERNATIVE", "FILES", "INSANE_SKIP", "RDEPENDS", "RRECOMMENDS" ]
},
"APPEND-2" : {
"skip_vars" : [ "KERNEL_LOCALVERSION", "PR", "PV", "S" ],
"file_regex" : {
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr_\\S+\\.bb" : {
"skip_vars": [ "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
},
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr\\.inc" : {
"skip_vars": [ "TOOLS", "TOOLS_DEPS", "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
}
}
},
"GUARD-1" : {
"skip_files" : [
"meta-ti-bsp/recipes-core/udev/eudev_%.bbappend",
"meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend",
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend"
]
},
"GUARD-2" : {
"skip_vars" : [ "k3" , "ti-soc" ]
},
"GUARD-3" : {
"skip_files" : [
"meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend"
]
},
"PV-1" :{
"skip_files" : [
"meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb",
"meta-ti-bsp/recipes-multimedia/ti-multimedia-udev/ti-multimedia-udev.bb",
"meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb",
"meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb",
"meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb",
"meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts_git.bb",
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb",
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb",
"meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb",
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
]
},
"SUMMARY-1" : {
"skip_files" : [
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
]
}
}

20
conf/layer.conf Normal file
View File

@@ -0,0 +1,20 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "6"
LICENSE_PATH += "${LAYERDIR}/licenses"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-ipc \
cmem-mod \
hplib-mod \
gdbserverproxy-module-drv \
debugss-module-drv \
uio-module-drv \
"

View File

@@ -0,0 +1,16 @@
#@TYPE: Machine
#@NAME: AM180x CPUs on an AM180x EVM board
#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "da850_am18xxevm_config"
UBOOT_SUFFIX = "ais"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyS2"

View File

@@ -4,12 +4,14 @@
require conf/machine/include/ti33x.inc
MACHINE_FEATURES += "screen touchscreen"
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
IMAGE_FSTYPES += "ubi tar.gz"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLE = "115200 ttyO0"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -22,7 +24,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 18000"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4200"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
@@ -30,4 +32,4 @@ MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 18000"
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512 -O 2048"
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -0,0 +1,35 @@
#@TYPE: Machine
#@NAME: AM3517 EVM
#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyO2"
USE_VT = "2"
UBOOT_MACHINE = "am3517_evm_config"
XLOAD_MACHINE = "am3517evm_config"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -0,0 +1,31 @@
#@TYPE: Machine
#@NAME: AM37x EVM
#@DESCRIPTION: Machine configuration for the TI AM37x EVM
require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyO0"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -4,11 +4,14 @@
require conf/machine/include/ti43x.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLES = "115200;ttyS0"
SERIAL_CONSOLE = "115200 ttyO0"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -21,7 +24,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 10000"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1918"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -0,0 +1,34 @@
#@TYPE: Machine
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO2"
UBOOT_MACHINE = "beagle_x15_config"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5120"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -0,0 +1,36 @@
#@TYPE: Machine
#@NAME: Beagleboard machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
require conf/machine/include/omap3.inc
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"
SERIAL_CONSOLE = "115200 ttyO2"
UBOOT_MACHINE = "omap3_beagle_config"
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
#
# Beagleboard C5 has 3998 LEBS (490MiB)
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
# For a modularized kernel we want to drag in networking, sound, rtc etc."
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "am335x_boneblack_config"

View File

@@ -2,26 +2,13 @@
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/am57xx.inc
require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS0"
IMAGE_FSTYPES += "ubi tar.gz"
KERNEL_DEVICETREE_PREFIX = " \
dra7 \
ti/dra7 \
ti/lcd \
ti/omap/dra7 \
"
KERNEL_DEVICETREE = " \
ti/omap/dra7-evm.dtb \
ti/omap/dra71-evm.dtb \
ti/omap/dra72-evm.dtb \
ti/omap/dra72-evm-revc.dtb \
ti/omap/dra76-evm.dtb \
"
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "dra7xx_evm_config"
@@ -36,7 +23,7 @@ UBOOT_MACHINE = "dra7xx_evm_config"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5120"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -0,0 +1,21 @@
require conf/machine/include/tune-arm926ejs.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r53"
KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_MACHINE = "davinci_dvevm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot"
SERIAL_CONSOLE ?= "115200 ttyS0"
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"

View File

@@ -0,0 +1,4 @@
require conf/machine/include/omap-a15.inc
SOC_FAMILY_append = ":dra7xx"
MACHINE_FEATURES += "pci"

View File

@@ -0,0 +1,23 @@
SOC_FAMILY = "keystone"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-keystone"
PREFERRED_PROVIDER_u-boot = "u-boot-keystone"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r8"
KERNEL_IMAGETYPE = "uImage"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "boot-monitor"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"

View File

@@ -0,0 +1,34 @@
SOC_FAMILY = "omap-a15"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r7"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
GUI_MACHINE_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
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 sgx mmip"

View File

@@ -0,0 +1,39 @@
SOC_FAMILY = "omap3"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-omapfb \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r126"
KERNEL_IMAGETYPE = "uImage"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"
XLOAD_MACHINE = "omap3evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# If SPL is not used, may need to add x-load
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen/ethernet for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"

View File

@@ -0,0 +1,26 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xserver-xorg-module-exa \
xf86-input-evdev \
xf86-video-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
KERNEL_IMAGETYPE = "zImage"
UBOOT_MACHINE = "omap4_panda_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot"

View File

@@ -0,0 +1,2 @@
SOC_FAMILY = "omapl138"
require conf/machine/include/soc-family.inc

View File

@@ -0,0 +1,42 @@
SOC_FAMILY = "ti33x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r22"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"

View File

@@ -0,0 +1,42 @@
SOC_FAMILY = "ti43x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"

30
conf/machine/k2e-evm.conf Normal file
View File

@@ -0,0 +1,30 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/keystone.inc
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

View File

@@ -0,0 +1,30 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2HK machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
require conf/machine/include/keystone.inc
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

30
conf/machine/k2l-evm.conf Normal file
View File

@@ -0,0 +1,30 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2L machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
require conf/machine/include/keystone.inc
UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: physical eraseblock size: 256 KiB
# UBI: sub-page size: 4096
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"

View File

@@ -0,0 +1,34 @@
#@TYPE: Machine
#@NAME: OMAP3 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "jffs2 tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyS0"
USE_VT = "0"
EXTRA_IMAGEDEPENDS += "x-load"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -0,0 +1,32 @@
#@TYPE: Machine
#@NAME: OMAP5 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
require conf/machine/include/omap-a15.inc
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO2"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
UBOOT_MACHINE = "omap5_uevm_config"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: Pandaboard
#@DESCRIPTION: Machine configuration for the OMAP4430 Panda
require conf/machine/include/omap4.inc
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyO2"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"

View File

@@ -1,17 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,31 +0,0 @@
OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
source repository at git://git.yoctoproject.org/meta-ti
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: master
URI: git://git.yoctoproject.org/meta-ti
branch: master
revision: HEAD
layers: meta-ti-bsp
Send pull requests, patches, comments or questions to:
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@konsulko.com>
Ryan Eatmon <reatmon@ti.com>

View File

@@ -1,20 +0,0 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it to the mailing list:
https://lists.yoctoproject.org/g/meta-ti
If you are dealing with a not-yet released or urgent issue, please send a
message to one of the maintainers listed in the README. Include as many
details as possible:
- the layer or software module affected
- the recipe and its version
- any example code, if available
Branches maintained with security fixes
---------------------------------------
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
releases. We only accept patches for the LTS releases and the master branch.

View File

@@ -1,17 +0,0 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-beagle"
BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-beagle = "6"
LAYERSERIES_COMPAT_meta-beagle = "whinlatter"
LAYERDEPENDS_meta-beagle = " \
meta-ti-bsp \
"
HOSTTOOLS_NONFATAL += "lz4c"

View File

@@ -1,48 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
require conf/machine/include/am57xx.inc
require conf/machine/include/beagle-bsp.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/omap/am57xx-beagle-x15 \
ti/omap/am57xx-idk-lcd \
"
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/omap/am571x-idk.dtb \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/omap/am571x-idk.dtb \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-evm-ov10635.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE = "am57xx_evm_config"

View File

@@ -1,8 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBone AI-64 (R5F)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"

View File

@@ -1,95 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBone AI-64 (A72)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
require conf/machine/include/j721e.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
SPL_BINARY = "tispl.bin_unsigned"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j721e \
"
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-ethfw.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-ina2xx.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-pcie1-ep.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk.dtb \
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-ethfw.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-pcie1-ep.dtbo \
ti/k3-j721e-evm-pcie-ntb.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-evm-ub954.dtbo \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk.dtb \
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
# TI has moved a driver out of its kernel tree and into an out of tree module.
# We need to not include that for older kernels since the module is still in
# the kernel.
TI_VXE_VXD_DRIVER:bsp-bb_org-6_6 = ""

View File

@@ -1,62 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
require conf/machine/include/beagle-bsp.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/omap/am335x-bone \
ti/omap/am335x-pocketbeagle \
ti/omap/am335x-sancloud-bbe \
"
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-revd.dtb \
ti/omap/am335x-boneblack-uboot.dtb \
ti/omap/am335x-boneblack-uboot-univ.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-gateway.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
ti/omap/am335x-evm.dtb \
ti/omap/am335x-evmsk.dtb \
ti/omap/am335x-icev2.dtb \
ti/omap/am335x-osd3358-sm-red.dtb \
ti/omap/am335x-pocketbeagle.dtb \
ti/omap/am335x-sancloud-bbe.dtb \
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
ti/omap/am335x-sancloud-bbe-lite.dtb \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-revd.dtb \
ti/omap/am335x-boneblack-uboot.dtb \
ti/omap/am335x-boneblack-uboot-univ.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-eco.dtb \
ti/omap/am335x-bonegreen-gateway.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
ti/omap/am335x-evm.dtb \
ti/omap/am335x-evmsk.dtb \
ti/omap/am335x-icev2.dtb \
ti/omap/am335x-osd3358-sm-red.dtb \
ti/omap/am335x-pocketbeagle.dtb \
ti/omap/am335x-sancloud-bbe.dtb \
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
ti/omap/am335x-sancloud-bbe-lite.dtb \
"
MACHINE_GUI_CLASS = "bigscreen"
MACHINE_FEATURES += "screen"
SERIAL_CONSOLES = "115200;ttyS0"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (R5F)
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
require conf/machine/beagleplay-ti-k3r5.conf
require conf/machine/include/beagle-bsp.inc

View File

@@ -1,62 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/beagleplay-ti.conf
require conf/machine/include/beagle-bsp.inc
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-minimal.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3301.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3351.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-ecap-capture.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"

View File

@@ -1,11 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleY AI (R5F)
#@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_r5_defconfig"

View File

@@ -1,108 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleY AI (A53)
#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
require conf/machine/include/j722s.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_a53_config"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am67a \
ti/k3-j722s \
"
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-am67a-beagley-ai.dtb \
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
ti/k3-am67a-beagley-ai-spidev0.dtbo \
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
ti/k3-j722s-evm-csi2-ov5640.dtbo \
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
ti/k3-j722s-evm.dtb \
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
ti/k3-j722s-evm-pwm.dtbo \
ti/k3-j722s-evm-v3link-fusion.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-am67a-beagley-ai.dtb \
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
ti/k3-am67a-beagley-ai-spidev0.dtbo \
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
ti/k3-j722s-evm.dtb \
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
ti/k3-j722s-evm-fpdlink-iv-fusion.dtbo \
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
ti/k3-j722s-evm-pwm.dtbo \
ti/k3-j722s-evm-v3link-fusion.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -1,47 +0,0 @@
# Use meta-ti-bsp "multi-BSP" facility to create a custom "bb_org" BSP profile
# with default preferences for Beagle platforms
# Default is bb_org-6_12, but can override with any of the existing options
TI_PREFERRED_BSP ?= "bb_org-6_12"
# ===========
# bb_org-6_12
# BeagleBoard.org kernel 6.12, u-boot 2025.04
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ===========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "25%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.12
MACHINE_FEATURES:remove:bsp-bb_org-6_12 = "gc320"
# ==========
# bb_org-6_6
# BeagleBoard.org kernel 6.6, u-boot 2024.10
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_6 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_6 = "6.6.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_6 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_6 = "2024.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_6 = ""
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "25%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
MACHINE_FEATURES:remove:bsp-bb_org-6_6 = "gc320"

View File

@@ -1,8 +0,0 @@
#@TYPE: Machine
#@NAME: PocketBeagle2 (R5F)
#@DESCRIPTION: Machine configuration for the PocketBeagle2 (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "am62_pocketbeagle2_r5_defconfig"

View File

@@ -1,58 +0,0 @@
#@TYPE: Machine
#@NAME: PocketBeagle2 (A53)
#@DESCRIPTION: Machine configuration for the PocketBeagle2 board (A53 core)
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
require conf/machine/include/beagle-bsp.inc
SOC_FAMILY:append = ":am62xx"
SERIAL_CONSOLES = "115200;ttyS2"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am62_pocketbeagle2_a53_defconfig"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am6232 \
ti/k3-am62-pocket \
"
KERNEL_DEVICETREE = " \
ti/k3-am6232-pocketbeagle2.dtb \
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3351.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62-pocketbeagle2-ardupilot-cape.dtbo \
ti/k3-am62-pocketbeagle2.dtb \
ti/k3-am62-pocketbeagle2-leds-off.dtbo \
ti/k3-am62-pocketbeagle2-techlab-cape.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-ecap-capture.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"

View File

@@ -1 +0,0 @@
CONFIG_BOOTCOMMAND="run bootcmd_ti_mmc"

View File

@@ -1,14 +0,0 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "beagle.*"
PV = "2024.10"
SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2024.10-Beagle"
SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9"

View File

@@ -1,19 +0,0 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
PV = "2025.10"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2025.10-Beagle"
SRCREV = "6825d60bea17774358f4199c4c7062801cfb931e"
BRANCH:pocketbeagle2 = "v2025.10-am62-pocketbeagle2"
BRANCH:pocketbeagle2-k3r5 = "v2025.10-am62-pocketbeagle2"
SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
SRCREV:pocketbeagle2-k3r5 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"

View File

@@ -1 +0,0 @@
use-kernel-config=bb.org_defconfig

View File

@@ -1 +0,0 @@
use-kernel-config=bb.org_defconfig

View File

@@ -1 +0,0 @@
CONFIG_FORTIFY_SOURCE=n

View File

@@ -1,67 +0,0 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# Extra DT overlays/capes
KERNEL_DEVICETREE:append:armv7a = " \
ti/omap/BB-ADC-00A0.dtbo \
ti/omap/BB-BBBW-WL1835-00A0.dtbo \
ti/omap/BB-BBGG-WL1835-00A0.dtbo \
ti/omap/BB-BBGW-WL1835-00A0.dtbo \
ti/omap/BB-BONE-4D5R-01-00A1.dtbo \
ti/omap/BB-BONE-eMMC1-01-00A0.dtbo \
ti/omap/BB-BONE-LCD4-01-00A1.dtbo \
ti/omap/BB-BONE-NH7C-01-A0.dtbo \
ti/omap/BB-CAPE-DISP-CT4-00A0.dtbo \
ti/omap/BB-HDMI-TDA998x-00A0.dtbo \
ti/omap/BB-I2C1-MCP7940X-00A0.dtbo \
ti/omap/BB-I2C1-RTC-DS3231.dtbo \
ti/omap/BB-I2C1-RTC-PCF8563.dtbo \
ti/omap/BB-I2C2-BME680.dtbo \
ti/omap/BB-I2C2-MPU6050.dtbo \
ti/omap/BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
ti/omap/BB-NHDMI-TDA998x-00A0.dtbo \
ti/omap/BBORG_COMMS-00A2.dtbo \
ti/omap/BBORG_FAN-A000.dtbo \
ti/omap/BBORG_RELAY-00A2.dtbo \
ti/omap/BB-SPIDEV0-00A0.dtbo \
ti/omap/BB-SPIDEV1-00A0.dtbo \
ti/omap/BB-UART1-00A0.dtbo \
ti/omap/BB-UART2-00A0.dtbo \
ti/omap/BB-UART4-00A0.dtbo \
ti/omap/BB-W1-P9.12-00A0.dtbo \
ti/omap/BONE-ADC.dtbo \
ti/omap/M-BB-BBG-00A0.dtbo \
ti/omap/M-BB-BBGG-00A0.dtbo \
ti/omap/PB-MIKROBUS-0.dtbo \
ti/omap/PB-MIKROBUS-1.dtbo \
"
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
# 6.12.34 version for 32-bit
SRCREV:armv7a = "9e419b26243bd7efcd103ae0f6456f828592b34b"
PV:armv7a = "6.12.34+git"
BRANCH:armv7a = "v6.12.34-ti-arm32-r12"
# 6.12.43 version for 64-bit
SRCREV:aarch64 = "84c4b4613a852db269620a3fdfed65de90569fa1"
PV:aarch64 = "6.12.43+git"
BRANCH:aarch64 = "v6.12.43-ti-arm64-r54"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"

View File

@@ -1,71 +0,0 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
COMPATIBLE_MACHINE = "beagle.*"
inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# Extra DT overlays/capes
KERNEL_DEVICETREE:append:armv7a = " \
ti/omap/AM335X-PRU-UIO-00A0.dtbo \
ti/omap/BB-ADC-00A0.dtbo \
ti/omap/BB-BBBW-WL1835-00A0.dtbo \
ti/omap/BB-BBGG-WL1835-00A0.dtbo \
ti/omap/BB-BBGW-WL1835-00A0.dtbo \
ti/omap/BB-BONE-4D5R-01-00A1.dtbo \
ti/omap/BB-BONE-eMMC1-01-00A0.dtbo \
ti/omap/BB-BONE-LCD4-01-00A1.dtbo \
ti/omap/BB-BONE-NH7C-01-A0.dtbo \
ti/omap/BB-CAPE-DISP-CT4-00A0.dtbo \
ti/omap/BB-HDMI-TDA998x-00A0.dtbo \
ti/omap/BB-I2C1-MCP7940X-00A0.dtbo \
ti/omap/BB-I2C1-RTC-DS3231.dtbo \
ti/omap/BB-I2C1-RTC-PCF8563.dtbo \
ti/omap/BB-I2C2-BME680.dtbo \
ti/omap/BB-I2C2-MPU6050.dtbo \
ti/omap/BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
ti/omap/BB-NHDMI-TDA998x-00A0.dtbo \
ti/omap/BBORG_COMMS-00A2.dtbo \
ti/omap/BBORG_FAN-A000.dtbo \
ti/omap/BBORG_RELAY-00A2.dtbo \
ti/omap/BB-SPIDEV0-00A0.dtbo \
ti/omap/BB-SPIDEV1-00A0.dtbo \
ti/omap/BB-UART1-00A0.dtbo \
ti/omap/BB-UART2-00A0.dtbo \
ti/omap/BB-UART4-00A0.dtbo \
ti/omap/BB-W1-P9.12-00A0.dtbo \
ti/omap/BONE-ADC.dtbo \
ti/omap/M-BB-BBG-00A0.dtbo \
ti/omap/M-BB-BBGG-00A0.dtbo \
ti/omap/PB-MIKROBUS-0.dtbo \
ti/omap/PB-MIKROBUS-1.dtbo \
"
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
# 6.6.58 version for 32-bit
SRCREV:armv7a = "3d519995234675748a38b1e3bc087baa03e3ac25"
PV:armv7a = "6.6.58+git"
BRANCH:armv7a = "v6.6.58-ti-arm32-r12"
# 6.6.58 version for 64-bit
SRCREV:aarch64 = "1de9481cd5749807550148086aea959295bd11db"
PV:aarch64 = "6.6.58+git"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r30"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
SRC_URI += "file://no-fortify.cfg"
KERNEL_CONFIG_FRAGMENTS += "${UNPACKDIR}/no-fortify.cfg"

View File

@@ -1,17 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,33 +0,0 @@
The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
source repository at git://git.yoctoproject.org/meta-ti
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: master
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
distributions and layer stacks, such as:
distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
Please follow the recommended setup procedures of your OE distribution.
Send pull requests, patches, comments or questions to:
meta-ti@lists.yoctoproject.org
Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/g/meta-ti
Maintainers:
Ryan Eatmon <reatmon@ti.com>
Denys Dmytriyenko <denys@konsulko.com>

View File

@@ -1,20 +0,0 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it to the mailing list:
https://lists.yoctoproject.org/g/meta-ti
If you are dealing with a not-yet released or urgent issue, please send a
message to one of the maintainers listed in the README. Include as many
details as possible:
- the layer or software module affected
- the recipe and its version
- any example code, if available
Branches maintained with security fixes
---------------------------------------
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
releases. We only accept patches for the LTS releases and the master branch.

View File

@@ -1,767 +0,0 @@
inherit ti-secdev kernel-uboot-legacyhs uboot-sign-legacyhs
FITIMAGE_HASH_ALGO ?= "sha1"
FITIMAGE_PACK_TEE ?= "0"
FITIMAGE_DTB_BY_NAME ?= "0"
FITIMAGE_TEE_BY_NAME ?= "0"
FITIMAGE_CONF_BY_NAME ?= "0"
python __anonymous () {
kerneltypes = d.getVar('KERNEL_IMAGETYPES') or ""
if 'fitImage' in kerneltypes.split():
depends = d.getVar("DEPENDS")
depends = "%s u-boot-mkimage-native dtc-native" % depends
d.setVar("DEPENDS", depends)
uarch = d.getVar("UBOOT_ARCH")
if uarch == "arm64":
replacementtype = "Image"
elif uarch == "mips":
replacementtype = "vmlinuz.bin"
elif uarch == "x86":
replacementtype = "bzImage"
elif uarch == "microblaze":
replacementtype = "linux.bin"
else:
replacementtype = "zImage"
# Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal
# to kernel.bbclass . We have to override it, since we pack zImage
# (at least for now) into the fitImage .
typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE") or ""
if 'fitImage' in typeformake.split():
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', replacementtype))
image = d.getVar('INITRAMFS_IMAGE')
if image:
d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
# Verified boot will sign the fitImage and append the public key to
# U-boot dtb. We ensure the U-Boot dtb is deployed before assembling
# the fitImage:
if d.getVar('UBOOT_SIGN_ENABLE'):
uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'
d.appendVarFlag('do_assemble_fitimage', 'depends', ' %s:do_deploy' % uboot_pn)
if d.getVar('FITIMAGE_PACK_TEE') == "1":
d.appendVarFlag('do_assemble_fitimage', 'depends', ' optee-os:do_deploy')
}
# Options for the device tree compiler passed to mkimage '-D' feature:
UBOOT_MKIMAGE_DTCOPTS ??= ""
fitimage_ti_secure() {
if test -f "${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh"; then
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh $1 $2
else
cp $1 $2
fi
}
#
# Emit the fitImage ITS header
#
# $1 ... .its filename
fitimage_emit_fit_header() {
cat << EOF >> ${1}
/dts-v1/;
/ {
description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";
#address-cells = <1>;
EOF
}
#
# Emit the fitImage section bits
#
# $1 ... .its filename
# $2 ... Section bit type: imagestart - image section start
# confstart - configuration section start
# sectend - section end
# fitend - fitimage end
#
fitimage_emit_section_maint() {
case $2 in
imagestart)
cat << EOF >> ${1}
images {
EOF
;;
confstart)
cat << EOF >> ${1}
configurations {
EOF
;;
sectend)
cat << EOF >> ${1}
};
EOF
;;
fitend)
cat << EOF >> ${1}
};
EOF
;;
esac
}
#
# Emit the fitImage ITS kernel section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to kernel image
# $4 ... Compression type
fitimage_emit_section_kernel() {
kernel_csum=${FITIMAGE_HASH_ALGO}
ENTRYPOINT="${UBOOT_ENTRYPOINT}"
if test -n "${UBOOT_ENTRYSYMBOL}"; then
ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \
awk '$4=="${UBOOT_ENTRYSYMBOL}" {print $2}'`
fi
cat << EOF >> ${1}
kernel-${2} {
description = "Linux kernel";
data = /incbin/("${3}");
type = "kernel";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "${4}";
load = <${UBOOT_LOADADDRESS}>;
entry = <${ENTRYPOINT}>;
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${kernel_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS DTB section
#
# $1 ... .its filename
# $2 ... Image counter/name
# $3 ... Path to DTB image
# $4 ... Load address
fitimage_emit_section_dtb() {
dtb_csum=${FITIMAGE_HASH_ALGO}
dtb_loadline="${4}"
cat << EOF >> ${1}
${2} {
description = "Flattened Device Tree blob";
data = /incbin/("${3}");
type = "flat_dt";
arch = "${UBOOT_ARCH}";
compression = "none";
${dtb_loadline}
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${dtb_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS TEE section
#
# $1 ... .its filename
# $2 ... Image counter/name
# $3 ... Path to TEE image
fitimage_emit_section_tee() {
tee_csum=${FITIMAGE_HASH_ALGO}
cat << EOF >> ${1}
${2} {
description = "OPTEE OS Image";
data = /incbin/("${3}");
type = "tee";
arch = "${UBOOT_ARCH}";
compression = "none";
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${tee_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS setup section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to setup image
fitimage_emit_section_setup() {
setup_csum=${FITIMAGE_HASH_ALGO}
cat << EOF >> ${1}
setup-${2} {
description = "Linux setup.bin";
data = /incbin/("${3}");
type = "x86_setup";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "none";
load = <0x00090000>;
entry = <0x00090000>;
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${setup_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS ramdisk section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to ramdisk image
fitimage_emit_section_ramdisk() {
ramdisk_csum=${FITIMAGE_HASH_ALGO}
ramdisk_ctype="none"
case $3 in
*.gz|*.gz.sec)
ramdisk_ctype="gzip"
;;
*.bz2|*.bz2.sec)
ramdisk_ctype="bzip2"
;;
*.lzma|*.lzma.sec)
ramdisk_ctype="lzma"
;;
*.lzo|*.lzo.sec)
ramdisk_ctype="lzo"
;;
*.lz4|*.lz4.sec)
ramdisk_ctype="lz4"
;;
esac
cat << EOF >> ${1}
ramdisk-${2} {
description = "ramdisk image";
data = /incbin/("${3}");
type = "ramdisk";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "${ramdisk_ctype}";
EOF
if test -n "${UBOOT_RD_LOADADDRESS}"; then
cat << EOF >> ${1}
load = <${UBOOT_RD_LOADADDRESS}>;
EOF
fi
if test -n "${UBOOT_RD_ENTRYPOINT}"; then
cat << EOF >> ${1}
entry = <${UBOOT_RD_ENTRYPOINT}>;
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${ramdisk_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS configuration section
#
# $1 ... .its filename
# $2 ... Linux kernel ID
# $3 ... DTB image ID/name
# $4 ... ramdisk ID
# $5 ... config ID
# $6 ... tee ID/name
# $7 ... default DTB ID
fitimage_emit_section_config() {
conf_csum=${FITIMAGE_HASH_ALGO}
if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then
conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
fi
sep=""
conf_desc=""
kernel_line=""
fdt_line=""
ramdisk_line=""
setup_line=""
default_line=""
if [ -n "${2}" ]; then
conf_desc="Linux kernel"
sep=", "
kernel_line="kernel = \"kernel-${2}\";"
fi
if [ -n "${3}" ]; then
conf_desc="${conf_desc}${sep}FDT blob"
sep=", "
fi
if [ -n "${4}" ]; then
conf_desc="${conf_desc}${sep}ramdisk"
sep=", "
ramdisk_line="ramdisk = \"ramdisk-${4}\";"
fi
if [ -n "${5}" ]; then
conf_desc="${conf_desc}${sep}setup"
sep=", "
setup_line="setup = \"setup-${5}\";"
fi
if [ -n "${6}" -a "x${FITIMAGE_PACK_TEE}" = "x1" ]; then
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ]; then
loadables_line="loadables = \"${6}.optee\";"
loadables_pager_line="loadables = \"${6}-pager.optee\";"
else
loadables_line="loadables = \"tee-${6}\";"
nextnum=`expr ${6} + 1`
loadables_pager_line="loadables = \"tee-${nextnum}\";"
fi
final_conf_desc="${conf_desc}${sep}OPTEE OS Image"
else
loadables_line=""
loadables_pager_line=""
final_conf_desc="${conf_desc}"
fi
default_dtb_count=${7}
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
default_conf_name="${FIT_CONF_DEFAULT_DTB}"
else
default_conf_name="conf-${default_dtb_count}"
fi
cat << EOF >> ${1}
default = "${default_conf_name}";
EOF
dtbcount=1
for DTB in ${KERNEL_DEVICETREE}; do
DTB=$(basename "${DTB}")
dtb_ext=${DTB##*.}
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
conf_name="${DTB}"
else
conf_name="conf-${dtbcount}"
fi
if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
fdt_line="fdt = \"${DTB}\";"
else
fdt_line="fdt = \"fdt-${dtbcount}\";"
fi
# Generate a single configuration section
cat << EOF >> ${1}
${conf_name} {
description = "${final_conf_desc}";
${fdt_line}
EOF
if [ "${dtb_ext}" != "dtbo" ]; then
cat << EOF >> ${1}
${kernel_line}
${ramdisk_line}
${setup_line}
${loadables_line}
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${conf_csum}";
};
EOF
fi
if [ ! -z "${conf_sign_keyname}" ] ; then
sign_line="sign-images = \"kernel\""
if [ -n "${3}" ]; then
sign_line="${sign_line}, \"fdt\""
fi
if [ -n "${4}" ]; then
sign_line="${sign_line}, \"ramdisk\""
fi
if [ -n "${5}" ]; then
sign_line="${sign_line}, \"setup\""
fi
sign_line="${sign_line};"
cat << EOF >> ${1}
signature-1 {
algo = "${conf_csum},rsa2048";
key-name-hint = "${conf_sign_keyname}";
${sign_line}
};
EOF
fi
cat << EOF >> ${1}
};
EOF
# End single config section
# Generate a single "pager" configuration section
if [ "${OPTEEPAGER}" = "y" ]; then
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
conf_name="${DTB}-pager"
else
conf_name="conf-${dtbcount}"
fi
cat << EOF >> ${1}
${conf_name} {
description = "${final_conf_desc}";
${fdt_line}
EOF
if [ "${dtb_ext}" != "dtbo" ]; then
cat << EOF >> ${1}
${kernel_line}
${ramdisk_line}
${setup_line}
${loadables_pager_line}
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${conf_csum}";
};
EOF
fi
if [ ! -z "${conf_sign_keyname}" ] ; then
sign_line="sign-images = \"kernel\""
if [ -n "${3}" ]; then
sign_line="${sign_line}, \"fdt\""
fi
if [ -n "${4}" ]; then
sign_line="${sign_line}, \"ramdisk\""
fi
if [ -n "${5}" ]; then
sign_line="${sign_line}, \"setup\""
fi
sign_line="${sign_line};"
cat << EOF >> ${1}
signature-1 {
algo = "${conf_csum},rsa2048";
key-name-hint = "${conf_sign_keyname}";
${sign_line}
};
EOF
fi
cat << EOF >> ${1}
};
EOF
fi
# End single config section
dtbcount=`expr ${dtbcount} + 1`
done
}
#
# Assemble fitImage
#
# $1 ... .its filename
# $2 ... fitImage name
# $3 ... include ramdisk
fitimage_assemble() {
kernelcount=1
dtbcount=""
ramdiskcount=${3}
setupcount=""
teecount=1
default_dtb_count=1
rm -f ${1} arch/${ARCH}/boot/${2}
fitimage_emit_fit_header ${1}
#
# Step 1: Prepare a kernel image section.
#
fitimage_emit_section_maint ${1} imagestart
uboot_prep_kimage
fitimage_ti_secure linux.bin linux.bin.sec
fitimage_emit_section_kernel ${1} "${kernelcount}" linux.bin.sec "${linux_comp}"
#
# Step 2: Prepare a DTB image section
#
if test -n "${KERNEL_DEVICETREE}"; then
dtbcount=1
dtboaddress="${UBOOT_DTBO_LOADADDRESS}"
for DTB in ${KERNEL_DEVICETREE}; do
if [ "${DTB}" = "${FIT_CONF_DEFAULT_DTB}" ]; then
default_dtb_count=${dtbcount}
fi
if echo ${DTB} | grep -q '/dts/'; then
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
fi
DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="arch/${ARCH}/boot/${DTB}"
fi
DTB=$(basename "${DTB}")
dtb_ext=${DTB##*.}
if [ "${dtb_ext}" = "dtbo" ]; then
if [ -n "${UBOOT_DTBO_LOADADDRESS}" ]; then
dtb_loadline="load = <${dtboaddress}>;"
num1=`printf "%d\n" ${dtboaddress}`
num2=`printf "%d\n" ${UBOOT_DTBO_OFFSET}`
num3=`expr $num1 + $num2`
dtboaddress=`printf "0x%x\n" $num3`
fi
elif [ -n "${UBOOT_DTB_LOADADDRESS}" ]; then
dtb_loadline="load = <${UBOOT_DTB_LOADADDRESS}>;"
fi
fitimage_ti_secure ${DTB_PATH} ${DTB_PATH}.sec
if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_dtb ${1} ${DTB} ${DTB_PATH}.sec "${dtb_loadline}"
else
fitimage_emit_section_dtb ${1} "fdt-${dtbcount}" ${DTB_PATH}.sec "${dtb_loadline}"
fi
if [ "x${dtbcount}" = "x1" ]; then
dtbref=${DTB}
fi
dtbcount=`expr ${dtbcount} + 1`
done
fi
#
# Step 2a: Prepare OP/TEE image section
#
if [ "x${FITIMAGE_PACK_TEE}" = "x1" ] ; then
mkdir -p ${B}/usr
rm -f ${B}/usr/${OPTEEFLAVOR}.optee
if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee" ]; then
cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee ${B}/usr/.
fi
TEE_PATH="usr/${OPTEEFLAVOR}.optee"
fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}.optee ${TEE_PATH}.sec
else
fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
fi
if [ "${OPTEEPAGER}" = "y" ]; then
teecount=`expr ${teecount} + 1`
rm -f ${B}/usr/${OPTEEFLAVOR}-pager.optee
if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee" ]; then
cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee ${B}/usr/.
fi
TEE_PATH="usr/${OPTEEFLAVOR}-pager.optee"
fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}-pager.optee ${TEE_PATH}.sec
else
fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
fi
fi
fi
#
# Step 3: Prepare a setup section. (For x86)
#
if test -e arch/${ARCH}/boot/setup.bin ; then
setupcount=1
fitimage_emit_section_setup ${1} "${setupcount}" arch/${ARCH}/boot/setup.bin
fi
#
# Step 4: Prepare a ramdisk section.
#
if [ "x${ramdiskcount}" = "x1" ] ; then
# Find and use the first initramfs image archive type we find
for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio; do
initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
initramfs_local="usr/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
echo "Using $initramfs_path"
if [ -e "${initramfs_path}" ]; then
fitimage_ti_secure ${initramfs_path} ${initramfs_local}.sec
fitimage_emit_section_ramdisk ${1} "${ramdiskcount}" ${initramfs_local}.sec
break
fi
done
fi
fitimage_emit_section_maint ${1} sectend
# Force the first Kernel and DTB in the default config
kernelcount=1
if test -n "${dtbcount}"; then
dtbcount=1
fi
teecount=1
#
# Step 5: Prepare a configurations section
#
fitimage_emit_section_maint ${1} confstart
if [ "x${FITIMAGE_DTB_BY_NAME}" != "x1" ] ; then
dtbref="fdt-${dtbcount}"
fi
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
teeref="${OPTEEFLAVOR}"
else
teeref="${teecount}"
fi
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" "${default_dtb_count}"
fitimage_emit_section_maint ${1} sectend
fitimage_emit_section_maint ${1} fitend
#
# Step 6: Assemble the image
#
uboot-mkimage \
${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
-f ${1} \
arch/${ARCH}/boot/${2}
#
# Step 7: Sign the image and add public key to U-Boot dtb
#
if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then
uboot-mkimage \
${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
-F -k "${UBOOT_SIGN_KEYDIR}" \
-K "${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY}" \
-r arch/${ARCH}/boot/${2}
fi
}
do_assemble_fitimage() {
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
cd ${B}
fitimage_assemble fit-image.its fitImage
fi
}
addtask assemble_fitimage before do_install after do_compile
do_assemble_fitimage_initramfs() {
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage" && \
test -n "${INITRAMFS_IMAGE}" ; then
cd ${B}
fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its fitImage-${INITRAMFS_IMAGE} 1
fi
}
addtask assemble_fitimage_initramfs before do_deploy after do_install
FITIMAGE_ITS_SUFFIX ?= "its"
FITIMAGE_ITB_SUFFIX ?= "itb"
FITIMAGE_ITS_IMAGE ?= "fitImage-its-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITS_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_ITS_BINARY ?= "fitImage-its.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITS_SYMLINK ?= "fitImage-its-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITB_IMAGE ?= "fitImage-linux.bin-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_ITB_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_ITB_BINARY ?= "fitImage-linux.bin.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_ITB_SYMLINK ?= "fitImage-linux.bin-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_IMAGE ?= "fitImage-its-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_INITRAMFS_ITS_BINARY ?= "fitImage-its-${INITRAMFS_IMAGE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_SYMLINK ?= "fitImage-its-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_IMAGE ?= "fitImage-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_INITRAMFS_ITB_BINARY ?= "fitImage-${INITRAMFS_IMAGE}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_SYMLINK ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
kernel_do_deploy:append() {
# Update deploy directory
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
cd ${B}
echo "Copying fit-image.its source file..."
install -m 0644 fit-image.its ${DEPLOYDIR}/${FITIMAGE_ITS_IMAGE}
install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${FITIMAGE_ITB_IMAGE}
if [ -n "${INITRAMFS_IMAGE}" ]; then
echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
install -m 0644 fit-image-${INITRAMFS_IMAGE}.its ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITS_IMAGE}
install -m 0644 arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITB_IMAGE}
fi
cd ${DEPLOYDIR}
ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_SYMLINK}
ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_BINARY}
ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_SYMLINK}
ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_BINARY}
if [ -n "${INITRAMFS_IMAGE}" ]; then
ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_SYMLINK}
ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_BINARY}
ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_SYMLINK}
ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_BINARY}
fi
fi
}

View File

@@ -1,51 +0,0 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# fitImage kernel compression algorithm
FIT_KERNEL_COMP_ALG ?= "gzip"
FIT_KERNEL_COMP_ALG_EXTENSION ?= ".gz"
# Kernel image type passed to mkimage (i.e. kernel kernel_noload...)
UBOOT_MKIMAGE_KERNEL_TYPE ?= "kernel"
uboot_prep_kimage() {
if [ -e arch/${ARCH}/boot/compressed/vmlinux ]; then
vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
linux_suffix=""
linux_comp="none"
elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
rm -f linux.bin
cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin
vmlinux_path=""
linux_suffix=""
linux_comp="none"
else
vmlinux_path="vmlinux"
# Use vmlinux.initramfs for linux.bin when INITRAMFS_IMAGE_BUNDLE set
# As per the implementation in kernel.bbclass.
# See do_bundle_initramfs function
if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ] && [ -e vmlinux.initramfs ]; then
vmlinux_path="vmlinux.initramfs"
fi
linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}"
linux_comp="${FIT_KERNEL_COMP_ALG}"
fi
[ -n "${vmlinux_path}" ] && ${KERNEL_OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
if [ "${linux_comp}" != "none" ] ; then
if [ "${linux_comp}" = "gzip" ] ; then
gzip -9 linux.bin
elif [ "${linux_comp}" = "lzo" ] ; then
lzop -9 linux.bin
elif [ "${linux_comp}" = "lzma" ] ; then
xz --format=lzma -f -6 linux.bin
fi
mv -f "linux.bin${linux_suffix}" linux.bin
fi
echo "${linux_comp}"
}

View File

@@ -1,870 +0,0 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
inherit linux-kernel-base kernel-module-split
COMPATIBLE_HOST = ".*-linux"
KERNEL_PACKAGE_NAME ??= "kernel"
KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
PROVIDES += "virtual/kernel"
DEPENDS += "virtual/cross-binutils virtual/cross-cc kmod-native bc-native bison-native"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.zst", "zstd-native", "", d)}"
PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot gzip-native:do_populate_sysroot"
do_clean[depends] += "make-mod-scripts:do_clean"
# CPE entries from NVD use linux_kernel, but the raw CVE entries from the kernel CNA have
# vendor: linux and product: linux. Note that multiple distributions use "linux" as a product
# name, so we need to fill vendor to avoid false positives
CVE_PRODUCT ?= "linux_kernel linux:linux"
S = "${STAGING_KERNEL_DIR}"
B = "${WORKDIR}/build"
KBUILD_OUTPUT = "${B}"
OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT"
# we include gcc above, we dont need virtual/libc
INHIBIT_DEFAULT_DEPS = "1"
KERNEL_IMAGETYPE ?= "zImage"
INITRAMFS_IMAGE ?= ""
INITRAMFS_TASK ?= ""
INITRAMFS_IMAGE_BUNDLE ?= ""
INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}"
INITRAMFS_MULTICONFIG ?= ""
# KERNEL_VERSION is extracted from source code. It is evaluated as
# None for the first parsing, since the code has not been fetched.
# After the code is fetched, it will be evaluated as real version
# number and cause kernel to be rebuilt. To avoid this, make
# KERNEL_VERSION_NAME and KERNEL_VERSION_PKG_NAME depend on
# LINUX_VERSION which is a constant.
KERNEL_VERSION_NAME = "${@d.getVar('KERNEL_VERSION') or ""}"
KERNEL_VERSION_NAME[vardepvalue] = "${LINUX_VERSION}"
KERNEL_VERSION_PKG_NAME = "${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
KERNEL_VERSION_PKG_NAME[vardepvalue] = "${LINUX_VERSION}"
python __anonymous () {
pn = d.getVar("PN")
kpn = d.getVar("KERNEL_PACKAGE_NAME")
# XXX Remove this after bug 11905 is resolved
# FILES:${KERNEL_PACKAGE_NAME}-dev doesn't expand correctly
if kpn == pn:
bb.warn("Some packages (E.g. *-dev) might be missing due to "
"bug 11905 (variable KERNEL_PACKAGE_NAME == PN)")
# The default kernel recipe builds in a shared location defined by
# bitbake/distro confs: STAGING_KERNEL_DIR and STAGING_KERNEL_BUILDDIR.
# Set these variables to directories under ${WORKDIR} in alternate
# kernel recipes (I.e. where KERNEL_PACKAGE_NAME != kernel) so that they
# may build in parallel with the default kernel without clobbering.
if kpn != "kernel":
workdir = d.getVar("WORKDIR")
sourceDir = os.path.join(workdir, 'kernel-source')
artifactsDir = os.path.join(workdir, 'kernel-build-artifacts')
d.setVar("STAGING_KERNEL_DIR", sourceDir)
d.setVar("STAGING_KERNEL_BUILDDIR", artifactsDir)
# Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES
type = d.getVar('KERNEL_IMAGETYPE') or ""
alttype = d.getVar('KERNEL_ALT_IMAGETYPE') or ""
types = d.getVar('KERNEL_IMAGETYPES') or ""
if type not in types.split():
types = (type + ' ' + types).strip()
if alttype not in types.split():
types = (alttype + ' ' + types).strip()
d.setVar('KERNEL_IMAGETYPES', types)
# KERNEL_IMAGETYPES may contain a mixture of image types supported directly
# by the kernel build system and types which are created by post-processing
# the output of the kernel build system (e.g. compressing vmlinux ->
# vmlinux.gz in kernel_legacyhs_do_transform_kernel()).
# KERNEL_IMAGETYPE_FOR_MAKE should contain only image types supported
# directly by the kernel build system.
if not d.getVar('KERNEL_IMAGETYPE_FOR_MAKE'):
typeformake = set()
for type in types.split():
if type == 'vmlinux.gz':
type = 'vmlinux'
typeformake.add(type)
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', ' '.join(sorted(typeformake)))
kname = d.getVar('KERNEL_PACKAGE_NAME') or "kernel"
imagedest = d.getVar('KERNEL_IMAGEDEST')
for type in types.split():
if bb.data.inherits_class('nopackages', d):
continue
typelower = type.lower()
d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower))
d.setVar('FILES:' + kname + '-image-' + typelower, '/' + imagedest + '/' + type + '-${KERNEL_VERSION_NAME}' + ' /' + imagedest + '/' + type)
d.appendVar('RDEPENDS:%s-image' % kname, ' %s-image-%s (= ${EXTENDPKGV})' % (kname, typelower))
splitmods = d.getVar("KERNEL_SPLIT_MODULES")
if splitmods != '1':
d.appendVar('RDEPENDS:%s-image' % kname, ' %s-modules (= ${EXTENDPKGV})' % kname)
d.appendVar('RDEPENDS:%s-image-%s' % (kname, typelower), ' %s-modules-${KERNEL_VERSION_PKG_NAME} (= ${EXTENDPKGV})' % kname)
d.setVar('PKG:%s-modules' % kname, '%s-modules-${KERNEL_VERSION_PKG_NAME}' % kname)
d.appendVar('RPROVIDES:%s-modules' % kname, ' %s-modules-${KERNEL_VERSION_PKG_NAME}' % kname)
d.setVar('PKG:%s-image-%s' % (kname,typelower), '%s-image-%s-${KERNEL_VERSION_PKG_NAME}' % (kname, typelower))
d.setVar('ALLOW_EMPTY:%s-image-%s' % (kname, typelower), '1')
if d.getVar('KERNEL_IMAGETYPE_SYMLINK') == '1':
d.prependVar('pkg_postinst:%s-image-%s' % (kname,typelower), """set +e
if [ -n "$D" ]; then
ln -sf %s-${KERNEL_VERSION} $D/${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
else
ln -sf %s-${KERNEL_VERSION} ${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Filesystem on ${KERNEL_IMAGEDEST}/ doesn't support symlinks, falling back to copied image (%s)."
install -m 0644 ${KERNEL_IMAGEDEST}/%s-${KERNEL_VERSION} ${KERNEL_IMAGEDEST}/%s
fi
fi
set -e
""" % (type, type, type, type, type, type, type))
d.setVar('pkg_postrm:%s-image-%s' % (kname,typelower), """set +e
if [ -f "${KERNEL_IMAGEDEST}/%s" -o -L "${KERNEL_IMAGEDEST}/%s" ]; then
rm -f ${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
fi
set -e
""" % (type, type, type))
image = d.getVar('INITRAMFS_IMAGE')
# If the INTIRAMFS_IMAGE is set but the INITRAMFS_IMAGE_BUNDLE is set to 0,
# the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built
# standalone for use by wic and other tools.
if image:
if d.getVar('INITRAMFS_MULTICONFIG'):
d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc:${BB_CURRENT_MC}:${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
else:
d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):
bb.build.addtask('do_transform_bundled_initramfs', 'do_deploy', 'do_bundle_initramfs', d)
# NOTE: setting INITRAMFS_TASK is for backward compatibility
# The preferred method is to set INITRAMFS_IMAGE, because
# this INITRAMFS_TASK has circular dependency problems
# if the initramfs requires kernel modules
image_task = d.getVar('INITRAMFS_TASK')
if image_task:
d.appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}')
}
# Here we pull in all various kernel image types which we support.
#
# In case you're wondering why kernel.bbclass inherits the other image
# types instead of the other way around, the reason for that is to
# maintain compatibility with various currently existing meta-layers.
# By pulling in the various kernel image types here, we retain the
# original behavior of kernel.bbclass, so no meta-layers should get
# broken.
#
# KERNEL_CLASSES by default pulls in kernel-uimage.bbclass, since this
# used to be the default behavior when only uImage was supported. This
# variable can be appended by users who implement support for new kernel
# image types.
KERNEL_CLASSES ?= " kernel-uimage "
inherit_defer ${KERNEL_CLASSES}
# Old style kernels may set ${S} = ${WORKDIR}/git for example
# We need to move these over to STAGING_KERNEL_DIR. We can't just
# create the symlink in advance as the git fetcher can't cope with
# the symlink.
do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
do_clean[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
python do_symlink_kernsrc () {
s = d.getVar("S")
kernsrc = d.getVar("STAGING_KERNEL_DIR")
if s != kernsrc:
bb.utils.mkdirhier(kernsrc)
bb.utils.remove(kernsrc, recurse=True)
if s[-1] == '/':
# drop trailing slash, so that os.symlink(kernsrc, s) doesn't use s as
# directory name and fail
s = s[:-1]
if d.getVar("EXTERNALSRC"):
# With EXTERNALSRC S will not be wiped so we can symlink to it
os.symlink(s, kernsrc)
else:
import shutil
shutil.move(s, kernsrc)
os.symlink(kernsrc, s)
}
# do_patch is normally ordered before do_configure, but
# externalsrc.bbclass deletes do_patch, breaking the dependency of
# do_configure on do_symlink_kernsrc.
addtask symlink_kernsrc before do_patch do_configure after do_unpack
inherit kernel-arch deploy
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-module-.*"
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-image-.*"
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*"
export OS = "${TARGET_OS}"
export CROSS_COMPILE = "${TARGET_PREFIX}"
KERNEL_RELEASE ?= "${KERNEL_VERSION}"
# The directory where built kernel lies in the kernel tree
KERNEL_OUTPUT_DIR ?= "arch/${ARCH}/boot"
KERNEL_IMAGEDEST ?= "boot"
KERNEL_DTBDEST ?= "${KERNEL_IMAGEDEST}"
KERNEL_DTBVENDORED ?= "0"
#
# configuration
#
KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
# kernels are generally machine specific
PACKAGE_ARCH = "${MACHINE_ARCH}"
# U-Boot support
UBOOT_ENTRYPOINT ?= "0x20008000"
UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
# Some Linux kernel configurations need additional parameters on the command line
KERNEL_EXTRA_ARGS ?= ""
EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}"'
EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"'
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"'
# Only for newer kernels (5.19+), native pkg-config variables are set for older kernels when building kernel and modules
EXTRA_OEMAKE += ' HOSTPKG_CONFIG="pkg-config-native"'
KERNEL_ALT_IMAGETYPE ??= ""
copy_initramfs() {
echo "Copying initramfs into ./usr ..."
# In case the directory is not created yet from the first pass compile:
mkdir -p ${B}/usr
# Find and use the first initramfs image archive type we find
rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst; do
if [ -e "${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then
cp ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/.
case $img in
*gz)
echo "gzip decompressing image"
gunzip -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*lz4)
echo "lz4 decompressing image"
lz4 -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
break
;;
*lzo)
echo "lzo decompressing image"
lzop -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*lzma)
echo "lzma decompressing image"
lzma -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*xz)
echo "xz decompressing image"
xz -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*zst)
echo "zst decompressing image"
zstd -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
esac
break
fi
done
# Verify that the above loop found a initramfs, fail otherwise
[ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong."
}
do_bundle_initramfs () {
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
echo "Creating a kernel image with a bundled initramfs..."
copy_initramfs
# Backing up kernel image relies on its type(regular file or symbolic link)
tmp_path=""
for imageType in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
if [ -h ${KERNEL_OUTPUT_DIR}/$imageType ] ; then
linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$imageType`
realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$imageType`
mv -f $realpath $realpath.bak
tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath
elif [ -f ${KERNEL_OUTPUT_DIR}/$imageType ]; then
mv -f ${KERNEL_OUTPUT_DIR}/$imageType ${KERNEL_OUTPUT_DIR}/$imageType.bak
tmp_path=$tmp_path" "$imageType"##"
fi
done
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
kernel_legacyhs_do_compile
# Restoring kernel image
for tp in $tmp_path ; do
imageType=`echo $tp|cut -d "#" -f 1`
linkpath=`echo $tp|cut -d "#" -f 2`
realpath=`echo $tp|cut -d "#" -f 3`
if [ -n "$realpath" ]; then
mv -f $realpath $realpath.initramfs
mv -f $realpath.bak $realpath
ln -sf $linkpath.initramfs ${B}/${KERNEL_OUTPUT_DIR}/$imageType.initramfs
else
mv -f ${KERNEL_OUTPUT_DIR}/$imageType ${KERNEL_OUTPUT_DIR}/$imageType.initramfs
mv -f ${KERNEL_OUTPUT_DIR}/$imageType.bak ${KERNEL_OUTPUT_DIR}/$imageType
fi
done
fi
}
do_bundle_initramfs[dirs] = "${B}"
kernel_legacyhs_do_transform_bundled_initramfs() {
# vmlinux.gz is not built by kernel
if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
gzip -9cn < ${KERNEL_OUTPUT_DIR}/vmlinux.initramfs > ${KERNEL_OUTPUT_DIR}/vmlinux.gz.initramfs
fi
}
do_transform_bundled_initramfs[dirs] = "${B}"
python do_package:prepend () {
d.setVar('STRIP', d.getVar('KERNEL_STRIP').strip())
}
python do_devshell:prepend () {
os.environ["LDFLAGS"] = ''
}
addtask bundle_initramfs after do_install before do_deploy
KERNEL_DEBUG_TIMESTAMPS ??= "0"
kernel_legacyhs_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....
if [ "${SOURCE_DATE_EPOCH}" = "" -o "${SOURCE_DATE_EPOCH}" = "0" ]; then
# The source directory is not necessarily a git repository, so we
# specify the git-dir to ensure that git does not query a
# repository in any parent directory.
SOURCE_DATE_EPOCH=`git --git-dir="${S}/.git" log -1 --pretty=%ct 2>/dev/null || echo "${REPRODUCIBLE_TIMESTAMP_ROOTFS}"`
fi
ts=`LC_ALL=C date -d @$SOURCE_DATE_EPOCH`
export KBUILD_BUILD_TIMESTAMP="$ts"
export KCONFIG_NOTIMESTAMP=1
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
else
ts=`LC_ALL=C date`
export KBUILD_BUILD_TIMESTAMP="$ts"
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
fi
# The $use_alternate_initrd is only set from
# do_bundle_initramfs() This variable is specifically for the
# case where we are making a second pass at the kernel
# compilation and we want to force the kernel build to use a
# different initramfs image. The way to do that in the kernel
# is to specify:
# make ...args... CONFIG_INITRAMFS_SOURCE=some_other_initramfs.cpio
if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_TASK}" != "" ] ; then
# The old style way of copying an prebuilt image and building it
# is turned on via INTIRAMFS_TASK != ""
copy_initramfs
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
fi
for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
oe_runmake ${PARALLEL_MAKE} ${typeformake} ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
done
}
kernel_legacyhs_do_transform_kernel() {
# vmlinux.gz is not built by kernel
if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
mkdir -p "${KERNEL_OUTPUT_DIR}"
gzip -9cn < ${B}/vmlinux > "${KERNEL_OUTPUT_DIR}/vmlinux.gz"
fi
}
do_transform_kernel[dirs] = "${B}"
addtask transform_kernel after do_compile before do_install
do_compile_kernelmodules() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....
if [ "${SOURCE_DATE_EPOCH}" = "" -o "${SOURCE_DATE_EPOCH}" = "0" ]; then
# The source directory is not necessarily a git repository, so we
# specify the git-dir to ensure that git does not query a
# repository in any parent directory.
SOURCE_DATE_EPOCH=`git --git-dir="${S}/.git" log -1 --pretty=%ct 2>/dev/null || echo "${REPRODUCIBLE_TIMESTAMP_ROOTFS}"`
fi
ts=`LC_ALL=C date -d @$SOURCE_DATE_EPOCH`
export KBUILD_BUILD_TIMESTAMP="$ts"
export KCONFIG_NOTIMESTAMP=1
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
else
ts=`LC_ALL=C date`
export KBUILD_BUILD_TIMESTAMP="$ts"
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
fi
if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then
oe_runmake -C ${B} ${PARALLEL_MAKE} modules ${KERNEL_EXTRA_ARGS}
# Module.symvers gets updated during the
# building of the kernel modules. We need to
# update this in the shared workdir since some
# external kernel modules has a dependency on
# other kernel modules and will look at this
# file to do symbol lookups
cp ${B}/Module.symvers ${STAGING_KERNEL_BUILDDIR}/
# 5.10+ kernels have module.lds that we need to copy for external module builds
if [ -e "${B}/scripts/module.lds" ]; then
install -Dm 0644 ${B}/scripts/module.lds ${STAGING_KERNEL_BUILDDIR}/scripts/module.lds
fi
else
bbnote "no modules to compile"
fi
}
addtask compile_kernelmodules after do_compile before do_strip
kernel_legacyhs_do_install() {
#
# First install the modules
#
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
# Remove empty module directories to prevent QA issues
[ -d "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" ] && find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete
else
bbnote "no modules to install"
fi
#
# Install various kernel output (zImage, map file, config, module support files)
#
install -d ${D}/${KERNEL_IMAGEDEST}
#
# When including an initramfs bundle inside a FIT image, the fitImage is created after the install task
# by do_assemble_fitimage_initramfs.
# This happens after the generation of the initramfs bundle (done by do_bundle_initramfs).
# So, at the level of the install task we should not try to install the fitImage. fitImage is still not
# generated yet.
# After the generation of the fitImage, the deploy task copies the fitImage from the build directory to
# the deploy folder.
#
for imageType in ${KERNEL_IMAGETYPES} ; do
if [ $imageType != "fitImage" ] || [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ] ; then
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType ${D}/${KERNEL_IMAGEDEST}/$imageType-${KERNEL_VERSION}
fi
done
install -m 0644 System.map ${D}/${KERNEL_IMAGEDEST}/System.map-${KERNEL_VERSION}
install -m 0644 .config ${D}/${KERNEL_IMAGEDEST}/config-${KERNEL_VERSION}
install -m 0644 vmlinux ${D}/${KERNEL_IMAGEDEST}/vmlinux-${KERNEL_VERSION}
! [ -e Module.symvers ] || install -m 0644 Module.symvers ${D}/${KERNEL_IMAGEDEST}/Module.symvers-${KERNEL_VERSION}
}
# Must be ran no earlier than after do_kernel_checkout or else Makefile won't be in ${S}/Makefile
do_kernel_version_sanity_check() {
if [ "x${KERNEL_VERSION_SANITY_SKIP}" = "x1" ]; then
exit 0
fi
# The Makefile determines the kernel version shown at runtime
# Don't use KERNEL_VERSION because the headers it grabs the version from aren't generated until do_compile
VERSION=$(grep "^VERSION =" ${S}/Makefile | sed s/.*=\ *//)
PATCHLEVEL=$(grep "^PATCHLEVEL =" ${S}/Makefile | sed s/.*=\ *//)
SUBLEVEL=$(grep "^SUBLEVEL =" ${S}/Makefile | sed s/.*=\ *//)
EXTRAVERSION=$(grep "^EXTRAVERSION =" ${S}/Makefile | sed s/.*=\ *//)
# Build a string for regex and a plain version string
reg="^${VERSION}\.${PATCHLEVEL}"
vers="${VERSION}.${PATCHLEVEL}"
if [ -n "${SUBLEVEL}" ]; then
# Ignoring a SUBLEVEL of zero is fine
if [ "${SUBLEVEL}" = "0" ]; then
reg="${reg}(\.${SUBLEVEL})?"
else
reg="${reg}\.${SUBLEVEL}"
vers="${vers}.${SUBLEVEL}"
fi
fi
vers="${vers}${EXTRAVERSION}"
reg="${reg}${EXTRAVERSION}"
if [ -z `echo ${PV} | grep -E "${reg}"` ]; then
bbfatal "Package Version (${PV}) does not match of kernel being built (${vers}). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP=\"1\" in your recipe."
fi
exit 0
}
addtask shared_workdir after do_compile before do_compile_kernelmodules
addtask shared_workdir_setscene
do_shared_workdir_setscene () {
exit 1
}
emit_depmod_pkgdata() {
# Stash data for depmod
install -d ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/
echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/${KERNEL_PACKAGE_NAME}-abiversion
cp ${B}/System.map ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/System.map-${KERNEL_VERSION}
}
PACKAGEFUNCS += "emit_depmod_pkgdata"
do_shared_workdir[cleandirs] += " ${STAGING_KERNEL_BUILDDIR}"
do_shared_workdir () {
cd ${B}
kerneldir=${STAGING_KERNEL_BUILDDIR}
install -d $kerneldir
#
# Store the kernel version in sysroots for module-base.bbclass
#
echo "${KERNEL_VERSION}" > $kerneldir/${KERNEL_PACKAGE_NAME}-abiversion
echo "${KERNEL_LOCALVERSION}" > $kerneldir/${KERNEL_PACKAGE_NAME}-localversion
# Copy files required for module builds
cp System.map $kerneldir/System.map-${KERNEL_VERSION}
! [ -e Module.symvers ] || cp Module.symvers $kerneldir/
cp .config $kerneldir/
mkdir -p $kerneldir/include/config
cp include/config/kernel.release $kerneldir/include/config/kernel.release
if [ -e certs/signing_key.x509 ]; then
# The signing_key.* files are stored in the certs/ dir in
# newer Linux kernels
mkdir -p $kerneldir/certs
cp certs/signing_key.* $kerneldir/certs/
elif [ -e signing_key.priv ]; then
cp signing_key.* $kerneldir/
fi
# We can also copy over all the generated files and avoid special cases
# like version.h, but we've opted to keep this small until file creep starts
# to happen
if [ -e include/linux/version.h ]; then
mkdir -p $kerneldir/include/linux
cp include/linux/version.h $kerneldir/include/linux/version.h
fi
# As of Linux kernel version 3.0.1, the clean target removes
# arch/powerpc/lib/crtsavres.o which is present in
# KBUILD_LDFLAGS_MODULE, making it required to build external modules.
if [ ${ARCH} = "powerpc" ]; then
if [ -e arch/powerpc/lib/crtsavres.o ]; then
mkdir -p $kerneldir/arch/powerpc/lib/
cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
fi
fi
if [ -d include/generated ]; then
mkdir -p $kerneldir/include/generated/
cp -fR include/generated/* $kerneldir/include/generated/
fi
if [ -d arch/${ARCH}/include/generated ]; then
mkdir -p $kerneldir/arch/${ARCH}/include/generated/
cp -fR arch/${ARCH}/include/generated/* $kerneldir/arch/${ARCH}/include/generated/
fi
if (grep -q -i -e '^CONFIG_UNWINDER_ORC=y$' $kerneldir/.config); then
# With CONFIG_UNWINDER_ORC (the default in 4.14), objtool is required for
# out-of-tree modules to be able to generate object files.
if [ -x tools/objtool/objtool ]; then
mkdir -p ${kerneldir}/tools/objtool
cp tools/objtool/objtool ${kerneldir}/tools/objtool/
fi
fi
# When building with CONFIG_MODVERSIONS=y and CONFIG_RANDSTRUCT=y we need
# to copy the build assets generated for the randstruct seed to
# STAGING_KERNEL_BUILDDIR, otherwise the out-of-tree modules build will
# generate those assets which will result in a different
# RANDSTRUCT_HASHED_SEED
if [ -d scripts/basic ]; then
mkdir -p ${kerneldir}/scripts
cp -r scripts/basic ${kerneldir}/scripts
fi
if [ -d scripts/gcc-plugins ]; then
mkdir -p ${kerneldir}/scripts
cp -r scripts/gcc-plugins ${kerneldir}/scripts
fi
}
# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware
SYSROOT_DIRS = ""
KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"
python check_oldest_kernel() {
oldest_kernel = d.getVar('OLDEST_KERNEL')
kernel_version = d.getVar('KERNEL_VERSION')
tclibc = d.getVar('TCLIBC')
if tclibc == 'glibc':
kernel_version = kernel_version.split('-', 1)[0]
if oldest_kernel and kernel_version:
if bb.utils.vercmp_string(kernel_version, oldest_kernel) < 0:
bb.warn('%s: OLDEST_KERNEL is "%s" but the version of the kernel you are building is "%s" - therefore %s as built may not be compatible with this kernel. Either set OLDEST_KERNEL to an older version, or build a newer kernel.' % (d.getVar('PN'), oldest_kernel, kernel_version, tclibc))
}
check_oldest_kernel[vardepsexclude] += "OLDEST_KERNEL KERNEL_VERSION"
do_compile[postfuncs] += "check_oldest_kernel"
KERNEL_LOCALVERSION ??= ""
# 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in
# the local version. Having it empty means nothing will be added, and any
# value will be appended to the local kernel version. This replaces the
# use of .scmversion file for setting a localversion without using
# the CONFIG_LOCALVERSION option.
#
# Note: This class saves the value of localversion to a file
# so other recipes like make-mod-scripts can restore it via the
# helper function get_kernellocalversion_file
export LOCALVERSION = "${KERNEL_LOCALVERSION}"
kernel_legacyhs_do_configure() {
# fixes extra + in /lib/modules/2.6.37+
# $ scripts/setlocalversion . => +
# $ make kernelversion => 2.6.37
# $ make kernelrelease => 2.6.37+
# See kernel-arch.bbclass for post v6.3 removal of the extra
# + in localversion. .scmversion is no longer used, and the
# variable LOCALVERSION must be used
if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]; then
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
fi
if [ "${S}" != "${B}" ] && [ -f "${S}/.config" ] && [ ! -f "${B}/.config" ]; then
mv "${S}/.config" "${B}/.config"
fi
# Copy defconfig to .config if .config does not exist. This allows
# recipes to manage the .config themselves in do_configure:prepend().
if [ -f "${UNPACKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
cp "${UNPACKDIR}/defconfig" "${B}/.config"
fi
${KERNEL_CONFIG_COMMAND}
}
inherit cml1 pkgconfig
EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure
# kernel-base becomes kernel-${KERNEL_VERSION}
# kernel-image becomes kernel-image-${KERNEL_VERSION}
PACKAGES = "${KERNEL_PACKAGE_NAME} ${KERNEL_PACKAGE_NAME}-base ${KERNEL_PACKAGE_NAME}-vmlinux ${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-dev ${KERNEL_PACKAGE_NAME}-modules ${KERNEL_PACKAGE_NAME}-dbg"
FILES:${PN} = ""
FILES:${KERNEL_PACKAGE_NAME}-base = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo"
FILES:${KERNEL_PACKAGE_NAME}-image = ""
FILES:${KERNEL_PACKAGE_NAME}-dev = "/${KERNEL_IMAGEDEST}/System.map* /${KERNEL_IMAGEDEST}/Module.symvers* /${KERNEL_IMAGEDEST}/config* ${KERNEL_SRC_PATH} ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
FILES:${KERNEL_PACKAGE_NAME}-vmlinux = "/${KERNEL_IMAGEDEST}/vmlinux-${KERNEL_VERSION_NAME}"
FILES:${KERNEL_PACKAGE_NAME}-modules = ""
FILES:${KERNEL_PACKAGE_NAME}-dbg = "/usr/lib/debug /usr/src/debug"
RDEPENDS:${KERNEL_PACKAGE_NAME} = "${KERNEL_PACKAGE_NAME}-base (= ${EXTENDPKGV})"
# Allow machines to override this dependency if kernel image files are
# not wanted in images as standard
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image (= ${EXTENDPKGV})"
PKG:${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
RPROVIDES:${KERNEL_PACKAGE_NAME}-image += "${KERNEL_PACKAGE_NAME}-image"
RDEPENDS:${KERNEL_PACKAGE_NAME}-image += "${@oe.utils.conditional('KERNEL_IMAGETYPE', 'vmlinux', '${KERNEL_PACKAGE_NAME}-vmlinux (= ${EXTENDPKGV})', '', d)}"
PKG:${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
RPROVIDES:${KERNEL_PACKAGE_NAME}-base += "${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}-base"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME} = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-base = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-image = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-modules = "1"
DESCRIPTION:${KERNEL_PACKAGE_NAME}-modules = "Kernel modules meta package"
pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
if [ ! -e "$D/lib/modules/${KERNEL_VERSION}" ]; then
mkdir -p $D/lib/modules/${KERNEL_VERSION}
fi
if [ -n "$D" ]; then
depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
else
depmod -a ${KERNEL_VERSION}
fi
}
PACKAGESPLITFUNCS =+ "split_kernel_packages"
python split_kernel_packages () {
do_split_packages(d, root='${nonarch_base_libdir}/firmware', file_regex=r'^(.*)\.(bin|fw|cis|csp|dsp)$', output_pattern='${KERNEL_PACKAGE_NAME}-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
}
# Many scripts want to look in arch/$arch/boot for the bootable
# image. This poses a problem for vmlinux and vmlinuz based
# booting. This task arranges to have vmlinux and vmlinuz appear
# in the normalized directory location.
do_kernel_link_images() {
if [ ! -d "${B}/arch/${ARCH}/boot" ]; then
mkdir ${B}/arch/${ARCH}/boot
fi
cd ${B}/arch/${ARCH}/boot
ln -sf ../../../vmlinux
if [ -f ../../../vmlinuz ]; then
ln -sf ../../../vmlinuz
fi
if [ -f ../../../vmlinuz.bin ]; then
ln -sf ../../../vmlinuz.bin
fi
if [ -f ../../../vmlinux.64 ]; then
ln -sf ../../../vmlinux.64
fi
}
addtask kernel_link_images after do_compile before do_strip
python do_strip() {
import shutil
strip = d.getVar('KERNEL_STRIP')
extra_sections = d.getVar('KERNEL_IMAGE_STRIP_EXTRA_SECTIONS')
kernel_image = d.getVar('B') + "/" + d.getVar('KERNEL_OUTPUT_DIR') + "/vmlinux"
if (extra_sections and kernel_image.find(d.getVar('KERNEL_IMAGEDEST') + '/vmlinux') != -1):
kernel_image_stripped = kernel_image + ".stripped"
shutil.copy2(kernel_image, kernel_image_stripped)
oe.package.runstrip((kernel_image_stripped, 8, strip, extra_sections))
bb.debug(1, "KERNEL_IMAGE_STRIP_EXTRA_SECTIONS is set, stripping sections: " + \
extra_sections)
}
do_strip[dirs] = "${B}"
addtask strip before do_sizecheck after do_kernel_link_images
# Support checking the kernel size since some kernels need to reside in partitions
# with a fixed length or there is a limit in transferring the kernel to memory.
# If more than one image type is enabled, warn on any that don't fit but only fail
# if none fit.
do_sizecheck() {
if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" ]; then
invalid=`echo ${KERNEL_IMAGE_MAXSIZE} | sed 's/[0-9]//g'`
if [ -n "$invalid" ]; then
die "Invalid KERNEL_IMAGE_MAXSIZE: ${KERNEL_IMAGE_MAXSIZE}, should be an integer (The unit is Kbytes)"
fi
at_least_one_fits=
for imageType in ${KERNEL_IMAGETYPES} ; do
size=`du -ks ${B}/${KERNEL_OUTPUT_DIR}/$imageType | awk '{print $1}'`
if [ $size -gt ${KERNEL_IMAGE_MAXSIZE} ]; then
bbwarn "This kernel $imageType (size=$size(K) > ${KERNEL_IMAGE_MAXSIZE}(K)) is too big for your device."
else
at_least_one_fits=y
fi
done
if [ -z "$at_least_one_fits" ]; then
die "All kernel images are too big for your device. Please reduce the size of the kernel by making more of it modular."
fi
fi
}
do_sizecheck[dirs] = "${B}"
addtask sizecheck before do_install after do_strip
inherit kernel-artifact-names
kernel_legacyhs_do_deploy() {
deployDir="${DEPLOYDIR}"
if [ -n "${KERNEL_DEPLOYSUBDIR}" ]; then
deployDir="${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR}"
mkdir "$deployDir"
fi
for imageType in ${KERNEL_IMAGETYPES} ; do
baseName=$imageType-${KERNEL_IMAGE_NAME}
if [ -s ${KERNEL_OUTPUT_DIR}/$imageType.stripped ] ; then
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.stripped $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
else
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
fi
if [ -n "${KERNEL_IMAGE_LINK_NAME}" ] ; then
ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}${KERNEL_IMAGE_BIN_EXT}
fi
if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType
fi
done
if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
mkdir -p ${D}${root_prefix}/lib
if [ -n "${SOURCE_DATE_EPOCH}" ]; then
TAR_ARGS="--sort=name --clamp-mtime --mtime=@${SOURCE_DATE_EPOCH}"
else
TAR_ARGS=""
fi
TAR_ARGS="$TAR_ARGS --owner=0 --group=0"
tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz
if [ -n "${MODULE_TARBALL_LINK_NAME}" ] ; then
ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz
fi
fi
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
for imageType in ${KERNEL_IMAGETYPES} ; do
if [ "$imageType" = "fitImage" ] ; then
continue
fi
initramfsBaseName=$imageType-${INITRAMFS_NAME}
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfsBaseName${KERNEL_IMAGE_BIN_EXT}
if [ -n "${INITRAMFS_LINK_NAME}" ] ; then
ln -sf $initramfsBaseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType-${INITRAMFS_LINK_NAME}${KERNEL_IMAGE_BIN_EXT}
fi
done
fi
}
# We deploy to filenames that include PKGV and PKGR, read the saved data to
# ensure we get the right values for both
do_deploy[prefuncs] += "read_subpackage_metadata"
addtask deploy after do_populate_sysroot do_packagedata
EXPORT_FUNCTIONS do_deploy
# Add using Device Tree support
inherit kernel-devicetree

View File

@@ -1,43 +0,0 @@
# Generate list of DTBs from the kernel source
def get_dtbs_from_kernel(dts_dir, dts_prefix):
import os
import glob
matches = []
for prefix in dts_prefix.split():
filenames = glob.glob(dts_dir + prefix + '*.dts')
filenames += glob.glob(dts_dir + prefix + '*.dtso')
for filename in filenames:
# Before v6.2 kernels DTB Overlays shared the same name as DTB files
# so we need to search the file to find the type
with open(filename) as f:
file_postfix = '.dtbo' if '/plugin/;' in f.read() else '.dtb'
filename = os.path.split(filename)[1]
filename = os.path.splitext(filename)[0] + file_postfix
filename = os.path.join(os.path.split(prefix)[0], filename)
matches.append(filename)
return ' '.join(matches)
# Generate list of "merged" DTBs from the kernel source
# It is TI custom feature to merge DTB overlays into a single DTB
def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
import os
matches = []
if dts_dir == "":
return ' '
for pattern in dts_pattern.split():
pattern_dir = os.path.split(pattern)[0]
pattern_target = os.path.split(pattern)[1].replace(".","-") + "s"
makefile = dts_dir + "/" + pattern_dir + "/Makefile"
if os.path.exists(makefile):
with open(makefile) as f:
if pattern_target in f.read():
matches.append(pattern)
return ' '.join(matches)
KERNEL_DEVICETREE = " \
${@get_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
${@get_merge_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
"
do_image_wic[depends] += "virtual/kernel:do_shared_workdir"

View File

@@ -1,20 +0,0 @@
# Helper class to prepare correct environment for signing with TI Security Development Tools
# K3 SECDEV scripts use OpenSSL
DEPENDS:append:k3 = " openssl-native"
DEPENDS:append:k3r5 = " openssl-native"
# Use package version of TI SECDEV for K3 if one is not provided through the environment
DEPENDS:append:k3 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
DEPENDS:append:k3r5 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secdev"
TI_SECURE_DEV_PKG:k3 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
TI_SECURE_DEV_PKG:k3r5 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
# For non-K3 we require the SECDEV tools be provided through the environment with the following vars
TI_SECURE_DEV_PKG:ti33x = "${TI_SECURE_DEV_PKG_CAT}/am3x"
TI_SECURE_DEV_PKG:ti43x = "${TI_SECURE_DEV_PKG_CAT}/am4x"
TI_SECURE_DEV_PKG:am57xx = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
# The SECDEV scripts may need their own location provided through the environment
export TI_SECURE_DEV_PKG

View File

@@ -1,131 +0,0 @@
# This file is part of U-Boot verified boot support and is intended to be
# inherited from u-boot recipe and from kernel-fitimage.bbclass.
#
# The signature procedure requires the user to generate an RSA key and
# certificate in a directory and to define the following variable:
#
# UBOOT_SIGN_KEYDIR = "/keys/directory"
# UBOOT_SIGN_KEYNAME = "dev" # keys name in keydir (eg. "dev.crt", "dev.key")
# UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
# UBOOT_SIGN_ENABLE = "1"
#
# As verified boot depends on fitImage generation, following is also required:
#
# KERNEL_CLASSES ?= " kernel-fitimage "
# KERNEL_IMAGETYPE ?= "fitImage"
#
# The signature support is limited to the use of CONFIG_OF_SEPARATE in U-Boot.
#
# The tasks sequence is set as below, using DEPLOY_IMAGE_DIR as common place to
# treat the device tree blob:
#
# * u-boot:do_install:append
# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
#
# * virtual/kernel:do_assemble_fitimage
# Sign the image
#
# * u-boot:do_deploy[postfuncs]
# Deploy files like UBOOT_DTB_IMAGE, UBOOT_DTB_SYMLINK and others.
#
# For more details on signature process, please refer to U-Boot documentation.
# Signature activation.
UBOOT_SIGN_ENABLE ?= "0"
# Default value for deployment filenames.
UBOOT_DTB_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.dtb"
UBOOT_DTB_BINARY ?= "u-boot.dtb"
UBOOT_DTB_SYMLINK ?= "u-boot-${MACHINE}.dtb"
UBOOT_NODTB_IMAGE ?= "u-boot-nodtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_NODTB_BINARY ?= "u-boot-nodtb.${UBOOT_SUFFIX}"
UBOOT_NODTB_SYMLINK ?= "u-boot-nodtb-${MACHINE}.${UBOOT_SUFFIX}"
# Functions in this bbclass is for u-boot only
UBOOT_PN = "${@d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'}"
concat_dtb_helper() {
if [ -e "${UBOOT_DTB_BINARY}" ]; then
ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_BINARY}
ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_SYMLINK}
fi
if [ -f "${UBOOT_NODTB_BINARY}" ]; then
install ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_SYMLINK}
ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY}
fi
# Concatenate U-Boot w/o DTB & DTB with public key
# (cf. kernel-fitimage.bbclass for more details)
deployed_uboot_dtb_binary='${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_IMAGE}'
if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \
[ -e "$deployed_uboot_dtb_binary" ]; then
oe_runmake EXT_DTB=$deployed_uboot_dtb_binary
install ${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
cd ${DEPLOYDIR}
cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${CONFIG_B_PATH}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
else
bbwarn "Failure while adding public key to u-boot binary. Verified boot won't be available."
fi
}
concat_dtb() {
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
mkdir -p ${DEPLOYDIR}
if [ -n "${UBOOT_CONFIG}" ]; then
for config in ${UBOOT_MACHINE}; do
CONFIG_B_PATH="${config}"
cd ${B}/${config}
concat_dtb_helper
done
else
CONFIG_B_PATH=""
cd ${B}
concat_dtb_helper
fi
fi
}
# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
install_helper() {
if [ -f "${UBOOT_DTB_BINARY}" ]; then
install -d ${D}${datadir}
# UBOOT_DTB_BINARY is a symlink to UBOOT_DTB_IMAGE, so we
# need both of them.
install ${UBOOT_DTB_BINARY} ${D}${datadir}/${UBOOT_DTB_IMAGE}
ln -sf ${UBOOT_DTB_IMAGE} ${D}${datadir}/${UBOOT_DTB_BINARY}
else
bbwarn "${UBOOT_DTB_BINARY} not found"
fi
}
do_install:append() {
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
if [ -n "${UBOOT_CONFIG}" ]; then
for config in ${UBOOT_MACHINE}; do
cd ${B}/${config}
install_helper
done
else
cd ${B}
install_helper
fi
fi
}
python () {
if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == d.getVar('UBOOT_PN') and d.getVar('UBOOT_DTB_BINARY'):
kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel')
# Make "bitbake u-boot -cdeploy" deploys the signed u-boot.dtb
d.appendVarFlag('do_deploy', 'depends', ' %s:do_deploy' % kernel_pn)
# kernerl's do_deploy is a litle special, so we can't use
# do_deploy:append, otherwise it would override
# kernel_do_deploy.
d.appendVarFlag('do_deploy', 'prefuncs', ' concat_dtb')
}

View File

@@ -1,43 +0,0 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti-bsp"
BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti-bsp = "6"
LAYERSERIES_COMPAT_meta-ti-bsp = "whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
LAYERDEPENDS_meta-ti-bsp = " \
core \
meta-arm \
"
LAYERRECOMMENDS_meta-ti-bsp = " \
openembedded-layer \
"
BBFILES_DYNAMIC += " \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
mesa-pvr \
"
HOSTTOOLS_NONFATAL += "truncate xxd comm"
TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
MIRRORS += " \
git://git.ti.com/.* git://github.com/TexasInstruments/BASENAME;protocol=https \
gitsm://git.ti.com/.* gitsm://github.com/TexasInstruments/BASENAME;protocol=https \
"

View File

@@ -1,23 +0,0 @@
#@TYPE: Machine
#@NAME: AM335x HS EVM
#@DESCRIPTION: Machine configuration for the TI AM335x HS EVM
require conf/machine/am335x-evm.conf
UBOOT_MACHINE = ""
# Last config in the list is default
UBOOT_CONFIG ??= "uart mmc"
UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config"
UBOOT_CONFIG[mmc] = "am335x_hs_evm_config"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am335x-evm.dtb"

View File

@@ -1,25 +0,0 @@
#@TYPE: Machine
#@NAME: AM437x HS EVM
#@DESCRIPTION: Machine configuration for the TI AM437x HS EVM
require conf/machine/am437x-evm.conf
UBOOT_MACHINE = "am43xx_hs_evm_config"
OPTEEMACHINE = "ti-am43xx"
OPTEEFLAVOR = "am43xx"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am437x-gp-evm.dtb"

View File

@@ -1,67 +0,0 @@
#@TYPE: Machine
#@NAME: AM57xx EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
require conf/machine/include/am57xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
KERNEL_DEVICETREE_PREFIX = " \
am57 \
ov10635 \
ti/am57 \
ti/lcd \
ti/ov10635 \
ti/omap/am57 \
"
KERNEL_DEVICETREE_DTBMERGE = " \
am57xx-evm.dtb \
am57xx-evm-reva3.dtb \
ti/omap/am57xx-evm.dtb \
ti/omap/am57xx-evm-reva3.dtb \
"
KERNEL_DEVICETREE = " \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am571x-idk.dtb \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am572x-idk.dtb \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-cl-som-am57x.dtb \
ti/omap/am57xx-evm-reva3.dtb \
ti/omap/am57xx-evm.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
ti/omap/am57xx-sbc-am57x.dtb \
"
UBOOT_MACHINE = "am57xx_evm_config"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -1,26 +0,0 @@
#@TYPE: Machine
#@NAME: AM57xx HS EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx HS EVM
require conf/machine/am57xx-evm.conf
UBOOT_MACHINE = "am57xx_hs_evm_config"
OPTEEMACHINE = "ti-am57xx"
OPTEEFLAVOR = "am57xx"
OPTEEPAGER = "y"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am57xx-evm.dtb"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM62A HS-FS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62A EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -1,29 +0,0 @@
#@TYPE: Machine
#@NAME: AM62AXX EVM
#@DESCRIPTION: Machine configuration for the TI AM62AXX EVM
require conf/machine/include/am62axx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62a7 \
ti/k3-am62x-sk \
ti/k3-fpdlink \
ti/k3-v3link \
"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-am62a7-sk-ub954-evm-ov2312.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am62a7-phyboard-lyra-rdk.dtb \
ti/k3-am62a7-sk.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "k3-am62a7-sk.dtb"
UBOOT_MACHINE = "am62ax_evm_a53_defconfig"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM62D HS-FS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62D EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62dx_evm_r5_defconfig"

View File

@@ -1,20 +0,0 @@
#@TYPE: Machine
#@NAME: AM62DXX EVM
#@DESCRIPTION: Machine configuration for the TI AM62DXX EVM
require conf/machine/include/am62dxx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62d2 \
ti/k3-am62a7-sk-edgeai \
ti/k3-am62x-sk \
ti/k3-am62a7-sk-rpi-hdr-ehrpwm \
"
KERNEL_DEVICETREE = ""
FIT_CONF_DEFAULT_DTB = "k3-am62d2-evm.dtb"
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw"

View File

@@ -1,19 +0,0 @@
#@TYPE: Machine
#@NAME: AM62L EVM
#@DESCRIPTION: Machine configuration for the TI AM62L EVM
require conf/machine/include/am62lxx.inc
IMAGE_FSTYPES += "ubifs ubi"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62l \
"
KERNEL_DEVICETREE = ""
UBOOT_MACHINE = "am62lx_evm_defconfig"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM62PX EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62px_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -1,33 +0,0 @@
#@TYPE: Machine
#@NAME: AM62PX EVM
#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
require conf/machine/include/am62pxx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62p5 \
ti/k3-am62x-sk-csi2 \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-am62x-sk-mcspi-loopback \
ti/k3-v3link \
"
KERNEL_DEVICETREE = " \
ti/k3-am62p5-sk.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb"
UBOOT_MACHINE = "am62px_evm_a53_defconfig"
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
# For AM62P tisdk-display-cluster image, splash screen is handled by SBL.
# Hence, disable the A53 based splash screen using the am62x_evm_prune_splashscreen.config fragment present in ti-u-boot tree
UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62x_evm_prune_splashscreen.config', '', d)}"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -1,35 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX EVM
#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
require conf/machine/include/am62xx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo \
ti/k3-am625-phyboard-lyra-rdk.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am625-verdin-nonwifi-dahlia.dtb \
ti/k3-am625-verdin-nonwifi-dev.dtb \
ti/k3-am625-verdin-nonwifi-mallow.dtb \
ti/k3-am625-verdin-nonwifi-yavia.dtb \
ti/k3-am625-verdin-wifi-dahlia.dtb \
ti/k3-am625-verdin-wifi-dev.dtb \
ti/k3-am625-verdin-wifi-mallow.dtb \
ti/k3-am625-verdin-wifi-yavia.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "k3-am625-sk.dtb"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX LP GP EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -1,28 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX LP EVM
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
require conf/machine/include/am62xx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62-lp \
ti/k3-am625-sk \
ti/k3-am62x-sk-dmtimer-pwm \
ti/k3-am62x-sk-eqep \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-am62x-sk-mcan \
ti/k3-am62x-sk-mcspi-loopback \
ti/k3-am62x-sk-pwm \
"
KERNEL_DEVICETREE = " \
ti/k3-am62-lp-sk-nand.dtbo \
ti/k3-am62-lp-sk.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "k3-am62-lp-sk.dtb"
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX SIP EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62xx SIP EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am6254xxl_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_18 = "am6254atl_evm_r5_defconfig"

View File

@@ -1,31 +0,0 @@
#@TYPE: Machine
#@NAME: AM62XX SIP EVM
#@DESCRIPTION: Machine configuration for the TI AM62XX SIP EVM
require conf/machine/include/am62xx.inc
TFA_K3_BL32_BASE = "0x80080000"
TFA_K3_BL32_BASE:bsp-ti-6_6 = ""
TFA_K3_PRELOADED_BL33 = "0x82000000"
TFA_K3_PRELOADED_BL33:bsp-ti-6_6 = ""
OPTEE_K3_TZDRAM_START = "0x80080000"
OPTEE_K3_TZDRAM_START:bsp-ti-6_6 = ""
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-sk.dtb \
"
FIT_CONF_DEFAULT_DTB = "k3-am6254xxl-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "k3-am625-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_18 = "k3-am6254atl-sk.dtb"
UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_18 = "am6254atl_evm_a53_defconfig"

View File

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

View File

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

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am65x_evm_r5_defconfig"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx EVM
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
require conf/machine/include/am65xx.inc
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM68 SK (R5F)
#@DESCRIPTION: Machine configuration for the TI AM68 SK (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am68_sk_r5_defconfig"

View File

@@ -1,23 +0,0 @@
#@TYPE: Machine
#@NAME: AM68 SK
#@DESCRIPTION: Machine configuration for the TI AM68 SK
require conf/machine/include/am68.inc
TFA_K3_USART = "0x8"
OPTEE_K3_USART = "0x8"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am68-sk \
ti/k3-fpdlink \
ti/k3-v3link \
ti/k3-j721e-sk-csi2-dual-imx219 \
ti/k3-j721e-sk-fpdlink-fusion \
"
KERNEL_DEVICETREE = " \
ti/k3-am68-sk-base-board.dtb \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
"
UBOOT_MACHINE = "am68_sk_a72_defconfig"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM69 SK (R5F)
#@DESCRIPTION: Machine configuration for the TI AM69 SK (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am69_sk_r5_defconfig"

View File

@@ -1,24 +0,0 @@
#@TYPE: Machine
#@NAME: AM69 SK
#@DESCRIPTION: Machine configuration for the TI AM69 SK
require conf/machine/include/am69.inc
TFA_K3_USART = "0x8"
OPTEE_K3_USART = "0x8"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am69-sk \
ti/k3-fpdlink \
ti/k3-v3link \
ti/k3-am68-sk-v3link-fusion \
ti/k3-j721e-sk-csi2-dual-imx219 \
ti/k3-j721e-sk-fpdlink-fusion \
"
KERNEL_DEVICETREE = " \
ti/k3-am69-sk.dtb \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
"
UBOOT_MACHINE = "am69_sk_a72_defconfig"

View File

@@ -1,21 +0,0 @@
#@TYPE: Machine
#@NAME: AM62L Badge
#@DESCRIPTION: Machine configuration for the TI AM62L Badge
require conf/machine/include/am62lxx.inc
IMAGE_FSTYPES += "ubifs ubi"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62l3-badge \
"
KERNEL_DEVICETREE = ""
UBOOT_MACHINE = "am62lx_badge_defconfig"
TFA_BOARD = "am62l-badge"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (R5F)
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"

View File

@@ -1,43 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen"
SERIAL_CONSOLES = "115200;ttyS2"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am62x_beagleplay_a53_defconfig"
SPL_BINARY = "tispl.bin_unsigned"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625-beagle \
ti/k3-am625-sk \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -1,24 +0,0 @@
#@TYPE: Machine
#@NAME: DRA7xx HS EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx HS EVM
require conf/machine/dra7xx-evm.conf
UBOOT_MACHINE = "dra7xx_hs_evm_config"
OPTEEMACHINE = "ti-dra7xx"
OPTEEFLAVOR = "dra7xx"
OPTEEPAGER = "y"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"

View File

@@ -1,50 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY:append = ":am57xx"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/arm/armv7a/tune-cortexa15.inc
require conf/machine/include/ti-bsp.inc
# Graphics providers and variables
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw prueth-fw prusw-fw pruhsr-fw pruprp-fw"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa mmip dsp gc320 pci"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[depends] += "ti-rtos-messageq-test-fw:do_deploy"

View File

@@ -1,16 +0,0 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62axx"
MACHINE_FEATURES += "screen touchscreen"
TFA_K3_SYSTEM_SUSPEND = "1"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am62x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = " kernel-module-tps6594-i2c kernel-module-tps6594-regulator kernel-module-tps6594-core"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = " kernel-module-tps6594-i2c kernel-module-tps6594-regulator kernel-module-tps6594-core"

View File

@@ -1,9 +0,0 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62dxx"
TFA_K3_SYSTEM_SUSPEND = "1"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am62x"

View File

@@ -1,9 +0,0 @@
require conf/machine/include/k3.inc
SOC_FAMILY:append = ":am62lxx"
MACHINE_FEATURES += "screen"
TFA_BOARD = "am62l"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62lx"

View File

@@ -1,21 +0,0 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62pxx"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
SERIAL_CONSOLES = "115200;ttyS2"
# Bitmap image tarball for early splashscreen
IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"

View File

@@ -1,20 +0,0 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Bitmap image tarball for early splashscreen
IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
# Normally AM62 boards use ttyS2, but our Jailhouse inmate may use ttyS3, so try both
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"

View File

@@ -1,33 +0,0 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am64xx"
KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-am642-evm-nand.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
ti/k3-am642-evm-icssg1-dualemac.dtbo \
ti/k3-am642-evm-nand.dtbo \
ti/k3-am642-evm.dtb \
ti/k3-am642-hummingboard-t-pcie.dtbo \
ti/k3-am642-hummingboard-t-usb3.dtbo \
ti/k3-am642-hummingboard-t.dtb \
ti/k3-am642-phyboard-electra-gpio-fan.dtbo \
ti/k3-am642-phyboard-electra-pcie-usb2.dtbo \
ti/k3-am642-phyboard-electra-rdk.dtb \
ti/k3-am642-sk.dtb \
ti/k3-am642-tqma64xxl-mbax4xxl.dtb \
"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am64x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"

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