@@ -37,10 +37,10 @@ complete this setup.
37
37
38
38
.. note ::
39
39
40
- ACRN v0.5 (and the current master branch) requires Clear Linux
41
- version 27230 or newer. If you use a newer version of Clear Linux,
42
- you'll need to adjust the instructions below to reference the version
43
- number of Clear Linux you are using .
40
+ Please refer to Release Note for the Clear Linux version number, and
41
+ you will need to adjust the instruction below to reference the version
42
+ number of Clear Linux you are using. Below document will use version
43
+ 27230 as example .
44
44
45
45
#. Download the compressed Clear installer image from
46
46
https://download.clearlinux.org/releases/27230/clear/clear-27230-installer.img.xz
@@ -83,7 +83,7 @@ complete this setup.
83
83
84
84
.. code-block :: none
85
85
86
- $ sudo swupd update -m 26770 # or newer version
86
+ $ sudo swupd update -m 27230 # or newer version
87
87
88
88
#. Use the ``sudo swupd bundle-add `` command and add these Clear Linux bundles:
89
89
@@ -101,7 +101,7 @@ complete this setup.
101
101
| service-os | Add the acrn hypervisor, the acrn devicemodel and |
102
102
| | Service OS kernel |
103
103
+--------------------+---------------------------------------------------+
104
- | kernel-iot-lts2018 | Run the Intel kernel"kernel-iot-lts2018" |
104
+ | kernel-iot-lts2018 | Run the Intel kernel "kernel-iot-lts2018" |
105
105
| | which is enterprise-style kernel with backports |
106
106
+--------------------+---------------------------------------------------+
107
107
@@ -298,7 +298,7 @@ Set up Reference UOS
298
298
$ cd ~
299
299
$ mkdir uos
300
300
$ cd uos
301
- $ curl -O https://download.clearlinux.org/releases/27230/clear/clear-27230-kvm.img.xz
301
+ $ curl https://download.clearlinux.org/releases/27230/clear/clear-27230-kvm.img.xz -o uos .img.xz
302
302
303
303
.. note ::
304
304
In case you want to use or try out a newer version of Clear Linux as the UOS, you can
@@ -309,16 +309,16 @@ Set up Reference UOS
309
309
310
310
.. code-block :: none
311
311
312
- $ unxz clear-27230-kvm .img.xz
312
+ $ unxz uos .img.xz
313
313
314
314
#. Deploy the UOS kernel modules to UOS virtual disk image (note: you'll need to use
315
315
the same **iot-lts2018 ** image version number noted in step 1 above):
316
316
317
317
.. code-block :: none
318
318
319
- $ sudo losetup -f -P --show clear-27230-kvm .img
319
+ $ sudo losetup -f -P --show uos .img
320
320
$ sudo mount /dev/loop0p3 /mnt
321
- $ sudo cp -r /usr/lib/modules/4.19.13-1901141830. iot-lts2018 /mnt/lib/modules/
321
+ $ sudo cp -r /usr/lib/modules/"`readlink /usr/lib/kernel/default-iot-lts2018 | awk -F '2018.' '{print $2}'`. iot-lts2018" /mnt/lib/modules
322
322
$ sudo umount /mnt
323
323
$ sync
324
324
@@ -333,18 +333,9 @@ Set up Reference UOS
333
333
.. literalinclude :: ../../devicemodel/samples/nuc/launch_uos.sh
334
334
:caption: devicemodel/samples/nuc/launch_uos.sh
335
335
:language: bash
336
- :emphasize-lines: 24,27
337
-
338
- .. note ::
339
- In case you have downloaded a different Clear Linux image than the one above
340
- (``clear-27230-kvm.img.xz ``), you will need to modify the Clear Linux file name
341
- and version number highlighted above (the ``-s 3,virtio-blk `` argument) to match
342
- what you have downloaded above. Likewise, you may need to adjust the kernel file
343
- name on the second line highlighted (check the exact name to be used using:
344
- ``ls /usr/lib/kernel/org.clearlinux.iot-lts2018* ``).
345
336
346
337
By default, the script is located in the ``/usr/share/acrn/samples/nuc/ ``
347
- directory. You can edit it there, and then run it to launch the User OS:
338
+ directory. You can run it to launch the User OS:
348
339
349
340
.. code-block :: none
350
341
0 commit comments