Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 1.9 KB

Run_Vela_on_Vela_Emulator.md

File metadata and controls

73 lines (48 loc) · 1.9 KB

Run Build Artifacts on openvela Emulator

[ English | 简体中文 ]

Overview of openvela Emulator

openvela Emulator simulates an openvela device on a computer, allowing developers to test applications and drivers on a variety of devices. A physical device is not needed.

openvela Emulator is based on Android Emulator, with improvements and enhancements.

openvela Emulator offers the following advantages:

  • An exclusive operating mode for loading and running the mirror of openvela. It’s a way to skip Android-specific operations
  • Loading openvela's own kernel in openvela mode
  • Loading openvela's own system partition in openvela mode
  • NMEA calibration support for a GNSS emulator

The following Hosts are supported:

  • Linux x86_64
  • Linux arm64
  • macOS x86_64
  • macOS aarch64
  • Windows x64

The following Targets are supported:

  • arm
  • arm64
  • x86
  • x86_64

The following goldfish-specific drivers have been implemented in openvela:

  • Qemu Pipe
  • ADB
  • Battery
  • Camera
  • GNSS
  • Graphic
  • Sensors

Run openvela Emulator

  1. Switch to the root directory of openvela repository, and start an instance of openvela Emulator by passing the option “vela” to emulator.sh

    ./emulator.sh vela
  2. Once openvela is started and gets into “nsh”, run the following command inside “openvela-ap":

    lvgldemo &

    This appears after execution: img

  3. Exit the openvela Emulator instance, as shown below:

    img

Control openvela Emulator

You can control a running instance of openvela Emulator with ADB or the console.

Debug with openvela Emulator