[OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

André Valentin avalentin at marcant.net
Mon Oct 21 09:15:02 EDT 2019


Hi Petr,

thanks, I will remove the constant. It is not needed anymore.


Am 21.10.19 um 15:05 schrieb Petr Štetiar:
> André Valentin <avalentin at marcant.net> [2019-10-21 14:32:10]:
> 
> Hi,
> 
>>  #define HEADER_PARTITION_CALC_LENGTH 2048
>> -#define HEADER_PARTITION_LENGTH 0x10000
>>  
>>  struct file_info {
>>      char *name;    /* name of the file */
>> @@ -70,6 +69,7 @@ static char *progname;
>>  static char *board_name = 0;
>>  static char *version_name = 0;
>>  static unsigned int rootfs_size = 0;
>> +static unsigned int header_length = 0x10000;
> 
> you've perhaps forget to use that define HEADER_PARTITION_LENGTH above ?
> 
> -- ynezz
> 
André

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4058 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191021/61c58e47/attachment.p7s>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list