diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f1.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f1.dts index 247b811b4f9..58a34d6e27c 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f1.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f1.dts @@ -47,11 +47,11 @@ }; partition@60000 { label = "kernel"; - reg = <0x60000 0x300000>; + reg = <0x60000 0x500000>; }; - partition@360000 { + partition@560000 { label = "ubi"; - reg = <0x360000 0x7ca0000>; + reg = <0x560000 0x7aa0000>; }; }; }; diff --git a/target/linux/lantiq/image/vr9.mk b/target/linux/lantiq/image/vr9.mk index d4bded9cae7..fe5b5a6bb50 100644 --- a/target/linux/lantiq/image/vr9.mk +++ b/target/linux/lantiq/image/vr9.mk @@ -368,16 +368,17 @@ endef TARGET_DEVICES += netgear_dm200 define Device/zyxel_p-2812hnu-f1 - $(Device/dsa-migration) $(Device/NAND) + DEVICE_COMPAT_VERSION := 2.0 + DEVICE_COMPAT_MESSAGE := kernel and ubi partitions had to be resized. \ + Upgrade manually using initramfs, and change u-boot environment to load 5MiB for uImage. DEVICE_VENDOR := Zyxel DEVICE_MODEL := P-2812HNU DEVICE_VARIANT := F1 BOARD_NAME := P2812HNUF1 DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport - KERNEL_SIZE := 3072k + KERNEL_SIZE := 5120k SUPPORTED_DEVICES += P2812HNUF1 - DEFAULT := n endef TARGET_DEVICES += zyxel_p-2812hnu-f1 diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version b/target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version index 45bef9385bd..5690d848744 100644 --- a/target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version +++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version @@ -8,6 +8,10 @@ board_config_update case "$(board_name)" in + zyxel,p-2812hnu-f1) + ucidef_set_compat_version "2.0" + ;; + *) ucidef_set_compat_version "1.1" ;;