I had posted this before, but I still trying to debug this problem, about seeting the configurations of the CMEMK on the loadmodule-rc
this is the original configurations of the CMEMK on the loadmodule-rc file
load () {
modprobe cmemk phys_start=0x83C00000
phys_end=0x88000000 allowOverlap=1 phys_start_1=0x00001000
phys_end_1=0x00008000 pools_1=1x28672 useHeapIfPoolUnavailable=1
but I want this configuration of the cmemk to be like this
cmemk phys_start=0x84c00000 phys_end=0x88000000 pools=8x46672
so I made this changes on the load module
load () {
modprobe cmemk phys_start=0x84c00000
phys_end=0x88000000 pools=8x46672 allowOverlap=1 phys_start_1=0x00001000
phys_end_1=0x00008000 pools_1=1x28672 useHeapIfPoolUnavailable=1
but it does not seem to work, because if it did capture_prev_rsz_onthe_fly_bayer_mew would had work, because when I do rmmod cmemk and then insmod cmemk with this configurations
cmemk phys_start=0x84c00000 phys_end=0x88000000 pools=8x46672
the program works, so how can I made this configuration to load automaticly on the loadmodule-rc
root@dm368-evm:/usr/share/ti/linux-driver-examples/imp-prev-rsz# ./capture_prev_
rsz_onthe_fly_bayer_mew -i1 -m4 -h60
input_std_paramsCMEMK Error: ALLOC: invalid pool (0) passed.
: name = V4L2_STD_720P_30
input_std_params: output size = 1280 * 720
calling cmem utilities for allocating frame buffers
CMEM Error: allocPool: ioctl CMEM_IOCALLOC failed from pool 0: -1
Failed to allocate cmem pool
Unable to Allocate user buffers
Regards,
Andre