Update documents.
Merge branch 'pasdk1_3_master' into prsdk_pa_demo_sync_external_git
Used different macros for input and output PHY priming.
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Changed submodules to git.ti.com
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Merge branch 'pasdk1_3_master' into prsdk_pa_demo_sync_external_git
Removed IPC and PDK from psdk_cust folder.
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Specifying merge rules: don't merge .gitmodules.
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Setting HsDevBuild to zero by default
Removed 3rd party IP directories.
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Code clean up: removing code blocks commented out by #if 0.
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Signed-off-by: Jianzhong Xu <xuj@ti.com>
Merge pull request #37 in PASDK/pasdk_sr from pasdk_663_shalini to pasdk1_3_master
* commit '74f9e4ba5c2100cdea9b461b6bb386ecb9bddc6f':
PASDK-663: Code changes for new design solving OAR init issue
* commit '74f9e4ba5c2100cdea9b461b6bb386ecb9bddc6f':
PASDK-663: Code changes for new design solving OAR init issue
PASDK-663: Code changes for new design solving OAR init issue
Updated setup_env.bat to upgrade for PRSDK 5.1
Updated submodule paf related to putting UART in non-EDMA mode
Updating submodule with proper makefile update commits
Updated submodule for makefiles changes
Merge pull request #36 in PASDK/pasdk_sr from dev_pasdk1_3_frank to pasdk1_3_master
* commit '784f0c14b171d505c17c892ea34fe6d314d1fbaa':
Update FD package creation script for PRSDK directory structure
Update CCS projects, Debug_DH_IPPkgs build configurations
Update makefile for PRSDK 5.0 component versions
Update CCS projects
Update Windows build scripts
* commit '784f0c14b171d505c17c892ea34fe6d314d1fbaa':
Update FD package creation script for PRSDK directory structure
Update CCS projects, Debug_DH_IPPkgs build configurations
Update makefile for PRSDK 5.0 component versions
Update CCS projects
Update Windows build scripts
PRSDK-4429: This change is required to put UART in non-EDMA mode
Update FD package creation script for PRSDK directory structure
Update CCS projects, Debug_DH_IPPkgs build configurations
Remove dependency on build variable which must be updated for every PRSDK
release (PDK_INSTALL_PATH).
Remove dependency on build variable which must be updated for every PRSDK
release (PDK_INSTALL_PATH).
Update makefile for PRSDK 5.0 component versions
Update CCS projects
Remove dependency on build variable which must be updated for every PRSDK
release (PDK_INSTALL_PATH).
Update source code to provide include path from PDK component base location.
Remove dependency on build variable which must be updated for every PRSDK
release (PDK_INSTALL_PATH).
Update source code to provide include path from PDK component base location.
Update Windows build scripts
Allow separate directories for:
- CCS install
- PRSDK install
- Install of components used for building certified components (XDCTools,
SYSBIOS, XDAIS, and CGT)
Fix XDAIS version used for building certified components instead of
changing this with PRSDK updates.
Update location of DTS, PAF & Tools directories in install code script.
Allow separate directories for:
- CCS install
- PRSDK install
- Install of components used for building certified components (XDCTools,
SYSBIOS, XDAIS, and CGT)
Fix XDAIS version used for building certified components instead of
changing this with PRSDK updates.
Update location of DTS, PAF & Tools directories in install code script.
Updated readme and setup scripts.
PRSDK-4536: Updated submodules
PRSDK-4429: Fix for mute output during interchange of THD and DDP stream
PRSDK-4433: Perform obj-audio output verification for Dolby decoders (MAT/DDP/THD)
Added more docs.
Cleaning up makefiel and scripts.
Renamed pasdk to pasrc, PASDK_ROOT_DIR to PAROOT_DIR, PASDK_ROOT to
PAROOT.
PAROOT.
Submodules clean up:
Change submodule pasdk to pasrc
Remove submodule os_paf_dev
Move submodules asp, 3p-ipp-ti to upper level
Change submodule pasdk to pasrc
Remove submodule os_paf_dev
Move submodules asp, 3p-ipp-ti to upper level
Merge branch 'dev_pasdk1_3_integration' of ssh://bitbucket.itg.ti.com/pasdk/pasdk_sr into dev_pasdk1_3_integration
Changed master Makefile and added setup scripts to make sure out-of-box example can be rebuilt in both Linux and Windows.
Update Windows build scripts
- Update PAF build script to take correct CGT install directory.
- Update env setup script to set PAF related build env vars.
- Update PAF build script to take correct CGT install directory.
- Update env setup script to set PAF related build env vars.
Changed makefiles to make PASDK into performance audio demo in PRSDK.
Changed copyright year to 2018.
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk577RunTimeAudioIoCfg' into dev_pasdk1_3_integration
PASDK-577:Call new McASP LLD control cmd to set Tx bit-clock divider
This is a workaround for the pair-wise channel swap issue with the McASP
LLD control cmd casp_IOCTL_CNTRL_SET_FORMAT_CHAN.
This is a workaround for the pair-wise channel swap issue with the McASP
LLD control cmd casp_IOCTL_CNTRL_SET_FORMAT_CHAN.
Merge remote-tracking branch 'origin/dev_pasdk1_3_integration' into dev_pasdk_frank_pasdk577RunTimeAudioIoCfg
Analog in and analog out configuration is working.
PASDK-577:
Change default rateX to correspond to default Tx McASP CLKXDIV
Add error return to asopSetCheckRateX.
Update ASOT to check error returns from setCheckRateX.
- ignored in Init-Sync Dec1. This is typical use case since RateX
change is normal at start of stream.
- not ignored in Dec Info2. This isn't typical use case since RateX
shouldn't change during stream.
Change default rateX to correspond to default Tx McASP CLKXDIV
Add error return to asopSetCheckRateX.
Update ASOT to check error returns from setCheckRateX.
- ignored in Init-Sync Dec1. This is typical use case since RateX
change is normal at start of stream.
- not ignored in Dec Info2. This isn't typical use case since RateX
shouldn't change during stream.
PASDK-577:Add "proof of concept" code for McASP LLD to setCheckRateX
Add "proof of concept" code to asopSetCheckRateX() for setting Tx McASP
CLKXDIV using McASP LLD.
The "proof of concept" code only works for HDMI input & output sampling
rates 44.1,48,88.2,96 & 192 kHz.
Additional integration work needs to be done for asopSetCheckRateX()
full functionality. See sap_d10.c:manageOutput() for details of required
functionality.
Add "proof of concept" code to asopSetCheckRateX() for setting Tx McASP
CLKXDIV using McASP LLD.
The "proof of concept" code only works for HDMI input & output sampling
rates 44.1,48,88.2,96 & 192 kHz.
Additional integration work needs to be done for asopSetCheckRateX()
full functionality. See sap_d10.c:manageOutput() for details of required
functionality.
PASDK-577:Add experimental code for setting CLKXDIV in setCheckRateX
PASDK-577:Add error in case Output re-select w/ McASP LLD driver handle non-NULL
PASDK-577:Revert removal of Board_init() in DSP main()
PASDK-577:Clear already posted Output events on Output re-select
PASDK-577:Clear already posted Input events on Input re-select
Clear (drop) already posted Input events upon Input re-select.
Without this change, IO Phy & McASP LLD lose sync after Input re-select.
This problem was discovered for execPAIInHDMI re-select after at-boot.
Clear (drop) already posted Input events upon Input re-select.
Without this change, IO Phy & McASP LLD lose sync after Input re-select.
This problem was discovered for execPAIInHDMI re-select after at-boot.
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk577RunTimeAudioIoCfg' into dev_pasdk1_3_integration
PASDK 571: DTSX input and output working preliminarily:
1. I/O DATA added DTSHD specific handling
2. ASIT decoder init split into two parts in order not to wait for slave decoder reset too long
3. ASIT decoder FSM change corresponding to #2.
4. ASOT added reset of audio frame data pointers.
1. I/O DATA added DTSHD specific handling
2. ASIT decoder init split into two parts in order not to wait for slave decoder reset too long
3. ASIT decoder FSM change corresponding to #2.
4. ASOT added reset of audio frame data pointers.
PASDK-577:Add McASP LLD ch reset before McASP LLD ch delete
Rx McASP EDMA callback function stops without this update on Input
shortcut re-select.
Rx McASP EDMA callback function stops without this update on Input
shortcut re-select.
PASDK-577:Add JX updates for autodet restart, plug into ASIT FSM
PASDK-576:Avoid IO Buff allocating split buffer on buffer wrap
Dynamically size IO Buff buffer from which to allocate.
Size is multiple of:
Stream AF sample count x stride x size of element.
- Stream AF sample count is computed from ASP chain reset.
- Stride is from Output shortcut (select devices, McASP LLD config).
- Size of element is hard-coded in some place to 4. This need to be checked.
It should be possible to obtain size of element from the Output shortcut.
Dynamically size IO Buff buffer from which to allocate.
Size is multiple of:
Stream AF sample count x stride x size of element.
- Stream AF sample count is computed from ASP chain reset.
- Stride is from Output shortcut (select devices, McASP LLD config).
- Size of element is hard-coded in some place to 4. This need to be checked.
It should be possible to obtain size of element from the Output shortcut.
PASDK-577:Update asitSelectDevices() to call interace specific initialization
asitSelectDevices() updated to call D10_initClkMux() for every new
interface.
D10_initClkMux() configures the McASP clock mux on the Audio Daughter Card.
This clock mux will have the same setting for InHDMI or InHDMI stereo.
asitSelectDevices() updated to call D10_initClkMux() for every new
interface.
D10_initClkMux() configures the McASP clock mux on the Audio Daughter Card.
This clock mux will have the same setting for InHDMI or InHDMI stereo.
PASDK-577:Split D10 audio hardware init & add OutNone check to asitIoCompsInit()
D10_init() split:
- Run-once code, called from main
- Interface specific code, called from asitSelectedDevices()
D10_init() split:
- Run-once code, called from main
- Interface specific code, called from asitSelectedDevices()
PASDK-477:Move McaspDevice_init() from asitSelectDevices() to main()
McaspDevice_init() is run-once driver initialization code.
McaspDevice_init() is run-once driver initialization code.
PASDK-577:Update ASOT handling of OutNone
ASOT SM state changes to "Device Select" state in case OutNone selected in
"Reset Output Processing" state
ASOT SM state changes to "Device Select" state in case OutNone selected in
"Reset Output Processing" state
PASDK-577:Move local var declarations outside if()
PASDK-577:Reconfigure IO Buf & Phy when new Input device selected
PASDK-577:Add back run-once code to asitSelectDevices()
Code crashes in D10_init() on new interface w/o run-once control in place.
Code crashes in D10_init() on new interface w/o run-once control in place.
PASDK-577:Dynamic Input device selection
Update Input device selection routine to allow dynamic selection over
alpha command (Input shortcuts).
Update Input device selection routine to allow dynamic selection over
alpha command (Input shortcuts).
PASDK-577:Add more comments to ASOT select devices function
PASDK-577:Dynamic Output device selection
Update Output device selection to allow dynamic selection over alpha
commands (Output shortcuts)
Update Output device selection to allow dynamic selection over alpha
commands (Output shortcuts)
PASDK-577:Add McAsp LLD driver handle for each Output Interface
McASP LLD driver handle stored in mcaspLLDconfig for each Output Interface
for Interface
McASP LLD driver handle stored in mcaspLLDconfig for each Output Interface
for Interface
PASDK-576:Fix output pair-wise channel swap issue
PASDK-576:Update IO shortcuts
Update Output shortcuts to respond only when requested SIO select update
is observed (or timeout).
change all compile-time at-boot shortcuts so Input shortcut is invoked
before Output shortcut (Output has dependency on Input selection /
initialization).
Update Output shortcuts to respond only when requested SIO select update
is observed (or timeout).
change all compile-time at-boot shortcuts so Input shortcut is invoked
before Output shortcut (Output has dependency on Input selection /
initialization).
Update McASP Tx clock divider for PCM
PASDK-636:Updates for PrSDK 4.3.0.5
PASDK-633:Add code to process pending ack messages on decode complete
ASIT was losing messaging sync in decode compelte (decDecodeComplete()
because of pending IPC MessageQ ACK messages (e.g. stream terminated
before EOS). Added code to process any such pending ACK messages.
ASIT was losing messaging sync in decode compelte (decDecodeComplete()
because of pending IPC MessageQ ACK messages (e.g. stream terminated
before EOS). Added code to process any such pending ACK messages.
PASDK-633: Implemented IB config queue in ASIT decode FSM.
PASDK-568:Fix merge error
PASDK-568:Merge to 561 integration branch
Disable debug capture of AF
PASDK 568: fixed ASIT decoding FSM bug.
5 years agoMerge branch 'PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification
Merge branch 'PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification
- picking up the fix in ioBuffInit
- picking up the fix in ioBuffInit
ioBuffInit returns error if parameter nominal delay is equal to buffer size.
PASDK-568:Reduce number of compiler warnings
PASDK-568:Remove extra call to CB stream frame length initialization missed in previous commit
Fix No IP build
Merge remote-tracking branch 'origin/PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification
PASDK-568:Revert merge from PASDK-514, add Gate & cache inv to CB stream FL read function
PASDK-568: added error check after calling encoder wrapper.
PASDK-568: added logic and encoder wrapper to handle output buffer wrapping around
PASDK-568:Move Dec Info1 IS to Dec Decode1 IS
ARM:
- latch 1st decode AF output
DSP:
- in Decode IS, use latched AF to initialize Stream AF
- overwrite Stream AF sample count to CB stream frame length.
CB stream frame length can be configured via alpha command or
automatically.
- Execute ASP chain reset, Enc Info, SetCheckRateX & StartOutput.
ASP chain reset will have proper AF sample count in case SRC enabled for
decimation (Stream AF sample count will be updated in this case).
StartOuput Phy frame length & delay setup will have proper sample count
for frame length parameter.
ARM:
- latch 1st decode AF output
DSP:
- in Decode IS, use latched AF to initialize Stream AF
- overwrite Stream AF sample count to CB stream frame length.
CB stream frame length can be configured via alpha command or
automatically.
- Execute ASP chain reset, Enc Info, SetCheckRateX & StartOutput.
ASP chain reset will have proper AF sample count in case SRC enabled for
decimation (Stream AF sample count will be updated in this case).
StartOuput Phy frame length & delay setup will have proper sample count
for frame length parameter.
Remove tabs
Remove tabs
PASDK-568:Update CB read to properly set AF sample count
cbReadAf():
AF sample count set to number of PCM samples read from PCM buffer in case
of partial read (fewer PCM samples in buffer than number of PCM samples
requested in read).
Update code to set AF sample count to number of PCM
samples requested in read.
If CB in drain state, this isn't an underflow (e.g. EOS trailing samples).
If CB not in drain state, this is logged as an underflow.
cbReadAf():
AF sample count set to number of PCM samples read from PCM buffer in case
of partial read (fewer PCM samples in buffer than number of PCM samples
requested in read).
Update code to set AF sample count to number of PCM
samples requested in read.
If CB in drain state, this isn't an underflow (e.g. EOS trailing samples).
If CB not in drain state, this is logged as an underflow.
PASDK-514: Moved CB status to Non-cached memory.
(cherry picked from commit 41ffcdb271f8964663ef0fd0174e86935e104c6d)
(cherry picked from commit 41ffcdb271f8964663ef0fd0174e86935e104c6d)
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk587CreateNewMakefiles' into dev_pasdk_pasdk589PasdkIntegrationIntoPrsdkTesting
Removed eclipse plugin since we will let Yocto do it.
Added McASP clock configurations for THD 96kHz, 192kHz output.
PASDK 564: Removed one dependency of hard coded number from the input task initialization.
Changed product name and root path environment variable name.
PASDK-587:Update products.mak for Windows
Fix glitch in Windows environment setup for IPC install directory
PASDK-605:Add PASDK root dir variable to Windows environment setup batch file
PASDK-605:Fix OS package creation script for split os_paf_dev
PASDK-605:Update PAF & FD build scripts for PAF updates: from PASDK_1.2.2.0
PASDK-605:Update Tools submodule
PASDK-605:Update submodules