Skip to content

Commit

Permalink
ramips: Mercusys AC12G v1 (8M): reduce the size of the LZMA dictionary
Browse files Browse the repository at this point in the history
Reduce the size of the LZMA dictionary (from 8 MB to 4 MB) to reduce the amount of memory needed for unpacking and prevent LZMA ERROR 1.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
  • Loading branch information
namiltd committed Nov 2, 2024
1 parent 6c88dae commit 08eaaf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions target/linux/ramips/image/mt7620.mk
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ define Device/mercusys_ac12g-v1-8m
TPLINK_HWID := 0x04da857c
TPLINK_HWREV := 0x0c000600
TPLINK_HWREVADD := 0x04000000
KERNEL := kernel-bin | append-dtb | lzma -d22
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d22 | tplink-v2-header -e
IMAGES += tftp-recovery.bin
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
DEVICE_VENDOR := Mercusys
Expand Down

0 comments on commit 08eaaf2

Please sign in to comment.