samsung: tizen_rpi: Set to slot_a by default when run tfm 91/315791/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20240808.161702
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Aug 2024 22:20:13 +0000 (07:20 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Aug 2024 22:24:09 +0000 (07:24 +0900)
commit2082a4ee256874a13134c222562e2343701df957
tree15f2b63caf5f5e154d8548c6852329dd99f4f1bf
parente442e2a0ca01ba7af37bcd040c5a9c5a21f3292a
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: Id09bdbb5cd3ce4b0af685f761718837cb6e65d7b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/samsung/tizen_rpi.h
tizen/bootscript/tizen-boot-rpi4.scr