1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 22:38:04 +00:00

25 Commits

Author SHA1 Message Date
Sam Nelson 47e2a2e97a recipes-kernel:cmem.dtsi:K2G: Update to remove redefinition of mpm areas
Cleaning up redefinition of mpm areas and moving to use what is defined
in the base device tree files as is.
This effectively changes to a new memory partition.
Note that this change needs a corresponding change in the dts files in
the kernel tree to adjust the mpm memory area to the new memory
partition.

The CMEM areas here are adjusted such that there is no overlap with the
mpm areas defined in the dts files in the kernel tree.
Note also the address ranges are arranged differently for K2G compared
to  the other Keystone platforms.
(This is to accomodate common memory map for multiple k2g platforms)

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:43:37 -05:00
Sam Nelson 20a8c89b2b recipes-kernel:cmem.dtsi:Keystone2: Update to remove redefinition of mpm areas
Cleaning up redefinition of mpm areas and moving to use what is defined
in the base device tree files as is.
This effectively changes to a new memory partition.
Note that this change needs a corresponding change in the dts files in
the kernel tree to adjust the mpm memory area to the new memory
partition.

The CMEM areas here are adjusted such that there is no overlap with the
mpm areas defined in the dts files in the kernel tree.

Also fixes issue with K2L, by removing overlapping memory area section.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:43:32 -05:00
Denys Dmytriyenko dab6fb8c35 cmem: add support for memory carveouts of dra71 variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:25:04 -05:00
Sam Nelson a8af1cd2e6 recipes-kernel: cmem.dtsi: Update memory sections for DDR and MSMC
cmem.dtsi splits the already defined dsp_common_mpm_area DDR memory into
a smaller MPM segment and other CMEM blocks.
The mpm_block_mem is removed and instead the original memory sections
dsp_common_mpm_area and mpm_mem in the kernel dtb are updated to reflect

On the MSMC memory, cmem.dtsi defines a sram subnode instead of the
reserved memory.
mpm MSMC areas are already captured in the kernel dtb.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:41:44 -05:00
Sam Nelson 7efb2338a9 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:39:49 -05:00
Denys Dmytriyenko 0e87d6fbf9 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:50 -05:00
Jacob Stiffler 6cf0211e8a linux: k2g: use k2g-evm files for all k2g SOCs
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-16 14:39:02 -05:00
Denys Dmytriyenko b2187f74da cmem: add special handling for dra72x variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 14:32:16 -05:00
Jacob Stiffler f37806e1bc linux: cmem: k2e, k2l-evm: update reserved memory
* The MSMC region needs to be relocated as it was conflicting with the
  boot monitor's persistent memory.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 14:40:30 -04:00
Denys Dmytriyenko 1f4d266c4d conf/machine,recipes: introduce k2e SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-20 15:31:31 -04:00
Jacob Stiffler bf58916a10 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:16:19 -04:00
Sam Nelson f43d380691 linux-ti-staging: Update uio entries for am572x
Rearranged memory sections
Added additional memory section to accomodate required sections more
than 8
Incremented PR append for linux-ti-staging

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:45:37 -04:00
Sam Nelson d098dfccc1 linux-ti-staging: Update pru uio dtb entries
added additional entries to allow access to ecap and uart regions
Update Kernel PR to force rebuild

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:58:57 -04:00
Sam Nelson 2a8d94c1fa linux-ti-staging: Add new device tree target am572x-idk-pru-excl-uio.dtb
This new device tree file is to support pruss with uio based drivers
alone.
Adds uio entries for pruss susbsystem and disables other drivers
controlling the same.
New dtb is added only if ENABLE_TI_UIO_DEVICES is enabled.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-18 16:50:38 -04:00
Sam Nelson 30688674ca uio: Fix issues with driver reference in uio related dts entries
Correct incorrect driver compatibility key. uio driver implemented with
uio-module-drv for keystone2.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 16:07:07 -04:00
Jacob Stiffler 3ceebfaf5f linux: cmem: k2g-evm: Add CMEM regions for k2g-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-01 18:05:00 -05:00
Jacob Stiffler 48467358fe linux-ti-staging: Update to include uio device tree entries
- Adds device tree entries for multiple devices that use uio driver
- These entries are added for k2h, k2l & k2e : keystone2 platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-03 21:07:03 -05:00
Jacob Stiffler 24005c9e12 linux: cmem: Update reserved CMEM regions
* dra7xx:
  - Increase DDR region required to pass OpenCL conformance
  - Add OCMC region
* k2e-evm, k2l-evm:
  - Add reserved regions for these machines

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:10 -05:00
Jacob Stiffler 7f96040e3a linux: cmem: k2hk-evm: Reduce reserved memory
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:32:40 -05: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
Denys Dmytriyenko 84a71a2560 linux: remove outdated kernel recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:41 -04:00
Denys Dmytriyenko 0a42d9cf21 linux-omap-psp: fix alignment issue of 2.6.37 kernel with gcc-4.7
Patch by Steve Sakoman

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 14:28:13 -04:00
Koen Kooi 3263120154 multi-kernel: the fetcher doesn't support dotfiles anymore, so get rid of the dot
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-20 11:07:25 +02:00
Koen Kooi 07e8c30da9 move kernel recipes in to the proper dir
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-21 08:54:21 +02:00