mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
apm821xx: Migrate to libdeflate
libdeflate's gzip compressor provides a better compression ratio and uboot's decompressor has no problem with the data streams. Tested on MX60, WNDR4700, WNDAP660 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
8634c1080d
commit
4ca858f1a0
@ -51,7 +51,7 @@ define Device/meraki_mx60
|
||||
IMAGES := sysupgrade.bin
|
||||
DTB_SIZE := 20480
|
||||
IMAGE_SIZE := 1021m
|
||||
KERNEL := kernel-bin | gzip | dtb | MuImage-initramfs gzip
|
||||
KERNEL := kernel-bin | libdeflate-gzip | dtb | MuImage-initramfs gzip
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
UBINIZE_OPTS := -E 5
|
||||
DEVICE_COMPAT_VERSION := 2.0
|
||||
@ -70,7 +70,7 @@ define Device/netgear_wndap6x0
|
||||
IMAGE_SIZE := 27392k
|
||||
IMAGES := sysupgrade.bin factory.img
|
||||
KERNEL_SIZE := 6080k
|
||||
KERNEL := dtb | kernel-bin | gzip | MuImage-initramfs gzip
|
||||
KERNEL := dtb | kernel-bin | libdeflate-gzip | MuImage-initramfs gzip
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGE/factory.img := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
|
||||
UBINIZE_OPTS := -E 5
|
||||
@ -114,7 +114,7 @@ define Device/netgear_wndr4700
|
||||
# CHECK_DNI_FIRMWARE_ROOTFS_INTEGRITY in do_chk_dniimg()
|
||||
KERNEL := kernel-bin | lzma -d16 | uImage lzma | pad-offset $$(BLOCKSIZE) 64 | \
|
||||
append-uImage-fakehdr filesystem | dtb | create-uImage-dtb | prepend-dtb
|
||||
KERNEL_INITRAMFS := kernel-bin | gzip | dtb | MuImage-initramfs gzip
|
||||
KERNEL_INITRAMFS := kernel-bin | libdeflate-gzip | dtb | MuImage-initramfs gzip
|
||||
IMAGE/factory.img := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
|
||||
netgear-dni | check-size
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
|
@ -12,14 +12,14 @@ define Device/wd_mybooklive
|
||||
SUPPORTED_DEVICES += mbl wd,mybooklive-duo
|
||||
BLOCKSIZE := 1k
|
||||
DTB_SIZE := 16384
|
||||
KERNEL := kernel-bin | dtb | gzip | uImage gzip
|
||||
KERNEL_INITRAMFS := kernel-bin | gzip | dtb | MuImage-initramfs gzip
|
||||
KERNEL := kernel-bin | dtb | libdeflate-gzip | uImage gzip
|
||||
KERNEL_INITRAMFS := kernel-bin | libdeflate-gzip | dtb | MuImage-initramfs gzip
|
||||
IMAGES := factory.img.gz sysupgrade.img.gz
|
||||
ARTIFACTS := apollo3g.dtb
|
||||
DEVICE_DTB := apollo3g.dtb
|
||||
FILESYSTEMS := ext4 squashfs
|
||||
IMAGE/factory.img.gz := boot-script | boot-img | hdd-img | gzip
|
||||
IMAGE/sysupgrade.img.gz := boot-script | boot-img | hdd-img | gzip | append-metadata
|
||||
IMAGE/factory.img.gz := boot-script | boot-img | hdd-img | libdeflate-gzip
|
||||
IMAGE/sysupgrade.img.gz := boot-script | boot-img | hdd-img | libdeflate-gzip | append-metadata
|
||||
ARTIFACT/apollo3g.dtb := export-dtb
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user