@@ -4,12 +4,12 @@ Using AGL as the User OS
4
4
########################
5
5
6
6
This tutorial describes the steps to run Automotive Grade Linux (AGL)
7
- as the User OS on ACRN hypervisor and the problems we got at current stage.
8
- We hope the steps documented in this article could help us to reproduce the
9
- problem much easier and provide some information for further debugging.
10
- The regulatory model of APL NUC we used is `NUC6CAYH
7
+ as the User OS on ACRN hypervisor and the existing issues we still have.
8
+ We hope the steps documented in this article will help others reproduce the
9
+ issues we're seeing, and provide information for further debugging.
10
+ We're using an Apollo Lake-based NUC model `NUC6CAYH
11
11
<https://www.intel.com/content/www/us/en/products/boards-kits/nuc/kits/nuc6cayh.html> `_
12
- and other platforms may work too .
12
+ and other platforms may be used as well .
13
13
14
14
.. image :: images/The-overview-of-AGL-as-UOS.png
15
15
:align: center
@@ -18,22 +18,22 @@ Introduction to AGL
18
18
*******************
19
19
20
20
Automotive Grade Linux is a collaborative open source project that is
21
- bringing together automakers, suppliers and technology companies to
21
+ bringing together automakers, suppliers, and technology companies to
22
22
accelerate the development and adoption of a fully open software stack
23
23
for the connected car. With Linux at its core, AGL is developing an open
24
24
platform from the ground up that can serve as the de facto industry
25
25
standard to enable rapid development of new features and technologies.
26
- For more information about AGL, please visit AGL’s official website:
27
- https://www.automotivelinux.org/.
26
+ For more information about AGL, please visit ` AGL’s official website
27
+ < https://www.automotivelinux.org/> `_ .
28
28
29
29
Steps for using AGL as the UOS
30
30
******************************
31
31
32
32
#. Follow the instructions found in the :ref: `getting-started-apl-nuc ` to
33
33
boot "The ACRN Service OS"
34
34
35
- #. In SOS, download the release of AGL from https://download.automotivelinux.org/AGL/release/eel/,
36
- and we will use ``eel_5.1.0 `` release for example
35
+ #. In SOS, download the release of AGL from https://download.automotivelinux.org/AGL/release/eel/.
36
+ We're using release ``eel_5.1.0 `` for our example:
37
37
38
38
.. code-block :: none
39
39
@@ -67,7 +67,7 @@ Steps for using AGL as the UOS
67
67
-B "root=/dev/vda2 ...
68
68
69
69
.. note ::
70
- In case you have downloaded a different AGL image or store the image in other directory,
70
+ In case you have downloaded a different AGL image or stored the image in another directory,
71
71
you will need to modify the AGL file name or directory (the ``-s 3,virtio-blk `` argument)
72
72
to match what you have downloaded above.
73
73
Likewise, you may need to adjust the kernel file name to ``default-iot-lts2018 ``.
@@ -85,44 +85,43 @@ Steps for using AGL as the UOS
85
85
.. image :: images/The-console-of-AGL.png
86
86
:align: center
87
87
88
- When you see the output of the console above, that means AGL has been loaded
89
- and now you could operate on the console.
88
+ When you see this output on the console, AGL has been successfully loaded
89
+ and now you can operate on the console.
90
90
91
- Enable the display of AGL
91
+ Enable the AGL display
92
92
*************************
93
93
94
- But following the setup steps before , you will get black screen in AGL.
94
+ By following these setup steps, you will get a black screen in AGL.
95
95
Please don't worry about it, and we will give the solutions to the black screen issue in AGL.
96
- By debugging, we identified the problem as an issue of ``ivi-shell.so `` library, it seems that
97
- this library is not well supported. But we can light the screen with the GUI of weston like figure below.
96
+ By debugging, we identified the problem as an issue with the (not well supported) ``ivi-shell.so `` library.
97
+ We can light the screen with the weston GUI, as shown below.
98
98
99
99
.. image :: images/The-GUI-of-weston.png
100
100
:align: center
101
101
102
- To enable weston in AGL, We need to modify ``weston.ini ``, which is the configuration file of weston .
102
+ To enable weston in AGL, we need to modify weston's ``weston.ini `` configuration file.
103
103
104
104
.. code-block :: none
105
105
106
106
$ vim /etc/xdg/weston/weston.ini
107
107
108
- The changes of ``weston.ini ``:
108
+ Make these changes to ``weston.ini ``:
109
109
110
110
#. Comment ``ivi-shell.so `` out
111
111
112
112
#. Check the name of output is ``HDMI-A-2 ``
113
113
114
- After that, there are still some steps need to do to launch weston in AGL :
114
+ After that, set up an environment variable and restart the weston service :
115
115
116
116
.. code-block :: none
117
117
118
118
$ export XDG_RUNTIME_DIR=/run/platform/display
119
119
$ systemctl restart weston
120
120
121
- And you will be able to see the GUI of weston in AGL now .
121
+ You should now see the weston GUI in AGL.
122
122
123
123
Follow up
124
124
*********
125
- ACRN Hypervisor is trying to support more kinds of operating systems all the time,
126
- and AGL is an example of them. We are still debugging the “ivi-shell.so” issue,
127
- and we are also investigating the problem why AGL GUI not got launched,
128
- currently it may either be a configuration issue or a real bug, more experiment will be done.
125
+ ACRN Hypervisor is expanding support for more operating systems,
126
+ and AGL is an example of this effort. We continue to debug the ``ivi-shell.so `` issue,
127
+ and investigating why the AGL GUI is not launching as expected.
0 commit comments