SDK Download

Overview

The Linux SDK for Realtek Ameba-IoT series products is hosted on GitHub: https://github.com/Ameba-AIoT/ameba-linux-manifest. Developers can use this repository to download manifests for Ameba Linux BSP releases.

Install the repo utility

To use this manifest repository, the repo tool must be installed first. Many Linux distros include repo, so you might be able to install from there.

# Debian/Ubuntu.
$ sudo apt-get install repo

# Gentoo.
$ sudo emerge dev-vcs/repo

Developers can also install it manually as well as it’s a single script.

$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repo

Download Ameba Yocto Project SDK

$ mkdir <release>
$ cd <release>
$ repo init -u https://github.com/Ameba-AIoT/ameba-linux-manifest -b <branch name> [ -m <manifest name>]
$ repo sync

<branch name> uses to specify which branch developers want to use, currently SDK support ameba-linux-kirkstone and ameba-linux-scarthgap, ameba-linux-kirkstone uses yocto kirkstone version and linux kernel version 5.4.248, ameba-linux-scarthgap uses yocto scarthgap version and linux kernel version 6.6.30. <manifest name> means which manifest developers want to download, each branch provides several manifests for developers to choose, developers can download corresponding manifest from manifest repository.

ameba-linux-kirkstone
  ├── ameba-3.1_r1.xml
  ├── ameba-3.1_r2.xml
  ├── ameba-3.1_r3.xml
  ├── ameba-3.1_r4.xml
  ├── ameba-5.4.248-3.3.0.xml
  ├── ameba-5.4.248-3.3.1.xml
  ├── ameba-5.4.248-3.3.2.xml
  ├── ......
  ├── ameba-5.4.248-3.3.6.xml
  └── ......

ameba-linux-scarthgap
  ├── ameba-6.6.30-1.0.0.xml
  ├── ameba-6.6.30-1.1.0.xml
  ├── ameba-6.6.30-1.2.0.xml
  └── ......

Examples

To download the ameba-5.4.248-3.3.0 release

$ repo init -u https://github.com/Ameba-AIoT/ameba-linux-manifest -b ameba-linux-kirkstone -m ameba-5.4.248-3.3.0.xml