You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "Lee, Lup Yuen" <lu...@appkaki.com> on 2023/02/23 10:49:43 UTC

Article: Emulate NuttX on PinePhone with Unicorn Emulator

Unicorn is a lightweight CPU Emulator Framework based on QEMU.

To make PinePhone testing easier, can we emulate NuttX on PinePhone with
Unicorn Emulator? In this article we’ll call Unicorn Emulator to…

1. Emulate Arm64 Machine Code

2. Attach Hooks to intercept Memory Access and Code Execution

3. Boot NuttX in the emulator

4. Simulate the UART Controller for PinePhone

5. Track an Exception in Arm64 Memory Management

https://lupyuen.github.io/articles/unicorn

Lup