Add sound to Odroid N2
I apologize immediately, I may not be forming this task correctly or in the wrong place, you can move it\change it or delete it as it is not correct. I checked the build of the image for N2 with the latest MASTER, changing the kernel config and adding the audio enable script solved the problem of enabling HDMI audio. Do I need to generate a PR to send to GIT ?
done. currently this file is anyway not in use since we use old bootloader and this
Thanks, it works. Now dealing with how to implement this script in best way.
I downloaded the last night image (2020-10-17) for N2. Performed the "apt upgrade" update. I checked for audio devices - nothing. Installed a new kernel, which differs from the standard one only by using a patch for configuration. Sound devices appeared. Added a sound script and ran it. The sound started working via HDMI. The convenience of the script is that if the user breaks the sound settings during experiments, it is enough to run this script and the sound will again be correctly configured and works. I attach a patch file for the configuration and a sound script (by the way, the script correctly turns on sound on all AML RK devices).
The reason is in the kernel configuration. I checked the kernel build completely using the current MASTER (git build, which uses the current 5.8.16 kernel) and changed only the kernel configuration. After that, sound devices appeared in the system and running the script can activate them correctly. The sound started working on N2. I can attach a DEB file with the kernel here (it also contains the modified kernel config) and the script that I used to turn on the sound. Or I can make a PR for a separate branch in GIT build (for sound tests).