diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2017-07-06 16:34:47 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-07-22 23:29:50 +0200 |
commit | b3cb0e75884222e141a40443c25d20deedf7a552 (patch) | |
tree | 6c33a23ca49007f1e6df3c1e6bf9f55310741415 /target/linux/uml/patches-4.4 | |
parent | 8223dac99aeab29399b18e358b1cda35ef98495b (diff) | |
download | upstream-b3cb0e75884222e141a40443c25d20deedf7a552.tar.gz upstream-b3cb0e75884222e141a40443c25d20deedf7a552.tar.bz2 upstream-b3cb0e75884222e141a40443c25d20deedf7a552.zip |
firmware-utils: mktplinkfw: rework combined image option
We use combined option in "mktplinkfw" tool for generating initramfs
kernel images and header for kernel inside "safeloader" image type (in
fact, only for TL-WR1043ND v4 at this moment).
There is also "mktplinkfw-kernel" tool, a stripped-down version, used
only for generating "simple" header, for safeloader image types.
This changes how "mktplinkfw" handles combined images (which then will
allow us to drop the stripped-down version of the tool):
- drop "ignore size" command line option (it was used only for combined
images anyway)
- don't require "flash layout id" for combined images (we don't need and
shouldn't limit size of the initramfs kernel and for kernels inside
safeloader images, the "tplink-safeloader" tool does the size check)
- require kernel address and entry point in command line parameters for
combined images (consequence of previous point)
- don't include md5 sum and firmware length values in header (they are
needed only for update from vendor GUI and are ingored in case of
initramfs and "tplink-safeloader" images)
- drop "fake" flash layout for TL-WR1043ND v4 as it's no longer needed
Also, adjust "mktplinkfw-combined" command in ar71xx/image/tp-link.mk to
match introduced changes in "mktplinkfw" tool.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/uml/patches-4.4')
0 files changed, 0 insertions, 0 deletions