mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
423e87bd642a1ff006978ad7569fe9c71fd60a3b

* [PACKAGE] downgrade FFMPEG(add) & X264 - use ffmpeg-3.1 thus downgrade ver. to working SDL1.2 - downgrade x264 to be inline with former ffmpeg - uncomment FFSERVER build instructions (it is available in 3.1 version) * [BOARD] - add `ffplay` & `ffmpeg` apps to record&play - add `arecord` script for AUDIO capture (use alsaloop workaround) - update appLinks with "params=&" for bg launch - use `pkill` instead 'killall` for scripts (warning: it also checks for bash running under the same name) - use FFPROBE to detect media format in `ffplay` - for X264 use sources.buildroot.net (code.videolan.org src only works with git method) - rm redundant usb Applink - add 0003-ffplay-custom-sdlk.patch (to make hotkeys usable in miyoo)
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
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:
Buildroot 2022.02.9 (docs: https://github.com/MiyooCFW/buildroot/blob/master/docs/manual/manual.pdf)
Description
Languages
Max
75%
Makefile
17.1%
Python
2.6%
C
2.1%
Shell
1.6%
Other
1.2%