ramips: introduce TP-Link v1 header OKLI image recipe
authorShiji Yang <yangshiji66@qq.com>
Tue, 24 Sep 2024 10:50:01 +0000 (18:50 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 6 Oct 2024 12:07:37 +0000 (14:07 +0200)
commit08eecec3558d9adf351e03b58309e69a77de1a36
treed2fd03e939f8f3f32997bb83c269090996c6beec
parentac840d74f12ff46e34bb51431f2e8a23b63cc34d
ramips: introduce TP-Link v1 header OKLI image recipe

It can be used to workaround the booting stuck issue caused by the
u-boot LZMA decompression error.

The new kernel image structure:
+------+------------------+------------------+---------------+-----------------+
| name | tplink-v1 header | OKLI lzma-loader | uImage header | lzma kernel+dtb |
+------+------------------+------------------+---------------+-----------------+
| size |      0x200       |       0xe00      |     0x40      |     dynamic     |
+------+------------------+------------------+---------------+-----------------+

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16473
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/image/common-tp-link.mk