hi all
my hardware platform = EVM8168 (DDR3) + VS card (Version C)
my software = DVRRDK_02.00.00.23
the uImage and rootfs both come from DVRRDK
the steps of running demo is here
1> ./init.sh
2> ./load.sh
3> ./run.sh
root@dvr:/opt/dvr_rdk/ti816x# ./run.sh
=========
Main Menu
=========
1: VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
3: VCAP + VENC + VDIS - SD Encode ONLY
4: VCAP + VENC + VDIS - HD Encode ONLY
5: VDEC + VDIS - SD/HD Decode ONLY
6: VCAP + VDIS - NO Encode or Decode
7: CUSTOM DEMO - 2Ch D1 Encode
8: CUSTOM DEMO - 1Ch D1 + 4CIF Encode
9: CUSTOM DEMO - 1Ch D1 Decode
e: Exit
Enter Choice:
input 1 to run the frist demo
1: VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
4> slect setting
=============
Run-Time Menu
=============
1: Capture Settings
2: Encode Settings
3: Decode Settings
4: Display Settings
5: Audio Settings
i: Print detailed system information
e: Stop Demo
input 5
5> audio setting
===================
Audio Settings Menu
===================
1: Set Audio Storage Path
2: Start Audio Capture
3: Stop Audio Capture
4: Start Audio Playback
5: Stop Audio Playback
6: Set Audio Capture Configuration
p: Previous Menu
Enter Choice:
6> frist set audio storage path
Enter Choice: 1
Enter file write path : /home/root
Selected file write path [/home/root]
Store path set to /home/root
Trying to set storage path to /home/root
7> start capture
p: Previous Menu
Enter Choice: 2
Select AUDIO CAPTURE CH ID [0 .. 15] : 0
Selected CH ID = 0
Removing /home/root/01/record01.pcm
Removing /home/root/01/record02.pcm
Removing /home/root/01/record03.pcm
Removing /home/root/01/record04.pcm
Removing /home/root/01/record05.pcm
Removing /home/root/01/record06.pcm
Removing /home/root/01/record07.pcm
Removing /home/root/01/record08.pcm
Removing /home/root/01/record09.pcm
Removing /home/root/01/record10.pcm
===================
Audio Settings Menu
===================
1: Set Audio Storage Path
2: Start Audio Capture
3: Stop Audio Capture
4: Start Audio Playback
5: Stop Audio Playback
6: Set Audio Capture Configuration
p: Previous Menu
Enter Choice: Opened /home/root/01/record01.pcm for recording..
all is ok but
1> 0ch - 3ch
capture / playback both pass
2> 4ch - 15ch
can not capture / playback
why ?
then i check tvp5158 audio driver
found
static u8 cascade_id[] = {
0x5c, 0x5d, 0x5e, 0x5f,
};
this is i2c address of tvp5158 on DVR platform
then i changed it to EVM 's i2c address
static u8 cascade_id[] = {
0x58, 0x5c, 0x5a, 0x5e,
};
but ch4 - ch15 also can not work
why?
thank you for any help