mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
83a18aefbd
YunCore QCA9k based devices released in 2019 require a custom TFTP image
for U-Boot built-in recovery mode (triggered with reset button). Image
has to be prepended with 'YUNCORE' keyword followed by U-Boot CLI
commands which will be executed later. Images without the custom header
will be ignored by U-Boot.
To be able to support both the vendor firmware (QSDK) and OpenWrt flash
layouts, used here commands change the 'bootcmd' before flashing image.
This commit adds generic helper script for YunCore devices with 16 MB of
flash and enables TFTP image generation for A770 model.
Signed-off-by: Vincent Wiemann <vincent.wiemann@ironai.com>
[pepe2k@gmail.com: commit description reworded, recipe renamed]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
lzma-loader | ||
common-buffalo.mk | ||
common-netgear.mk | ||
common-tp-link.mk | ||
common-yuncore.mk | ||
generic-tp-link.mk | ||
generic-ubnt.mk | ||
generic.mk | ||
Makefile | ||
nand.mk | ||
tiny-netgear.mk | ||
tiny-tp-link.mk | ||
tiny.mk |