Using Buildroot SDK
Cross Compilation
ヒント
Cross Compilation here refers to compiling Jupiter's firmware on an X86 PC.
Development Environment
Hardware requirements
Recommended hardware:
- CPU:12th Gen Intel(R) Core(TM) i5 or above
- Memory:16GB or above
- Disk:SSD,256GB or above
Operating System
Ubuntu 20.04 is recommended, other Linux distributions have not been tested.
Install Dependencies
-
Ubuntu 16.04 and 18.04
sudo apt-get install git build-essential cpio unzip rsync file bc wget python3 libncurses5-dev libssl-dev dosfstools mtools u-boot-tools flex bison python3-pip zip
sudo pip3 install pyyaml
-
Ubuntu 20.04
sudo apt-get install git build-essential cpio unzip rsync file bc wget python3 python-is-python3 libncurses5-dev libssl-dev dosfstools mtools u-boot-tools flex bison python3-pip zip
sudo pip3 install pyyaml
Download source code
Use repo (version >= 2.41) to download the complete SDK.
Before using repo, please check whether the git environment is configured with user information. If not, you can refer to the following command to configure it:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
Create and enter the working directory:
mkdir jupiter-linux
cd jupiter-linux
Download the code, for example download the k1-bl-v2.1.y
branch:
repo init -u https://github.com/milkv-jupiter/manifests.git -b main -m k1-bl-v2.1.y.xml
repo sync
repo start k1-bl-v2.1.y --all