Kudos Lup!

________________________________
Från: Tomek CEDRO <to...@cedro.info>
Skickat: den 13 april 2025 22:26
Till: dev@nuttx.apache.org <dev@nuttx.apache.org>
Ämne: Re: [Article] NuttX for Avaota-A1 SBC: Creating the Unicorn Emulator

Wow! What a journey! Thank you Lup!! :-) -- CeDeROM, SQ7MHZ, https: 
//urldefense. com/v3/__http: //www. tomek. cedro. 
info__;!!O7_YSHcmd9jp3hj_4dEAcyQ!0uNKfXCTmON74tVOOjrd7HWRkFvJWQkHXElSLmZdCT6fJ6Wro_gkWozuMoH42LrTw123uI4mJn0JukVA_A$
 On Sun, Apr


Wow! What a journey! Thank you Lup!! :-)

--
CeDeROM, SQ7MHZ, 
https://urldefense.com/v3/__http://www.tomek.cedro.info__;!!O7_YSHcmd9jp3hj_4dEAcyQ!0uNKfXCTmON74tVOOjrd7HWRkFvJWQkHXElSLmZdCT6fJ6Wro_gkWozuMoH42LrTw123uI4mJn0JukVA_A$

On Sun, Apr 13, 2025 at 2:07 AM Lee, Lup Yuen <lu...@appkaki.com> wrote:
>
> NuttX is officially supported on Avaota-A1 Arm64 SBC (Allwinner A527 SoC). 
> Let’s take Unicorn Emulator and create a Software Emulator for Avaota SBC...
>
> (1) We call Unicorn Library to create our Barebones Emulator
>
> (2) Emulate the 16550 UART hardware by intercepting I/O Memory
>
> (3) Recompile NuttX with 4 Tiny Tweaks and boot on Unicorn
>
> (4) NuttX makes a Context Switch and fails
>
> (5) Because Unicorn doesn’t handle Arm64 SysCalls?
>
> (6) No worries we’ll Emulate Arm64 SysCalls ourselves!
>
> (7) By jumping into the Arm64 Vector Table
>
> (8) NuttX on Unicorn boots to NSH Shell! (Almost)
>
> (9) How exactly does NuttX boot on Avaota SBC? We have a Detailed Boot Flow
>
> Why are we doing this?
>
> -- So we can create NuttX Drivers and Apps on Avaota SBC Emulator (without 
> the actual hardware)
>
> -- Avaota Emulator is helpful for NuttX Continuous Integration, making sure 
> that all Code Changes will run correctly on Avaota SBC
>
> -- The Trade Tariffs are Terribly Troubling. Some of us NuttX Folks might 
> need to hunker down and emulate Avaota SBC, for now.
>
> -- Or maybe we should provide Remote Access to a Real Avaota SBC? 🤔
>
> Check out the article: 
> https://urldefense.com/v3/__https://lupyuen.org/articles/unicorn4.html__;!!O7_YSHcmd9jp3hj_4dEAcyQ!0uNKfXCTmON74tVOOjrd7HWRkFvJWQkHXElSLmZdCT6fJ6Wro_gkWozuMoH42LrTw123uI4mJn3m3_LAtg$
>
>
>
> Lup
>

Reply via email to