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>
Thu, 19 Dec 2024 10:30:45 +0000 (11:30 +0100)
commit9f76cda3781e06e3a59c70f35b6cc6f81da6ce5f
tree8e8c4ce50426635c301073f4a455baa1fa84a9c3
parent5415fb06d2c691c2ddd1c4ca0b8447991a687e2c
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
Link: https://github.com/openwrt/openwrt/pull/17300
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 0d21cc8a92ea3b2cc94efefd60eae968a4296543)
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