1
0
Fork
You've already forked ws63flash
0
flashing utility for Hisilicon WS63
  • C 51.9%
  • C++ 26%
  • M4 18.6%
  • Makefile 2.9%
  • Perl 0.4%
  • Other 0.2%
2026年04月25日 01:47:38 +08:00
.github/workflows {.github/workflows/cibuild.yml}: Add target for newly added binaries 2025年08月13日 14:28:14 +08:00
build-aux {m4,lib,build-aux}: bump gnulib to 20260109 2026年04月24日 23:17:36 +08:00
lib lib: add missing files left from gnulib bump 2026年04月25日 01:09:21 +08:00
m4 m4: add missing macros left from gnulib bump 2026年04月25日 01:06:45 +08:00
man man/ws63fwpkg.1: add the new build option 2026年04月25日 01:30:28 +08:00
src src/ws63fwpkg.c: fix the problem where len didnt get updated during injection 2026年04月25日 01:47:38 +08:00
.gitignore Clean up, Prepare for v0.3.1 release 2025年08月13日 21:44:53 +08:00
AUTHORS Prepare for 0.2.3 release 2025年01月26日 13:16:58 +08:00
ChangeLog Clean up, Prepare for v0.3.1 release 2025年08月13日 21:44:53 +08:00
config.h.in {m4,lib,build-aux}: bump gnulib to 20260109 2026年04月24日 23:17:36 +08:00
configure.ac {src/io.h,src/ws63flash.c}: Minor formating, Provide checks before initiating HAVE_DECL_IOSSIOSPEED 2025年01月06日 20:06:15 +08:00
COPYING Initial Commit for Releasing v0.1.0 2024年10月06日 21:09:40 +08:00
INSTALL {m4,lib,build-aux}: bump gnulib to 20260109 2026年04月24日 23:17:36 +08:00
Makefile.am Finish necessary documentation for v0.1.0 2024年10月06日 21:10:20 +08:00
NEWS Clean up, Prepare for v0.3.1 release 2025年08月13日 21:44:53 +08:00
README README{,.en}: Polish building and flashing instructions 2024年12月13日 11:16:32 +08:00
README.en README{,.en}: Polish building and flashing instructions 2024年12月13日 11:16:32 +08:00

WS63FLASH(1) -- 海思 WS63 芯片刷写工具
(English version available at file `README.en')
ws63flash 是通过反向海思官方烧录工具 (BurnTool) 实现的海思 WS63 烧写工具。
# 安装
在 Microsoft Windows 上,需要先安装 MSYS2 并在其 MSYS 环境 (MSYS2 MSYS) 下运行:
 # pacman -S autoconf automake gcc make
在 GNU/Linux 上,执行以下命令:
 # apt install autoconf automake gcc make
构建并安装:
 $ autoreconf -fi # 如果使用 Release 源代码,可跳过。
 $ ./configure
 $ make
 $ sudo make install
# 使用方法
在兼容 POSIX 的系统 (GNU/Linux, BSD 等) 上刷写 fwpkg:
 $ ws63flash --flash /dev/ttyUSB0 /path/to/fwpkg
在 MichaelSoft Binbows 上需要使用 COM 口刷写:
 # 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
二进制刷写,直接刷写未打包到 fwpkg 的二进制文件:
 # ws63flash --write PORT root_loaderboot_sign.bin \
 ws63-liteos-app-sign.bin@0x230000 \
	 flashboot_sign.bin@0x220000
擦除板上内存:
 # ws63flash --erase PORT /path/to/fwpkg
更多信息请参见 `ws63flash --help' 以及 ws63flash(1) 手册页。
# 参考资源
 * https://gitee.com/HiSpark/fbb_ws63/tree/master/src/bootloader
 Contains useful headers for return values, error values and data structures.
 * https://gitee.com/HiSpark/fbb_ws63/blob/master/tools/README.md
 Contains instruction for setting up HiSpark Studio. The `libburn.dll' in
 HiSpark Studio contains important routines and data structures for flashing.
 * https://gitee.com/hihope_iot/near-link/raw/master/firmware/WS63/ws63-liteos-app_all.fwpkg
 A reference firmware for fwpkg parsing and flashing. But this can't be
 flashed on Hisilicon WS63E MCU. And, `src/fwpkg.h' also documented it.