From: Seung-Woo Kim Date: Mon, 29 Apr 2019 06:25:36 +0000 (+0900) Subject: rpi: tizen-boot: rpi3-32b: support to enter the flash mode with command X-Git-Tag: submit/tizen/20190429.071428^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=502a03fc0f39632cc87b0a5706915f5835c913f3;p=platform%2Fkernel%2Fu-boot.git rpi: tizen-boot: rpi3-32b: support to enter the flash mode with command Support to enter the flash mode with command. - Refer to below command: U-boot> run tfm Note: this applies, to rpi3-32b from rpi3, the commit cf212f48a110 ("config: tizen_rpi: support to enter the flash mode with command"). Change-Id: Iafe01c35f37eca00132767215e380ec4d9a5426d Signed-off-by: Seung-Woo Kim --- diff --git a/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr b/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr index a21beff1bd..13ae5fc6c1 100644 --- a/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr +++ b/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr @@ -19,6 +19,13 @@ if test -e $bootdev $mmcbootdev:$mmcinformpart $rebootparamfile; then; fi fi +# This is for jumping to flash mode on u-boot. +if test "${bootmode}" = "download"; then; + setenv ramdiskpart 8 + setenv ramdisksize c00000 + setenv bootmode flash +fi + if test "${bootmode}" = "flash"; then; if test -n "${ipaddr}"; then; ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"