... | @@ -9,9 +9,10 @@ |
... | @@ -9,9 +9,10 @@ |
|
|
|
|
|
## About
|
|
## About
|
|
|
|
|
|
Oniro Project integrates its various components into a representative use-case called a _Blueprint_. A blueprint shows off the OS capabilities and best practices in building software-based products.</span>
|
|
Oniro Project integrates its various components into a representative use-case called a _Blueprint_.
|
|
|
|
A blueprint shows off the OS capabilities and best practices in building software-based products.
|
|
|
|
|
|
This Reference Guide provides step-by-step instructions, from creating an image, to flashing, booting and starting Flutter application example on SECO’s reference board JUNO SBC-D23
|
|
This Reference Guide provides step-by-step instructions, from creating an image, to flashing, booting and starting Flutter application example on SECO’s reference board JUNO SBC-D23.
|
|
|
|
|
|
|
|
|
|
## Getting Started
|
|
## Getting Started
|
... | @@ -24,7 +25,7 @@ This section will guide you to building your Oniro Project image targeting a sup |
... | @@ -24,7 +25,7 @@ This section will guide you to building your Oniro Project image targeting a sup |
|
Install all the required host packages. Here is an example for **Ubuntu**.
|
|
Install all the required host packages. Here is an example for **Ubuntu**.
|
|
|
|
|
|
```
|
|
```
|
|
$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm file zstd</span>
|
|
$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm file zstd
|
|
```
|
|
```
|
|
|
|
|
|
## Clone Build System Repositories
|
|
## Clone Build System Repositories
|
... | @@ -63,7 +64,7 @@ $ bitbake-layers add-layer ~/oniroproject/meta-oniro-blueprint-flutter |
... | @@ -63,7 +64,7 @@ $ bitbake-layers add-layer ~/oniroproject/meta-oniro-blueprint-flutter |
|
$ bitbake-layers add-layer ~/oniroproject/meta-seco-rockchip
|
|
$ bitbake-layers add-layer ~/oniroproject/meta-seco-rockchip
|
|
```
|
|
```
|
|
|
|
|
|
3. Buid blueprint-flutter-image for target seco-px30-d23
|
|
3. Build blueprint-flutter-image for target seco-px30-d23
|
|
|
|
|
|
```
|
|
```
|
|
$ DISTRO=oniro-linux-blueprint-flutter MACHINE=seco-px30-d23 bitbake blueprint-flutter-image
|
|
$ DISTRO=oniro-linux-blueprint-flutter MACHINE=seco-px30-d23 bitbake blueprint-flutter-image
|
... | @@ -222,9 +223,9 @@ To see the FPS log message we have to stop application service and restart it ma |
... | @@ -222,9 +223,9 @@ To see the FPS log message we have to stop application service and restart it ma |
|
|
|
|
|
```
|
|
```
|
|
root@seco-px30-d23:~# systemctl stop homescreen.service
|
|
root@seco-px30-d23:~# systemctl stop homescreen.service
|
|
root@seco-px30-d23:\~# export HOME=/home/root
|
|
root@seco-px30-d23:~# export HOME=/home/root
|
|
root@seco-px30-d23:\~# export XDG_RUNTIME_DIR=/run/user/0
|
|
root@seco-px30-d23:~# export XDG_RUNTIME_DIR=/run/user/0
|
|
root@seco-px30-d23:\~# export FPS_OUTPUT_CONSOLE=1
|
|
root@seco-px30-d23:~# export FPS_OUTPUT_CONSOLE=1
|
|
```
|
|
```
|
|
|
|
|
|
Optionally, if you would like to see the bar chart overlay, representing FPS add this export:
|
|
Optionally, if you would like to see the bar chart overlay, representing FPS add this export:
|
... | | ... | |