mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 03:50:48 +00:00
ath79: D-Link DIR-825 B1 add factory.bin recipe
- Bring back factory.bin image which was missing after porting device to ath79 target - Use default sysupgrade.bin image recipe - Adjust max image size according to new firmware partition size after "ath79: expand rootfs for DIR-825-B1 with unused space (aca8bb5)" changes - Remove support of upgrading from version 19.07, because partition size changes mentioned above Signed-off-by: Will Moss <willormos@gmail.com>
This commit is contained in:
parent
6de9287abd
commit
a58146d452
@ -1015,12 +1015,14 @@ define Device/dlink_dir-825-b1
|
|||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DEVICE_MODEL := DIR-825
|
DEVICE_MODEL := DIR-825
|
||||||
DEVICE_VARIANT := B1
|
DEVICE_VARIANT := B1
|
||||||
IMAGE_SIZE := 6208k
|
|
||||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
||||||
check-size | append-metadata
|
|
||||||
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
||||||
kmod-leds-reset kmod-owl-loader kmod-switch-rtl8366s
|
kmod-leds-reset kmod-owl-loader kmod-switch-rtl8366s
|
||||||
SUPPORTED_DEVICES += dir-825-b1
|
IMAGE_SIZE := 7808k
|
||||||
|
FACTORY_SIZE := 6144k
|
||||||
|
IMAGES += factory.bin
|
||||||
|
IMAGE/factory.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
||||||
|
pad-rootfs | check-size $$$$(FACTORY_SIZE) | pad-to $$$$(FACTORY_SIZE) | \
|
||||||
|
append-string 01AP94-AR7161-RT-080619-00
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += dlink_dir-825-b1
|
TARGET_DEVICES += dlink_dir-825-b1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user