From 20804e15d7b62595a1bf001f5567d2ea8d4a32ba Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 7 Sep 2009 13:55:02 +0000 Subject: [PATCH] firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17537 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/firmware-utils/src/trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c index 5e5e77a49..b9830239a 100644 --- a/tools/firmware-utils/src/trx.c +++ b/tools/firmware-utils/src/trx.c @@ -60,7 +60,7 @@ uint32_t crc32buf(char *buf, size_t len); #define TRX_MAGIC 0x30524448 /* "HDR0" */ #define TRX_VERSION 1 -#define TRX_MAX_LEN 0x5A0000 +#define TRX_MAX_LEN 0x720000 #define TRX_NO_HEADER 1 /* Do not write TRX header */ struct trx_header { -- 2.20.1