openwrtv3/target/linux/lantiq
Thomas Nixon 8c88e23b99 lantiq: fix DM200 boot with fake uImage headers
The latest bootloader versions load the firmware into memory and call
`chk_dniimg` (defined in Netgear GPL release), which expects to find
three consecutive block-aligned uImages. Add two fake uImage headers
after the kernel to fool this check.

This wastes up to 128k of space for alignment. The alternative would be
to put the rootfs in a second uImage, but this would limit the firmware
size to 0x710000 (the number of bytes loaded and verified by the
bootloader) instead of 0x7b0000 (the size of the firmware partition).

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
2018-03-18 22:22:39 +01:00
..
ase lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
base-files treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
falcon lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
files/firmware/lantiq lantiq: rename gphy firmware 2018-02-20 19:25:17 +01:00
files-4.9/arch/mips/boot/dts lantiq/xrx200: add usif support to dts files 2018-03-06 19:49:06 +01:00
files-4.14/arch/mips/boot/dts lantiq/xrx200: add usif support to dts files 2018-03-06 19:49:06 +01:00
image lantiq: fix DM200 boot with fake uImage headers 2018-03-18 22:22:39 +01:00
patches-4.9 kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
patches-4.14 kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
xrx200 lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
xway lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
xway_legacy lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
config-4.9 lantiq: select PCI support in subtargets 2017-10-04 20:08:15 +02:00
config-4.14 kernel: optimize for performance by default starting with 4.14 2018-02-24 16:05:28 +01:00
Makefile lantiq: switch to kernel 4.9 2017-09-05 08:43:39 +02:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00