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.

how to creat an DM365 Ramdisk?

hi, everyone:

      I'm using DM365 VPBE to get an decode and display, and I have make it via NFS, now we want to make it use Ramdisk, and we use the ramdisk cames with PSP/bin/ramdisk.gz and add an /opt folder to store "cmem.ko ……, loadmodules_hd.sh, decode(recv_ipcam_1280)", when I use DM365EVM uImage, got an error like:


Mem-info:
DMA per-cpu:
cpu 0 hot: high 18, batch 3 used:0
cpu 0 cold: high 6, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages:        1864kB (0kB HighMem)
Active:1695 inactive:1633 dirty:0 writeback:0 unstable:0 free:466 slab:259 mapped:0 pagetables:0
DMA free:1864kB min:988kB low:1232kB high:1480kB active:6780kB inactive:6532kB present:61440kB pa
ges_scanned:13537 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_u
nreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_
unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned
:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 5*8kB 8*16kB 7*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB 0*8192kB
 0*16384kB = 1864kB
DMA32: empty
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap  = 0kB
Total swap = 0kB
Free swap:            0kB
15360 pages of RAM
490 free pages
11145 reserved pages
259 slab pages
0 pages shared
0 pages swap cached
Out of Memory: Kill process 2 (posix_cpu_timer) score 0 and children.
Out of Memory: Kill process 2 (posix_cpu_timer) score 0 and children.

but when I use Appro 365 IPNC's uImage, I can boot in ramdisk nomally and I can load modules but when I run recv_ipcam_1280(just an bin file like "decode"), I got an error like below:


# ./recv_ipcam_1280 192.168.1.218
./recv_ipcam_1280: error while loading shared libraries: libpthread.so.0: cannot open shared obje
ct file: No such file or directory

    Does someone met this before or someone knows why I got this two problem?  or someone knows how to creat an 365 ramdisk please let me know,  any advance will be appreciate.