help compile oscam for amlogic S905

  • how to compile oscam for amlogic S905 box i have the kernel source code of S905 and the amlogic dvb driver source code too

    i try to compile oscam but it doesn't work (no dvbapi support) and i have old compiled oscam it work good.

    the old oscam use dvbapi=mbox

    [dvbapi]
    enabled = 1
    au = 1
    user = dvbapiau
    boxtype = mbox

    ------------------------------------------

    the new version doesn't have mbox in dvbapi

    log of last oscam not work

    2018/06/17 21:52:58 253C6082 c (dvbapi) dvbapi channelcache loaded from /storage/emulated/0/oscam/oscam.ccache

    2018/06/17 21:52:58 253C6082 c (dvbapi) Using /tmp/camd.socket listen socket, API forced to DVBAPIv3 (0), userconfig boxtype: 1

    this is the log of worked old oscam

    2015/01/01 01:00:15 00000000 s (alpum) CPU is S905
    2015/01/01 01:00:15 00000000 s (alpum) i2c bus dev:/dev/i2c-1
    2015/01/01 01:00:15 00000000 s (alpum) alpum_init: open /dev/i2c-1
    2015/01/01 01:00:15 26777E72 c (dvbapi) dvbapi channelcache loaded from /data/data/com.streamboard.android.oscam/oscam.ccache
    2015/01/01 01:00:15 26777E72 c (dvbapi) Detected /dev/dvb0.demux0 Api: 0, userconfig boxtype: 14 maximum amount of possible filters is 31 (oscam limit is 32