From: Marek Szyprowski Date: Tue, 13 Aug 2024 13:24:22 +0000 (+0200) Subject: samsung: tizen_bpif3: use 'boot_a' name for the first boot partition X-Git-Tag: accepted/tizen/unified/x/20240814.051504^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0606fb9bc1feacbe06489591a77d941728251648;p=platform%2Fkernel%2Fu-boot-spacemit.git samsung: tizen_bpif3: use 'boot_a' name for the first boot partition Use common 'boot_a' name for the first 'boot' partition. The BPiF3 support code doesn't relay on the 'bootfs' name anymore. Signed-off-by: Marek Szyprowski Change-Id: If032ec3ef914735f2ed1d6c574d4c06d835e169f --- diff --git a/include/samsung/tizen_bpif3.h b/include/samsung/tizen_bpif3.h index 363d446c63..12c36dc9ae 100644 --- a/include/samsung/tizen_bpif3.h +++ b/include/samsung/tizen_bpif3.h @@ -31,7 +31,7 @@ TIZEN_TARGET_ENV_SETTING \ "kernel=" KERNEL_NAME "\0" \ "informname=inform\0" \ - "bootname=bootfs\0" \ + "bootname=boot_a\0" \ "rebootparamfile=reboot-param.bin\0" \ "upgradetypefile=upgrade-type.info\0" \ "slotfile=partition-ab.info\0" \ diff --git a/tizen/bootscript/tizen-boot-bpif3.scr b/tizen/bootscript/tizen-boot-bpif3.scr index 0733e6347f..3aad29f0cf 100644 --- a/tizen/bootscript/tizen-boot-bpif3.scr +++ b/tizen/bootscript/tizen-boot-bpif3.scr @@ -34,7 +34,11 @@ fi echo "boot from slot_${partition_ab}" # find the boot partition -part number $devtype $devnum "bootfs" bootpart +part number $devtype $devnum "boot_${partition_ab}" bootpart +if test -z "${bootpart}"; then; + echo No \"boot_${partition_ab}\" partition found. + exit +fi # set sane defaults setenv partition_name "ramdisk"