Hi,
I have flashed OMAP_SDK_1.0.2 on OMAP 35 x micron board and tring to run decode demo from DVSDK_3_00_00_29. I have copied DVSDK demo files in SD card. I have copied decodeCombo.x64P in decode directory and I am able to decode and run audio mp3 file as follows:-
[root@OMAP3EVM decode]# ./decode -a ../interface/data/sounds/davincieffect.mp3
Decode demo started.
Decode demo ARM Load: 5% DSP Load: 5% Display Type: VGA Video Codec: N/A Video fps: 0 fps Video bit rate: 0 kbps Video resol
Decode demo ARM Load: 0% DSP Load: 6% Display Type: VGA Video Codec: N/A Video fps: 0 fps Video bit rate: 0 kbps Video resol
Decode demo ARM Load: 1% DSP Load: 6% Display Type: VGA Video Codec: N/A Video fps: 0 fps Video bit rate: 0 kbps Video resol
Decode demo ARM Load: 0% DSP Load: 6% Display Type: VGA Video Codec: N/A Video fps: 0 fps Video bit rate: 0 kbps Video resol
End of clip reached, exiting..
but I while decoding the Video files (.m4v and .264) then the following errors are coming:-
[root@OMAP3EVM decode]# ./decode -v ../interface/data/videos/davincieffect_ntsc_1.264
Decode demo started.
decode: page allocation failure. order:10, mode:0xd1
[<c002f374>] (dump_stack+0x0/0x14) from [<c008c730>] (__alloc_pages+0x288/0x29c)
[<c008c4a8>] (__alloc_pages+0x0/0x29c) from [<c008c76c>] (__get_free_pages+0x28/0x5c)
[<c008c744>] (__get_free_pages+0x0/0x5c) from [<c01c2888>] (omap35xvout_alloc_buffer+0x40/0xa0)
[<c01c2848>] (omap35xvout_alloc_buffer+0x0/0xa0) from [<c01c2a34>] (omap35x_buffer_setup+0xbc/0x280)
r5:c3786000 r4:c3786000
[<c01c2978>] (omap35x_buffer_setup+0x0/0x280) from [<c01bfccc>] (videobuf_reqbufs+0x124/0x1dc)
[<c01bfba8>] (videobuf_reqbufs+0x0/0x1dc) from [<c01c403c>] (omap24xxvout_do_ioctl+0x894/0x158c)
r7:c066de38 r6:c3786304 r5:c3786000 r4:00000000
[<c01c37a8>] (omap24xxvout_do_ioctl+0x0/0x158c) from [<c01afc54>] (video_usercopy+0x1b8/0x2b8)
[<c01afa9c>] (video_usercopy+0x0/0x2b8) from [<c01c4e94>] (omap24xxvout_ioctl+0xdc/0xec)
[<c01c4db8>] (omap24xxvout_ioctl+0x0/0xec) from [<c00b2550>] (do_ioctl+0x68/0x78)
[<c00b24e8>] (do_ioctl+0x0/0x78) from [<c00b27c0>] (vfs_ioctl+0x260/0x278)
r5:413e0c0c r4:c09c0a80
[<c00b2560>] (vfs_ioctl+0x0/0x278) from [<c00b2818>] (sys_ioctl+0x40/0x64)
r7:c09c0a80 r6:c0145608 r5:413e0c0c r4:00000008
[<c00b27d8>] (sys_ioctl+0x0/0x64) from [<c002ae40>] (ret_fast_syscall+0x0/0x2c)
r7:00000036 r6:413e1680 r5:00000002 r4:00000002
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 18, btch: 3 usd: 11 Cold: hi: 6, btch: 1 usd: 5
Active:1468 inactive:1404 dirty:0 writeback:4 unstable:0
free:9814 slab:417 mapped:265 pagetables:25 bounce:0
DMA free:39256kB min:1196kB low:1492kB high:1792kB active:5872kB inactive:5616kB present:89408kB pages_scanned:0 all_unreclaolowmem_reserve[]: 0 0
DMA: 34*4kB 58*8kB 2*16kB 1*32kB 7*64kB 12*128kB 3*256kB 10*512kB 14*1024kB 8*2048kB 0*4096kB 0*8192kB = 39256kB
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap = 0kB
Total swap = 0kB
Free swap: 0kB
22528 pages of RAM
10645 free pages
8062 reserved pages
417 slab pages
347 pages shared
0 pages swap cached
Error: Failed to create display device
It seems this is the issue of the memory on OMAP 35x board. After flashing newer SDK images the onboard memory is as follows:-
Filesystem
Size Used Available Use% Mounted on
rootfs
7.7M 4.0M 3.3M 81%
/
/dev/root
7.1M 4.0M 3.3M 81%
/
mdev
57.5M 0
57.5M 0% /dev
none
57.5M 0
57.5M 0% /tmp
What may be the fix .