Recording audio from on-board microphone

Hi, I am using the M2M to record/stream video+audio from camera+microphone. I have installed the official Linux image based on Ubuntu and I am using ffmpeg-3.1.4 patched with cedrus264 ( the one shipped with the official image ).

The camera streaming works good, but there is no way to access the on-board microphone.

I have tried “-f alsa -i hw:0 -profile:v high -level:v 4.1 -preset ultrafast -tune zerolatency -b:v 512k -acodec aac -strict -2 -ac 2 -ab 32k -ar 44100”, but it says there is no hardware available.

Also i have tried alsamixer and it says there is no mixer.

The kernel logs don’t show anything about alsa and the audio hardware ( except for the usb_sndio and the hdmi audio ).

Am i missing something?