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

Stefan Lippers-Hollmann s.l-h at gmx.de
Thu May 17 23:57:25 EDT 2018


Hi

On 2018-05-17, John Crispin wrote:
> On 17/05/18 13:47, Ram Chandra Jangir wrote:
> > Thanks  Michael for confirming this,
> >
> > Can you please help to update the kernel partition size to 4MB for R7800 and send it as patch to community (lede-dev at lists.infradead.org)?
> > This will help to enable kernel v4.14 for all ipq806x based boards.  
> 
> hang on, that would break sysupgrade or not ?
> 
>      John
> >
> > John,
> > I do not have d7800, r7500, r7500v2 & vr2600v and hence seeking help to update partition size for these boards.

I've collected the necessary patches at:

https://github.com/pkgadd/openwrt/commits/ipq806x-features-1

That tree includes all patches needed for kernel 4.14 and to resize the
kernel partition to at least 3 MB on all devices:

ipq806x: increase kernel partition size for the Netgear r7800 
https://github.com/pkgadd/openwrt/commit/c265cc708bf8c7c22720349f7ce411b0031dd36f

ipq806x: increase kernel partition size for the TP-Link Archer C2600
https://github.com/pkgadd/openwrt/commit/50f97d19cc3899d1af663d60a4c14339e885aff8

ipq806x: increase kernel partition size for the TP-Link Archer VR2600v
https://github.com/pkgadd/openwrt/commit/2e76e1175b18e881ef5d62b9bc753e10be3454ac

ipq806x: increase kernel partition size for the Netgear Nighthawk X4 D7800
https://github.com/pkgadd/openwrt/commit/24106c7a8e0e2b05b89e249a111212506ac57a6e

ipq806x: increase kernel partition size for the Netgear Nighthawk X4 R7500
https://github.com/pkgadd/openwrt/commit/6a9def0266da1d3706b477fa7fddf194655c28a4

ipq806x: increase kernel partition size for the Netgear Nighthawk X4 R7500v2
https://github.com/pkgadd/openwrt/commit/e91cda34ab6e8ba930c58b9d04d8cd540e947983

and the pending patches in nbd's staging tree, plus four very trivial
clean-up patches on top (drop kernel 4.9 support and ipq40xx remnants).

Only the r7800 (tftp recovery required) and archer c2600 patches could
be tested on the affected hardware, but the remaining devices should
behave the same and hopefully work as well.

Feel free to cherry-pick or merge the entire branch as needed, I hope
it helps.

This branch has been successfully tested on the nbg6817 (with kernel 
4.14.41) and builds for all ipq806x devices.

$ LANG= ls -gG bin/targets/ipq806x/generic/
total 141076
-rw-r--r-- 1     9812 May 18 05:27 config.seed
-rw-r--r-- 1  5636096 May 18 05:34 openwrt-ipq806x-compex_wpq864-squashfs-nand-factory.bin
-rw-r--r-- 1  5079216 May 18 05:34 openwrt-ipq806x-compex_wpq864-squashfs-nand-sysupgrade.bin
-rw-r--r-- 1  6422528 May 18 05:34 openwrt-ipq806x-linksys_ea8500-squashfs-factory.bin
-rw-r--r-- 1  4526266 May 18 05:34 openwrt-ipq806x-linksys_ea8500-squashfs-sysupgrade.bin
-rw-r--r-- 1  7471233 May 18 05:34 openwrt-ipq806x-netgear_d7800-squashfs-factory.img
-rw-r--r-- 1  4597944 May 18 05:34 openwrt-ipq806x-netgear_d7800-squashfs-sysupgrade.bin
-rw-r--r-- 1  7340161 May 18 05:34 openwrt-ipq806x-netgear_r7500-squashfs-factory.img
-rw-r--r-- 1  4454584 May 18 05:34 openwrt-ipq806x-netgear_r7500-squashfs-sysupgrade.bin
-rw-r--r-- 1  7733377 May 18 05:34 openwrt-ipq806x-netgear_r7500v2-squashfs-factory.img
-rw-r--r-- 1  4812988 May 18 05:34 openwrt-ipq806x-netgear_r7500v2-squashfs-sysupgrade.bin
-rw-r--r-- 1 11665537 May 18 05:34 openwrt-ipq806x-netgear_r7800-squashfs-factory.img
-rw-r--r-- 1  8652984 May 18 05:34 openwrt-ipq806x-netgear_r7800-squashfs-sysupgrade.bin
-rw-r--r-- 1  3176364 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-ap148-fit-uImage.itb
-rw-r--r-- 1  4980736 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-ap148-legacy-squashfs-nand-factory.bin
-rw-r--r-- 1  4526269 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-ap148-legacy-squashfs-nand-sysupgrade.bin
-rw-r--r-- 1  6029312 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-ap148-squashfs-nand-factory.bin
-rw-r--r-- 1  5417149 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-ap148-squashfs-nand-sysupgrade.bin
-rw-r--r-- 1  3176200 May 18 05:34 openwrt-ipq806x-qcom_ipq8064-db149-fit-uImage.itb
-rw-r--r-- 1  4585792 May 18 05:34 openwrt-ipq806x-tplink_c2600-squashfs-factory.bin
-rw-r--r-- 1  6488251 May 18 05:34 openwrt-ipq806x-tplink_c2600-squashfs-sysupgrade.bin
-rw-r--r-- 1  5505215 May 18 05:34 openwrt-ipq806x-tplink_vr2600v-squashfs-sysupgrade.bin
-rw-r--r-- 1  4194304 May 18 05:34 openwrt-ipq806x-zyxel_nbg6817-squashfs-mmcblk0p4-kernel.bin
-rw-r--r-- 1  6881280 May 18 05:34 openwrt-ipq806x-zyxel_nbg6817-squashfs-mmcblk0p5-rootfs.bin
-rw-r--r-- 1 11018426 May 18 05:34 openwrt-ipq806x-zyxel_nbg6817-squashfs-sysupgrade.bin
-rw-r--r-- 1     2306 May 18 05:34 openwrt-ipq806x.manifest
drwxr-xr-x 2    12288 May 18 05:34 packages
-rw-r--r-- 1     3095 May 18 05:34 sha256sums

Warning, the firmware sizes above use my own/ normal configuration and
do not represent the default config of the buildbots; only the configs
for nbg6817 and r7800 are refined, while the other devices only use a
rather rudimentary build config. The kernel size is a bit below 2.3 MB.

In order not to add to the confusion, I'm not formally filing this branch
as a pull request.

Regards
	Stefan Lippers-Hollmann
-------------- 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/openwrt-devel/attachments/20180518/c82b8742/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list