Hummingboard - no PCIe since last update

This forum is for supported devices using an ARMv7 Freescale SoC.

Hummingboard - no PCIe since last update

Postby orip » Sun Mar 27, 2016 2:18 pm

Hi,
I've been using the Hummingboard i2ex with a PCIe sata card for a while now.
After the last round of updates (pacman -Syu) the PCIe slot has stopped working and it does not detect the card (using lspci the output is empty).
I asked about this issue at the solid-run forums and I was told to ask moonman here (http://forum.solid-run.com/kodi-xbmc-pl ... -s480.html).
I'd really appreciate some help as this renders my Hummingboard useless. I'd be happy to provide any information needed.
Thanks.
orip
 
Posts: 8
Joined: Sun Mar 27, 2016 1:52 pm

Re: Hummingboard - no PCIe since last update

Postby Abzie » Sun Mar 27, 2016 3:24 pm

Restarted the device?
Abzie
 
Posts: 29
Joined: Tue Mar 15, 2016 6:05 pm

Re: Hummingboard - no PCIe since last update

Postby orip » Sun Mar 27, 2016 3:27 pm

Yes, also re-flashed arch on it to rule out installation specific issue.
orip
 
Posts: 8
Joined: Sun Mar 27, 2016 1:52 pm

Re: Hummingboard - no PCIe since last update

Postby Abzie » Sun Mar 27, 2016 3:47 pm

Hmm, if you reinstalled arch, you can't use pacman to downgrade the kernel from cache. Any errors from boot?

I'd suggest waiting for moonman's input.
Abzie
 
Posts: 29
Joined: Tue Mar 15, 2016 6:05 pm

Re: Hummingboard - no PCIe since last update

Postby moonman » Sun Mar 27, 2016 7:32 pm

Hmm I was not aware of such a problem. Recently we switched to linux-fslc source core for the kernel from solidrun. Quick look at the config did not reveal anything obvious. I will have to compare dts files from older source code and this one.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Hummingboard - no PCIe since last update

Postby orip » Sun Mar 27, 2016 7:49 pm

Yes, there are some errors on boot (in dmesg), I hope they're somewhat helpful (attached below).

Also I just re-flashed just the SD card (didtn't do a full reinstall - the system boots normally off of an SSD), so I was able to downgrade the kernel, which fixed the PCI-e issue, however it breaks some other important stuff overall does more harm than good.

$this->bbcode_second_pass_code('', '$ dmesg | grep pci
[ 0.000000] Kernel command line: root=PARTUUID=0008410f-01 rootwait rw console=tty1 console=ttymxc0,115200 consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16 dmfc=3 ahci_imx.hotplug=1 pci=nomsi loop.max_part=15
[ 0.472548] imx6q-pcie 1ffc000.pcie: phy link never came up
[ 0.472577] imx6q-pcie 1ffc000.pcie: Failed to bring link up!
[ 0.472596] imx6q-pcie 1ffc000.pcie: failed to initialize host
[ 0.472733] imx6q-pcie: probe of 1ffc000.pcie failed with error -22
[ 1.758149] ehci-pci: EHCI PCI platform driver
[ 1.758237] ohci-pci: OHCI PCI platform driver')
orip
 
Posts: 8
Joined: Sun Mar 27, 2016 1:52 pm

Re: Hummingboard - no PCIe since last update

Postby moonman » Mon Mar 28, 2016 11:27 pm

The only difference I found is "no-msi;" in the old kernel, which is also defined in /boot/uEnv.txt. Try removing it from the kernel cmdline in /boot/uEnv.txt
I only have the Cubox i so can't test.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Hummingboard - no PCIe since last update

Postby orip » Fri Apr 01, 2016 3:14 pm

Thanks for the help, however removing 'pci=nomsi' did not help :(.
Is there anything else that might fix this?
orip
 
Posts: 8
Joined: Sun Mar 27, 2016 1:52 pm

Re: Hummingboard - no PCIe since last update

Postby moonman » Fri Apr 01, 2016 10:08 pm

From what I read on solidrun forum this is a known bug with this kernel. If you don't need 3d acceleration then mainline kernel should work 'linux-armv7' package
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Hummingboard - no PCIe since last update

Postby orip » Sun Apr 03, 2016 10:51 am

Seems like my hummingboard doesn't boot with the mainline kernel for some reason. Even on a clean install and then just using pacman to install 'linux-armv7', it doesn't boot at all.. :/.
Do you happen to know if there are plans to fix this bug in the imx kernel?
orip
 
Posts: 8
Joined: Sun Mar 27, 2016 1:52 pm

Next

Return to Freescale

Who is online

Users browsing this forum: No registered users and 4 guests