Searched hist:"615 e0cde57865e2025a3cb2340bfde96a6f58d1f" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/android_avb/ |
| H A D | rk_avb_ops_user.h | 615e0cde57865e2025a3cb2340bfde96a6f58d1f Wed Aug 08 13:23:51 UTC 2018 Jason Zhu <jason.zhu@rock-chips.com> lib: avb: fix bug HANG in fastboot getvar at-vboot-state
Bug: Run 'fastboot getvar at-vboot-state', then HANG in the fastboot without any message.
Cause: The fastboot can not decide the vboot size when the return information size of vboot state is larger than the VBOOT_STATE_SIZE. This makes the device will not response to console.
Solution: 1. Enlarge VBOOT_STATE_SIZE. The max size of vboot state may be 862, so define VBOOT_STATE_SIZE to 1000. 2. Use snprintf to get the info.
Change-Id: I2d0fda76ca9034c596993ab27a02cbf2fa550977 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| /rk3399_rockchip-uboot/lib/avb/rk_avb_user/ |
| H A D | rk_avb_ops_user.c | 615e0cde57865e2025a3cb2340bfde96a6f58d1f Wed Aug 08 13:23:51 UTC 2018 Jason Zhu <jason.zhu@rock-chips.com> lib: avb: fix bug HANG in fastboot getvar at-vboot-state
Bug: Run 'fastboot getvar at-vboot-state', then HANG in the fastboot without any message.
Cause: The fastboot can not decide the vboot size when the return information size of vboot state is larger than the VBOOT_STATE_SIZE. This makes the device will not response to console.
Solution: 1. Enlarge VBOOT_STATE_SIZE. The max size of vboot state may be 862, so define VBOOT_STATE_SIZE to 1000. 2. Use snprintf to get the info.
Change-Id: I2d0fda76ca9034c596993ab27a02cbf2fa550977 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|