This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am37x evm run saUserPtrLoopback Cannot allocate memory

Other Parts Discussed in Thread: TVP5146

Hi

a error running saUserPtrLoopback

SDK : AM37xSDK 06.00.00.00

 i use the prebuilt image and FS(in the SDK)to boot am37x evm(omap evm REV G),it succeed ,and run the application saUserPtrLoopback,but cannot allocate memory ,as shown below:

Media: Opened Media Device
Enumerating media entities
[1]:OMAP3 ISP CCP2
[2]:OMAP3 ISP CCP2 input
[3]:OMAP3 ISP CSI2a
[4]:OMAP3 ISP CSI2a output
[5]:OMAP3 ISP CCDC
[6]:OMAP3 ISP CCDC output
[7]:OMAP3 ISP preview
[8]:OMAP3 ISP preview input
[9]:OMAP3 ISP preview output
[10]:OMAP3 ISP resizer
[11]:OMAP3 ISP resizer input
[12]:OMAP3 ISP resizer output
[13]:OMAP3 ISP AEWB
[14]:OMAP3 ISP AF
[15]:OMAP3 ISP histogram
[17]:tvp514x 3-005c
[17]:tvp514x 3-005c
Total number of entities: 17
Enumerating links/pads for entities
pads for entity 1=(0 INPUT) (1 OUTPUT)
[1:1]===>[5:0] INACTIVE

pads for entity 2=(0 OUTPUT)
[2:0]===>[1:0] INACTIVE

pads for entity 3=(0 INPUT) (1 OUTPUT)
[3:1]===>[4:0] INACTIVE
[3:1]===>[5:0] INACTIVE

pads for entity 4=(0 INPUT)

pads for entity 5=(0 INPUT) (1 OUTPUT) (2 OUTPUT)
[5:1]===>[6:0] ACTIVE
[5:2]===>[7:0] INACTIVE
[5:1]===>[10:0] INACTIVE
[5:2]===>[13:0] ACTIVE
[5:2]===>[14:0] ACTIVE
[5:2]===>[15:0] ACTIVE

pads for entity 6=(0 INPUT)

pads for entity 7=(0 INPUT) (1 OUTPUT)
[7:1]===>[9:0] INACTIVE
[7:1]===>[10:0] INACTIVE

pads for entity 8=(0 OUTPUT)
[8:0]===>[7:0] INACTIVE

pads for entity 9=(0 INPUT)

pads for entity 10=(0 INPUT) (1 OUTPUT)
[10:1]===>[12:0] INACTIVE

pads for entity 11=(0 OUTPUT)
[11:0]===>[10:0] INACTIVE

pads for entity 12=(0 INPUT)

pads for entity 13=(0 INPUT)

pads for entity 14=(0 INPUT)

pads for entity 15=(0 INPUT)

pads for entity 17=(0 OUTPUT)
[17:0]===>[5:0] ACTIVE

pads for entity 17=(0 OUTPUT)
[17:0]===>[5:0] ACTIVE

Enabling link [tvp5146]===>[ccdc]
[tvp514x]===>[ccdc] enabled
Enabling link [ccdc]===>[video_node]
[ccdc]===>[video_node] enabled
Capture: Current Input: camera
Capture: Input changed to: camera
Capture: Current standard: NTSC

Mem-Allocator: Opened Channel
Display: Number of requested buffers = 3
Display: Init done successfully


Display: Opened Channel
Display: Capable of streaming
Cannot allocate memory: Cannot allocate memory
Error in opening display device

Media: Opened Media Device
Resetting all links...

the video input is CVBS IN,it just can not allocate memory and Error in opening display device.

also i try saMmapLoopback,and it failed to open /dev/v4l-subdev9.

how can i fix it? i boot from the SD card ,MLO u-boot.img and uImage  in the partition 1,and the FS (targetNFS in the SDK) in the partition,type is ext3.

thanks