Re: is ACRN v2.6 supported on intel NUC apollo lake


Liu, Fuzhong
 

TGLNUC is the preferred platform for v2.6.

 

Anyway, do you refer following guide to update iASL:

https://projectacrn.github.io/latest/getting-started/getting-started.html#prepare-the-development-computer

Install the iASL compiler/disassembler used for advanced power management, device discovery, and configuration (ACPI) within the host OS:

1.  mkdir ~/acrn-work

2.  cd ~/acrn-work

3.  wget https://acpica.org/sites/acpica/files/acpica-unix-20210105.tar.gz

4.  tar zxvf acpica-unix-20210105.tar.gz

5.  cd acpica-unix-20210105

6.  make clean && make iasl

sudo cp ./generate/unix/bin/iasl /usr/sbin

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Tuesday, December 21, 2021 2:20 PM
To: acrn-users@...
Subject: [acrn-users] is ACRN v2.6 supported on intel NUC apollo lake

 

Hello ACRN,
             I am looking for some details regarding using ACRN on intel nuc apollo lake or similar custom hardware which uses intel celeron J series processors.
1. Is the latest version v2.6 supported on this platform?
2. Is hybrid-rt supported on this hardware?
3. My use case is one Ubuntu SOS and ubuntu with RT as pre-launched RT VM. Does it work on this hardware or have to choose latest hardware with i5 core?

4. I tried to build the hypervisor with latest v2.6 version. ACRN ubuntu service OS was running. But while launching the uos i get "vm get config fail error". 

sudo ./launch_uos_id2.sh 

logger: name=console, level=4

logger: name=kmsg, level=3

logger: name=disk, level=5

 

SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000

vm_create: post_vm_id2

vm_setup_memory: size=0x20000000

open hugetlbfs file /run/hugepage/acrn/huge_lv1/post_vm_id2/615DB82AE1894B4F8DBBD321343E4AB3

open hugetlbfs file /run/hugepage/acrn/huge_lv2/post_vm_id2/615DB82AE1894B4F8DBBD321343E4AB3

level 0 free/need pages:0/257 page size:0x200000

level 1 free/need pages:4/0 page size:0x40000000

to reserve more free pages:

to reserve pages (+orig 0): echo 257 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

now enough free pages are reserved!

 

try to setup hugepage with:

              level 0 - lowmem 0x20000000, biosmem 0x200000, highmem 0x0

              level 1 - lowmem 0x0, biosmem 0x0, highmem 0x0

total_size 0x100200000

 

mmap ptr 0x0x7fec2a706000 -> baseaddr 0x0x7fec2a800000

mmap 0x20000000@0x7fec2a800000

touch 256 pages with pagesz 0x200000

mmap 0x200000@0x7fed2a600000

touch 1 pages with pagesz 0x200000

 

really setup hugepage with:

              level 0 - lowmem 0x20000000, biosmem 0x200000, highmem 0x0

              level 1 - lowmem 0x0, biosmem 0x0, highmem 0x0

vm_init_vdevs

No pm notify channel given

Listening 0...

polling 0...

init passthru first to reserve PIO BAR

init passthru first to reserve PIO BAR

init passthru first to reserve PIO BAR

init passthru first to reserve PIO BAR

init passthru first to reserve PIO BAR

pci init hostbridge

pci init lpc

pci init virtio-net

pci init virtio-console

pci init virtio-blk

tpm: init_vtpm2:Invalid socket path!

                                    vm_get_config: IOCTL first time failed!

                                                                           basl_fwrite_madt, get VM configuration fail.

                                                                                                                       acpi_build failed, error=-1

     pci deinit hostbridge

                          pci deinit lpc

                                        pci deinit virtio-net

                                                             vtnet tx thread closing...

                                                                                       pci deinit virtio-console

                                                                                                                pci deinit virtio-blk

                                                                                                                                     mngr_client_new: Failed to accept from fd 37, err: Invalid argument

                                                           Stop listening 37...

                                                                               Stop polling 37...

                                                                                                 No correct pm notify channel given

 

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.