@@ -17,6 +17,26 @@ supported for ACRN development:
17
17
<https://www.up-board.org/upsquared/specifications/> `_ (UP2) is also
18
18
known to work and its setup is described in :ref: `getting-started-up2 `.
19
19
20
+ - A serial console can be enabled on :ref: `Kaby Lake NUC
21
+ <intel-kaby-lake-nuc>` (KBL). The following figure shows the KBL's serial port header
22
+ we'll be using as documented in the `NUC7i5DN
23
+ <https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/NUC7i5DN_TechProdSpec.pdf> `_.
24
+
25
+ .. image :: images/KBL-serial-port-header.png
26
+
27
+
28
+ Connecting to the serial port
29
+ =============================
30
+
31
+ You can just ignore this section if command line is not needed via the serial console.
32
+ Or you have to prepare these cables to enable the serial port.
33
+
34
+ .. image :: images/KBL-serial-port-header-to-RS232-cable.jpg
35
+ :target: https://www.amazon.com/dp/B07BV1W6N8/ref=cm_sw_r_cp_ep_dp_wYm0BbABD5AK6
36
+
37
+ .. image :: images/RS232-to-USB-to-Host-cable.png
38
+
39
+
20
40
Firmware update on the NUC
21
41
==========================
22
42
@@ -25,6 +45,7 @@ Follow these `BIOS Update Instructions
25
45
<https://www.intel.com/content/www/us/en/support/articles/000005636.html> `__
26
46
for downloading and flashing an updated BIOS for the NUC.
27
47
48
+
28
49
Software setup
29
50
**************
30
51
@@ -183,6 +204,13 @@ partition. Follow these steps:
183
204
#. ``uart=bdf@<BDF value> ``: this sets the PCI serial port based on its BDF.
184
205
For example, use ``bdf@0:18.1 `` for a BDF of 0:18.1 ttyS1.
185
206
#. ``uart=port@<port address> ``: this sets the serial port address
207
+
208
+ .. note ::
209
+
210
+ ``uart=port@<port address> `` is required if you want to enable the serial console.
211
+ You should run ``dmesg |grep ttyS0 `` to get port address from the output, and then
212
+ set the ``uart `` parameter as ``uart=port@0x3f8 ``
213
+
186
214
#. ``vuart=ttySn@irqN ``: this tells the hypervisor which virtual serial device SOS
187
215
will use and its IRQ number. This is used to avoid conflict with SOS passthrough
188
216
devices' interrupt. If UART is set to ttyS1, and its native IRQ is 5, you'd better
@@ -195,8 +223,8 @@ partition. Follow these steps:
195
223
.. code-block :: none
196
224
197
225
$ sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 -L "ACRN NUC Hypervisor" \
198
- -u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=disabled "
199
-
226
+ -u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=port@0x3f8 "
227
+
200
228
#. Create a boot entry for the ACRN Service OS by copying a provided ``acrn.conf ``
201
229
and editing it to account for the kernel versions noted in a previous step.
202
230
0 commit comments