Jump to content

Recommended Posts

Posted

Hi,

 

I have an issue on my hummingboard i2ex. I installed mpd and configured it with SPDIF. The kernel is 4.9.12-cubox.

Unfortunately the sound looks strange. It sounds like a slow motion recording. The load is very load (<0.2) so I think it is not a performance problem.

I saw there was an issue with the SPDIF previously but it is a little bit different.

 

Do you have any idea what could be wrong? Is it possible to test it your side?


Thanks,
Warter

 

 

Posted

Mainline kernel for Cubox could have some issues and this one might be one of them. I guess it's working normally on legacy kernel? Try that first.  Next check if some patches exists ... I have this board but don't have proper equipment for testing.

Posted

hi Igor,


It was fixed on the 4.9.17/18.

 

Could you please add this two options to the next kernel? Unfortunately there is no pcie support on the hummingboard.

Bus support > Message signaled Interrupts (MSI and MSI-X)

Bus support > PCI host contoller drivers > Freescale i.MX6 PCIe controller

 

Thanks,

Warter

Posted

AFAIK HB does not support Message signaled Interrupts.

 

I'll try to add this the rest to next update.

Posted

it is strange, because it works for me with these settings. I have a wifi/bt card on it and works like a charm.

"Freescale i.MX6 PCIe controller" depends on "Message signaled Interrupts (MSI and MSI-X)".

 

Posted
43 minutes ago, Warter said:

I have a wifi/bt card on it and works like a charm.


That's connected VIA USB port. Just type lsusb ... Regarding MSI perhaps @rabeeh  can explain more?

Posted

It is a pcie card. I dont know. It is strange.

 

root@cubox-i:~# lspci
00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01)
01:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
root@cubox-i:~# lsusb
Bus 002 Device 003: ID 8086:0189 Intel Corp.
Bus 002 Device 002: ID 04b4:6570 Cypress Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

pci.txt

Posted

BT is USB, Wifi pci, ok.

Can you provide full logs, preferable:

armbianmonitor -u

Thanks.

Posted

@Igor

MSI is just a Kconfig dependency for the Freescale PCI controller, so it should be safe to enable those options.

i.e. in mainline PCI_IMX6 depends on PCI_MSI_IRQ_DOMAIN (hidden option), and PCI_MSI_IRQ_DOMAIN depends on PCI_MSI

Posted

https://github.com/igorpecovnik/lib/commit/0b7676e527350d8cd454eb638869179d80c23c4c

Working at i2ex and v2

 

Thanks for the hint @zador.blood.stained


Log:

http://sprunge.us/BhLJ

 

This is filling logs on HB2, have to solve once:

Spoiler

[  228.319445] mmc1: Timeout waiting for hardware cmd interrupt.
[  228.323212] sdhci: =========== REGISTER DUMP (mmc1)===========
[  228.326936] sdhci: Sys addr: 0x00000000 | Version:  0x00000002
[  228.330707] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000001
[  228.334468] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[  228.338217] sdhci: Present:  0x007d8009 | Host ctl: 0x00000001
[  228.341963] sdhci: Power:    0x00000000 | Blk gap:  0x00000080
[  228.345716] sdhci: Wake-up:  0x00000008 | Clock:    0x000020af
[  228.349467] sdhci: Timeout:  0x00000080 | Int stat: 0x00000000
[  228.353205] sdhci: Int enab: 0x007f1003 | Sig enab: 0x007f1003
[  228.356949] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000003
[  228.360694] sdhci: Caps:     0x07eb0000 | Caps_1:   0x0000a007
[  228.364436] sdhci: Cmd:      0x0000371a | Max curr: 0x00ffffff
[  228.368156] sdhci: Host ctl2: 0x00000000
[  228.371832] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[  228.375543] sdhci: ===========================================

 


 

Posted

One more thing. Could you please turn on this setting "# CONFIG_DRM_DW_HDMI_AHB_AUDIO" is not set "? There is no audio support through HDMI without it. Thanks!

 

card 2: DWHDMI [DW-HDMI], device 0: DW HDMI [dw-hdmi-ahb-audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines