@SUPA The warpme patches need work to implement into Armbian. That is what I have been trying to do. When and if we get it right, they should be included into the Armbian system.
In the meantime clone my repository, which has the patches implemented, and build your flavour of system from there.
cd ~/
git clone https://github.com/stephengraf/armbian_build_sg.git
cd armbian_build_sg
./compile.sh
The HDMI sound should work immediately.
The analog needs to be enabled as @sasa suggested:
/usr/bin/amixer -c 0 set 'Left Output Mixer DACL' 100% unmute
/usr/bin/amixer -c 0 set 'Left Output Mixer DACR' 100% unmute
/usr/bin/amixer -c 0 set 'Right Output Mixer DACL' 100% unmute
/usr/bin/amixer -c 0 set 'Right Output Mixer DACR' 100% unmute