@@ -135,7 +135,7 @@ To set up the ACRN build environment on the development computer:
135135
136136 .. code-block :: bash
137137
138- sudo pip3 install lxml xmlschema defusedxml tqdm
138+ sudo pip3 install " elementpath<=2.5.0 " lxml xmlschema defusedxml tqdm
139139
140140 #. Create a working directory:
141141
@@ -155,19 +155,19 @@ To set up the ACRN build environment on the development computer:
155155 make clean && make iasl
156156 sudo cp ./generate/unix/bin/iasl /usr/sbin
157157
158- #. Get the ACRN hypervisor and kernel source code. (Because the ``acrn-kernel `` repo
159- has a lot of Linux kernel history, you can clone the relevant release branch
160- with minimal history, as shown here.)
158+ #. Get the ACRN hypervisor and kernel source code.
161159
162160 .. code-block :: bash
163161
164162 cd ~ /acrn-work
165163 git clone https://github.com/projectacrn/acrn-hypervisor.git
166164 cd acrn-hypervisor
167- git checkout release_3 .0
165+ git checkout v3 .0
168166
169167 cd ..
170- git clone --depth 1 --branch release_3.0 https://github.com/projectacrn/acrn-kernel.git
168+ git clone https://github.com/projectacrn/acrn-kernel.git
169+ cd acrn-kernel
170+ git checkout acrn-v3.0
171171
172172 .. _gsg-board-setup :
173173
@@ -207,8 +207,8 @@ To set up the target hardware environment:
207207
208208Example of a target system with cables connected:
209209
210- .. image :: ./images/gsg_nuc .png
211- :scale: 25 %
210+ .. image :: ./images/gsg_vecow .png
211+ :align: center
212212
213213Install OS on the Target
214214============================
@@ -231,12 +231,14 @@ To install Ubuntu 20.04:
231231 updates requires the target to have an Internet connection).
232232
233233 .. image :: ./images/gsg_ubuntu_install_01.png
234+ :align: center
234235
235236#. Use the check boxes to choose whether you'd like to install Ubuntu alongside
236237 another operating system, or delete your existing operating system and
237238 replace it with Ubuntu:
238239
239240 .. image :: ./images/gsg_ubuntu_install_02.png
241+ :align: center
240242
241243#. Complete the Ubuntu installation and create a new user account ``acrn `` and
242244 set a password.
@@ -382,8 +384,9 @@ Generate a Board Configuration File
382384Generate a Scenario Configuration File and Launch Script
383385********************************************************
384386
385- In this step, you will use the **ACRN Configurator ** to generate a scenario
386- configuration file and launch script.
387+ In this step, you will download, install, and use the `ACRN Configurator
388+ <https://github.com/projectacrn/acrn-hypervisor/releases/download/v3.0/acrn-configurator-3.0.deb> `__
389+ to generate a scenario configuration file and launch script.
387390
388391A **scenario configuration file ** is an XML file that holds the parameters of
389392a specific ACRN configuration, such as the number of VMs that can be run,
@@ -392,11 +395,26 @@ their attributes, and the resources they have access to.
392395A **launch script ** is a shell script that is used to configure and create a
393396post-launched User VM. Each User VM has its own launch script.
394397
395- #. On the development computer, install the ACRN Configurator:
398+ #. On the development computer, download and install the ACRN Configurator
399+ Debian package:
400+
401+ .. code-block :: bash
402+
403+ cd ~ /acrn-work
404+ wget https://github.com/projectacrn/acrn-hypervisor/releases/download/v3.0/acrn-configurator-3.0.deb
405+
406+ If you already have a previous version of the acrn-configurator installed,
407+ you should first remove it:
408+
409+ .. code-block :: bash
410+
411+ sudo apt purge acrn-configurator
412+
413+ Then you can install this new version:
396414
397415 .. code-block :: bash
398416
399- sudo apt install -y ~ /acrn-work/acrn-hypervisor/build/acrn-configurator_ * _amd64. deb # TODO update file path
417+ sudo apt install -y . /acrn-configurator-3.0. deb
400418
401419 #. Launch the ACRN Configurator:
402420
@@ -475,7 +493,7 @@ post-launched User VM. Each User VM has its own launch script.
475493 #. Click the **VM1 Post-launched > Basic Parameters ** tab and change the VM
476494 name to ``POST_STD_VM1 `` for this example.
477495
478- #. Confirm that the **OS type ** is ``Standard ``. In the previous step,
496+ #. Confirm that the **VM type ** is ``Standard ``. In the previous step,
479497 ``STD `` in the VM name is short for Standard.
480498
481499 #. Scroll down to **Memory size (MB) ** and change the value to ``1024 ``. For
@@ -485,6 +503,10 @@ post-launched User VM. Each User VM has its own launch script.
485503 #. For **Physical CPU affinity **, select pCPU ID ``0 ``, then click **+ ** and
486504 select pCPU ID ``1 `` to affine the VM to CPU cores 0 and 1.
487505
506+ #. For **Virtio console device **, click **+ ** to add a device and keep the
507+ default options. This parameter specifies the console that you will use to
508+ log in to the User VM later in this guide.
509+
488510 #. For **Virtio block device **, click **+ ** and enter
489511 ``~/acrn-work/ubuntu-20.04.4-desktop-amd64.iso ``. This parameter
490512 specifies the VM's OS image and its location on the target system. Later
@@ -531,10 +553,11 @@ Build ACRN
531553
532554 cd ./build
533555 ls * .deb
534- acrn-my_board-shared-2.7. deb # TODO update file name
556+ acrn-my_board-MyConfiguration * . deb
535557
536558 The Debian package contains the ACRN hypervisor and tools to ease installing
537- ACRN on the target.
559+ ACRN on the target. The Debian file name contains the board name (``my_board ``)
560+ and the working folder name (``MyConfiguration ``).
538561
539562#. Build the ACRN kernel for the Service VM:
540563
@@ -564,10 +587,10 @@ Build ACRN
564587
565588 cd ..
566589 ls * .deb
567- linux-headers-5.10.78 -acrn-service-vm_5.10.78 -acrn-service-vm-1_amd64.deb
568- linux-image-5.10.78 -acrn-service-vm_5.10.78 -acrn-service-vm-1_amd64.deb
569- linux-image-5.10.78 -acrn-service-vm-dbg_5.10.78 -acrn-service-vm-1_amd64.deb
570- linux-libc-dev_5.10.78 -acrn-service-vm-1_amd64.deb
590+ linux-headers-5.10.115 -acrn-service-vm_5.10.115 -acrn-service-vm-1_amd64.deb
591+ linux-image-5.10.115 -acrn-service-vm_5.10.115 -acrn-service-vm-1_amd64.deb
592+ linux-image-5.10.115 -acrn-service-vm-dbg_5.10.115 -acrn-service-vm-1_amd64.deb
593+ linux-libc-dev_5.10.115 -acrn-service-vm-1_amd64.deb
571594
572595 #. Copy all the necessary files generated on the development computer to the
573596 target system by USB disk as follows:
@@ -577,9 +600,9 @@ Build ACRN
577600 .. code-block :: bash
578601
579602 disk=" /media/$USER /" $( ls /media/$USER )
580- cp ~ /acrn-work/acrn-hypervisor/build/acrn-my_board-shared-2.7. deb " $disk " / # TODO update file name
603+ cp ~ /acrn-work/acrn-hypervisor/build/acrn-my_board-MyConfiguration * . deb " $disk " /
581604 cp ~ /acrn-work/* acrn-service-vm* .deb " $disk " /
582- cp ~ /acrn-work/my_board/output/launch_user_vm_id3 .sh " $disk " /
605+ cp ~ /acrn-work/MyConfiguration/launch_user_vm_id1 .sh " $disk " /
583606 cp ~ /acrn-work/acpica-unix-20210105/generate/unix/bin/iasl " $disk " /
584607 sync && sudo umount " $disk "
585608
@@ -592,9 +615,9 @@ Build ACRN
592615 .. code-block :: bash
593616
594617 disk=" /media/$USER /" $( ls /media/$USER )
595- cp " $disk " /acrn-my_board-shared-2.7. deb ~ /acrn-work # TODO update file name
618+ cp " $disk " /acrn-my_board-MyConfiguration * . deb ~ /acrn-work
596619 cp " $disk " /* acrn-service-vm* .deb ~ /acrn-work
597- cp " $disk " /launch_user_vm_id3 .sh ~ /acrn-work
620+ cp " $disk " /launch_user_vm_id1 .sh ~ /acrn-work
598621 sudo cp " $disk " /iasl /usr/sbin/
599622 sync && sudo umount " $disk "
600623
@@ -611,7 +634,7 @@ Install ACRN
611634 .. code-block :: bash
612635
613636 cd ~ /acrn-work
614- sudo apt install ./acrn-my_board-shared-2.7. deb # TODO update file name
637+ sudo apt install ./acrn-my_board-MyConfiguration * . deb
615638 sudo apt install ./* acrn-service-vm* .deb
616639
617640 #. Reboot the system:
@@ -685,8 +708,8 @@ Launch the User VM
685708
686709 .. code-block :: bash
687710
688- sudo chmod +x ~ /acrn-work/launch_user_vm_id3 .sh # TODO update file name
689- sudo ~ /acrn-work/launch_user_vm_id3 .sh # TODO update file name
711+ sudo chmod +x ~ /acrn-work/launch_user_vm_id1 .sh
712+ sudo ~ /acrn-work/launch_user_vm_id1 .sh
690713
691714 #. It may take about one minute for the User VM to boot and start running the
692715 Ubuntu image. You will see a lot of output, then the console of the User VM
@@ -705,7 +728,7 @@ Launch the User VM
705728
706729 .. code-block :: console
707730
708- Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.11 .0-27 -generic x86_64)
731+ Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.13 .0-30 -generic x86_64)
709732
710733 * Documentation: https://help.ubuntu.com
711734 * Management: https://landscape.canonical.com
@@ -734,15 +757,15 @@ Launch the User VM
734757 .. code-block :: console
735758
736759 ubuntu@ubuntu:~$ uname -r
737- 5.11 .0-27 -generic
760+ 5.13 .0-30 -generic
738761
739762 Then open a new terminal window and use the command to see that the Service
740763 VM is running the ``acrn-kernel `` Service VM image:
741764
742765 .. code-block :: console
743766
744767 acrn@vecow:~$ uname -r
745- 5.10.78 -acrn-service-vm
768+ 5.10.115 -acrn-service-vm
746769
747770 The User VM has launched successfully. You have completed this ACRN setup.
748771
0 commit comments