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

* BOARD: firstboot: use ext4 for p1 explicitly * BOARD: /etc/main : update fsck scripts * BOARD: inittab: - add /roms in p5 - mount RO /boot in async (default) * BOARD: genimage.sh: gen ROMS EXT4 image * BAORD: prebuild.sh: - create mount point for ROMS - increase MAIN & ROMS block size - the size of /mnt is "hardcoded" after image creation - we need real space for backup manipulation in ROMS * BOARD: mv roms upward * BOARD: firstboot: add p5 ROMS and resize * BOARD: genimage-sdcard.cfg: - use GPT - add p5 for roms * PACKAGE/BOARD: patch/genimage: down-size gpt table * PACKAGE/DEFCONFIG: add `gptfdisk` package to shared * BOARD: firstboot: allow for switching FS type in MAIN and ROMS * README: update firstboot_procedure.drawio.png - add FS change boxes and IPK installer * BOARD: firstboot: not mandatory to resize for IPK manager * DEFCONFIG: add default kernel patching * DEFCONFIG: uppercase rootfs label * BOARD: umtpr: uppercas partition LABELS * DEFCONFIG/PACKAGE: add RSYNC pkg * BOARD: mount FAT p5 in async (default) * BOARD: add ROMS icons for Win Co-Authored-By: TriForce <triforce@gznetwork.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%