[LEDE-DEV] [PATCH] ipq806x: add kernel 4.14 support

Stefan Lippers-Hollmann s.l-h at gmx.de
Wed Apr 18 05:54:22 PDT 2018


Hi

On 2018-04-18, Ram Chandra Jangir wrote:
>  - Rebased the patches for 4.14
>  - Dropped spi-qup and 0027, 0028, 0029
>    clk patches since it's already included
>    in upstream.
> 
>  Tested on IPQ AP148 Board:
>   1) NOR boot and NAND boot
>   2) Tested USB and PCIe interfaces
>   3) WDOG test
>   4) cpu frequency scaling
>   5) ethernet, 2G and 5G WiFi
>   6) ubi sysupgrade

Thank you very much for looking into this, I've given this a very 
initial test on my ZyXEL nbg6817 (ipq8065, kernel and rootfs on eMMC, 
u-boot on spi-nor). While it boots up fine, there seems to be an issue 
with the PCIe initialization, which consequently leads to wlan/ ath10k 
not working (full dmesg attached):

[    0.066646] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.066745] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.066836] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.067500] OF: PCI: host bridge /soc/pci at 1b500000 ranges:
[    0.067618] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.067648] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    1.100879] qcom-pcie 1b500000.pci: phy link never came up
[    1.102843] qcom-pcie 1b500000.pci: cannot initialize host
[    1.103443] qcom-pcie: probe of 1b500000.pci failed with error -110
[    1.103913] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    1.104028] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    1.104112] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    1.104845] OF: PCI: host bridge /soc/pci at 1b700000 ranges:
[    1.104883] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    1.104906] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    2.138765] qcom-pcie 1b700000.pci: phy link never came up
[    2.140724] qcom-pcie 1b700000.pci: cannot initialize host
[    2.141245] qcom-pcie: probe of 1b700000.pci failed with error -110

I've upgraded the kernel from 4.14.34 to 4.14.35-rc1 locally though:

wget -qO- https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.35-rc1.gz | \
	gzip -dc > target/linux/generic/backport-4.14/001-4.14.35-rc1.patch

As a sidenote, this pushes the kernel over the 2 MB partition size for 
many ipq806x devices (e.g. Netgear r7800).

Regards
	Stefan Lippers-Hollmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log.gz
Type: application/gzip
Size: 7189 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20180418/5799018c/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20180418/5799018c/attachment-0001.sig>


More information about the Lede-dev mailing list