-
Notifications
You must be signed in to change notification settings - Fork 100
Build your own firmware
roleo edited this page Jul 2, 2021
·
3 revisions
To build the firmware you need a linux system with a specific toolchain. A linux Debian distro is recommended.
Below an example using Debian 10.
sudo apt-get update
sudo apt-get install git unzip build-essential libtool bison bison++ bisonc++ libbison-dev autoconf autotools-dev automake libssl-dev zlibc zlib1g-dev libzzip-dev flex libfl-dev yui-compressor closure-compiler optipng jpegoptim libtidy5 node-less sassc sass-spec libhtml-tidy-perl libxml2-utils rsync
git clone https://github.com/lindenis-org/lindenis-v536-prebuilt
sudo mkdir -p /opt/yi/toolchain-sunxi-musl
sudo cp -r lindenis-v536-prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain /opt/yi/toolchain-sunxi-musl/
git clone https://github.com/roleoroleo/yi-hack-Allwinner-v2
cd yi-hack-Allwinner-v2/
git submodule update --init
sudo ./scripts/compile.sh
sudo ./scripts/pack_fw.all.sh