mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
README: recommend Debian for BR2
info about sdk
This commit is contained in:
15
README.md
15
README.md
@@ -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:
|
||||||

|

|
||||||
|
|
||||||
|
Reference in New Issue
Block a user