Hi,
I'm trying to implement a pcie based video demo : processors.wiki.ti.com/.../MCSDK_VIDEO_2.1_PCIE_Demo_Guide; based on H.264 HP encoding.
I'm getting stuck at this point..
Prepare the EVM
Since I'm using a single C6678 EVM with AMC to PCIe Adapter Card (i.e., TMDSEVM6678L with TMDXEVMPCI), please follow the instructions below to set up the hardware, and then proceed to the next chapter.
Should I follow both steps 1 and 2, or just step 2 to setup hardware?
If I follow just the step 2, and proceed,
After ./initi_dsp.sh 1000,
Number of devices: 1
./init_dsps.sh: 23: [: Illegal number: c01
./init_dsps.sh: 27: [: Illegal number: c01
Device: 0 : evmc6678l
boot config file initcfg_1000.txt
DSP boot config addr 0x86ff00
DSP boot config size in bytes 8
Boot config words: 0xbabeface,
Boot config words: 0x14,
Overriding image entry point with input 860000 Download image success !
After ./reset_dsp.sh 1000
Num of devices 1
" ERROR: Reset code is not working : Timedout
Dsp 0: DSP Reset Fail !
Number of devices: 1
./init_dsps.sh: 23: [: Illegal number: c01
./init_dsps.sh: 27: [: Illegal number: c01
Device: 0 : evmc6678l
boot config file initcfg_1000.txt
DSP boot config addr 0x86ff00
DSP boot config size in bytes 8
Boot config words: 0xbabeface,
Boot config words: 0x14,
Overriding image entry point with input 860000 Download image success !
After ./dnld_dsp.sh 1
boot config file ./bootcfg/bootcfg_0.txt
DSP boot config addr 0x800000
DSP boot config size in bytes 20
Boot config words: 0xbabeface,
Boot config words: 0x0,
Boot config words: 0x3,
Boot config words: 0x12345678,
Boot config words: 0x90abcdef,
Overriding image entry point with input c000000 Download image success !
After ./demoSave2File.sh
Number of Channels supported : 1
checkHostBufReqs() Complete.
Channel 1 Configuration:
Channel . ..... 1
Algorithm ..... H264HPENC
Width ......... 1920
Height ........ 1080
Verbosity ..... 0
Team 1 ........ 0 1 2 3
Node Mapping:
1 1 1 1 0 0 0 0
[DEBUG] openDevices() : There are a total of 1 devices discovered in the system.
[DEBUG] initDevices() : Opening cmem driver...
[DEBUG] initDevices() : cmem driver opened.
[DEBUG] initDevices() : Allocating contiguous memory for static mapping...
[DEBUG] initDevices() : Static global memory allocated.
[DEBUG] initDevices() : Reserving shared memory range for static global memory...
[DEBUG] initDevices() : Static global memory range allocated for Dev 0, Memrage: 0x60000000
[DEBUG] initDevice() : Mapping x86 contiguous memory for channel 1 to static global memory on device #0...
[DEBUG] initDevices() : Global IO memory range allocated for Dev 0, Memrage: 0x63000000
[DEBUG] initDevices() : Shared static global memory starts at 0x60000000.
[DEBUG] initDevices() : Shared input starts at 0x63000000.
initDevices() Complete.
[DEBUG] createBufferPools() : Allocating contiguous memory...
[DEBUG] createBufferPools() : 32 Input and 80 Output Buffers.
[DEBUG] createBufferPools() : Contiguous memory allocated.
[DEBUG] createBufferPools() : Input buffer pool created.
[DEBUG] createBufferPools() : Output buffer pool created.
[DEBUG] DeviceIOCreateNode(0,0) : TX mailbox handle allocated.
[DEBUG] DeviceIOCreateNode(0,0) : TX Mailbox created.
Then it hangs over here..
Thank you.
OS- Linux Ubuntu 14.04 64 bit
desktop-linux-sdk_01_00_00_07
bios mcsdk_2_01_02_05
mcsdk_video_2_1_0_8