Please make sure that your envionment satisfies the following requirements.
1. Your division should have a valid ARM FastModel License. Our FM License is not available to non-SR users.
-2. Currently, NPU-DDK provides FastModel bootstrap packages for Ubuntu 18.04 only.
-3. You should have a SPIN account to access bootstrap packages. If you don't, please refer to [here](https://code.sec.samsung.net/confluence/display/NEWCOMM/SPIN+Account+Creation+Process)
+2. Currently, NPU-DDK provides FastModel bootstrap packages for Ubuntu 18.04 and 20.04.
## Overview of Trinity OS
NPU-DDK provides a Tizen-based OS, `Trinity OS`, image running on the FastModel simulator.
-After configuring the [SPIN](SPIN.md) repository, install `npu-bootstrap-fm`.
```console
-$ cat /etc/apt/sources.list.d/tizen-spin.list
-deb [trusted=yes] http://[SPIN_ACCOUNT_ID]:[SPIN_ACCOUNT_PW]@10.113.136.32/download_trbs/newlive/devel:/Tizen:/6.0:/AI:/UbuntuTools/Ubuntu_18.04/ /
+$ cat /etc/apt/sources.list.d/artifactory.list
+deb [trusted=yes] https://bart.sec.samsung.net/artifactory/aip-debian-remote focal-nightly universe /
$ sudo apt -y update
$ sudo apt -y install npu-bootstrap-fm
$ dpkg -l | grep npu-bootstrap-fm
-ii npu-bootstrap-fm 2.3.5 amd64 Bootstrap Package for ARM Cortex-A53x4-based NPU FM simulator
-ii npu-bootstrap-fm-arm-tf 2.3.5 amd64 ARM Trusted Firmware
-ii npu-bootstrap-fm-linux-fvp-initrd-dtb 2.3.5 amd64 DTB (initrd) for the Linux Kernel on Cortex-A53x4 Base Platform FVP
-ii npu-bootstrap-fm-ramdisk 2.3.5 amd64 BusyBox-based AArch64 Linux RAMDisk Image
+ii npu-bootstrap-fm 2.4.0 amd64 Bootstrap Package for ARM Cortex-A53x4-based NPU FM simulator
+ii npu-bootstrap-fm-arm-tf 2.4.0 amd64 ARM Trusted Firmware
+ii npu-bootstrap-fm-linux-fvp-initrd-dtb 2.4.0 amd64 DTB (initrd) for the Linux Kernel on Cortex-A53x4 Base Platform FVP
+ii npu-bootstrap-fm-ramdisk 2.4.0 amd64 BusyBox-based AArch64 Linux RAMDisk Image
$ ls /opt/trinity
bin emulator etc get_taos include lib npu-bootstrap npu-scc run_taos share
```
$ cd /opt/trinity
$ sudo vi get_taos
...
-replace 'USER_ID' and 'USER_PASS' with your account.
+replace 'USER_ID' and 'USER_PASS' with your artifactory account.
...
$ sudo ./get_taos
$ ls -al ROOTFS.img
Tizen packages are being built using `gbs` command. Thus, let's install `gbs` first.
```console
-$ sudo echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_18.04 /"\
- | sudo tee /etc/apt/sources.list.d/tizen.list
+$ echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_$(lsb_release -rs)/ /" | \
+ sudo tee /etc/apt/sources.list.d/tizen.list > /dev/null
$ sudo apt update
$ sudo apt install gbs
```
-Also, as NPU-DDK uses SPIN repository, you should configure `gbs` in `.gbs.conf`.
-Here is the example `~/.gbs.conf` and replace SPIN account information.
+Here is the example `~/.gbs.conf`.
```console
$ cat ~/.gbs.conf
[general]
workdir = .
[profile.tizen]
-repos = repo.base, repo.unified, repo.spin
+repos = repo.base, repo.unified
buildroot = ~/GBS-ROOT/
[repo.base]
[repo.unified]
url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/
-[repo.spin]
-url = http://10.113.136.32/download_trbs/snapshots/devel/tizen-6.0-ai/latest/repos/Tizen_Unified_standard/packages/
-user = [YOUR_SPIN_ACCOUNT]
-passwd = [YOUR_SPIN_PW]
```
Then, you can build packages in a sandboxed build system using `gbs`. Select any architecture among armv7l, aarch64, and x86_64.
+++ /dev/null
----
-title: SPIN OBS
-short-description: SPIN Open Build Service (OBS)
-...
-
-# SPIN Open Build Service (OBS)
-
-[SPIN](http://10.113.136.201) is designed to support the Tizen developers' open source activities and related projects. With `SPIN`, packages can be easily built and deployed to us.
-In addition to `Tizen` packages, it provides `Ubuntu` build environment.
-However, please note that before accessing the packages, you need to get the `Access Permission` for SPIN repository. Please refer to [here](https://code.sec.samsung.net/confluence/display/NEWCOMM/SPIN+Request+Process).
-
-* [Tizen](http://10.113.136.32/download_trbs/snapshots/devel/tizen-6.0-ai/latest/repos/Tizen_Unified_standard/packages): armv7l, aarch64, and x86_64
-* [Ubuntu](http://10.113.136.32/download_trbs/newlive/devel:/Tizen:/6.0:/AI:/UbuntuTools): x86_64 on Ubuntu 18.04
-
-## Ubuntu
-
-Please make sure you have SPIN account and configure the apt source list.
-For example, if your host PC is Ubuntu 18.04,
-
-```console
-$ sudo echo "deb [trusted=yes] http://10.113.136.32/download_trbs/newlive/devel:/Tizen:/6.0:/AI:/UbuntuTools/Ubuntu_18.04 /" \
- | sudo tee /etc/apt/sources.list.d/spin.list
-$
-$ cat /etc/apt/auth.conf.d/spin.conf
-machine 10.113.136.32
-login [YOUR_SPIN_ACCOUNT]
-password [YOUR_SPIN_PW]
-$
-$ sudo apt-get update
-$ sudo apt-get install npu-engine
-$ ls /opt/trinity/lib
-libnpu-engine.so
-```
-
-## Tizen (FastModels)
-
-Please refer to [here](FastModels.md) about how to setup FastModels.
-
-```console
-$ telnet localhost 5000
-Trying 127.0.0.1...
-Connected to localhost.
-Escape character is '^]'.
-
-sh-3.2# taos-mgr refresh
-sh-3.2# taos-mgr install npu-engine
-sh-3.2# ls /usr/lib64 | grep npu-engine
-libnpu-engine.a libnpu-engine.so
-```