mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
ipq40xx: add image size checks for several devices
This adds image size checks for various devies using an automatic mtdsplit. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
69e7d14e1b
commit
5b50895a63
@ -48,7 +48,8 @@ define Device/DniImage
|
|||||||
NETGEAR_HW_ID :=
|
NETGEAR_HW_ID :=
|
||||||
IMAGES := factory.img sysupgrade.bin
|
IMAGES := factory.img sysupgrade.bin
|
||||||
IMAGE/factory.img := append-kernel | pad-offset 64k 64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | netgear-dni
|
IMAGE/factory.img := append-kernel | pad-offset 64k 64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | netgear-dni
|
||||||
IMAGE/sysupgrade.bin := append-kernel | pad-offset 64k 64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | append-metadata
|
IMAGE/sysupgrade.bin := append-kernel | pad-offset 64k 64 | append-uImage-fakehdr filesystem | \
|
||||||
|
append-rootfs | pad-rootfs | append-metadata | check-size
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/append-rootfshdr
|
define Build/append-rootfshdr
|
||||||
@ -215,7 +216,7 @@ define Device/avm_fritzbox-4040
|
|||||||
UBOOT_PARTITION_SIZE := 524288
|
UBOOT_PARTITION_SIZE := 524288
|
||||||
IMAGES = eva.bin sysupgrade.bin
|
IMAGES = eva.bin sysupgrade.bin
|
||||||
IMAGE/eva.bin := append-uboot | pad-to $$$$(UBOOT_PARTITION_SIZE) | append-kernel | append-rootfs | pad-rootfs
|
IMAGE/eva.bin := append-uboot | pad-to $$$$(UBOOT_PARTITION_SIZE) | append-kernel | append-rootfs | pad-rootfs
|
||||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
|
||||||
DEVICE_PACKAGES := fritz-tffs fritz-caldata
|
DEVICE_PACKAGES := fritz-tffs fritz-caldata
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += avm_fritzbox-4040
|
TARGET_DEVICES += avm_fritzbox-4040
|
||||||
@ -527,6 +528,7 @@ define Device/netgear_ex61x0v2
|
|||||||
DEVICE_DTS_CONFIG := config@4
|
DEVICE_DTS_CONFIG := config@4
|
||||||
NETGEAR_BOARD_ID := EX6150v2series
|
NETGEAR_BOARD_ID := EX6150v2series
|
||||||
NETGEAR_HW_ID := 29765285+16+0+128+2x2
|
NETGEAR_HW_ID := 29765285+16+0+128+2x2
|
||||||
|
IMAGE_SIZE := 14400k
|
||||||
SOC := qcom-ipq4018
|
SOC := qcom-ipq4018
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -681,8 +683,9 @@ define Device/zyxel_wre6606
|
|||||||
DEVICE_MODEL := WRE6606
|
DEVICE_MODEL := WRE6606
|
||||||
DEVICE_DTS_CONFIG := config@4
|
DEVICE_DTS_CONFIG := config@4
|
||||||
SOC := qcom-ipq4018
|
SOC := qcom-ipq4018
|
||||||
|
IMAGE_SIZE := 13184k
|
||||||
IMAGES := sysupgrade.bin
|
IMAGES := sysupgrade.bin
|
||||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
|
||||||
DEVICE_PACKAGES := -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
|
DEVICE_PACKAGES := -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zyxel_wre6606
|
TARGET_DEVICES += zyxel_wre6606
|
||||||
|
Loading…
Reference in New Issue
Block a user