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

* Add Cedar HW video decoder support * Add sunxifbsink gstreamer plugin * sunxifbsink: remove warning log gst-omx: remove resolution check after crop * Add gstreamer scripts * review comments fixes * ffmpeg: enable h264_omx encoder * add missing hashes and use defined git commit for libcedar * mv miyoo specific patches to board * make `gst-omx.mk` less platform specfic * Add header python interpreter to gst-raw.py * Add videoscale with nearest-neighbour to play video with higher resolutions fluently * Use HW scaler * libcedarc: fix crash when playing 640x480 video * kernel: Add patch to increase VRAM * Add fast gstreamer player * fix gst-play hangs * Add matroska plugin * remove target --------- Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
Buildroot Package for Miyoo CFW 2.0.0
Opensource development package for Miyoo handhelds.
Install
It is assumed you're using Debian based distro, others like Arch or Fedora may brake at build time.
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
- image
make
- image & sdk
make sdk
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%