get a list of all configuration options with default values
./waf bspdefaults --rtems-bsps=aarch64/raspberrypi4b
rtems-exeinfo
The RTEMS Tool rtems-exeinfo can provide some detail about the registered handlers. The following shows the initialization handlers for the Hello World sample application in the RTEMS kernel’s testsuite:
RTEMS 工具 rtems-exeinfo 可以提供注册处理程序的一些详细信息。下面显示的是 RTEMS 内核测试套件中 Hello World 示例应用程序的初始化处理程序:
.rtemsroset
0x00104c05 bsp_work_area_initialize
0x00104c41 bsp_start
0x0010eb45 zynq_debug_console_init
0x0010ec19 rtems_counter_sysinit
0x0010b779 _User_extensions_Handler_initialization
0x0010c66d rtems_initialize_data_structures
0x00107751 _RTEMS_tasks_Manager_initialization
0x0010d4f5 _POSIX_Keys_Manager_initialization
0x0010dd09 _Thread_Create_idle 0x0010cf01 rtems_libio_init
0x001053a5 rtems_filesystem_initialize
0x0010546d _Console_simple_Initialize
0x0010c715 _IO_Initialize_all_drivers
0x001076d5 _RTEMS_tasks_Initialize_user_tasks_body
0x0010cfa9 rtems_libio_post_driver
The section .rtemsroset lists the handlers called in order. The handlers can be split into the BSP initialization handlers that start the BSP:
.rtemsroset 部分按顺序列出了调用的处理程序。这些处理程序可分为启动 BSP 的 BSP 初始化处理程序:
bsp_work_area_initialize
bsp_start
zynq_debug_console_init
rtems_counter_sysinit
And the remainder are handlers for services used by the application. The list varies based on the services the application uses.
其余的是应用程序所使用服务的处理程序。该列表根据应用程序使用的服务而有所不同。