We're updating the issue view to help you get more done. 

Add sound to Odroid N2

Description

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 ?

Activity

Show:
balbes150
October 18, 2020, 10:34 AM

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).

balbes150
October 18, 2020, 3:25 PM

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).

Igor Pecovnik
October 18, 2020, 8:46 PM

Thanks, it works. Now dealing with how to implement this script in best way.

balbes150
October 19, 2020, 11:45 AM

To avoid creating an issue due to a minor error. need to delete the extra line from the script for N2.

 

https://github.com/armbian/build/blob/master/config/bootscripts/boot-odroid-n2-mainline.ini#L6

Igor Pecovnik
October 19, 2020, 12:17 PM

done. currently this file is anyway not in use since we use old bootloader and this

Done

Assignee

balbes150

Reporter

balbes150

Components

Labels

None

Fix versions

Priority

Medium
Configure