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
PASDK-585:Remove K2G name from Aud API usage
Merge branch 'dev_pasdk_frank_pasdk605SanitizeReposForIpContent' into dev_pasdk_pasdk561Integration
Replaced hard coded OUTPUT_STRIDE with configured stride = num_serializer*num_channel.
McASP Tx clock is hard coded for DDP 48kHz. DDP 48kHz streaming works
fine. To run PCM streaming, neeed to change McASP Tx clock aclkxctl.
McASP Tx clock is hard coded for DDP 48kHz. DDP 48kHz streaming works
fine. To run PCM streaming, neeed to change McASP Tx clock aclkxctl.
Debugging DDP output.
PASDK-605:Update PAF submodule
PASDK-605:Use split os_paf_dev submodules
Move os_paf_dev repo from pasdk/paf to pasdk/os_paf_dev
Add pasdk/paf repo w/o IP:
Add pasdk/asp repo containing BM2, DEM & SNG1
Add pasdk/3p-ip-ti repo containing GEQ3 & DSD2.
Move os_paf_dev repo from pasdk/paf to pasdk/os_paf_dev
Add pasdk/paf repo w/o IP:
Add pasdk/asp repo containing BM2, DEM & SNG1
Add pasdk/3p-ip-ti repo containing GEQ3 & DSD2.
Update DTS IP submodule for updated make files
PASDK-605:Update DSD build script (library option only) for split os_paf_dev repo
PASDK-605:Update FD package creation script for split os_paf_dev repo
PASDK-605:Update PASDK & FD package version number in build_all.bat
PASDK-605:Update DH & DTS:X component make files for split os_paf_dev repo
PASDK-586:Update PAF libs build batch file to copy windows make files to active make files
Add branch labels to DH build batch file for easier debug
PASDK-605:Update PAF submodule
Merge branch 'dev_pasdk_pasdk561Integration' of ssh://bitbucket.itg.ti.com/pasdk/pasdk_sr into dev_pasdk_pasdk561Integration
PASDK-575: Update McASP LLD configurations for analog in and analog out.
PASDK-561:Update PAF submodule to use latest PAF make files
PASDK-587:Remove ARM & DSP release build configuration. Update install rules. Update RTSC component makefile to invoke install rule.
PASDK-587:Update RTSC component makefile for PASDK ARM & DSP application build
PASDK-587:Add conditional assignment of build variables which can be set from environment.
Update name of CGT build variable to allow them to be set from environment.
Update name of CGT build variable to allow them to be set from environment.
PASDK-587:Update RTSC component makefile for update in PAF build
Merge branch 'dev_pasdk_frank_pasdk587CreateNewMakefiles' into dev_pasdk_pasdk561Integration
Added compilation of paf to the master makefile.
Added RTSC packaging files to the final tar ball.