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

19 Commits

Author SHA1 Message Date
Caleb Robey e3bd2632a2 cmem: Adding am5729 beagleboneai CMEM configuration
CMEM memory block for bbai should be 402MB to allow full EVE
acceleration and DSP use, but accounting for the BBAI only having
1GB of RAM.

Signed-off-by: Caleb Robey <c-robey@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-09 18:15:23 +00:00
Djordje Senicic 6848304559 cmem: am5729idk has specific CMEM cfg increased to 512MB
- CMEM memory block increased to 512MB to enable TIDL using 4xEVE and 2xDSP

Signed-off-by: Djordje Senicic <x0157990@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-12-09 18:15:23 +00:00
Djordje Senicic 73221195fa cmem: Add CMEM 384MB block to dra76xx to enable opencl and tidl
Signed-off-by: Djordje Senicic <x0157990@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-06-20 14:36:16 +00:00
Denys Dmytriyenko 9debfc6155 cmem.inc: add arm64 support for cmem injection
Since cmem 4.16 now supports arm64, update cmem injection code accordingly
to work with arm64 DTS files.

Cc: Sam Nelson <sam.nelson@ti.com>
Cc: Jacob Stiffler <j-stiffler@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-01-09 19:57:45 +00:00
Jacob Stiffler 735bfcf3d1 linux: cmem: add am574x injection for am57xx-hs-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-12-06 16:42:51 +00:00
Djordje Senicic a2de0fa051 linux-ti-staging: Increase CMEM for am574x only
* CMEM increased to 384MB is required by TIDL to run both DSP and EVEs concurrently

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-07-10 18:39:09 +00:00
Jacob Stiffler 6f3b2e7c48 linux: cmem: update device trees for kernel 4.14
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-05-02 15:23:41 -04:00
Jacob Stiffler 6505a8392d linux: cmem: flag dependent variables
* Flag variables used in setup_cmem to force it to re-run when one changes.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-05-02 15:23:37 -04:00
Hongmei Gou 9d21efe136 linux: cmem: add support for am574x
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-12-05 19:36:44 -05:00
Jacob Stiffler 72af0624e4 linux: cmem: update KERNEL_DEVICETREE lists
* Update the device tree lists with the latest DTB names from the
  machine configuration.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-06-13 12:45:03 -04:00
Denys Dmytriyenko e022e00e66 cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Avoid taskhash mismatch errors.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-21 13:23:38 -05:00
Denys Dmytriyenko 195c04aac1 cmem: add support for memory carveouts of dra71 variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:25:35 -05:00
Sam Nelson 79a8691f60 Revert "linux/cmem: patch keystone dtsi files to co-exist with new sram driver"
This reverts commit b9dbc83d76.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:44:22 -05:00
Denys Dmytriyenko b9dbc83d76 linux/cmem: patch keystone dtsi files to co-exist with new sram driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-18 11:28:56 -05:00
Denys Dmytriyenko 108f5ee0ec cmem: add special handling for dra72x variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 14:32:28 -05:00
Jacob Stiffler 0623707d80 linux: add new method for cmem injection
* Add new method to perform CMEM DT injection as it is required to
  customize at a finer level than machine.
* Now CMEM injection can be performed per DT.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:01 -04:00
Jacob Stiffler 1010d17019 linux: cmem.inc: Implement way to configure more complex CMEM config
* Supply the entire cmem.dtsi per machine
  - Disabled by default
  - Currently only supported for dra7xx and k2hk-evm
* Enable by setting RESERVE_CMEM = "1"

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-29 15:39:56 -04:00
Jacob Stiffler 3ae905f31e 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:31:05 -04:00