Files
buildroot/README.md
Apaczer fc489c0680 GENIMAGE/ACTIONS: automate CFW release tag & status ver. (#94)
* [GENIMAGE]  automate CFW release tag & status ver.
- shell formatting
- add CFW_ITERATION count for Dev-build
- separate CFW and BR2 tagging
- don't use $BR2_VERSION_FULL

* [ACTIONS] build.yml:
- allow for manual workflow dispatch
- fetch-depth=0 (can't fetch-tags)
- rm commented line
- cleanup
- append `ref_name` for unofficials
2024-03-08 17:07:46 +01:00

57 lines
1.1 KiB
Markdown

# Buildroot Package for Miyoo CFW 2.0.0
Opensource development package for Miyoo handhelds
## Install
### Install necessary packages
``` shell
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
```shell
git clone https://github.com/MiyooCFW/buildroot
```
## Make the first build
### Apply defconfig uClibc
```shell
cd buildroot
make miyoo_uclibc_defconfig
```
### Or apply defconfig musl
```shell
cd buildroot
make miyoo_musl_defconfig
```
### Regular build
```shell
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](firstboot_procedure.drawio.png)
---
# _Buildroot 2022.02.9 (docs: https://github.com/MiyooCFW/buildroot/blob/master/docs/manual/manual.pdf)_
---