On Mon, Jul 17, 2017, at 03:26, Michael Mrozek wrote:
Hi,
On Tue, Jul 04, 2017 at 02:23:41AM +0200, Michael Mrozek wrote:
However, we could need more help - especially with the kernel setup, drivers and patches (for example, ABE support needs to be ported from an older kernel version to the current one, otherwise simple audio playing needs tons of processor time).
I'd love to work on this, but after searching at Goldelico issue tracker, pyra-kernel ML, #dragonbox-{dev,pyra} IRC logs and Letux branches names I am still quite out of context.
Thanks a lot :) Does that mean you have a bit more time now?
No, I have less time :) As I notified you privately before, I'm a father now :)
If you do, I can send you a unit to work on as well.
Let's start the work and see then. Having hands on a unit is very rewarding, but I'm not sure it's worth it for the team. Maybe you should give it to somebody to be a "proxy" for many remote devs, ideally a person with relaxed timetable, to be able to run somebody's code with minimal delay after developer request.
Please file a ticket on issue tracker (GitLab you have deployed is good). In it, please specify:
- What "ABE support" means in case of Pyra, specifically
- Trusted URL of older kernel to port the code from
- Paths of files with code to port
- Test procedures which must work with the new way, with enough details for fresh participant to orient
- Just a terse technical introduction into what is known about the problem, as possible.
Yes, I want to work on the tickets as soon as I find the time.
ABE is the Audio Back-End of the OMAP5. In the case of the Pyra, it would be used to do audio sample rate conversions. AFAIK, the TWL runs with 96kHz, so basically everything needs to be upsampled.
Downsampled, supposedly? Twl6080 is full chip name, right?
Usually, the ABE does that, but as it doesn't work right now, the processor has to do that - which means that playing audio on the Pyra needs a lot of CPU power right now.
Where to find it... good question. zmatt should be able to help here (ping him on IRC, in case he doesn't reply to the mailing list here).
I found the following (TI kernel 3.8): https://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/master/sound/s oc/omap/omap-abe-twl6040.c
It still SEEMS to be in our kernel tree: http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=sound/soc/omap/om ap-abe- twl6040.c;h=614b18d2f631b80c61e32eaca0b139c816fcb5d5;hb=refs/heads/letu x-4.12.1
Though I don't know if it works or not. Hopefully zmatt can shed some light here :)
Good start. Will reach zmatt.