1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/Documentation/guides/port_bootsequence.rst
Takuya Miyasita f66c4a0733 Documentation/guides: add the guide:how to port.
I think the guy who wants to port NuttX is expected to understand NuttX kernel code and related configurations,
but the getting enough knowledge needs to read the kernel codes deeply.

To reduce the time for NuttX beginner who wants to port,
I tried to make the guide (how to port) based on my porting journey.
2024-12-12 21:52:24 +08:00

13 lines
612 B
ReStructuredText

The diagram of boot sequence
============================
The premise of this sequence diagram is NuttX12.4.0, cxd56xx, non-SMP and Flat build.
The beginning of boot sequence is __start().
__start() will call nx_start(). nx_start() will initialize the kernel and call nsh_main().
nsh_main() will execute NuttShell(NSH).
nx_start() is NuttX standard function, but the behavior depends on some kernel configurations.
For example, the calling nsh_main() is also configurable.
About related kernel configurations, see :doc:`/guides/port_relatedkernelconfigrations`.
.. image:: image/port_bootsequence-12.4.0.png