Article: (Possibly) Emulate PinePhone with Unicorn Emulator
Unicorn is a lightweight CPU Emulator Framework based on QEMU.

We’re porting a new operating system Apache NuttX RTOS to Pine64 PinePhone. And I wondered…

To make PinePhone testing easier… Can we emulate Arm64 PinePhone with Unicorn Emulator?

Let’s find out! 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 Apache NuttX RTOS in the emulator

4. Simulate the UART Controller for PinePhone

5. Track an Exception in Arm64 Memory Management

(Possibly) Emulate PinePhone with Unicorn Emulator

Possibly Related Threads…
Thread Author Replies Views Last Post
  What File Manager Options Are There For The Pinephone? pinephoneuser22 3 65 Yesterday, 02:16 PM
Last Post: pinephoneuser22
  Article: Inside a Smartphone Accelerometer: PinePhone with NuttX RTOS lupyuen 22 2,966 Yesterday, 06:09 AM
Last Post: lupyuen
  PinePhone app development WhiteHexagon 14 613 05-17-2023, 10:41 PM
Last Post: Kevin Kofler
  When should new OS's like Genode & NuttX RTOS get their own PinePhone subforum? PineFone 1 249 05-17-2023, 06:38 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: Phone Calls and Text Messages lupyuen 2 311 05-03-2023, 05:03 PM
Last Post: lupyuen
  Bliss OS on pinephone lcayer1 5 4,813 05-01-2023, 11:33 PM
Last Post: erickonix
  Fedora on Pinephone pasifi808 7 577 04-28-2023, 06:32 PM
Last Post: zetabeta
  Article: NuttX RTOS for PinePhone: 4G LTE Modem lupyuen 2 528 04-10-2023, 10:19 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: USB with Enhanced Host Controller Interface lupyuen 2 643 04-07-2023, 03:47 AM
Last Post: lupyuen
  Slack on PinePhone Adam Seline 4 3,668 03-23-2023, 12:03 AM
Last Post: hall

Forum Jump:

Users browsing this thread: 1 Guest(s)