diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-11-05 16:31:14 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-11-05 16:31:14 +0000 |
commit | e553a343231a9b70475085ec02256b03b383f103 (patch) | |
tree | 645a0a94a5af5dde60bc8c093350ef8924799ce1 /target/linux/orion/files/arch/arm | |
parent | 9b0e57fe7facc006306fdda507815b492f6aafb1 (diff) | |
download | master-187ad058-e553a343231a9b70475085ec02256b03b383f103.tar.gz master-187ad058-e553a343231a9b70475085ec02256b03b383f103.tar.bz2 master-187ad058-e553a343231a9b70475085ec02256b03b383f103.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38655 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/orion/files/arch/arm')
0 files changed, 0 insertions, 0 deletions