openwrtv4/target/linux
Gabor Juhos 08e0613275 ar71xx: generate recovery image for WNDR4300
Extended the Makefile to generate a working factory reset image
for Netgear WNDR4300. The image uses UBI with two volumes squashfs
(rootfs) and JFFS2 (rootfs_data). In order to make stock U-Boot
happy, a fake rootfs image is placed into the last erase block
of the kernel partition.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - restore the NetgearNAND/initramfs macro,
  - remove unused {Squash,Ubi}fsTemplate macros,
  - remove board specific mtd options from CONFIG_CMDLINE, append the
    board specific ubi.mtd parameter to the kernel command line instead,
  - increase kernel partition size to 2MiB,
  - use board specific ini file for ubinize,
  - put jffs2 eof mark into the rootfs_data ubi volume,
  - use KDIR_TMP for temporary images,
  - use the squashfs-raw image,
  - increase kernel partition size to 2MiB,
  - use a local ubinize macro,
  - fix macro parameter comments,
  - put the fake rootfs into the last erase block of the kernel
    partition,
  - move Image/Build/NetgearNAND/buildkernel macro before
    define Image/Build/NetgearNAND,
  - don't use the wndr3700 utility, use '-M' parameter of mkimage to set
    the uImage magic,
  - use '-recovery' suffix for the generated image, it is only usable via
    the fw_recovery function of the bootloader,
  - update commit log]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38655
2013-11-05 16:31:14 +00:00
..
adm5120 targets: fix remaining targets for initramfs builds 2013-06-28 22:56:34 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
ar71xx ar71xx: generate recovery image for WNDR4300 2013-11-05 16:31:14 +00:00
at91 at91: fix missing drivers/iio/adc/at91-adc.ko in kmod-at91-adc 2013-10-01 22:37:17 +00:00
atheros kernel: update 3.10 to 3.10.17 2013-10-23 12:51:05 +00:00
au1000 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
avr32 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
bcm53xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
brcm47xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
brcm63xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
brcm2708 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
cns3xxx build: unify arm target cflags 2013-09-26 17:53:20 +00:00
cns21xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
cobalt cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
generic kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
imx6 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
kirkwood kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
lantiq kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
malta kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc85xx kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
mvebu kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
mxs kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
octeon kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
omap4 build: fix typo 2013-09-26 22:43:06 +00:00
omap24xx build: unify arm target cflags 2013-09-26 17:53:20 +00:00
orion build: unify arm target cflags 2013-09-26 17:53:20 +00:00
ppc40x kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
ppc44x kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
rb532 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
realview kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
sunxi kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
uml uml: work around mangled parameter handling for ubd 2013-09-24 13:36:42 +00:00
x86 kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
xburst kernel: update 3.10 to 3.10.18 2013-11-05 08:25:45 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00