ACRN Project Technical Community Meeting Minutes - 4/10/2019

Wang, Hongbo

ACRN Project TCM - 10th April 2019
  1. ACRN project update
        ACRN brochure updated with architecture picture.
  1. LIU, Yuan: How to customize GPIO in ACRN
Download foil from ACRN Presentation->ACRN_TCM->WW15’19
Q1: What’s the difference between GPIO controller and SD card controller?
A1: SD controller is used to control SD memory cards and SDIO cards, and GPIO controller is used to control all of GPIO defined by the platform. Usually SD controller applies GPIO resources from GPIO controller for Card detection or power state changing.
Q2: Will GPIO have its controller or just mapping in memory address?
A2: Yes, GPIO has its own controller,  GPIO registers can be mapped to system memory, and user can access GPIO registers via the MMIO directly.
Q3: SD card CS and IRQ pin?
A3: For SD card detection, it usually use a GPIO as IRQ source. If the SD card is inserted/removed, the IRQ will be triggered, and SD device driver can read the GPIO value to check the card state(insertion or removal).
Q4: For the corner case, what if multi VM use same GPIO pin? Can Virtual GPIO handle such case? Is there any error message showing up?
A4: one native GPIO pin can only map to one VM. Virtual GPIO will ignore the pin if it has already been occupied by other VMs or SOS device driver. If a GPIO is ignored, the GPIO mediator will print the GPIO is in busy log when GPIO mediator initialization.
Q5: Is the macro a standard definition in the virtual GPIO?
A5: Yes, it is implemented with ACPI control method.
  1. All: Community open discussion.
  1. Next meeting agenda proposal:
WW Topic Presenter Status
WW02 TPM2.0 virtualization in ACRN DENG, Wei 1/9
WW03 Polling mode Virtio and its advantage for RT VM DENG, Jie 1/16
WW04 Buffer sharing from UOS to SOS, HyperDMA usage LIU, Xinyun 1/23
WW05 USB HUB Virtualization WU, Xiaoguang 1/30
WW07 ACRN Device Model QoS Design LIU, Long 2/13
WW08 ACRN Debug Tips CHEN, Jason 2/20
WW09 GVT-g debug trace tool GONG, Zhipeng 2/27
WW10 Kata Container Architecture: First Steps with ACRN Dhanraj, Vijay 3/6
WW11 One ACRN hypervisor to support multi-platform WU, Xiangyang 3/13
WW12 Power button key mediator design in ACRN LIU, Yuan 3/20
WW13 Local APIC Virtualization Enhancement for Intel KBL platform LI, Fei 3/27
WW14 Safety VM Support YIN, FengWei 4/3
WW15 How to customize GPIO in ACRN LIU, Yuan 4/10
ACRN-DM logger CAO, Mingui
Performance tuning tip - Unified Debug Trace Tool across UOS/SOS/ACRN CHEN, Conghui
vUART hotkey switch CHEN, Conghui
Decouple VM configs and board configs SUN, Victor
S5 support for dm-launched RTVM FU, Kaige
High speed UART share between UOS/SOS CHEN, Conghui
I2C Virtualization CHEN, Conghui
GPIO Virtualization Update LIU, Yuan
Open vSwitch Design for ACRN LIU, Yuan
OVMF to support secure boot Fang, Peter
  1. (WIP) 1st PRC IoT Open Source Meetup,  June’19,  Shenzhen/Shanghai
  1. Project URL:
  1. Portal:   
  2. Source code:   
  3. email: info@...g
  4. Technical Mailing list: acrn-dev@...g
  1. Recommended Hardware platform (reference):
  1. Apollo Lake (SoC) UP2 (with serial port): AAEON UPS-APLC2-A10-0232
  2. Apollo Lake (SoC) NUC (without serial port): NUC6CAYHL (at least 8G memory)
  3. Kabylake (Core) NUC (with serial port): NUC7i5DNHE
Best regards.
Tel: +86-21-6116 7445
MP: +86-1364 1793 689