We have been using kernel from Balbes branch as most of the IO was fully functionaly but now as we have many devices to support, we at Manjaro ARM Project want to start using upstream mainline kernel for Khadas devices.
We are able to use the Mainline upstream kernel with some patches but we still do have some IO not working. I would like to know which patches are needed to make it functional.
What is not working:
Audio - ( we have the right configs in kernel but still we’re not able to see asound cards)
Fan - (Not sure if the mcu driver is completed or not.)
What I have done so far to make the audio work on upstream kernel.
Followed all the audio config of alsa-lib, example: aliases method to point the Card name to a common card like AMLOGIC-HDMI.conf and also tried manual card config then used the sound script to set the right mixer but as the script cannot find any card then it just fails.
In upstream kernel I am not able to see any card under /proc/asound/ nor in aplay -Ll
It doesn’t pass Starting kernel ...
Which I assume have some issue reading the kernel from the sd card, I am using Mainline uboot 2020.10 and mainline kernel from upstream source.