tizen: enable support for formatting MBR partition layout during flashing
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 26 Nov 2020 14:32:03 +0000 (15:32 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:27 +0000 (13:19 +0900)
commitb6191126546c7f04aef33bcd1020adc470eabaf5
tree8f6df1254387374b226b0f29ced7de35655b5bc8
parent185c66b9884dfda3d3745c507afbbe05efd55989
tizen: enable support for formatting MBR partition layout during flashing

This is ensured by the following steps:
1. enable 'mbr' command and provide default partiton layout,
2. add support for formating block device from THOR downloaded script,
3. check MBR partition layout on boot and enter THOR mode if invalid
4. provide a script for formating MBR for THOR download

MBR partition layout is checked on boot if it mathes the one defined
during u-boot compilation. If not, set dfu_alt_info to the minimal safe
list and enter THOR download mode to flash the new, proper partition
layout and the complete Tizen image.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I490e5b3314513012259f3981feae047f95649c3b
include/samsung/tizen_amlogic.h
tizen/build-amlogic.sh