mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
d89fb54e3976a615534ae90d216d6aa4383fcfdd
* refactor firstboot -> Flashing procedure displays msgbox at firsts launch: - "Can you see this msg?" (to test readID correctness) - "Select your device:" (to choose manually proper module parameters) - "Test Video" & "Test_Keyboard" dialog - "Test_Image" invertion + xyc/m3 - "Your Device" dialog for all FORCE_VARIANT - "Test_Video'2" & "Test_Variant" - "Does this device match yours?" msg before License - add temp "st7789s" console variant - load proper firsboot menu from uEnv read - Perform Tests only for $DETECTED_VERSION * add $device_ID array from console.cfg (see if manually selected device type, matches uboot choices) * move at end RESIZE script in firstboot * only reboot after firstboot if console variant changed during flashing * default to "unknown" console if no match * add "m3_gc9306" to devices_ID[] * refactor "xyc" & "m3" FORCE_VERSION * use dialog --pause in firstboot (displays left time) * Correct indentations in firstboot to TABS * add functions in script update "firstboot" script
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-2.0.0.img on sdcard
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%