Adding a Hook Function to Unicorn Emulator ... To print the Mermaid Flowchart and Call Graph
Article: https://lupyuen.github.io/articles/unicorn2?6#generate-call-graph
Let's generate a clickable Call Graph for Apache #NuttX RTOS ... With a text-based Mermaid Flowchart
Article: https://lupyuen.github.io/articles/unicorn2?5#clickable-mermaid-flowchart
To lookup the DWARF Debug Symbols in an ELF File ... Call the #RustLang Crates "addr2line" and "gimli"
Article: https://lupyuen.github.io/articles/unicorn2?4#dwarf-debug-symbols
Converting a Code Address to the Function Name? Use the DWARF Debug Symbols in the ELF File
Article: https://lupyuen.github.io/articles/unicorn2?3#map-address-to-function
USB Driver for #PinePhone Allwinner A64 ... Now porting to Apache #NuttX RTOS 😬
#UnicornEngine is based on QEMU Emulator ... And lets us intercept the emulated code with #RustLang
Article: https://lupyuen.github.io/articles/unicorn2?2#intercept-code-execution-in-unicorn
Here's how we emulate Apache #NuttX RTOS with #UnicornEngine and #RustLang ... We'll use this to generate the Call Graph
Article: https://lupyuen.github.io/articles/unicorn2?2#intercept-code-execution-in-unicorn
Let's find out how Apache #NuttX RTOS boots on #PinePhone @PINE64 ... Visualised with Unicorn Emulator and #RustLang
#PinePhone (Allwinner A64) USB Controller supports EHCI ... Building the PinePhone USB Driver for Apache #NuttX RTOS will be so much easier! 👍
Article: https://lupyuen.github.io/articles/usb2?88#appendix-enhanced-host-controller-interface-for-usb
Need to emulate Linux programs? Check out the Qiling Binary Emulation Framework
Article: https://lupyuen.github.io/articles/unicorn?11#emulation-concerns
#UnicornEngine is good enough for Automated Daily Build & Test of #NuttX RTOS on #PinePhone
Article: https://lupyuen.github.io/articles/unicorn?11#emulation-concerns
Apache #NuttX RTOS halts in #UnicornEngine with an MMU Fault ... Let's troubleshoot in the next article!
Article: https://lupyuen.github.io/articles/unicorn?10#emulator-halts-with-mmu-fault
To emulate #PinePhone UART Output ... We intercept Memory-Mapped I/O with #UnicornEngine
Article: https://lupyuen.github.io/articles/unicorn?9#emulate-uart-output
Apache #NuttX Real-Time Operating System on #PinePhone @PINE64 🤩
Source: https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/
Let's emulate the #PinePhone Allwinner A64 UART Controller ... So #UnicornEngine won't get stuck waiting for UART
Article: https://lupyuen.github.io/articles/unicorn?8#wait-for-uart-controller
#NuttX RTOS gets stuck while booting on #UnicornEngine ... Let's emulate the #PinePhone UART Controller
Article: https://lupyuen.github.io/articles/unicorn?8#wait-for-uart-controller
How we map the Memory Regions in #UnicornEngine ... For booting Apache #NuttX Real-Time Operating System
Article: https://lupyuen.github.io/articles/unicorn?7#apache-nuttx-rtos-in-unicorn
IoT Techie and Educator / Apache NuttX PMC