Wind River Support Network

HomeDefectsLIN5-19507
Fixed

LIN5-19507 : wrlinux 5.0.1 - fsl p2020 ignoring class message

Created: Sep 30, 2014    Updated: Dec 19, 2017
Resolved Date: Oct 17, 2014
Found In Version: 5.0.1.19
Fix Version: 5.0.1.20
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP

Description

the following type of messages appears in dmesg for the p2020 BSP in wrlinux 5.0.1:

 dmesg | grep doesn
pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0001:02:00.0: ignoring class 0x0b2000 (doesn't match header type 01)

this is a known issue that has been fixed upstream:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bbd234b146a158ae59da0592c1598336db63b0fc
http://patchwork.ozlabs.org/patch/262085/

Workaround

fixed by modifying in arch/powerpc/sysdev/fsl_pci.c:

-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_FREESCALE, PCI_ANY_ID, quirk_fsl_pcie_header);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_FREESCALE, PCI_ANY_ID, quirk_fsl_pcie_header);

Steps to Reproduce

configure a wrlinux 5.0.1 project based on 
--enable-board=fsl-p2020 --enable-kernel=standard --enable-rootfs=glibc_std 

build & deploy

run grep dmesg | grep doesn

Other Downloads


Live chat
Online