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

Petr Štetiar ynezz at true.cz
Mon Oct 21 09:05:32 EDT 2019


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

_______________________________________________
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