Introduction | Setup | Backup | Restore | Switch firmware | Other options | Screenshots | Build | FAQs | Changelog | Limitation
wz_flash-helper uses thingino kernel source. The compilation steps are the same as building thingino kernels after the kernel config files are patched.
Ubuntu 24(on a virtual machine or Linux Container) with git
, fakeroot
, cpio
and other Buildroot mandatory packages installed. 1GB free disk space is also required for each SoC that you build.
1. Prepare
Clone the Github repo:
git clone --recurse-submodules https://github.com/archandanime/wz_flash-helper.git
cd wz_flash-helper
2. Patch kernel source
./build.sh patch
3. Install packages that are required by thingino Buildroot
cd thingino-firmware
BOARD=<profile> make bootstrap
4. Build
To build a kernel, run:
./build.sh kernel <SoC>
To generate a release, run:
./build.sh release <SoC>
where as SoC
is either t20
or t31
To clean up, run:
./build.sh clean
To build everything, run:
./build.sh clean && ./build.sh release t20 && ./build.sh release t31
Compiled kernels and releases will be saved at output/
directory.
On the first time you build a kernel/release, it might take a long time to download necessary toolchains before the compiling, after that it takes only about a couple of minutes.