openwrt/target/linux/ar71xx/image
Matthias Schiffer 0c0bb62999
ar71xx: switch CPE/WBS 210/510 to okli-loader
We recently increased the kernel partition size of the CPE/WBS 210/510.
This works fine for new installations of the factory image, but on
sysupgrades, the partition table read by the bootloader is not adjusted.
This limits the maximum size of the kernel loaded by the bootloader to the
old partition size.

While adjusting the partition table would be a cleanest solution, such a
migration would have to happen before an upgrade to a new version with a
newer kernel. This is error-prone and would require a two-step upgrade, as
we mark the partition table partition read-only.

Instead, switch from the lzma-loader with embedded kernel to the
okli-loader, so only the tiny lzma-loader is loaded by the bootloader as
"kernel", and the lzma-loader will then load the rest of the kernel by
itself.

Fixes: e39847ea2f ("ar71xx: increase kernel partition size for CPE/WBS 210/510")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-06-06 22:25:53 +02:00
..
lzma-loader ar71xx: lzma-loader: constify kernel argv array 2018-06-06 22:25:52 +02:00
common-tp-link.mk ar71xx: make loader-okli build step more generic 2018-06-06 22:25:53 +02:00
generic-legacy-devices.mk ar71xx: image: move Sitecom WLR-8100 from legacy to generic 2018-01-15 00:12:13 +01:00
generic-senao.mk ar71xx: image: rework EnGenius ENS202EXT factory image 2018-01-15 13:39:54 +01:00
generic-tp-link.mk ar71xx: switch CPE/WBS 210/510 to okli-loader 2018-06-06 22:25:53 +02:00
generic-ubnt.mk ar71xx: Ubiquiti Airmax M: add relocate-kernel to invalidate cache 2018-04-26 20:40:07 +02:00
generic.mk ar71xx: add support for GL.iNet GL-AR750S 2018-05-27 09:26:09 +02:00
legacy.mk build: replace uses of OpenWrt with $(VERSION_DIST) 2018-02-05 10:15:53 +01:00
Makefile ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
mikrotik.mk ar71xx: fix MikroTik rb-nor-flash-16M-ac image 2018-01-24 01:24:39 +01:00
nand.mk ar71xx: add support for Nokia WI2A-AC200i 2017-10-19 12:27:42 +02:00
tiny-legacy-devices.mk ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
tiny-tp-link.mk ar71xx: add support for TP-Link TL-WR940N v6 2018-04-06 23:11:00 +02:00
ubinize-nbg6716.ini ar71xx: nbg6716: Enable procd nand sysupgrage 2014-06-26 11:43:38 +00:00
ubinize-wndr4300.ini ar71xx: remove old jffs2 marker from image generation on nand targets 2014-06-24 18:14:18 +00:00