openwrtv4/target/linux/ar71xx/image
Piotr Dymacz b3cb0e7588 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>
2017-07-22 23:29:50 +02:00
..
lzma-loader ar71xx/lzma-loader: fix O32 ABI conformance 2016-01-17 15:29:03 +00:00
generic.mk ar71xx: add support for ALFA Network AP121F 2017-07-22 23:13:55 +02:00
legacy-devices.mk ar71xx: move Arduino Yun to generic building code 2017-06-29 10:37:36 +02:00
legacy.mk ar71xx: move Arduino Yun to generic building code 2017-06-29 10:37:36 +02:00
Makefile ar71xx: image: use simply expanded variables 2017-06-11 21:32:17 +02:00
mikrotik.mk ar71xx: image: mikrotik: shorten DEVICE_TITLE 2017-06-11 21:32:17 +02:00
nand.mk ar71xx: image: use simply expanded variables 2017-06-11 21:32:17 +02:00
senao.mk ar71xx: fix EnGenius ENS202EXT mtd definition 2017-06-29 10:37:36 +02:00
tp-link.mk firmware-utils: mktplinkfw: rework combined image option 2017-07-22 23:29:50 +02:00
ubinize-nbg6716.ini ar71xx: nbg6716: Enable procd nand sysupgrage 2014-06-26 11:43:38 +00:00
ubinize-wndr4300.ini ar71xx: remove old jffs2 marker from image generation on nand targets 2014-06-24 18:14:18 +00:00
ubnt.mk ar71xx/image: change unifi UBNT_CHIP to ar7240 2017-07-13 23:56:24 +02:00