Headphone output and onboard microphone

Hello I use Ubuntu Mate (2018-01-04-ubuntu-16.04-mate-desktop-v1.0-bpi-m2u-sd-emmc.img) and sound goes well through HDMI. But there are some problems with headphone output and an onboard microphone. It seems that only one left output channel works and a mic doesn’t work at all. Do anyone know how to configure sound (ALSA?) to launch onboard headphone completely and mic? If any other Linux distro support onboard sound features of m2u, please tell me.

Hello, I tried it, HDMI audio is ok, but on board mic and audio have some problems, we gonna fix it in the next image.

If you want to fix it by yourself, you could pull our project on github , then try to find the reason.