5 years agoMerge pull request #10 in PROCESSOR-SDK/multiprocmgr from PRSDK-4924 to master DEV.MPM-3.00.05.00
Merge pull request #10 in PROCESSOR-SDK/multiprocmgr from PRSDK-4924 to master
* commit '998a3040c2989e68fb7c4a5a42cb29a641642027':
PRSDK-4924: Fixes build issue cause my incorrect header comments.
* commit '998a3040c2989e68fb7c4a5a42cb29a641642027':
PRSDK-4924: Fixes build issue cause my incorrect header comments.
PRSDK-4924: Fixes build issue cause my incorrect header comments.
Signed-off-by: Madan Srinivas>madans@ti.com>
Signed-off-by: Madan Srinivas>madans@ti.com>
Merge pull request #9 in PROCESSOR-SDK/multiprocmgr from PLSDK-2036 to master
* commit 'b078e5e95145d9da89c216e9c5edb6626c573e57':
Updates copyright info
Fixes typos in uart log msg
Moves dsp boot test to K2 folder for clarity
Adds simple dsp-boot test
* commit 'b078e5e95145d9da89c216e9c5edb6626c573e57':
Updates copyright info
Fixes typos in uart log msg
Moves dsp boot test to K2 folder for clarity
Adds simple dsp-boot test
Updates copyright info
Fixes typos in uart log msg
Moves dsp boot test to K2 folder for clarity
This patch address the review comment to the application to a
k2 specific directory.
Signed-off-by: Madan Srinivas <madans@ti.com>
This patch address the review comment to the application to a
k2 specific directory.
Signed-off-by: Madan Srinivas <madans@ti.com>
Adds simple dsp-boot test
Adds a simple dsp boot test that displays a message on uart console.
The memory map is setup so that it will run on all K2x platforms,
boot GP and HS. It can be used as a basic boot test of the DSP.
This test assumes that the UART0 has already been enabled and
configured.
Signed-off-by: Madan Srinivas <madans@ti.com>
Adds a simple dsp boot test that displays a message on uart console.
The memory map is setup so that it will run on all K2x platforms,
boot GP and HS. It can be used as a basic boot test of the DSP.
This test assumes that the UART0 has already been enabled and
configured.
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #4 in PROCESSOR-SDK/multiprocmgr from PLSDK-1997 to master
* commit '2ba08da09a368973cf08f4ee9b73c889dac186ee':
Makefile: PLSDK-1997: Fixes issue with clean
* commit '2ba08da09a368973cf08f4ee9b73c889dac186ee':
Makefile: PLSDK-1997: Fixes issue with clean
Makefile: PLSDK-1997: Fixes issue with clean
The make for client and common dont clean the *.so files. This
patch updates thse makefiles to remove thee *.so files.
Also checked that no other *.*o* files are left behind when make
clean is invoked.
Signed-off-by: Madan Srinivas <madans@ti.com>
The make for client and common dont clean the *.so files. This
patch updates thse makefiles to remove thee *.so files.
Also checked that no other *.*o* files are left behind when make
clean is invoked.
Signed-off-by: Madan Srinivas <madans@ti.com>
6 years agoMerge pull request #3 in PROCESSOR-SDK/multiprocmgr from PLSDK-888 to master DEV.MPM-3.00.04.00 DEV.PROCESSOR-SDK.05.01.00.11
Merge pull request #3 in PROCESSOR-SDK/multiprocmgr from PLSDK-888 to master
* commit '576d516b6e590190dba8165d6a3b4b4ccbed76f9':
test: Update memory map to match device-tree
* commit '576d516b6e590190dba8165d6a3b4b4ccbed76f9':
test: Update memory map to match device-tree
test: Update memory map to match device-tree
The memory map available for mpm mapping has changed. Updating the map
to match available space
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
The memory map available for mpm mapping has changed. Updating the map
to match available space
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoMerge pull request #2 in PROCESSOR-SDK/multiprocmgr from PLSDK-1156 to master DEV.MPM-3.00.03.00
Merge pull request #2 in PROCESSOR-SDK/multiprocmgr from PLSDK-1156 to master
* commit '2b80bbe9ad4adbe525550c2801aa55816ff24bc3':
mpmdlif: Update to support assymetric endian with slave processor
* commit '2b80bbe9ad4adbe525550c2801aa55816ff24bc3':
mpmdlif: Update to support assymetric endian with slave processor
mpmdlif: Update to support assymetric endian with slave processor
Decides endian mismatch between image and host endianness
Note: If the slave processor is not configured for the endian in the image, it may result in unexpected behavior
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Decides endian mismatch between image and host endianness
Note: If the slave processor is not configured for the endian in the image, it may result in unexpected behavior
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
uioutils: Remove uioutils: not used
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoMerge pull request #1 in PROCESSOR-SDK/multiprocmgr from next to master DEV.MPM-3.00.02.00
Merge pull request #1 in PROCESSOR-SDK/multiprocmgr from next to master
* commit '399c0681aa6de74d08a9cc9e91620573d6bf0de9':
Makefile: Update to allow parallel build
mpm: Remove compiler warnings
daemon: Add handling of scratch through CMEM buffer
mpmdlif: Need to switch back to use of whole address for pread
* commit '399c0681aa6de74d08a9cc9e91620573d6bf0de9':
Makefile: Update to allow parallel build
mpm: Remove compiler warnings
daemon: Add handling of scratch through CMEM buffer
mpmdlif: Need to switch back to use of whole address for pread
Makefile: Update to allow parallel build
Cleanup to use $(MAKE), so that parallel build is enabled
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Cleanup to use $(MAKE), so that parallel build is enabled
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Remove compiler warnings
Add header file, protoypes etc to remove compiler warnings
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Add header file, protoypes etc to remove compiler warnings
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
daemon: Add handling of scratch through CMEM buffer
Before this change the Scratch memory was hard coded in mpm_config.json.
This is not scalable as the fixed scratch location is not available on
all platforms.
With this update the scratch memory is allocated from CMEM
Note: Adds dependency on CMEM
-Parsing of scratch section from json removed
- Also clean up to remove use of /dev/mem
- Organized scratch block config as structure
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Before this change the Scratch memory was hard coded in mpm_config.json.
This is not scalable as the fixed scratch location is not available on
all platforms.
With this update the scratch memory is allocated from CMEM
Note: Adds dependency on CMEM
-Parsing of scratch section from json removed
- Also clean up to remove use of /dev/mem
- Organized scratch block config as structure
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Need to switch back to use of whole address for pread
pread through uio-module-drv is through whole physical address.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
pread through uio-module-drv is through whole physical address.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Remove unused code
- Also some formatting changes
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Also some formatting changes
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Update to combine rproc setstate and reset/boot operations
Note: This change needs corresponding change in the remoteproc kernel driver.
In the kernel driver, for an image with resource table, the operation of
set state and boot/reset operations are handled together. This is to
avoid a race condition between the two operations.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
Changes from previous version of the patch
- Modified to do reset even after rproc offline
- Removed some formatting changes not connected with the change
---
Note: This change needs corresponding change in the remoteproc kernel driver.
In the kernel driver, for an image with resource table, the operation of
set state and boot/reset operations are handled together. This is to
avoid a race condition between the two operations.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
Changes from previous version of the patch
- Modified to do reset even after rproc offline
- Removed some formatting changes not connected with the change
---
docs: Update version number and documentation
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmsrv: Update to make the mpmsrv stop to work
Break out of sock wait and select calls cleanly in case of mpmsrv stop
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Break out of sock wait and select calls cleanly in case of mpmsrv stop
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Merge branch 'linux41'
version: Update version to 3.0.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmsrv: Update startup script with the correct pid file
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Update reset sequence based on update in kernel driver
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update to new version 3.0.0.0
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
filetestdemo; update scripts to make number of cores configurable
- Default still set to 8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Default still set to 8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Update to definition change in the keystone driver ioctl
- Keystone remoteproc driver has updated the definitons of IOCTL
functions. This is to adapt to the new definitions
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Keystone remoteproc driver has updated the definitons of IOCTL
functions. This is to adapt to the new definitions
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Add code to handle change in remoteproc drivers
- The IOCTLs were previously part of the registered uio device and now
it is part of the registered misc device.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- The IOCTLs were previously part of the registered uio device and now
it is part of the registered misc device.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
secmgr: Update code for new uio driver
The new uio driver uses offsets instead of full address.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
The new uio driver uses offsets instead of full address.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Update timeout to 10 sec
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agompm: Change to adapt to Kernel 4.1 :new keystone_remoteproc driver DEV.MPM-2.00.01.11_ENG
mpm: Change to adapt to Kernel 4.1 :new keystone_remoteproc driver
- API to remoteproc drivers have changed
- Booting operation is directly done by the kernel driver
( Initiated by MPM through IOCTL calls)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- API to remoteproc drivers have changed
- Booting operation is directly done by the kernel driver
( Initiated by MPM through IOCTL calls)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Pass server errors to client
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmservice: Add 2 sec timeout instead of 0
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmclient: Fix issue with open if condition
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmservice: Correct syntax error
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: init peripheral to add tx-only
- Added API to do interface tx-only especially for hyperlink serdes
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Added API to do interface tx-only especially for hyperlink serdes
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
sockutils: Add error check if calloc fails
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update version in change log and build script
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
filetestdemo: Fix issue in handling dsp bits
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmlog: Update log level to mpminfo
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
version: Update to new verion 2.0.1.9
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
uioutils: Increase MAX length to allow size of string in device tree entries
- Newer kernel version uses larger string to represent numbers
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Newer kernel version uses larger string to represent numbers
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmcoredump: Update to skip zero length no load sections
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmcoredump: Skip note section when counting no load section
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmcordump: Update core dump to also add NOLOAD sections
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Update build script
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Update version number handling
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Update version number to 2.0.1.8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpm: Remove code trying to execute code on target for dynamic load
- Currently dynamic load is not supported.
- Added code to print error message and ignore dynamic section
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Currently dynamic load is not supported.
- Added code to print error message and ignore dynamic section
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
SSM: added missing state in running state
version: Update version to 2.0.1.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: updatge version to 2.0.1.6
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Increment change log
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
uioutils: Fix bug in handling uio number
- Direct translation between uio number and the dsp number is
not always true. Need to determine based on name
Issue found only with reordered device tree/uio module
inserted
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Direct translation between uio number and the dsp number is
not always true. Need to determine based on name
Issue found only with reordered device tree/uio module
inserted
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
9 years agofilelist: corrected debian/format to debian/source/format location DEV.MPM-2.00.01.05_eng
filelist: corrected debian/format to debian/source/format location
re-added exe permission for .sh files
updated changelog #, placed debian/source/format file, removed exe permission from files
Version update to 2.00.01.05
Debian: update align with canonical
mpmssm: Fix issue with setting incorrect state
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
filelist: Update filelist with debian changes
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Merge branch 'master' of gtgit01.gt.design.ti.com:git/projects/multiprocmgr into origin/master
daemon: Update MPM download timeout value
- 100 ms is not enough for secure code to run
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- 100 ms is not enough for secure code to run
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Debian update for trusty
mpmdlif.c: fixed leaked file descriptor during loading
build.sh: updated version
Debian: updated version
Workaround for v3.13 by grabbing offset from proc entry
filelist: updated to add mpmservice.c
mcsdk_3.1.x: Update mpm version
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
9 years agoMerge branch 'master' of gtgit01.gt.design.ti.com:git/projects/multiprocmgr into... DEV.MPM-2.00.01.03
Merge branch 'master' of gtgit01.gt.design.ti.com:git/projects/multiprocmgr into origin/master
mpminit: Correct typo LOG_APPEND
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Updated debian to 2.00.01.03
Merge in changes from origin/master
Fixed missing break-statement in switch cases
removed CSL references, now uses mpm-transport library to handle peripheral service
mpmdlif: Update secure status check code
- Fix issues to allow backward compatibility
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Fix issues to allow backward compatibility
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Merge branch 'master' of gtgit01.gt.design.ti.com:git/projects/multiprocmgr into origin/master
mpm: Add code to support secure device download
- Add generic feature of preloading DSP with kernel image
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- Add generic feature of preloading DSP with kernel image
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Initial push to add hyperlink peripheral control
mpm_version: Change version in build script
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update version
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmdlif: Shared address changes necessary for gdb server
Signed-off-by: Ulises Brindis <ubrindis@ti.com> <ubrindis@ti.com> <ubrindis@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Ulises Brindis <ubrindis@ti.com> <ubrindis@ti.com> <ubrindis@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
mpmssm: Added missing break statement
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update change log
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update dependencies
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Fixed test scripts.
Add sync_test binaries to release package.
Makefile: Add proper dependencies on library build
- without this parallel build occasionally fails
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
- without this parallel build occasionally fails
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Merge branch 'master' of gtgit01.gt.design.ti.com:git/projects/multiprocmgr into origin/master
mpm: Improvements to work with c++
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Fixed unit test warnings nad linking pthread with sync_test.
Added sync_test.
Added filetestdemo unittest.
mpm_client: Fix for not cleaning up after socket close
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update to copy headerfiles
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
debian: Update changelog
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>