Try to follow the Getting Started
Hello together,
a short introduction I'm a research assistant at Reutlingen
University. I work with the LF projects zephyr and AGL. My
universtiy will hopefully join the LF soon. I'm working on
getting AGL running on UP² with ACRN as hypervisor. We plan to
distribute our AGL builds to different boards at university and we
want to do that with ACRN.
I followed the documentation on the latest version. I changed
the things according the UP² getting started.
Everything worked until I tried to start the "acrn hypervisor" in
grub then it hangs on
"fb: switching to inteldrmfb from EFI VGA"
Below I have my changed lines for Up²:
sudo mount /dev/mmcblk0p1 /mnt
sudo mkdir /mnt/EFI/acrn
sudo cp /usr/lib/acrn/acrn.efi /mnt/EFI/acrn/
efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/mmcblk0 -p 1 \
-L "ACRN Hypervisor" \
-u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=bdf@0:18.1 vuart=ttyS1@irq5"
title The ACRN Service OS
linux /EFI/org.clearlinux/kernel-org.Clearlinux.iot-lts2018-sos.4.19.34-45
options pci_devices_ignore=(0:18:1) console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_delay=2000 i915.avail_planes_per_pipe=0x01010F i915.domain_plane_owners=0x011111110000 i915.enable_guc_loading=0 i915.enable_guc_submission=0 i915.enable_preemption=1 i915.context_priority_mode=2 i915.enable_gvt=1 i915.enable_initial_modeset=1 i915.enable_guc=0 hvlog=2M@0x1FE00000
sudo clr-boot-manager set-timeout 20
sudo clr-boot-manager update
Thank you and greetings
Thomas
Thomas Walzer
Reutlingen Research Institute (RRI)
Raum 20-022
Hochschule Reutlingen
Alteburgstraße 150
72762 Reutlingen
Tel. +49 (0) 7121 / 271 – 4061
Tel. +49 (0) 7121 / 271 - 4094
https://iotlab.reutlingen-university.de/
Hi Thomas,
Welcome to the ACRN community!!
Your kernel command-line is most likely incorrect, change root=/dev/mmcblk0p1 to root=/dev/mmcblk0p3 (the first partition is typically the EFI System Partition (ESP), the root filesystem being put on the 3rd partition in Clear Linux). Can you try to update it and let us know if that gets you further?
Thanks!
Geoffroy
Sent: Wednesday, April 24, 2019 4:01 PM
To: acrn-users@...
Subject: [acrn-users] Try to follow the Getting Started
Hello together,
a short introduction I'm a research assistant at Reutlingen University. I work with the LF projects zephyr and AGL. My universtiy will hopefully join the LF soon. I'm working on getting AGL running on UP² with ACRN as hypervisor. We plan to distribute our AGL builds to different boards at university and we want to do that with ACRN.
I followed the documentation on the latest version. I changed the things according the UP² getting started.
Everything worked until I tried to start the "acrn hypervisor" in grub then it hangs on
"fb: switching to inteldrmfb from EFI VGA"
Below I have my changed lines for Up²:
sudo mount /dev/mmcblk0p1 /mnt
sudo mkdir /mnt/EFI/acrn
sudo cp /usr/lib/acrn/acrn.efi /mnt/EFI/acrn/
efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/mmcblk0 -p 1 \
-L "ACRN Hypervisor" \
-u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=bdf@0:18.1 vuart=ttyS1@irq5"
sudo vi /mnt/loader/entries/acrn.conf
title The ACRN Service OS
linux /EFI/org.clearlinux/kernel-org.Clearlinux.iot-lts2018-sos.4.19.34-45
options pci_devices_ignore=(0:18:1) console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_delay=2000 i915.avail_planes_per_pipe=0x01010F i915.domain_plane_owners=0x011111110000 i915.enable_guc_loading=0 i915.enable_guc_submission=0 i915.enable_preemption=1 i915.context_priority_mode=2 i915.enable_gvt=1 i915.enable_initial_modeset=1 i915.enable_guc=0 hvlog=2M@0x1FE00000
sudo clr-boot-manager set-timeout 20
sudo clr-boot-manager update
Thank you and greetings
Thomas
--
Thomas Walzer
Reutlingen Research Institute (RRI)
Raum 20-022
Hochschule Reutlingen
Alteburgstraße 150
72762 Reutlingen
Tel. +49 (0) 7121 / 271 – 4061
Tel. +49 (0) 7121 / 271 - 4094
https://iotlab.reutlingen-university.de/
Hello Geoffrey,
thanks for your help. Since your replied I re installed the
system a couple of times (min. 10x) because of errors.
The first thing is that I downloaded "clear-26200-installer" and the swupd verify not worked for 26200. I changed to version 29030 that was recommended.
The second wired thing was that after install of all packages the reboot sometimes not worked "Failed to talk to init daemon".
The next error was that I got errors belong to rcx (lines 987,1056) in the make procdure of the acrn-hypervisor.
"arch/x86/guest/instr_emul.c: In function ‘emulate_instruction’:
arch/x86/guest/instr_emul.c:1056:7: error: ‘rcx’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
1056 | rcx = rcx - 1;
| ~~~~^~~~~~~~~
arch/x86/guest/instr_emul.c:987:11: note: ‘rcx’ was declared here
987 | uint64_t rcx, rdi, rsi, rflags;
| ^~~
"
That worked sometimes and sometimes not.
The last error that occurred was that I had no space for updating
the "clr-boot-manager", I found out that I had too much
bootoptions in the system.
I'm stucking in getting the thing working.
I don't know if you could help me or if I destroyed my whole system.
Greetings
Thomas
Am 24.04.19 um 16:13 schrieb Geoffroy Van Cutsem:
Hi Thomas,
Welcome to the ACRN community!!
Your kernel command-line is most likely incorrect, change root=/dev/mmcblk0p1 to root=/dev/mmcblk0p3 (the first partition is typically the EFI System Partition (ESP), the root filesystem being put on the 3rd partition in Clear Linux). Can you try to update it and let us know if that gets you further?
Thanks!
Geoffroy
From: acrn-users@... [mailto:acrn-users@...] On Behalf Of walzert
Sent: Wednesday, April 24, 2019 4:01 PM
To: acrn-users@...
Subject: [acrn-users] Try to follow the Getting Started
Hello together,
a short introduction I'm a research assistant at Reutlingen University. I work with the LF projects zephyr and AGL. My universtiy will hopefully join the LF soon. I'm working on getting AGL running on UP² with ACRN as hypervisor. We plan to distribute our AGL builds to different boards at university and we want to do that with ACRN.
I followed the documentation on the latest version. I changed the things according the UP² getting started.
Everything worked until I tried to start the "acrn hypervisor" in grub then it hangs on
"fb: switching to inteldrmfb from EFI VGA"
Below I have my changed lines for Up²:
sudo mount /dev/mmcblk0p1 /mnt
sudo mkdir /mnt/EFI/acrn
sudo cp /usr/lib/acrn/acrn.efi /mnt/EFI/acrn/
efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/mmcblk0 -p 1 \
-L "ACRN Hypervisor" \
-u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=bdf@0:18.1 vuart=ttyS1@irq5"
sudo vi /mnt/loader/entries/acrn.conf
title The ACRN Service OS
linux /EFI/org.clearlinux/kernel-org.Clearlinux.iot-lts2018-sos.4.19.34-45
options pci_devices_ignore=(0:18:1) console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_delay=2000 i915.avail_planes_per_pipe=0x01010F i915.domain_plane_owners=0x011111110000 i915.enable_guc_loading=0 i915.enable_guc_submission=0 i915.enable_preemption=1 i915.context_priority_mode=2 i915.enable_gvt=1 i915.enable_initial_modeset=1 i915.enable_guc=0 hvlog=2M@0x1FE00000
sudo clr-boot-manager set-timeout 20
sudo clr-boot-manager update
Thank you and greetings
Thomas
--
Thomas Walzer
Reutlingen Research Institute (RRI)
Raum 20-022
Hochschule Reutlingen
Alteburgstraße 150
72762 Reutlingen
Tel. +49 (0) 7121 / 271 – 4061
Tel. +49 (0) 7121 / 271 - 4094
https://iotlab.reutlingen-university.de/
Thomas Walzer
Reutlingen Research Institute (RRI)
Raum 20-022
Hochschule Reutlingen
Alteburgstraße 150
72762 Reutlingen
Tel. +49 (0) 7121 / 271 – 4061
Tel. +49 (0) 7121 / 271 - 4094
https://iotlab.reutlingen-university.de/
Hi Can I install it into a laptop for evaluation purpose and laterWe do not test it on standard laptop. The likekihood of success depends
onto the NUC?
Please confirm whether hypervisor works on x86 laptop or not.
amongst other things of the processor you have on the laptop. We test
ACRN on Apollo Lake and Kaby Lake processors. You also need the laptop
to have an EFI bootloader.
I guess you have seen the relevant pages in our documentation by now,
but if not, here is where you should start from:
- Getting Started Guide:
https://projectacrn.github.io/latest/getting-started/apl-nuc.html
- Supported HW: https://projectacrn.github.io/latest/hardware.html
Feel free to try and report out on this list if you're having problems
but be aware that we may not be able to easily troubleshoot this,
especially if you do not have a serial port connection to the laptop.
We should also shortly have another option for you to try out ACRN
without a NUC, that's via QEMU. It's not quite ready yet, you can track
progress here if you're interested in this option:
https://github.com/projectacrn/acrn-hypervisor/issues/3198
Thanks,
Geoffroy
Thanks,
VJRao
Thank you very. Much for quick resolution. My task to evaluate ACRN on clear OS. Hope I could complete this task with a NUC7 box.
BR,
VJRao.
On 28-Jun-2019, at 3:33 PM, Geoffroy Van Cutsem via Lists.Projectacrn.Org <geoffroy.vancutsem=intel.com@...> wrote:This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this email. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this email is strictly prohibited.
On Fri, 2019-06-28 at 02:42 -0700, jvemulapalli@... wrote:Hi Can I install it into a laptop for evaluation purpose and laterWe do not test it on standard laptop. The likekihood of success depends
onto the NUC?
Please confirm whether hypervisor works on x86 laptop or not.
amongst other things of the processor you have on the laptop. We test
ACRN on Apollo Lake and Kaby Lake processors. You also need the laptop
to have an EFI bootloader.
I guess you have seen the relevant pages in our documentation by now,
but if not, here is where you should start from:
- Getting Started Guide:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fgetting-started%2Fapl-nuc.html&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=2L2%2F3TROqr6tSZ3rgM1edtI6rAf3hf4UZxEfcZHU9Aw%3D&reserved=0
- Supported HW: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fhardware.html&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=e21qYwvIoq%2BSEmoFC7cDa8mQYpNZl0%2BEgR12RoNa4kw%3D&reserved=0
Feel free to try and report out on this list if you're having problems
but be aware that we may not be able to easily troubleshoot this,
especially if you do not have a serial port connection to the laptop.
We should also shortly have another option for you to try out ACRN
without a NUC, that's via QEMU. It's not quite ready yet, you can track
progress here if you're interested in this option:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprojectacrn%2Facrn-hypervisor%2Fissues%2F3198&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=wJAbarlbq0MoWKlQS3lP%2FIUyyAH007fKEQTW7lWv7Gg%3D&reserved=0
Thanks,
GeoffroyThanks,
VJRao
Hi Geoffroy,Do you already have one of the NUC listed on the "Supported Hardware"
Thank you very. Much for quick resolution. My task to evaluate ACRN
on clear OS. Hope I could complete this task with a NUC7 box.
page?
It's great to hear you'll be evaluating ACRN and Clear Linux, please
let us know how you get on, even if you don't hit any issue ;-)
Thanks,
Geoffroy
BR,
VJRao.On 28-Jun-2019, at 3:33 PM, Geoffroy Van Cutsem viaThis message contains confidential information and is intended only
Lists.Projectacrn.Org <
geoffroy.vancutsem=intel.com@...> wrote:
On Fri, 2019-06-28 at 02:42 -0700, jvemulapalli@...
wrote:Hi Can I install it into a laptop for evaluation purpose andWe do not test it on standard laptop. The likekihood of success
later
onto the NUC?
Please confirm whether hypervisor works on x86 laptop or not.
depends
amongst other things of the processor you have on the laptop. We
test
ACRN on Apollo Lake and Kaby Lake processors. You also need the
laptop
to have an EFI bootloader.
I guess you have seen the relevant pages in our documentation by
now,
but if not, here is where you should start from:
- Getting Started Guide:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fgetting-started%2Fapl-nuc.html&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=2L2%2F3TROqr6tSZ3rgM1edtI6rAf3hf4UZxEfcZHU9Aw%3D&reserved=0
- Supported HW:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fhardware.html&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=e21qYwvIoq%2BSEmoFC7cDa8mQYpNZl0%2BEgR12RoNa4kw%3D&reserved=0
Feel free to try and report out on this list if you're having
problems
but be aware that we may not be able to easily troubleshoot this,
especially if you do not have a serial port connection to the
laptop.
We should also shortly have another option for you to try out ACRN
without a NUC, that's via QEMU. It's not quite ready yet, you can
track
progress here if you're interested in this option:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprojectacrn%2Facrn-hypervisor%2Fissues%2F3198&data=02%7C01%7C%7C8f6c44308f744fc5f98c08d6fbafe9fe%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973130332282529&sdata=wJAbarlbq0MoWKlQS3lP%2FIUyyAH007fKEQTW7lWv7Gg%3D&reserved=0
Thanks,
GeoffroyThanks,
VJRao
for the individual(s) addressed in the message. If you are not the
named addressee, you should not disseminate, distribute, or copy this
email. If you are not the intended recipient, you are notified that
disclosing, distributing, or copying this email is strictly
prohibited.
On 28-Jun-2019, at 3:59 PM, Geoffroy Van Cutsem via Lists.Projectacrn.Org <geoffroy.vancutsem=intel.com@...> wrote:
On Fri, 2019-06-28 at 10:08 +0000, Janardhana Rao Vemulapalli wrote:
Hi Geoffroy,
Thank you very. Much for quick resolution. My task to evaluate ACRN
on clear OS. Hope I could complete this task with a NUC7 box.
Do you already have one of the NUC listed on the "Supported Hardware"
page?
It's great to hear you'll be evaluating ACRN and Clear Linux, please
let us know how you get on, even if you don't hit any issue ;-)
Thanks,
Geoffroy
BR,
VJRao.
On 28-Jun-2019, at 3:33 PM, Geoffroy Van Cutsem via
Lists.Projectacrn.Org <
geoffroy.vancutsem=intel.com@...> wrote:
On Fri, 2019-06-28 at 02:42 -0700, jvemulapalli@...
wrote:
Hi Can I install it into a laptop for evaluation purpose and
later
onto the NUC?
Please confirm whether hypervisor works on x86 laptop or not.
We do not test it on standard laptop. The likekihood of success
depends
amongst other things of the processor you have on the laptop. We
test
ACRN on Apollo Lake and Kaby Lake processors. You also need the
laptop
to have an EFI bootloader.
I guess you have seen the relevant pages in our documentation by
now,
but if not, here is where you should start from:
- Getting Started Guide:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fgetting-started%2Fapl-nuc.html&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=e%2FgT1w%2F2cm21%2FI2eT5IGbedGPG2P7BNg2Xwrb1POHa4%3D&reserved=0
- Supported HW:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fhardware.html&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=RB6FBVSypxvpr%2FT7Y1fPjRfajBq4i4ZlLAHHW49ZYa8%3D&reserved=0
Feel free to try and report out on this list if you're having
problems
but be aware that we may not be able to easily troubleshoot this,
especially if you do not have a serial port connection to the
laptop.
We should also shortly have another option for you to try out ACRN
without a NUC, that's via QEMU. It's not quite ready yet, you can
track
progress here if you're interested in this option:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprojectacrn%2Facrn-hypervisor%2Fissues%2F3198&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=K%2BPYaFjAYook0gJTZQ4jBpoRUwXqUzvwb2CZ3XuTj5o%3D&reserved=0
Thanks,
Geoffroy
Thanks,
VJRao
This message contains confidential information and is intended only
for the individual(s) addressed in the message. If you are not the
named addressee, you should not disseminate, distribute, or copy this
email. If you are not the intended recipient, you are notified that
disclosing, distributing, or copying this email is strictly
prohibited.
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this email. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this email is strictly prohibited.
Hi Geoffroy,
I have tried Clear OS and ACRN script on a Lenovo standard laptop which doesn’t have either Apollo/Kaby lake processors.I ran into issue that hypervisor is not booting at all :).I will try it on a NUC hardware soon and let you know the result. We have to order the supported NUC box and evaluate on that.
Thank you.
BR,VJ RaoOn 28-Jun-2019, at 3:59 PM, Geoffroy Van Cutsem via Lists.Projectacrn.Org <geoffroy.vancutsem=intel.com@...> wrote:
On Fri, 2019-06-28 at 10:08 +0000, Janardhana Rao Vemulapalli wrote:
Hi Geoffroy,
Thank you very. Much for quick resolution. My task to evaluate ACRN
on clear OS. Hope I could complete this task with a NUC7 box.
Do you already have one of the NUC listed on the "Supported Hardware"
page?
It's great to hear you'll be evaluating ACRN and Clear Linux, please
let us know how you get on, even if you don't hit any issue ;-)
Thanks,
Geoffroy
BR,
VJRao.
On 28-Jun-2019, at 3:33 PM, Geoffroy Van Cutsem via
Lists.Projectacrn.Org <
geoffroy.vancutsem=intel.com@...> wrote:
On Fri, 2019-06-28 at 02:42 -0700, jvemulapalli@...
wrote:
Hi Can I install it into a laptop for evaluation purpose and
later
onto the NUC?
Please confirm whether hypervisor works on x86 laptop or not.
We do not test it on standard laptop. The likekihood of success
depends
amongst other things of the processor you have on the laptop. We
test
ACRN on Apollo Lake and Kaby Lake processors. You also need the
laptop
to have an EFI bootloader.
I guess you have seen the relevant pages in our documentation by
now,
but if not, here is where you should start from:
- Getting Started Guide:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fgetting-started%2Fapl-nuc.html&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=e%2FgT1w%2F2cm21%2FI2eT5IGbedGPG2P7BNg2Xwrb1POHa4%3D&reserved=0
- Supported HW:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprojectacrn.github.io%2Flatest%2Fhardware.html&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=RB6FBVSypxvpr%2FT7Y1fPjRfajBq4i4ZlLAHHW49ZYa8%3D&reserved=0
Feel free to try and report out on this list if you're having
problems
but be aware that we may not be able to easily troubleshoot this,
especially if you do not have a serial port connection to the
laptop.
We should also shortly have another option for you to try out ACRN
without a NUC, that's via QEMU. It's not quite ready yet, you can
track
progress here if you're interested in this option:
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprojectacrn%2Facrn-hypervisor%2Fissues%2F3198&data=02%7C01%7C%7C60868ae4a98c42a51f4408d6fbb389be%7C4643991463b7464e83279b13737ae8cf%7C1%7C1%7C636973145884995826&sdata=K%2BPYaFjAYook0gJTZQ4jBpoRUwXqUzvwb2CZ3XuTj5o%3D&reserved=0
Thanks,
Geoffroy
Thanks,
VJRao
This message contains confidential information and is intended only
for the individual(s) addressed in the message. If you are not the
named addressee, you should not disseminate, distribute, or copy this
email. If you are not the intended recipient, you are notified that
disclosing, distributing, or copying this email is strictly
prohibited.
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this email. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this email is strictly prohibited.