-
Notifications
You must be signed in to change notification settings - Fork 100
Build your own firmware
roleo edited this page Jan 26, 2022
·
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 bisonc++ libbison-dev autoconf autotools-dev automake libssl-dev zlibc zlib1g-dev libzzip-dev flex libfl-dev yui-compressor closure-compiler optipng jpegoptim libtidy5deb1 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