README: recommend Debian for BR2

info about sdk
This commit is contained in:
Apaczer
2025-04-16 20:48:22 +02:00
parent 14c4350b6f
commit e82c69b4e8

View File

@@ -3,12 +3,16 @@ Opensource development package for Miyoo handhelds
## Install ## Install
It is assumed you're using Debian based distro, others like Arch or Fedora may brake at build time.
### Install necessary packages ### Install necessary packages
``` shell ``` 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 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 ### Download BSP
```shell ```shell
git clone https://github.com/MiyooCFW/buildroot git clone https://github.com/MiyooCFW/buildroot
``` ```
@@ -30,13 +34,23 @@ make miyoo_musl_defconfig
``` ```
### Regular build ### Regular build
- image
```shell ```shell
make make
``` ```
- image & sdk
```shell
make sdk
```
## Speed up build progress ## Speed up build progress
### Compile speed ### Compile speed
If you have a multicore CPU, you can try If you have a multicore CPU, you can try
``` ```
make -j ${YOUR_CPU_COUNT} make -j ${YOUR_CPU_COUNT}
@@ -48,6 +62,7 @@ or buy a powerful PC for yourself.
load output/images/miyoo-cfw-*.img on sdcard load output/images/miyoo-cfw-*.img on sdcard
## First booting device ## First booting device
You will have to answer a few questions on first boot, represented on graphic below: You will have to answer a few questions on first boot, represented on graphic below:
![flashing procedure](firstboot_procedure.drawio.png) ![flashing procedure](firstboot_procedure.drawio.png)