openwrtv4/target/linux
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
..
adm5120 treewide: populate boardname and model earlier 2017-07-15 23:13:34 +02:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
ar7 ar7: diag.sh: use common status_led_* functions 2017-03-15 23:14:54 +01:00
ar71xx firmware-utils: mktplinkfw: rework combined image option 2017-07-22 23:29:50 +02:00
arc770 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
archs38 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
armvirt kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
at91 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ath25 kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
brcm47xx brcm47xx: fix switch port mapping on Asus RT-N12 and RT-N16 models 2017-07-21 08:09:45 +02:00
brcm63xx treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
brcm2708 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
cns3xxx treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
gemini kernel: use .patch extension for all patches 2017-06-27 06:37:46 +02:00
generic kernel: update kernel 4.9 to 4.9.37 2017-07-15 00:13:05 +02:00
imx6 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ipq806x treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
ixp4xx treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
kirkwood treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
lantiq lantiq: fix sleep with spinlock held in xrx200 network driver 2017-07-20 19:10:29 +02:00
layerscape kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
malta kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
mcs814x treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
mediatek treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
mpc85xx treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
mvebu treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
mxs treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
octeon treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
omap kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
omap24xx treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
orion treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
oxnas treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
pistachio kernel: update kernel 4.9 to 4.9.37 2017-07-15 00:13:05 +02:00
ppc40x treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: add support for Phicomm K2P 2017-07-20 19:10:29 +02:00
rb532 treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
sunxi treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
uml uml: Backport upstream fix to build against static libpthread 2017-07-18 14:52:51 -07:00
x86 x86: Fix xen serial console by removing conflicting PATA driver 2017-07-16 11:31:52 +02:00
xburst xburst: enable high-res timers, refresh kernel config 2017-06-07 18:31:10 +02:00
zynq treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
Makefile