samsung: tizen_rpi: Set to slot_a by default when run tfm 92/315792/1 accepted/tizen/unified/20240808.160409 accepted/tizen/unified/dev/20240809.091508 accepted/tizen/unified/toolchain/20240812.132415 accepted/tizen/unified/x/20240809.012857 accepted/tizen/unified/x/20240809.015559 accepted/tizen/unified/x/asan/20240813.230709
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Aug 2024 22:28:30 +0000 (07:28 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Aug 2024 22:28:30 +0000 (07:28 +0900)
commite86826e837dbf56091f097a42f5571df8400da29
treedc1576e3d6eaed6d6405fb622b87bf076c804a59
parentf59a92752f9b3460bb007f5114c6ef8abb2e3415
samsung: tizen_rpi: Set to slot_a by default when run tfm

In some case, it's resetting to normal mode from download mode.
So it's always running as ramdisk boot mode.

To fix above issue, Set to slot_a by default when run tfm.
"run tfm" means that user tries to flahs entire image.
So it doesn't need that it enters to slot_b mode.

To prevent the overwrite, change the loading address to 0x02500000.
Because scriptaddr is using 0x02400000.

Change-Id: Iad0791484fb30d08d4584763088b80ad05979df1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/samsung/tizen_rpi.h
tizen/bootscript/tizen-boot-rpi4.scr