rt-thread/bsp/rockchip/rk2108/update_fimeware.sh
Steven-LiuSF 8b60b58b51
[bsp][rockchip][rk2108]: add rk2108 base support. (#6040)
* [bsp][rockchip][rk2108]: add rk2108 base support.

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2022-06-09 14:27:30 +08:00

16 lines
278 B
Bash
Executable File

#!/bin/sh
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
usage() {
echo "usage: ./update_firmware.sh"
}
CUR_DIR=$(pwd)
TOOLS=$CUR_DIR/../tools
$TOOLS/upgrade_tool db $CUR_DIR/image/rk2108_db_loader.bin
$TOOLS/upgrade_tool wl 0 $CUR_DIR/image/Firmware.img
$TOOLS/upgrade_tool rd