diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-06-06 00:35:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-06-06 22:27:59 +0200 |
commit | 805e59cdcc2b6b2bb3f7583d8ccdb932e6cdeb7b (patch) | |
tree | dd85ad60874419cff09ece6be66257818374f533 /target/linux/generic/backport-4.9/050-usb-dwc2-Remove-unnecessary-kfree.patch | |
parent | aa87a5cffbbececbcd28861589db1ec3fcaabfa3 (diff) | |
download | mtk-20170518-805e59cdcc2b6b2bb3f7583d8ccdb932e6cdeb7b.zip mtk-20170518-805e59cdcc2b6b2bb3f7583d8ccdb932e6cdeb7b.tar.gz mtk-20170518-805e59cdcc2b6b2bb3f7583d8ccdb932e6cdeb7b.tar.bz2 |
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: e39847ea2f70 ("ar71xx: increase kernel partition size for CPE/WBS 210/510")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target/linux/generic/backport-4.9/050-usb-dwc2-Remove-unnecessary-kfree.patch')
0 files changed, 0 insertions, 0 deletions