Skip to content

Tool to generate embedded Linux systems through cross-compilation

License

Notifications You must be signed in to change notification settings

MiyooCFW/buildroot

Repository files navigation

Buildroot Package for Miyoo CFW 2.0.0

Opensource development package for Miyoo handhelds

Install

Install necessary packages

sudo apt install -y wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev cpio rsync subversion python3 mercurial imagemagick btrfs-progs

Download BSP

git clone https://github.com/MiyooCFW/buildroot

Make the first build

Apply defconfig uClibc

cd buildroot
make miyoo_uclibc_defconfig

Or apply defconfig musl

cd buildroot
make miyoo_musl_defconfig

Regular build

make

Speed up build progress

Compile speed

If you have a multicore CPU, you can try

make -j ${YOUR_CPU_COUNT}

or buy a powerful PC for yourself.

Flashing firmware to target

load output/images/miyoo-cfw-*.img on sdcard

First booting device

You will have to answer a few questions on first boot, represented on graphic below: flashing procedure