Setup your device with AosCore
This section provides instructions on preparing your hw device with AosCore that will be ready to communicate with AosCloud.
The platform where AosCore supports several configurations:
- Linux based OS
- Xen hypervisor where Dom0 is Zephyr RTOS, DomD is Linux-based OS.
Build tools
- The Yocto project is using to for platform preparation.
- Moulin using as a build system.
Host OS - Ubuntu 22.04
List of required skills:
- Yocto build system
- Linux user experience
- bash scripting
Necessary tools installation
-
You need
Moulin
installed on your PC. The recommended way is to install it for your user onlysudo apt install python3-pip gawk chrpath diffstat curl git -y
pip install -U pip
export PATH=~/.local/bin:$PATH
pip install pygit2
pip install --user git+https://github.com/xen-troops/moulin
sudo apt install ninja-build
-
Required Packages for the Yocto project
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio \
python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 \
libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales
Please see the detailed instruction for the next platform:
AosCore reference integration for x86 platform: AosCore on x86 VM
AosCore reference integration for Renesas product with Xen hypervisor : AosCore on R-Car