Firefly Open Source Community

Title: Audio RT5640 [Print This Page]

Author: aebersold    Time: 12/14/2018 21:00
Title: Audio RT5640
Hi
We run Android Oreo 8.1 on our FireFly-RK3399 Boards in our Labs at the University.
Everything runs smooth except the audio part is not working.
There is no sound on the headset HPOx and also on the speaker SPOx output.
It seems that device tree is ok and the audio drivers are installed.

130|rk3399_firefly_mid:/ # cat /proc/asound/cards                              
0 [rockchiprt5640c]: rockchip_rt5640 - rockchip,rt5640-codec
                                              rockchip,rt5640-codec
1 [ROCKCHIPSPDIF  ]: ROCKCHIP_SPDIF - ROCKCHIP,SPDIF
                                                 ROCKCHIP,SPDIF
2 [rkhdmidpsound  ]: rk-hdmi-dp-soun - rk-hdmi-dp-sound
                                                 rk-hdmi-dp-sound

How can I  fix that problem?
Is it more a Linux problem  or in the Android part?

Many thanks and Regards
Martin

Author: leungÏÈÉ­    Time: 12/22/2018 11:19
Working on it. Just waiting for update.
Author: aebersold    Time: 12/22/2018 21:16
Thank you leung :_)
Author: aebersold    Time: 12/27/2018 21:06
Dear leung

Do you already have a fix for the audio problem.
It would be great if the new firmware works at the beginning of January and we are able to use it at our labs.

Thank you.
Author: aebersold    Time: 1/16/2019 20:39
Any progress?

Thanks
Author: leungÏÈÉ­    Time: 1/18/2019 15:33
aebersold Posted at 1/16/2019 20:39
Any progress?

Thanks

patch.rar (6.61 MB, Down times: 57)




flash kernel.img and replace source code
audio.primary.rk30board.so_32 vendor/rockchip/common/tinyalsa/lib/hw/audio.primary.rk30board.so
audio.primary.rk30board.so_64 vendor/rockchip/common/tinyalsa/lib64/hw/audio.primary.rk30board.so

or adb push and replace
vendor/lib64/hw/audio.primary.rk30board.so
vendor/lib/hw/audio.primary.rk30board.so

Author: aebersold    Time: 1/19/2019 18:14
Hello

adb push doesn¡¯t work directly because /vender/ is mounted ro
I was able to update the audio.primary.rk30board.so in the vendor.img (64bit)

How can I unpack/repack the kernel.img
We use a modified device tree blob rk3399-firefly.dtb and I need to replace it?

It would be great if the patch goes into the firenow-oreo-rk3399 repo.

Thanks a lot
Martin

Author: aebersold    Time: 1/21/2019 16:10
Hello

We use a touchscreen driver from FocalTech FT5x06 in the kernel.
Your kernel image doesn't work, because the FT5x06 driver is not enabled in your kernel image.

What changes do I have to make in the kernel source tree for the audio part?

Thank you
Martin


Author: leungÏÈÉ­    Time: 1/21/2019 16:39
aebersold Posted at 1/21/2019 16:10
Hello

We use a touchscreen driver from FocalTech FT5x06 in the kernel.

We will update Android8.1 source code this week . Just wait a few days.
Author: aebersold    Time: 1/27/2019 17:28
Hello

Is the Android 8.1 source already updated?
I would like to update the firmware of our 35 RK399 Android Lab-Kits.

Thank you
Author: leungÏÈÉ­    Time: 1/28/2019 10:36
aebersold Posted at 1/27/2019 17:28
Hello

Is the Android 8.1 source already updated?

Today will release all serial RK3399 Android8.1 firmware and source code.
Waiting for uploading done.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1