KVERSION: 5.3-rc1 CONFIGS: arch/arm/configs/letux_defconfig arch/arm/configs/letux_lpae_defconfig arch/mips/configs/letux_defconfig
Infos ===== Project Home: http://projects.goldelico.com/p/gta04-kernel/ Issues: http://projects.goldelico.com/p/gta04-kernel/issues/
Downloads ========= git: http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux-5... ARM: http://download.goldelico.com/letux-kernel/letux-5.3-rc1 ARM-LPAE: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-lpae MIPS: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-l400
recent CHANGES (http://download.goldelico.com/letux-kernel/letux-5.3-rc1/src/CHANGES) ============== letux-5.3-rc1: * some rework of patches in letux/pyra-minimal (reshuffle, configure for LEDs & Keyboard) * add configure-replicant and configure-lpae, -debug, -kdb to Letux/scripts which tweak the defconfig * letux/android updated so that it builds after merging into letux-5.3-rc1 * letux_defconfig: configure new CONFIG_PREEMPT_LL * add configure-replicant script * significant upstream merge conflicts fixed - jz4730 cgu and clock divider - twl6040 dmic - we carry along some patches for Documentation/.../file.txt which has to be converted to file.yaml - fix drm_fb_helper to call drm_client_modeset_probe() - compile fix in jz4730-cgu.c - disable some aess code in omap-abe-twl6040.c because struct definitions have changed (more indirect pointers) * not yet fixed: - tiler drm_fb_helper.c broken once again - twl6040+aess audio broken even more than before - X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file - GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff) - letux_defconfig is not optimized for replicant builds
letux-5.2.2, letux-5.1.19, letux-4.19.60, letux-4.14.134: update from mainline
letux-5.2: * Letux rootfs: change wlan-on to start wpa_supplicant * update letux/android to add the latest improvements of letux-4.19-replicant * not yet fixed: - twl6040+aess audio broken - X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file - GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff) - letux_defconfig is not optimized for replicant builds
letux-5.1-next, letux-4.19-next, letux-4.14-next: * Letux rootfs: change wlan-on to start wpa_supplicant * [not letux-4.14-next] backport letux/dt-ci20: add LED0..LED3 and IR to CI20 DT * improvements for Replicant build
letux-5.1.16, letux-4.19.57, letux-4.14.132: update from mainline
letux-5.2-rc7: * not yet fixed: - twl6040+aess audio broken - X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file - GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-4.19.56-replicant: * rebased work/josua/android-4.17 onto letux-4.19.56 * gave a new name * lowmemorykiller did not apply, so it is currently missing * fixes for letux_defconfig * not tested
letux-4.14.129-replicant: * rebased work/lukas/android-4.10 onto letux-4.14.129 * gave branch a new name * added back lowmemorykiller * added system/load_modules.sh to be maintained in kernel tree * fixed system/load_modules.sh so that it loads the display/tvout drivers and some sensors * fixes for letux_defconfig
letux-5.2-rc6: * DTS: add board names to / { compatible = } where they are missing * not yet fixed: - twl6040+aess audio broken - X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file - GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-5.2-rc5: * fix for OMAP3 not finding OPPs and therefore not having cpufrequ-info * forward-port of proposed fix for omap-gpios * improve Letux/root/temperatures and Letux/root/batt * letux/dt-ci20: add LED0..LED3 and IR to CI20 DT * mergefile: new feature branch letux/dt-ci20 * mips/letux_defconfig: configure for GPIO-LEDs and GPIO-IR
letux-5.2-rc3: * omap5evm + Pyra: hackfix tca6424 and pcal6524 issues (incl. breaking charger, USB and OMAPDRM) by reverting a reasonable regmap patch * Pyra: more fixes for panel w677l driver * omap5: remove hackfix for dmtimer9 (used for Pyra backlight PWM) * letux/pyra-minimal: made compile and boot again with omap2plus_defconfig and letux_defconfig * letux/sound-soc: include "[PATCH] ASoC: ti: Fix SDMA users not providing channel names" === more cut off ===
Hi, the build server was successful after fixing several minor merge conflicts.
But unfortunately we also have some significant regressions:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
b) TILER framebuffer console rotation is once again broken. I have reverted the patches to drm_fb_helper.c to get it compile.
This should not be too difficult to fix since we only need one or two locations to get access to the really requested rotation value (which is no longer available in some struct).
Note: this is not yet fixed in the letux/pyra-minimal tree.
c) jz4730 had some changes in clock and cgu code. I hope this does not influence the CI20. Please test.
For Pyra issues, please check: http://projects.goldelico.com/p/gta04-kernel/issues/label/1799/open/
BR, Nikolaus
Am 22.07.2019 um 23:03 schrieb H. Nikolaus Schaller hns@goldelico.com:
KVERSION: 5.3-rc1 CONFIGS: arch/arm/configs/letux_defconfig arch/arm/configs/letux_lpae_defconfig arch/mips/configs/letux_defconfig
Infos
Project Home: http://projects.goldelico.com/p/gta04-kernel/ Issues: http://projects.goldelico.com/p/gta04-kernel/issues/
Downloads
git: http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux-5... ARM: http://download.goldelico.com/letux-kernel/letux-5.3-rc1 ARM-LPAE: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-lpae MIPS: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-l400
recent CHANGES (http://download.goldelico.com/letux-kernel/letux-5.3-rc1/src/CHANGES)
letux-5.3-rc1:
- some rework of patches in letux/pyra-minimal (reshuffle, configure for LEDs & Keyboard)
- add configure-replicant and configure-lpae, -debug, -kdb to Letux/scripts which tweak the defconfig
- letux/android updated so that it builds after merging into letux-5.3-rc1
- letux_defconfig: configure new CONFIG_PREEMPT_LL
- add configure-replicant script
- significant upstream merge conflicts fixed
- jz4730 cgu and clock divider
- twl6040 dmic
- we carry along some patches for Documentation/.../file.txt which has to be converted to file.yaml
- fix drm_fb_helper to call drm_client_modeset_probe()
- compile fix in jz4730-cgu.c
- disable some aess code in omap-abe-twl6040.c because struct definitions have changed (more indirect pointers)
- not yet fixed:
- tiler drm_fb_helper.c broken once again
- twl6040+aess audio broken even more than before
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
- letux_defconfig is not optimized for replicant builds
letux-5.2.2, letux-5.1.19, letux-4.19.60, letux-4.14.134: update from mainline
letux-5.2:
- Letux rootfs: change wlan-on to start wpa_supplicant
- update letux/android to add the latest improvements of letux-4.19-replicant
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
- letux_defconfig is not optimized for replicant builds
letux-5.1-next, letux-4.19-next, letux-4.14-next:
- Letux rootfs: change wlan-on to start wpa_supplicant
- [not letux-4.14-next] backport letux/dt-ci20: add LED0..LED3 and IR to CI20 DT
- improvements for Replicant build
letux-5.1.16, letux-4.19.57, letux-4.14.132: update from mainline
letux-5.2-rc7:
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-4.19.56-replicant:
- rebased work/josua/android-4.17 onto letux-4.19.56
- gave a new name
- lowmemorykiller did not apply, so it is currently missing
- fixes for letux_defconfig
- not tested
letux-4.14.129-replicant:
- rebased work/lukas/android-4.10 onto letux-4.14.129
- gave branch a new name
- added back lowmemorykiller
- added system/load_modules.sh to be maintained in kernel tree
- fixed system/load_modules.sh so that it loads the display/tvout drivers and some sensors
- fixes for letux_defconfig
letux-5.2-rc6:
- DTS: add board names to / { compatible = } where they are missing
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-5.2-rc5:
- fix for OMAP3 not finding OPPs and therefore not having cpufrequ-info
- forward-port of proposed fix for omap-gpios
- improve Letux/root/temperatures and Letux/root/batt
- letux/dt-ci20: add LED0..LED3 and IR to CI20 DT
- mergefile: new feature branch letux/dt-ci20
- mips/letux_defconfig: configure for GPIO-LEDs and GPIO-IR
letux-5.2-rc3:
- omap5evm + Pyra: hackfix tca6424 and pcal6524 issues (incl. breaking charger, USB and OMAPDRM) by reverting a reasonable regmap patch
- Pyra: more fixes for panel w677l driver
- omap5: remove hackfix for dmtimer9 (used for Pyra backlight PWM)
- letux/pyra-minimal: made compile and boot again with omap2plus_defconfig and letux_defconfig
- letux/sound-soc: include "[PATCH] ASoC: ti: Fix SDMA users not providing channel names"
=== more cut off ===
Here are some direct links to the code for convenience:
Am 23.07.2019 um 10:22 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi, the build server was successful after fixing several minor merge conflicts.
But unfortunately we also have some significant regressions:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/a...
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
b) TILER framebuffer console rotation is once again broken. I have reverted the patches to drm_fb_helper.c to get it compile.
This should not be too difficult to fix since we only need one or two locations to get access to the really requested rotation value (which is no longer available in some struct).
http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/t...
Note: this is not yet fixed in the letux/pyra-minimal tree.
http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/p...
c) jz4730 had some changes in clock and cgu code. I hope this does not influence the CI20. Please test.
http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/j...
d) clk-div support for McBSP had needed a small modification:
http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/a...
For Pyra issues, please check: http://projects.goldelico.com/p/gta04-kernel/issues/label/1799/open/
BR, Nikolaus
Am 22.07.2019 um 23:03 schrieb H. Nikolaus Schaller hns@goldelico.com:
KVERSION: 5.3-rc1 CONFIGS: arch/arm/configs/letux_defconfig arch/arm/configs/letux_lpae_defconfig arch/mips/configs/letux_defconfig
Infos
Project Home: http://projects.goldelico.com/p/gta04-kernel/ Issues: http://projects.goldelico.com/p/gta04-kernel/issues/
Downloads
git: http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux-5... ARM: http://download.goldelico.com/letux-kernel/letux-5.3-rc1 ARM-LPAE: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-lpae MIPS: http://download.goldelico.com/letux-kernel/letux-5.3-rc1-l400
recent CHANGES (http://download.goldelico.com/letux-kernel/letux-5.3-rc1/src/CHANGES)
letux-5.3-rc1:
- some rework of patches in letux/pyra-minimal (reshuffle, configure for LEDs & Keyboard)
- add configure-replicant and configure-lpae, -debug, -kdb to Letux/scripts which tweak the defconfig
- letux/android updated so that it builds after merging into letux-5.3-rc1
- letux_defconfig: configure new CONFIG_PREEMPT_LL
- add configure-replicant script
- significant upstream merge conflicts fixed
- jz4730 cgu and clock divider
- twl6040 dmic
- we carry along some patches for Documentation/.../file.txt which has to be converted to file.yaml
- fix drm_fb_helper to call drm_client_modeset_probe()
- compile fix in jz4730-cgu.c
- disable some aess code in omap-abe-twl6040.c because struct definitions have changed (more indirect pointers)
- not yet fixed:
- tiler drm_fb_helper.c broken once again
- twl6040+aess audio broken even more than before
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
- letux_defconfig is not optimized for replicant builds
letux-5.2.2, letux-5.1.19, letux-4.19.60, letux-4.14.134: update from mainline
letux-5.2:
- Letux rootfs: change wlan-on to start wpa_supplicant
- update letux/android to add the latest improvements of letux-4.19-replicant
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
- letux_defconfig is not optimized for replicant builds
letux-5.1-next, letux-4.19-next, letux-4.14-next:
- Letux rootfs: change wlan-on to start wpa_supplicant
- [not letux-4.14-next] backport letux/dt-ci20: add LED0..LED3 and IR to CI20 DT
- improvements for Replicant build
letux-5.1.16, letux-4.19.57, letux-4.14.132: update from mainline
letux-5.2-rc7:
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-4.19.56-replicant:
- rebased work/josua/android-4.17 onto letux-4.19.56
- gave a new name
- lowmemorykiller did not apply, so it is currently missing
- fixes for letux_defconfig
- not tested
letux-4.14.129-replicant:
- rebased work/lukas/android-4.10 onto letux-4.14.129
- gave branch a new name
- added back lowmemorykiller
- added system/load_modules.sh to be maintained in kernel tree
- fixed system/load_modules.sh so that it loads the display/tvout drivers and some sensors
- fixes for letux_defconfig
letux-5.2-rc6:
- DTS: add board names to / { compatible = } where they are missing
- not yet fixed:
- twl6040+aess audio broken
- X11: update letux-panel-setup to locate the panel compatible string and load a panel specific config file
- GTA04 may get hotter than expected on low processor load (also observed in 4.19.44 ff)
letux-5.2-rc5:
- fix for OMAP3 not finding OPPs and therefore not having cpufrequ-info
- forward-port of proposed fix for omap-gpios
- improve Letux/root/temperatures and Letux/root/batt
- letux/dt-ci20: add LED0..LED3 and IR to CI20 DT
- mergefile: new feature branch letux/dt-ci20
- mips/letux_defconfig: configure for GPIO-LEDs and GPIO-IR
letux-5.2-rc3:
- omap5evm + Pyra: hackfix tca6424 and pcal6524 issues (incl. breaking charger, USB and OMAPDRM) by reverting a reasonable regmap patch
- Pyra: more fixes for panel w677l driver
- omap5: remove hackfix for dmtimer9 (used for Pyra backlight PWM)
- letux/pyra-minimal: made compile and boot again with omap2plus_defconfig and letux_defconfig
- letux/sound-soc: include "[PATCH] ASoC: ti: Fix SDMA users not providing channel names"
=== more cut off ===
http://projects.goldelico.com/p/gta04-kernel/ Letux-kernel mailing list Letux-kernel@openphoenux.org http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Thanks.
N.
Hi,
Am 30.07.2019 um 16:29 schrieb N. Jackson nljlistbox2@gmail.com:
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
No, there is no AESS in kernel.org. Andrej did port an older version written by Peter (CC:) and I made it work (well compile) again on newer mainline kernels.
What is not working is firmware loading.
And there are bugs in the integration (API to setup DAI links etc. has changed).
So we carry that code along in the hope that Peter or someone else finds the time to fix the issues introduced by not having it upstream.
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Yes. Of course. Think of it as a coprocessor like a GPU.
Without AESS we can use the upstream twl6040 driver directly and use it as a simple sound card through aplay. This is the status you get if you use omap2plus_defconfig and/or build a kernel for Pandaboard or OMAP5EVM.
But AESS has some nice features: * can run independently of OMAP5 * allows to mix headset, modem audio, bluetooth microphone etc. i.e. between all McBSP interfaces * audio filters
These features make it interesting to use. But: this needs a binary blob (like GPU or WiFi chips), which is a no-go for FLOSS purists.
BTW: the OMAP4 + twl6040 (PandaBoard) has the same AESS.
BR, Nikolaus
Some additional thoughts:
* here is the "Issue" record: http://projects.goldelico.com/p/gta04-kernel/issues/883/
* the letux/pyra-minimal branch is without any AESS patch (on top of 5.3-rc2). I tried audio yesterday on the Pyra but did not get more than scratchy noise :(
* There was a really good description on omappedia but I think it has gone.
* I think the Droid 4 is omap4430 + twl6040 + telephony modem and therefore the developers may also be interested in this.
Am 30.07.2019 um 17:21 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi,
Am 30.07.2019 um 16:29 schrieb N. Jackson nljlistbox2@gmail.com:
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
No, there is no AESS in kernel.org. Andrej did port an older version written by Peter (CC:) and I made it work (well compile) again on newer mainline kernels.
What is not working is firmware loading.
And there are bugs in the integration (API to setup DAI links etc. has changed).
So we carry that code along in the hope that Peter or someone else finds the time to fix the issues introduced by not having it upstream.
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Yes. Of course. Think of it as a coprocessor like a GPU.
Without AESS we can use the upstream twl6040 driver directly and use it as a simple sound card through aplay. This is the status you get if you use omap2plus_defconfig and/or build a kernel for Pandaboard or OMAP5EVM.
But AESS has some nice features:
- can run independently of OMAP5
- allows to mix headset, modem audio, bluetooth microphone etc.
i.e. between all McBSP interfaces
- audio filters
These features make it interesting to use. But: this needs a binary blob (like GPU or WiFi chips), which is a no-go for FLOSS purists.
BTW: the OMAP4 + twl6040 (PandaBoard) has the same AESS.
BR, Nikolaus
http://projects.goldelico.com/p/gta04-kernel/ Letux-kernel mailing list Letux-kernel@openphoenux.org http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
Am 30.07.2019 um 17:41 schrieb H. Nikolaus Schaller hns@goldelico.com:
Some additional thoughts:
here is the "Issue" record: http://projects.goldelico.com/p/gta04-kernel/issues/883/
the letux/pyra-minimal branch is without any AESS patch (on top of 5.3-rc2).
I tried audio yesterday on the Pyra but did not get more than scratchy noise :(
- There was a really good description on omappedia but I think it has gone.
I think I have found it: http://omappedia.org/wiki/Audio_Drive_Arch#Audio_Back_End_.28ABE.29
"AESS" is also called "ABE" in other contexts. Somehow confusing.
ABE = Audio Back End (= inside OMAP4/5) - Audio Front End = twl6040 + speakers or other sound sources AESS = Audio Engine Sub-system (is part of ABE).
- I think the Droid 4 is omap4430 + twl6040 + telephony modem and therefore the
developers may also be interested in this.
Am 30.07.2019 um 17:21 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi,
Am 30.07.2019 um 16:29 schrieb N. Jackson nljlistbox2@gmail.com:
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
No, there is no AESS in kernel.org. Andrej did port an older version written by Peter (CC:) and I made it work (well compile) again on newer mainline kernels.
What is not working is firmware loading.
And there are bugs in the integration (API to setup DAI links etc. has changed).
So we carry that code along in the hope that Peter or someone else finds the time to fix the issues introduced by not having it upstream.
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Yes. Of course. Think of it as a coprocessor like a GPU.
Without AESS we can use the upstream twl6040 driver directly and use it as a simple sound card through aplay. This is the status you get if you use omap2plus_defconfig and/or build a kernel for Pandaboard or OMAP5EVM.
But AESS has some nice features:
- can run independently of OMAP5
- allows to mix headset, modem audio, bluetooth microphone etc.
i.e. between all McBSP interfaces
- audio filters
These features make it interesting to use. But: this needs a binary blob (like GPU or WiFi chips), which is a no-go for FLOSS purists.
BTW: the OMAP4 + twl6040 (PandaBoard) has the same AESS.
BR, Nikolaus
http://projects.goldelico.com/p/gta04-kernel/ Letux-kernel mailing list Letux-kernel@openphoenux.org http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
Am Dienstag, den 30.07.2019, 17:45 +0200 schrieb H. Nikolaus Schaller:
I think the AESS is the hardware codec part of ABE, that's why it needs the firmware running.
could be wrong though.
Am 30.07.2019 um 17:41 schrieb H. Nikolaus Schaller < hns@goldelico.com>:
Some additional thoughts:
- here is the "Issue" record:
http://projects.goldelico.com/p/gta04-kernel/issues/883/
- the letux/pyra-minimal branch is without any AESS patch (on top
of 5.3-rc2). I tried audio yesterday on the Pyra but did not get more than scratchy noise :(
- There was a really good description on omappedia but I think it
has gone.
I think I have found it: http://omappedia.org/wiki/Audio_Drive_Arch#Audio_Back_End_.28ABE.29
"AESS" is also called "ABE" in other contexts. Somehow confusing.
ABE = Audio Back End (= inside OMAP4/5) - Audio Front End = twl6040 + speakers or other sound sources AESS = Audio Engine Sub-system (is part of ABE).
- I think the Droid 4 is omap4430 + twl6040 + telephony modem and
therefore the developers may also be interested in this.
Am 30.07.2019 um 17:21 schrieb H. Nikolaus Schaller < hns@goldelico.com>:
Hi,
Am 30.07.2019 um 16:29 schrieb N. Jackson < nljlistbox2@gmail.com>:
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
No, there is no AESS in kernel.org. Andrej did port an older version written by Peter (CC:) and I made it work (well compile) again on newer mainline kernels.
What is not working is firmware loading.
And there are bugs in the integration (API to setup DAI links etc. has changed).
So we carry that code along in the hope that Peter or someone else finds the time to fix the issues introduced by not having it upstream.
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Yes. Of course. Think of it as a coprocessor like a GPU.
Without AESS we can use the upstream twl6040 driver directly and use it as a simple sound card through aplay. This is the status you get if you use omap2plus_defconfig and/or build a kernel for Pandaboard or OMAP5EVM.
But AESS has some nice features:
- can run independently of OMAP5
- allows to mix headset, modem audio, bluetooth microphone etc.
i.e. between all McBSP interfaces
- audio filters
These features make it interesting to use. But: this needs a binary blob (like GPU or WiFi chips), which is a no-go for FLOSS purists.
BTW: the OMAP4 + twl6040 (PandaBoard) has the same AESS.
BR, Nikolaus
http://projects.goldelico.com/p/gta04-kernel/ Letux-kernel mailing list Letux-kernel@openphoenux.org http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
Am 30.07.2019 um 19:38 schrieb Michael Mrozek EvilDragon@openpandora.org:
Am Dienstag, den 30.07.2019, 17:45 +0200 schrieb H. Nikolaus Schaller:
I think the AESS is the hardware codec part of ABE, that's why it needs the firmware running.
Yes. It is a similar thing as the DSP inside of some OMAP3 variants.
could be wrong though.
IMHO it is right :)
Am 30.07.2019 um 17:41 schrieb H. Nikolaus Schaller < hns@goldelico.com>:
Some additional thoughts:
- here is the "Issue" record:
http://projects.goldelico.com/p/gta04-kernel/issues/883/
- the letux/pyra-minimal branch is without any AESS patch (on top
of 5.3-rc2). I tried audio yesterday on the Pyra but did not get more than scratchy noise :(
- There was a really good description on omappedia but I think it
has gone.
I think I have found it: http://omappedia.org/wiki/Audio_Drive_Arch#Audio_Back_End_.28ABE.29
"AESS" is also called "ABE" in other contexts. Somehow confusing.
ABE = Audio Back End (= inside OMAP4/5) - Audio Front End = twl6040 + speakers or other sound sources AESS = Audio Engine Sub-system (is part of ABE).
- I think the Droid 4 is omap4430 + twl6040 + telephony modem and
therefore the developers may also be interested in this.
Am 30.07.2019 um 17:21 schrieb H. Nikolaus Schaller < hns@goldelico.com>:
Hi,
Am 30.07.2019 um 16:29 schrieb N. Jackson < nljlistbox2@gmail.com>:
At 10:22 +0200 on Tuesday 2019-07-23, H. Nikolaus Schaller wrote:
a) the AESS patches by Peter we are carrying along did no longer compile.
Reason is that some members of the dai_link struct have been replaced by pointers to other structs. The macros used to initialize them can no longer be used.
Therefore I have simply disabled the offending code lines.
Note: this is not yet fixed in the letux/pyra-minimal tree.
Generally we need someone who looks at this code pile and brings them into a better shape. Ideally it would be made working incl. AESS firmware load and pushed upstream :)
What is the rationale for the AESS patches in Letux? Does Linux currently have no AESS support, or do these patches modify existing Linux AESS support? If the latter, are the AESS patches in Letux fixing bugs or adding features?
No, there is no AESS in kernel.org. Andrej did port an older version written by Peter (CC:) and I made it work (well compile) again on newer mainline kernels.
What is not working is firmware loading.
And there are bugs in the integration (API to setup DAI links etc. has changed).
So we carry that code along in the hope that Peter or someone else finds the time to fix the issues introduced by not having it upstream.
If the former (no existing AESS support in Linux), then does the hardware targeted by Letux not have audio capabilities (alternative to AESS) for which there is existing support in Linux?
Yes. Of course. Think of it as a coprocessor like a GPU.
Without AESS we can use the upstream twl6040 driver directly and use it as a simple sound card through aplay. This is the status you get if you use omap2plus_defconfig and/or build a kernel for Pandaboard or OMAP5EVM.
But AESS has some nice features:
- can run independently of OMAP5
- allows to mix headset, modem audio, bluetooth microphone etc.
i.e. between all McBSP interfaces
- audio filters
These features make it interesting to use. But: this needs a binary blob (like GPU or WiFi chips), which is a no-go for FLOSS purists.
BTW: the OMAP4 + twl6040 (PandaBoard) has the same AESS.
BR, Nikolaus
http://projects.goldelico.com/p/gta04-kernel/ Letux-kernel mailing list Letux-kernel@openphoenux.org http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
-- Mit freundlichen Grüßen,
Michael Mrozek
OpenPandora GmbH Geschäftsführer: Michael Mrozek
Schäffbräustr. 11 85049 Ingolstadt Deutschland Tel.: 0841 / 990 5548 http://www.openpandora.de/ HRB 4879, Amtsgericht Ingolstadt
eMail: mrozek@openpandora.org