Hi,
I am working on Appro DM368 reference board.On running ./av_server.out i am getting the following errors:
# ./av_server.out D1
AVSERVER UI: Initializing.
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
DRV LDC: GetConfig 0003 0x0
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
CMEMK Error: Failed to find a pool which fits 28672
CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
CMEM Error: getPCMEMK Error: get_phys: get_user_pages() failed: -14
ool: Failed to gCMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
et a pool fittinCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
g a size 28672
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEM Error: getPCMEMK Error: FREE: Failed to convert virtual 0x0 to physical
hys: Failed to get physical address of 0
CMEM Error: free: failed to free 0
ERROR (alg.c|ALG_sysInit|82): VICP Protocol regn failed
ERROR (avServerApi.c|AVSERVER_init|578): ALG_sysInit()
ERROR (avServerUi.c|UI_start|54): AVSERVER_init()
Please help me in debugging the cmem error.I tried allowOverlap=1 while doing insmod cmem.ko but same error.
Also if i use cmemk phys_start=0x83700000 phys_end=0x85900000 allowOverlap=1 useHeapIfPoolUnavailable=1
it says useHeapIfPoolUnavailable not defined.I also tried to print debug info using CE_DEBUG=2 info but that also doesn't help
in overcoming this issue.
Is there any other way of getting rid of this issue.
Also i am trying to learn linux,if someone could help me with the following:
1.On customised dm368 evm board what are the things needed to port ipnc application.
2.If we have to implement uboot,bootloader on customised evm board.
3.Also how can we test osa,cmem,codec engine library,video capture and port ipnc application on that.
4.If the dvsdk and lsp we are using with Appro reference design we can port on our own built dm368 evm board.
also following issues in linux:
1.In which files/directory we initialize bootlog.which files i have to
change in order to modify boot log.
how to make a process run as
daemon process.
2.Also about linux boot sequence,help/tutorial on linux boot
sequence.
3.Major steps in bringing up the new custom evm board.
4.Things
to know in order to write the bootloader.
Thanks and Regards,
Mayank