author | Xindong Xu <xindong.xu@amlogic.com> | 2019-07-18 08:39:29 (GMT) |
---|---|---|
committer | Xindong Xu <xindong.xu@amlogic.com> | 2019-07-18 08:39:33 (GMT) |
commit | cf545601b6622946a3084e2d68e2382c728e2123 (patch) | |
tree | ba382e68e7d89ba4b1c8050b5a9bb8b83ecaf040 | |
parent | 77bf358913dbbe5912bc2d02bc9e1241bc3d95bc (diff) | |
download | uboot-cf545601b6622946a3084e2d68e2382c728e2123.zip uboot-cf545601b6622946a3084e2d68e2382c728e2123.tar.gz uboot-cf545601b6622946a3084e2d68e2382c728e2123.tar.bz2 |
fastboot: fix fastboot reboot fastboot error [1/1]
PD#SWPL-11372
Problem:
run fastboot reboot fastboot after fastboot flashing unlock
will not burn up
Solution:
do not burn to fastbootd directly
reset it first
Verify:
franklin
Change-Id: Ifdb19631683130c0802496c653ab722b7f740cd5
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
-rw-r--r-- | common/cmd_bcb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_bcb.c b/common/cmd_bcb.c index d3754eb..1700ae6 100644 --- a/common/cmd_bcb.c +++ b/common/cmd_bcb.c @@ -114,6 +114,7 @@ static int do_RunBcbCommand( memcpy(miscbuf, CMD_RUN_RECOVERY, sizeof(CMD_RUN_RECOVERY)); memcpy(miscbuf+sizeof(command)+sizeof(status), "recovery\n--fastboot", sizeof("recovery\n--fastboot")); store_write_ops((unsigned char *)partition, (unsigned char *)miscbuf, 0, sizeof(miscbuf)); + return 0; } printf("Start read %s partition datas!\n", partition); |