Sven Roederer
fc21a88f80
tools/mkimage: fix handling long filenames
...
The cmdline for calling the dtc was cut-off when using long filenames (e.g.
245 bytes) for output-file and datafile of "-f" parameter.
For FIT-images cmd[MKIMAGE_MAX_DTC_CMDLINE_LEN] is declared (hardcoded 512 bytes),
and contains some static values, the path of a tmpfile and a datafile. tmpfile is
max MKIMAGE_MAX_TMPFILE_LEN (256) and datafile might be also this size. Having two
very long pathname results in a truncation os the executed shell command, as the
truncated datafile path will not be found.
Redefine MKIMAGE_MAX_DTC_CMDLINE_LEN to "2 * MKIMAGE_MAX_TMPFILE_LEN + 35 for the
parameters.
This likely applies to the "-d" parameter, too.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de >
2020-05-01 11:34:01 -04:00
..
2020-04-26 14:25:21 -06:00
2020-04-26 14:25:21 -06:00
2020-01-30 13:30:35 -05:00
2020-04-26 14:25:21 -06:00
2020-04-27 14:55:29 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:23:39 -06:00
2019-10-08 16:35:59 +02:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:25:21 -06:00
2020-01-02 10:27:23 -05:00
2020-04-24 10:10:00 -04:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:20 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-07-29 00:20:31 +02:00
2019-12-02 18:23:08 -05:00
2020-01-07 11:12:47 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:08 -05:00
2020-04-01 07:45:09 -06:00
2020-04-26 14:24:08 -06:00
2018-11-26 22:52:12 -05:00
2020-04-01 07:45:09 -06:00
2019-05-18 12:32:02 -04:00
2019-05-18 12:32:02 -04:00
2020-04-24 10:51:56 -04:00
2019-05-18 12:32:02 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:25:21 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:10:00 -04:00
2020-04-26 14:24:08 -06:00
2019-03-08 11:31:44 -05:00
2020-04-24 10:10:01 -04:00
2019-01-28 12:59:03 +01:00
2020-02-09 14:57:38 +01:00
2020-04-24 10:10:00 -04:00
2019-01-01 14:12:18 +01:00
2019-12-27 12:55:59 +01:00
2019-04-26 17:51:51 -04:00
2019-05-09 20:22:04 -04:00
2020-04-24 10:10:00 -04:00
2020-04-24 10:10:00 -04:00
2018-09-19 08:59:26 +02:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:23:55 -06:00
2019-11-04 18:15:32 -07:00
2018-11-02 22:39:07 +01:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:10:01 -04:00
2020-05-01 11:34:01 -04:00
2020-04-24 10:10:00 -04:00
2020-04-26 14:25:21 -06:00
2018-05-07 09:34:12 -04:00
2018-12-15 11:49:56 -05:00
2019-10-28 13:32:51 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:51:56 -04:00
2020-04-24 10:51:56 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2019-08-15 13:42:28 +08:00
2019-09-03 09:30:32 +08:00
2019-07-10 16:52:58 -06:00
2018-05-07 10:24:31 -04:00
2020-03-26 22:58:46 +08:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2019-11-04 18:15:32 -07:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2020-04-26 14:25:21 -06:00
2020-04-24 10:10:00 -04:00
2019-10-08 16:36:37 +02:00
2020-02-13 17:32:09 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-07-30 10:20:06 +02:00
2019-10-24 13:37:02 +02:00
2019-10-28 13:32:51 -04:00
2018-05-11 09:23:44 +02:00
2018-05-11 14:54:57 -04:00