diff --git a/README b/README index 245d0a4..ef23c30 100644 --- a/README +++ b/README @@ -16,6 +16,7 @@ ws63flash 是通过反向海思官方烧录工具 (BurnTool) 实现的海思 WS6 构建并安装: + $ autoreconf -fi # 如果使用 Release 源代码,可跳过。 $ ./configure $ make $ sudo make install @@ -30,19 +31,23 @@ ws63flash 是通过反向海思官方烧录工具 (BurnTool) 实现的海思 WS6 # ws63flash --flash COM3 \path\to\fwpkg +以更快的波特率 (推荐, 921600) 刷写: + + # ws63flash -b921600 --flash PORT /path/to/fwpkg + 选择性刷写,只刷写 `ws63-liteos-app.bin' 和刷写所需的必要文件: - $ ws63flash --flash PORT /path/to/fwpkg ws63-liteos-app.bin + # ws63flash --flash PORT /path/to/fwpkg ws63-liteos-app.bin 二进制刷写,直接刷写未打包到 fwpkg 的二进制文件: - $ ws63flash --write PORT root_loaderboot_sign.bin \ + # ws63flash --write PORT root_loaderboot_sign.bin \ ws63-liteos-app-sign.bin@0x230000 \ flashboot_sign.bin@0x220000 擦除板上内存: - $ ws63flash --erase PORT /path/to/fwpkg + # ws63flash --erase PORT /path/to/fwpkg 更多信息请参见 `ws63flash --help' 以及 ws63flash(1) 手册页。 diff --git a/README.en b/README.en index 1c79c77..61dc16c 100644 --- a/README.en +++ b/README.en @@ -17,6 +17,7 @@ For GNU/Linux, run the following instruction inside a shell. Build and install: + $ autoreconf -fi # If using release source, optional. $ ./configure $ make $ sudo make install @@ -25,25 +26,29 @@ Build and install: Flashing a fwpkg on POSIX System (GNU/Linux, BSD...): - $ ws63flash --flash /dev/ttyUSB0 /path/to/fwpkg + # ws63flash --flash /dev/ttyUSB0 /path/to/fwpkg On MichaelSoft Binbows, flashing with a COM port: # ws63flash --flash COM3 \path\to\fwpkg +Flashing with a faster baudrate (921600, recommended): + + # ws63flash -b921600 --flash PORT /path/to/fwpkg + Selective flashing, only flash `ws63-liteos-app.bin' and mandatory bin: - $ ws63flash --flash PORT /path/to/fwpkg ws63-liteos-app.bin + # ws63flash --flash PORT /path/to/fwpkg ws63-liteos-app.bin Binary flashing, flash binaries that wasn't packed yet: - $ ws63flash --write PORT root_loaderboot_sign.bin \ + # ws63flash --write PORT root_loaderboot_sign.bin \ ws63-liteos-app-sign.bin@0x230000 \ flashboot_sign.bin@0x220000 Erasing the flash memory on board: - $ ws63flash --erase PORT /path/to/fwpkg + # ws63flash --erase PORT /path/to/fwpkg For more infomation, check out `ws63flash --help' and ws63flash(1).