[alsa-devel] Cherry trail and Nau 88l24 codec

KCHSU0 at nuvoton.com KCHSU0 at nuvoton.com
Mon Dec 5 04:43:12 CET 2016


Hi Joseph,

The following log shows the SST DSP firmware version which we used in our development kit.
Maybe you can confirm which version in your platform.
[    2.681633] snd_intel_sst: Requesting FW fw_sst_22a8.bin now...


BR.
John Hsu
AC30, Nuvoton Technology Corp.
+886 3 5770066 Ext. 37111
KCHSU0 at nuvoton.com<mailto:KCHSU0 at nuvoton.com>

From: Joseph Wang [mailto:joequant at gmail.com]
Sent: Saturday, December 03, 2016 9:17 AM
To: AP MS30 Linux ALSA; pierre-louis.bossart at linux.intel.com; AC30 KCHsu0
Subject: Cherry trail and Nau 88l24 codec

Hi all,
I've been trying to get sound working on my W9S pipo device.  The people at Nuvoton have been extraordinarily helpful, but now the issue is writing the machine driver.
My work is at

https://github.com/joequant/nau8824
I've gotten the drivers to load, but getting timeouts with the firmware....

[  102.447840] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[  102.447872] intel_sst_acpi 808622A8:00: fw returned err -16
[  103.471448] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
and then

[  116.820782] intel_sst_acpi 808622A8:00: fw returned err -16
[  116.938921] intel_sst_acpi 808622A8:00: FW sent error response 0x5000e
[  116.939065] intel_sst_acpi 808622A8:00: FW sent error response 0x5000e
[  116.939579] intel_sst_acpi 808622A8:00: FW sent async error msg:
[  116.939614] (null)00040021 00000000
[  116.939685] (null)00040021 00000000
[  116.953260] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp2-port
[  116.953704] intel_sst_acpi 808622A8:00: Alloc for str 3 pipe 0xe
[  116.954062] sst-mfld-sst-mfld-platform: SET_SWM cmd max inputs reached
One other path is that ICube has gotten this codec to work on their iwork8 Ultimate android device.  They are required to release the source under GPL2, but haven't done so, so if all else fails, it will be a matter of tracking down someone in that company and explaining the issues to them.  Since I'm in Hong Kong, I might just find where the things are manufactured, and just show up at their office.
But it appears that there are some "magic bits" that are missing.  One question that I have is what is the proper DAI to use (i.e. PCM or I2S) for cherry trail.  The second question is that looking at the windows driver for nau88l24, there appears to be a test mode that runs the driver against a Realtek rt5645.  Should I assume that this means that the initialization is similar?
Also I'm quite interested in getting this to work.  The W9S Pipo is a perfect netbook that has a big screen that is half the weight of my old laptop.  The big thing is that someone realized that instead of putting in a SATA hard disk, that they can use an SD card as main storage, and that cuts down on the weight.


===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 12937 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161205/c8adc58c/attachment.bin>


More information about the Alsa-devel mailing list