Add more improvements in Bootloader.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>