aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image/gen_banana_pi_img.sh
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-07-21 17:43:12 +0100
committerChuanhong Guo <gch981213@gmail.com>2020-07-26 17:07:52 +0800
commit5787684cb4e241bd5d28237fbcad5d4a0dca7ba1 (patch)
tree5a0cdf3ab3ad4c84c6abad67425e2bc73a04ba85 /target/linux/mediatek/image/gen_banana_pi_img.sh
parent65fc47cac562f0bba18aafd40e2d51884075e5ab (diff)
downloadupstream-5787684cb4e241bd5d28237fbcad5d4a0dca7ba1.tar.gz
upstream-5787684cb4e241bd5d28237fbcad5d4a0dca7ba1.tar.bz2
upstream-5787684cb4e241bd5d28237fbcad5d4a0dca7ba1.zip
mediatek: mt7623: add scatter file for unbricking with SP Flash Tool
Many MediaTek SoCs can be unbricked by using the SP Flash Tool from http://spflashtool.com/ along with a "scatter list" file, which is just a text file listing which image gets loaded where. We use a trivial partition layout for the tool, with the whole eMMC image as a single "partition", which means users just need to unzip the sysupgrade image. Doing the real partition layout would be overly complex and would require the individual partitions to be shipped as artifacts — or users to extract them out of the sysupgrade image just for the tool to put them adjacent to each other on the eMMC anyway. The tool does require a copy of the preloader in order to operate, even when it isn't flashing the preloader to the eMMC boot region. So drop that into the bin directory as an artifact too. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'target/linux/mediatek/image/gen_banana_pi_img.sh')
0 files changed, 0 insertions, 0 deletions