diff options
author | Davide Fioravanti <pantanastyle@gmail.com> | 2019-05-20 04:43:17 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-05-31 10:30:03 +0200 |
commit | d95dff162ae110e82674cc1511ef851be231b232 (patch) | |
tree | a69f55840155d34d4dd8827645e5f1794f02e66e /tools/firmware-utils/src/mkwrggimg.c | |
parent | 1bbd524e8411c669d874ca48e0bb56e1e8acc121 (diff) | |
download | upstream-d95dff162ae110e82674cc1511ef851be231b232.tar.gz upstream-d95dff162ae110e82674cc1511ef851be231b232.tar.bz2 upstream-d95dff162ae110e82674cc1511ef851be231b232.zip |
firmware-utils: jcgimage: add support for 4MiB+ images
The first version of this script allowed just 4Mb factory images.
With this patch is possible to set the maximum size of the payload.
For an 8Mb flash, the corresponding maxsize is:
8 * 1024 * 1024 - 5 * 64 * 1024 = 8388608 - 327680 = 8060928
If the -m argument is not set, the default maximum size will be
used for backward compatibility.
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Diffstat (limited to 'tools/firmware-utils/src/mkwrggimg.c')
0 files changed, 0 insertions, 0 deletions