lantiq: grow kernel partition Zyxel P-2812HNU-F1
authorIsaac de Wolff <idewolff@gmx.com>
Sun, 8 Dec 2024 12:52:40 +0000 (13:52 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 10 Dec 2024 20:18:06 +0000 (21:18 +0100)
commit0d21cc8a92ea3b2cc94efefd60eae968a4296543
tree4565f17140c24290cbc9182ddc959ad240c91d67
parent4234d5ec45b72cb8d53713fab40efc68bedf546e
lantiq: grow kernel partition Zyxel P-2812HNU-F1

Change partition table in dts file.
Change DEVICE_COMPAT_VERSION
Enable automatic build.

To take advantage of the bigger kernel partition,
the uboot environment has to be changed:
setenv nboot 'nand read 0x81000000 0x60000 0x500000; bootm 0x81000000'
setenv bootcmd 'run nboot'
saveenv

Of course you need a u-boot capable of handling this.
The u-boot discussed in this forum thread:
https://forum.openwrt.org/t/zyxel-p2812hnu-f1-u-boot/100281
should be able to handle kernels up to an uncompressed size of 16MiB.

Signed-off-by: Isaac de Wolff <idewolff@gmx.com>
Link: https://github.com/openwrt/openwrt/pull/17209
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f1.dts
target/linux/lantiq/image/vr9.mk
target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version