- This week: Create a conf file with the qemu boot variables and their values required for jailhouse to run
- Thing is when you start qemu and try to run " jailhouse hardware check" , the check must be passed for jailhouse to actually run.
- Now this is the updated script that I used to run qemu:-
- The above script does seem to pass the checks
Feature Availability
------------------------------ ------------------
Number of CPUs > 1 ok
Long mode ok
x2APIC ok
VT-x (VMX) ok
VMX outside SMX ok
VMX inside SMX missing (optional)
IA32_TRUE_*_CLTS ok
NMI exiting ok
Preemption timer ok
I/O bitmap ok
MSR bitmap ok
Secondary controls ok
Optional CR3 interception ok
Virtualize APIC access ok
RDTSCP ok
Unrestricted guest ok
INVPCID missing (optional)
XSAVES ok
EPT ok
4-level page walk ok
EPTP write-back ok
2M pages ok
1G pages missing (optional)
INVEPT ok
Single or all-context ok
VM-exit save IA32_PAT ok
VM-exit load IA32_PAT ok
VM-exit save IA32_EFER ok
VM-exit load IA32_EFER ok
VM-entry load IA32_PAT ok
VM-entry load IA32_EFER ok
Activity state HLT ok
VT-d (IOMMU #0) ok
39-bit AGAW ok
48-bit AGAW missing (optional)
2M pages ok
1G pages ok
Queued invalidation ok
Interrupt remapping ok
Extended interrupt mode ok
Check passed!
- This is the default qemuboot.conf file you get by default - tmp/deploy/images/qemux86-64/agl-image-minimal-qemux86-64-*.qemuboot.conf
- We then add a new conf file in our meta-agl-jailhouse , sorting out the updated script wrt the QB variables and then build the recipe so that when we use runqemu , the required script runs by default
- The following variables need to be filled for runqemu -
QB_SYSTEM_NAME:
QB_OPT_APPEND:
QB_DEFAULT_KERNEL:
QB_DEFAULT_FSTYPE:
QB_MEM:
QB_MACHINE:
QB_CPU:
QB_CPU_KVM:
QB_KERNEL_CMDLINE_APPEND: "root=/dev/sda intel_iommu=off memmap=82M\$0x3a000000 mem=1G vga=0x305 console=ttyS0,115200n8"
QB_DTB:
QB_AUDIO_DRV:
QB_AUDIO_OPT:
QB_KERNEL_ROOT:
QB_NETWORK_DEVICE:
QB_TAP_OPT:
QB_SLIRP_OPT:
QB_CMDLINE_IP_SLIRP:
QB_CMDLINE_IP_TAP:
QB_ROOTFS_OPT:
QB_SERIAL_OPT:
QB_TCPSERIAL_OPT:
QB_ROOTFS_EXTRA_OPT:
- Ended up setting up fresh new can boards with respective rpi's and connecting them.
Links:
You receive all messages sent to this group.
View/Reply Online (#8562) |
Reply To Group
| Reply To Sender
|
Mute This Topic
| New Topic
Mute #gsoc
Your Subscription |
Contact Group Owner |
Unsubscribe
[list-automotive-discussions82@xxxxxxxxxxx]