1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/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
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
ubinize-wndr4300.ini
ubnt.mk ar71xx/image: change unifi UBNT_CHIP to ar7240 2017-07-13 23:56:24 +02:00