Open
Description
Describe the bug
Flashing the demo with stm32cubeprogrammer
or openocd
seems to wipe out the bootloader.
Build command: west build .west-dep/zephyr/samples/sysbuild/with_mcuboot/ -b nucleo_h723zg -p --sysbuild
- Unit will not longer report if both images are flash (bl + app)
- Unit will report log when only bl is flashed.
- Memory is clearly borked after application is flashed.
I've attempted with v4.1 and v4.1-branch. Further, running west build -d build/with_mcuboot -t rom_report
seems to indicate it's not linking according to the partition map provided.
DTS is modified to include the following...
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* 128KB for bootloader */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(128)>;
read-only;
};
/* application image slot: 256KB */
slot0_partition: partition@20000 {
label = "image-0";
reg = <0x00020000 DT_SIZE_K(256)>;
};
/* backup slot: 256KB */
slot1_partition: partition@60000 {
label = "image-1";
reg = <0x00060000 DT_SIZE_K(256)>;
};
/* storage: 256KB for settings */
scratch_partition: partition@a0000 {
label = "scratch";
reg = <0x000a0000 DT_SIZE_K(128)>;
};
/* storage: 256KB for settings */
storage_partition: partition@c0000 {
label = "storage";
reg = <0x000c0000 DT_SIZE_K(128)>;
};
};
};
Regression
- This is a regression.
Steps to reproduce
- Inject
DTS
node above intonucleo_h723zg.dts
west build .west-dep/zephyr/samples/sysbuild/with_mcuboot/ -b nucleo_h723zg -p --sysbuild
- west flash
- cry
Relevant log output
(template-prj) curiousmuch@pop-os:~/Repositories/frf/template_prj$ west build -t rom_report -d build/with_mcuboot
-- west build: running target rom_report
[0/1] cd /home/curiousmuch/Repositories/frf/template_prj/build/with_mcuboot && /home/cur...build/with_mcuboot --workspace=/home/curiousmuch/Repositories/frf/template_prj -d 99 rom
WARN: Symbol 'z_tls_current' section '' is not in RAM or ROM.
Path Size % Address Section
==========================================================================================================================================
Root 20586 100.00% -
├── (hidden) 1870 9.08% -
├── (no paths) 3824 18.58% -
│ ├── CSWTCH.87 6 0.03% 0x08004dec rodata
│ ├── SystemCoreClock 4 0.02% 0x2400004c datas
│ ├── __aeabi_ldiv0 2 0.01% 0x080006fd text
│ ├── __aeabi_memcpy4 28 0.14% 0x0800431b text
│ ├── __device_dts_ord_103 20 0.10% 0x08004590 device_area
│ ├── __device_dts_ord_133 20 0.10% 0x08004608 device_area
│ ├── __device_dts_ord_143 20 0.10% 0x080045cc device_area
│ ├── __device_dts_ord_144 20 0.10% 0x08004568 device_area
│ ├── __device_dts_ord_145 20 0.10% 0x08004554 device_area
│ ├── __device_dts_ord_146 20 0.10% 0x08004540 device_area
│ ├── __device_dts_ord_147 20 0.10% 0x0800452c device_area
│ ├── __device_dts_ord_148 20 0.10% 0x08004518 device_area
│ ├── __device_dts_ord_149 20 0.10% 0x08004504 device_area
│ ├── __device_dts_ord_43 20 0.10% 0x080045a4 device_area
│ ├── __device_dts_ord_46 20 0.10% 0x080045b8 device_area
│ ├── __device_dts_ord_47 20 0.10% 0x0800457c device_area
│ ├── __device_dts_ord_55 20 0.10% 0x080044dc device_area
│ ├── __device_dts_ord_81 20 0.10% 0x080044f0 device_area
│ ├── __device_dts_ord_88 20 0.10% 0x080045f4 device_area
│ ├── __device_dts_ord_9 20 0.10% 0x080044c8 device_area
│ ├── __device_dts_ord_91 20 0.10% 0x080045e0 device_area
│ ├── __l_vfprintf 1208 5.87% 0x080032a1 text
│ ├── __udivmoddi4 672 3.26% 0x08000701 text
│ ├── __ultoa_invert 174 0.85% 0x0800435f text
│ ├── _sw_isr_table 1304 6.33% 0x0800461c sw_isr_table
│ ├── levels.0 24 0.12% 0x08004dd4 rodata
│ ├── line_range_0.6 2 0.01% 0x08004e80 rodata
│ ├── line_range_1.5 2 0.01% 0x08004e7e rodata
│ ├── line_range_2.4 2 0.01% 0x08004e7c rodata
│ ├── line_range_3.3 2 0.01% 0x08004e7a rodata
│ ├── line_range_4.2 2 0.01% 0x08004e78 rodata
│ ├── line_range_5.1 2 0.01% 0x08004e76 rodata
│ ├── line_range_6.0 2 0.01% 0x08004e74 rodata
│ ├── memset 16 0.08% 0x08004337 text
│ ├── mpu_config 8 0.04% 0x08004bb0 tbss
│ └── strnlen 24 0.12% 0x08004347 text
├── OUTPUT_DIR 654 3.18% -
│ └── zephyr 654 3.18% -
│ ├── isr_tables.c 652 3.17% -
│ │ └── _irq_vector_table 652 3.17% 0x08000440 rom_start
│ └── misc 2 0.01% -
│ └── generated 2 0.01% -
│ └── configs.c 2 0.01% -
│ └── _ConfigAbsSyms 2 0.01% 0x0800393b text
├── WORKSPACE 408 1.98% -
│ └── .west-dep 408 1.98% -
│ └── modules 408 1.98% -
│ └── hal 408 1.98% -
│ └── stm32 408 1.98% -
│ └── stm32cube 408 1.98% -
│ └── stm32h7xx 408 1.98% -
│ └── drivers 408 1.98% -
│ └── src 408 1.98% -
│ └── stm32h7xx_ll_utils.c 408 1.98% -
│ └── LL_SetFlashLatency 408 1.98% 0x08002519 text
└── ZEPHYR_BASE 13830 67.18% -
├── arch 2108 10.24% -
│ └── arm 2108 10.24% -
│ └── core 2108 10.24% -
│ ├── cortex_m 1272 6.18% -
│ │ ├── cpu_idle.c 38 0.18% -
│ │ │ ├── arch_cpu_idle 26 0.13% 0x08003967 text
│ │ │ └── z_arm_cpu_idle_init 12 0.06% 0x0800108d text
│ │ ├── exc_exit.c 32 0.16% -
│ │ │ └── z_arm_exc_exit 32 0.16% 0x08000b1d text
│ │ ├── fault.c 672 3.26% -
│ │ │ ├── bus_fault.constprop.0 108 0.52% 0x08000c31 text
│ │ │ ├── mem_manage_fault 160 0.78% 0x08000b3d text
│ │ │ ├── usage_fault.constprop.0 84 0.41% 0x08000bdd text
│ │ │ ├── z_arm_fault 296 1.44% 0x08000c9d text
│ │ │ └── z_arm_fault_init 24 0.12% 0x08000dc5 text
│ │ ├── irq_init.c 24 0.12% -
│ │ │ └── z_arm_interrupt_init 24 0.12% 0x08001099 text
│ │ ├── irq_manage.c 80 0.39% -
│ │ │ ├── arch_irq_enable 28 0.14% 0x08000f79 text
│ │ │ ├── z_arm_irq_priority_set 44 0.21% 0x08000f95 text
│ │ │ └── z_irq_spurious 8 0.04% 0x08003951 text
│ │ ├── isr_wrapper.c 36 0.17% -
│ │ │ └── _isr_wrapper 36 0.17% 0x080010b1 text
│ │ ├── prep_c.c 56 0.27% -
│ │ │ └── z_prep_c 56 0.27% 0x08000fc1 text
│ │ ├── scb.c 136 0.66% -
│ │ │ ├── z_arm_clear_arm_mpu_config 36 0.17% 0x08000e41 text
│ │ │ └── z_arm_init_arch_hw_at_boot 100 0.49% 0x08000e65 text
│ │ ├── thread.c 154 0.75% -
│ │ │ ├── arch_irq_unlock_outlined 14 0.07% 0x08003959 text
│ │ │ ├── arch_new_thread 44 0.21% 0x08000ff9 text
│ │ │ ├── arch_switch_to_main_thread 52 0.25% 0x08001051 text
│ │ │ └── z_check_thread_stack_fail 44 0.21% 0x08001025 text
│ │ └── thread_abort.c 44 0.21% -
│ │ └── z_impl_k_thread_abort 44 0.21% 0x08000ec9 text
│ ├── fatal.c 20 0.10% -
│ │ ├── z_arm_fatal_error 12 0.06% 0x0800393d text
│ │ └── z_do_kernel_oops 8 0.04% 0x08003949 text
│ ├── mpu 728 3.54% -
│ │ ├── arm_core_mpu.c 68 0.33% -
│ │ │ ├── static_regions 12 0.06% 0x08004c04 rodata
│ │ │ ├── z_arm_configure_dynamic_mpu_regions 32 0.16% 0x080010ed text
│ │ │ └── z_arm_configure_static_mpu_regions 24 0.12% 0x080010d5 text
│ │ ├── arm_mpu.c 588 2.86% -
│ │ │ ├── arm_core_mpu_configure_dynamic_mpu_regions 56 0.27% 0x080011e1 text
│ │ │ ├── arm_core_mpu_configure_static_mpu_regions 20 0.10% 0x080011cd text
│ │ │ ├── arm_core_mpu_disable 20 0.10% 0x080011b9 text
│ │ │ ├── arm_core_mpu_enable 24 0.12% 0x080011a1 text
│ │ │ ├── mpu_configure_regions 108 0.52% 0x08001135 text
│ │ │ └── z_arm_mpu_init 360 1.75% 0x08001219 text
│ │ └── arm_mpu_v7_internal.h 72 0.35% -
│ │ ├── region_init 40 0.19% 0x0800110d text
│ │ └── size_to_mpu_rasr_size 32 0.16% 0x08003981 text
│ ├── nmi.c 24 0.12% -
│ │ ├── handler 4 0.02% 0x24000004 datas
│ │ └── z_arm_nmi 20 0.10% 0x08000ac1 text
│ └── tls.c 64 0.31% -
│ └── arch_tls_stack_setup 64 0.31% 0x08000add text
├── drivers 7208 35.01% -
│ ├── clock_control 1246 6.05% -
│ │ └── clock_stm32_ll_h7.c 1246 6.05% -
│ │ ├── __devstate_dts_ord_9 2 0.01% 0x2400007a device_states
│ │ ├── __init___device_dts_ord_9 8 0.04% 0x08004420 initlevel
│ │ ├── enabled_clock 24 0.12% 0x08003ac3 text
│ │ ├── get_hclk_frequency 52 0.25% 0x080015d1 text
│ │ ├── get_pllsrc_frequency 28 0.14% 0x080015b5 text
│ │ ├── stm32_clock_control_api 28 0.14% 0x08004b80 clock_control_driver_api_area
│ │ ├── stm32_clock_control_configure 78 0.38% 0x08003adb text
│ │ ├── stm32_clock_control_get_subsys_rate 248 1.20% 0x08001605 text
│ │ ├── stm32_clock_control_init 664 3.23% 0x080016fd text
│ │ ├── stm32_clock_control_off 46 0.22% 0x08003a95 text
│ │ └── stm32_clock_control_on 68 0.33% 0x08003a51 text
│ ├── console 88 0.43% -
│ │ └── uart_console.c 88 0.43% -
│ │ ├── __init_uart_console_init 8 0.04% 0x080044a8 initlevel
│ │ ├── console_out 40 0.19% 0x080019bd text
│ │ └── uart_console_init 40 0.19% 0x08001995 text
│ ├── flash 1288 6.26% -
│ │ ├── flash_page_layout.c 106 0.51% -
│ │ │ ├── flash_get_page_info 98 0.48% 0x08003b29 text
│ │ │ └── z_impl_flash_get_page_info_by_offs 8 0.04% 0x08003b8b text
│ │ ├── flash_stm32.h 56 0.27% -
│ │ │ ├── _flash_stm32_sem_take.isra.0 14 0.07% 0x08003ba5 text
│ │ │ └── flash_stm32_range_exists 42 0.20% 0x08003bb3 text
│ │ └── flash_stm32h7x.c 1126 5.47% -
│ │ ├── __devstate_dts_ord_133 2 0.01% 0x2400007c device_states
│ │ ├── __init___device_dts_ord_133 8 0.04% 0x080044c0 initlevel
│ │ ├── flash_data 20 0.10% 0x24000018 datas
│ │ ├── flash_stm32_block_erase_loop 148 0.72% 0x08001b85 text
│ │ ├── flash_stm32_check_status.isra.0 40 0.19% 0x08001a15 text
│ │ ├── flash_stm32_page_layout 40 0.19% 0x080019ed text
│ │ ├── flash_stm32_valid_range 14 0.07% 0x08003bdd text
│ │ ├── flash_stm32_wait_flash_idle 74 0.36% 0x08003beb text
│ │ ├── flash_stm32_write_range 94 0.46% 0x08003c35 text
│ │ ├── flash_stm32h7_api 24 0.12% 0x08004b34 flash_driver_api_area
│ │ ├── flash_stm32h7_erase 184 0.89% 0x08001c19 text
│ │ ├── flash_stm32h7_get_parameters 8 0.04% 0x080019e5 text
│ │ ├── flash_stm32h7_parameters 8 0.04% 0x08004c10 rodata
│ │ ├── flash_stm32h7_read 128 0.62% 0x08001a3d text
│ │ ├── flash_stm32h7_write 116 0.56% 0x08001cd1 text
│ │ ├── stm32h7_flash_init 18 0.09% 0x08003b93 text
│ │ └── write_ndwords.constprop.0 200 0.97% 0x08001abd text
│ ├── gpio 1214 5.90% -
│ │ └── gpio_stm32.c 1214 5.90% -
│ │ ├── __devstate_dts_ord_103 2 0.01% 0x2400008c device_states
│ │ ├── __devstate_dts_ord_143 2 0.01% 0x24000092 device_states
│ │ ├── __devstate_dts_ord_144 2 0.01% 0x24000088 device_states
│ │ ├── __devstate_dts_ord_145 2 0.01% 0x24000086 device_states
│ │ ├── __devstate_dts_ord_146 2 0.01% 0x24000084 device_states
│ │ ├── __devstate_dts_ord_147 2 0.01% 0x24000082 device_states
│ │ ├── __devstate_dts_ord_148 2 0.01% 0x24000080 device_states
│ │ ├── __devstate_dts_ord_149 2 0.01% 0x2400007e device_states
│ │ ├── __devstate_dts_ord_43 2 0.01% 0x2400008e device_states
│ │ ├── __devstate_dts_ord_46 2 0.01% 0x24000090 device_states
│ │ ├── __devstate_dts_ord_47 2 0.01% 0x2400008a device_states
│ │ ├── __init___device_dts_ord_103 8 0.04% 0x08004458 initlevel
│ │ ├── __init___device_dts_ord_143 8 0.04% 0x08004460 initlevel
│ │ ├── __init___device_dts_ord_144 8 0.04% 0x08004468 initlevel
│ │ ├── __init___device_dts_ord_145 8 0.04% 0x08004470 initlevel
│ │ ├── __init___device_dts_ord_146 8 0.04% 0x08004478 initlevel
│ │ ├── __init___device_dts_ord_147 8 0.04% 0x08004480 initlevel
│ │ ├── __init___device_dts_ord_148 8 0.04% 0x08004488 initlevel
│ │ ├── __init___device_dts_ord_149 8 0.04% 0x08004490 initlevel
│ │ ├── __init___device_dts_ord_43 8 0.04% 0x08004438 initlevel
│ │ ├── __init___device_dts_ord_46 8 0.04% 0x08004440 initlevel
│ │ ├── __init___device_dts_ord_47 8 0.04% 0x08004448 initlevel
│ │ ├── gpio_stm32_cfg_a 20 0.10% 0x08004ce0 rodata
│ │ ├── gpio_stm32_cfg_b 20 0.10% 0x08004ccc rodata
│ │ ├── gpio_stm32_cfg_c 20 0.10% 0x08004cb8 rodata
│ │ ├── gpio_stm32_cfg_d 20 0.10% 0x08004ca4 rodata
│ │ ├── gpio_stm32_cfg_e 20 0.10% 0x08004c90 rodata
│ │ ├── gpio_stm32_cfg_f 20 0.10% 0x08004c7c rodata
│ │ ├── gpio_stm32_cfg_g 20 0.10% 0x08004c68 rodata
│ │ ├── gpio_stm32_cfg_h 20 0.10% 0x08004c54 rodata
│ │ ├── gpio_stm32_cfg_i 20 0.10% 0x08004c40 rodata
│ │ ├── gpio_stm32_cfg_j 20 0.10% 0x08004c2c rodata
│ │ ├── gpio_stm32_cfg_k 20 0.10% 0x08004c18 rodata
│ │ ├── gpio_stm32_config 216 1.05% 0x08003dc7 text
│ │ ├── gpio_stm32_configure 48 0.23% 0x08003ecb text
│ │ ├── gpio_stm32_configure_raw.isra.0 160 0.78% 0x08003d27 text
│ │ ├── gpio_stm32_driver 36 0.17% 0x08004b4c gpio_driver_api_area
│ │ ├── gpio_stm32_init 56 0.27% 0x08001df5 text
│ │ ├── gpio_stm32_isr 44 0.21% 0x08003e9f text
│ │ ├── gpio_stm32_manage_callback 82 0.40% 0x08003cd5 text
│ │ ├── gpio_stm32_pin_interrupt_configure 176 0.85% 0x08001d45 text
│ │ ├── gpio_stm32_port_clear_bits_raw 12 0.06% 0x08003cbb text
│ │ ├── gpio_stm32_port_get_raw 12 0.06% 0x08003c93 text
│ │ ├── gpio_stm32_port_set_bits_raw 10 0.05% 0x08003cb1 text
│ │ ├── gpio_stm32_port_set_masked_raw 18 0.09% 0x08003c9f text
│ │ └── gpio_stm32_port_toggle_bits 14 0.07% 0x08003cc7 text
│ ├── interrupt_controller 696 3.38% -
│ │ └── intc_exti_stm32.c 696 3.38% -
│ │ ├── __devstate_dts_ord_81 2 0.01% 0x24000078 device_states
│ │ ├── __init___device_dts_ord_81 8 0.04% 0x08004450 initlevel
│ │ ├── exti_irq_table 32 0.16% 0x24000058 datas
│ │ ├── stm32_exti_get_line_src_port 56 0.27% 0x0800157d text
│ │ ├── stm32_exti_init 180 0.87% 0x08001435 text
│ │ ├── stm32_exti_isr 80 0.39% 0x080013cd text
│ │ ├── stm32_exti_set_line_src_port 60 0.29% 0x08003a15 text
│ │ ├── stm32_fill_irq_table 24 0.12% 0x0800141d text
│ │ ├── stm32_gpio_intc_disable_line 18 0.09% 0x080039b1 text
│ │ ├── stm32_gpio_intc_enable_line 48 0.23% 0x080014e9 text
│ │ ├── stm32_gpio_intc_get_pin_irq_line 6 0.03% 0x080039ab text
│ │ ├── stm32_gpio_intc_remove_irq_callback 36 0.17% 0x08001559 text
│ │ ├── stm32_gpio_intc_select_line_trigger 82 0.40% 0x080039c3 text
│ │ └── stm32_gpio_intc_set_irq_callback 64 0.31% 0x08001519 text
│ ├── pinctrl 238 1.16% -
│ │ ├── common.c 38 0.18% -
│ │ │ └── pinctrl_lookup_state 38 0.18% 0x08003efb text
│ │ └── pinctrl_stm32.c 200 0.97% -
│ │ ├── gpio_ports 68 0.33% 0x08004cf4 rodata
│ │ └── pinctrl_configure_pins 132 0.64% 0x08001e2d text
│ ├── reset 144 0.70% -
│ │ └── reset_stm32.c 144 0.70% -
│ │ ├── __devstate_dts_ord_55 2 0.01% 0x24000094 device_states
│ │ ├── __init___device_dts_ord_55 8 0.04% 0x08004430 initlevel
│ │ ├── reset_stm32_config 4 0.02% 0x08004d38 rodata
│ │ ├── reset_stm32_driver_api 16 0.08% 0x08004b70 reset_driver_api_area
│ │ ├── reset_stm32_line_assert 28 0.14% 0x08003f43 text
│ │ ├── reset_stm32_line_deassert 30 0.15% 0x08003f5f text
│ │ ├── reset_stm32_line_toggle 22 0.11% 0x08003f7d text
│ │ └── reset_stm32_status 34 0.17% 0x08003f21 text
│ ├── serial 1746 8.48% -
│ │ └── uart_stm32.c 1746 8.48% -
│ │ ├── __devstate_dts_ord_88 2 0.01% 0x24000098 device_states
│ │ ├── __devstate_dts_ord_91 2 0.01% 0x24000096 device_states
│ │ ├── __init___device_dts_ord_88 8 0.04% 0x08004498 initlevel
│ │ ├── __init___device_dts_ord_91 8 0.04% 0x080044a0 initlevel
│ │ ├── __pinctrl_dev_config__device_dts_ord_88 8 0.04% 0x08004db4 rodata
│ │ ├── __pinctrl_dev_config__device_dts_ord_91 8 0.04% 0x08004d68 rodata
│ │ ├── __pinctrl_state_pins_0__device_dts_ord_88 16 0.08% 0x08004dc4 rodata
│ │ ├── __pinctrl_state_pins_0__device_dts_ord_91 16 0.08% 0x08004d78 rodata
│ │ ├── __pinctrl_states__device_dts_ord_88 8 0.04% 0x08004dbc rodata
│ │ ├── __pinctrl_states__device_dts_ord_91 8 0.04% 0x08004d70 rodata
│ │ ├── pclken_0 8 0.04% 0x08004dac rodata
│ │ ├── pclken_1 8 0.04% 0x08004d60 rodata
│ │ ├── uart_cfg_0 8 0.04% 0x24000044 datas
│ │ ├── uart_cfg_1 8 0.04% 0x24000034 datas
│ │ ├── uart_stm32_cfg_0 36 0.17% 0x08004d88 rodata
│ │ ├── uart_stm32_cfg_1 36 0.17% 0x08004d3c rodata
│ │ ├── uart_stm32_config_get 146 0.71% 0x080040a7 text
│ │ ├── uart_stm32_configure 392 1.90% 0x08002175 text
│ │ ├── uart_stm32_data_0 8 0.04% 0x2400003c datas
│ │ ├── uart_stm32_data_1 8 0.04% 0x2400002c datas
│ │ ├── uart_stm32_driver_api 20 0.10% 0x08004b9c uart_driver_api_area
│ │ ├── uart_stm32_err_check 90 0.44% 0x08003fbd text
│ │ ├── uart_stm32_init 400 1.94% 0x08001fe5 text
│ │ ├── uart_stm32_ll2cfg_databits 42 0.20% 0x08003f93 text
│ │ ├── uart_stm32_parameters_set 308 1.50% 0x08001eb1 text
│ │ ├── uart_stm32_poll_in 34 0.17% 0x08004085 text
│ │ ├── uart_stm32_poll_out 54 0.26% 0x0800404f text
│ │ └── uart_stm32_set_baudrate 56 0.27% 0x08004017 text
│ └── timer 548 2.66% -
│ └── cortex_m_systick.c 548 2.66% -
│ ├── __init_sys_clock_driver_init 8 0.04% 0x080044b0 initlevel
│ ├── elapsed 76 0.37% 0x080022fd text
│ ├── sys_clock_driver_init 56 0.27% 0x08002349 text
│ ├── sys_clock_elapsed 60 0.29% 0x080024dd text
│ ├── sys_clock_isr 96 0.47% 0x08002381 text
│ └── sys_clock_set_timeout 252 1.22% 0x080023e1 text
├── include 16 0.08% -
│ └── zephyr 16 0.08% -
│ └── sys 16 0.08% -
│ └── dlist.h 16 0.08% -
│ └── sys_dlist_remove 16 0.08% 0x080041cf text
├── kernel 3532 17.16% -
│ ├── banner.c 12 0.06% -
│ │ └── boot_banner 12 0.06% 0x08003295 text
│ ├── device.c 24 0.12% -
│ │ ├── z_device_state_init 2 0.01% 0x08004139 text
│ │ └── z_impl_device_is_ready 22 0.11% 0x0800413b text
│ ├── fatal.c 70 0.34% -
│ │ ├── arch_system_halt 16 0.08% 0x08004151 text
│ │ ├── k_sys_fatal_error_handler 6 0.03% 0x08004161 text
│ │ └── z_fatal_error 48 0.23% 0x080026b1 text
│ ├── idle.c 22 0.11% -
│ │ └── idle 22 0.11% 0x080041a1 text
│ ├── include 70 0.34% -
│ │ ├── kernel_offsets.h 2 0.01% -
│ │ │ └── _OffsetAbsSyms 2 0.01% 0x08003759 text
│ │ ├── ksched.h 20 0.10% -
│ │ │ └── unpend_thread_no_timeout 20 0.10% 0x080041df text
│ │ └── kswap.h 48 0.23% -
│ │ └── z_swap_irqlock 48 0.23% 0x08002a9d text
│ ├── init.c 652 3.17% -
│ │ ├── bg_thread_main 196 0.95% 0x0800270d text
│ │ ├── do_device_init 48 0.23% 0x08004167 text
│ │ ├── z_bss_zero 44 0.21% 0x080027d1 text
│ │ ├── z_cstart 200 0.97% 0x0800286d text
│ │ ├── z_early_memcpy 4 0.02% 0x0800419b text
│ │ ├── z_early_memset 4 0.02% 0x08004197 text
│ │ ├── z_init_cpu 112 0.54% 0x080027fd text
│ │ └── z_sys_init_run_level 44 0.21% 0x080026e1 text
│ ├── init_static.c 2 0.01% -
│ │ └── z_init_static 2 0.01% 0x0800419f text
│ ├── sched.c 1256 6.10% -
│ │ ├── add_to_waitq_locked 80 0.39% 0x080041f3 text
│ │ ├── k_sched_lock 40 0.19% 0x08002cd9 text
│ │ ├── k_sched_unlock 104 0.51% 0x08002d01 text
│ │ ├── move_thread_to_end_of_prio_q 144 0.70% 0x08002ba5 text
│ │ ├── ready_thread 132 0.64% 0x08002acd text
│ │ ├── unready_thread 84 0.41% 0x08002b51 text
│ │ ├── z_impl_k_sched_current_thread_query 12 0.06% 0x08002dc1 text
│ │ ├── z_impl_k_wakeup 72 0.35% 0x08002d79 text
│ │ ├── z_pend_curr 88 0.43% 0x08002c35 text
│ │ ├── z_ready_thread 30 0.15% 0x08004243 text
│ │ ├── z_reschedule 36 0.17% 0x08002c8d text
│ │ ├── z_reschedule_irqlock 40 0.19% 0x08002cb1 text
│ │ ├── z_sched_init 16 0.08% 0x08002d69 text
│ │ ├── z_sched_wake_thread 58 0.28% 0x08004261 text
│ │ ├── z_thread_abort 312 1.52% 0x08002dcd text
│ │ └── z_thread_timeout 8 0.04% 0x0800429b text
│ ├── sem.c 204 0.99% -
│ │ ├── z_impl_k_sem_give 104 0.51% 0x08002935 text
│ │ ├── z_impl_k_sem_init 24 0.12% 0x080041b7 text
│ │ └── z_impl_k_sem_take 76 0.37% 0x0800299d text
│ ├── thread.c 180 0.87% -
│ │ ├── z_dummy_thread_init 24 0.12% 0x08002a85 text
│ │ └── z_setup_new_thread 156 0.76% 0x080029e9 text
│ ├── timeout.c 692 3.36% -
│ │ ├── elapsed 20 0.10% 0x08003071 text
│ │ ├── first 16 0.08% 0x08003061 text
│ │ ├── next_timeout 50 0.24% 0x080042a3 text
│ │ ├── remove_timeout 56 0.27% 0x08003085 text
│ │ ├── sys_clock_announce 188 0.91% 0x080031a9 text
│ │ ├── sys_clock_tick_get 48 0.23% 0x08003265 text
│ │ ├── timeout_list 8 0.04% 0x24000050 datas
│ │ ├── z_abort_timeout 66 0.32% 0x080042d5 text
│ │ ├── z_add_timeout 236 1.15% 0x080030bd text
│ │ └── z_impl_k_uptime_ticks 4 0.02% 0x08004317 text
│ ├── timeslicing.c 268 1.30% -
│ │ ├── slice_timeout 32 0.16% 0x08002f05 text
│ │ ├── thread_is_sliceable 60 0.29% 0x08002f25 text
│ │ ├── z_reset_time_slice 80 0.39% 0x08002f61 text
│ │ └── z_time_slice 96 0.47% 0x08002fb1 text
│ └── xip.c 80 0.39% -
│ └── z_data_copy 80 0.39% 0x08003011 text
├── lib 718 3.49% -
│ ├── heap 450 2.19% -
│ │ ├── heap.c 308 1.50% -
│ │ │ ├── free_list_add 132 0.64% 0x080037e9 text
│ │ │ └── sys_heap_init 176 0.85% 0x0800386d text
│ │ └── heap.h 142 0.69% -
│ │ ├── bucket_idx.isra.0 30 0.15% 0x080037cb text
│ │ ├── chunk_field 22 0.11% 0x0800375b text
│ │ ├── chunk_set 22 0.11% 0x08003771 text
│ │ ├── chunk_size 12 0.06% 0x08003787 text
│ │ ├── set_chunk_size 8 0.04% 0x080037c3 text
│ │ └── set_chunk_used 48 0.23% 0x08003793 text
│ ├── libc 110 0.53% -
│ │ ├── common 44 0.21% -
│ │ │ └── source 44 0.21% -
│ │ │ └── stdlib 44 0.21% -
│ │ │ └── malloc.c 44 0.21% -
│ │ │ ├── __init_malloc_prepare 8 0.04% 0x080044b8 initlevel
│ │ │ └── malloc_prepare 36 0.17% 0x080013a9 text
│ │ └── picolibc 66 0.32% -
│ │ └── stdio.c 66 0.32% -
│ │ ├── __stdout 16 0.08% 0x24000008 datas
│ │ ├── __stdout_hook_install 24 0.12% 0x08001391 text
│ │ ├── picolibc_put 10 0.05% 0x080039a1 text
│ │ └── z_impl_zephyr_fputc 16 0.08% 0x08001381 text
│ └── os 158 0.77% -
│ ├── printk.c 106 0.51% -
│ │ ├── __printk_hook_install 12 0.06% 0x080009d5 text
│ │ ├── _char_out 4 0.02% 0x24000000 datas
│ │ ├── arch_printk_char_out 4 0.02% 0x0800391d text
│ │ ├── char_out 12 0.06% 0x080009c9 text
│ │ ├── printk 26 0.13% 0x08003921 text
│ │ └── vprintk 48 0.23% 0x080009e1 text
│ └── thread_entry.c 52 0.25% -
│ └── z_thread_entry 52 0.25% 0x08000a11 text
├── samples 40 0.19% -
│ └── sysbuild 40 0.19% -
│ └── with_mcuboot 40 0.19% -
│ └── src 40 0.19% -
│ └── main.c 40 0.19% -
│ └── main 40 0.19% 0x080009a1 text
├── soc 180 0.87% -
│ └── st 180 0.87% -
│ └── stm32 180 0.87% -
│ ├── common 36 0.17% -
│ │ └── soc_config.c 36 0.17% -
│ │ ├── __init_st_stm32_common_config 8 0.04% 0x08004428 initlevel
│ │ └── st_stm32_common_config 28 0.14% 0x08000a45 text
│ └── stm32h7x 144 0.70% -
│ ├── mpu_regions.c 60 0.29% -
│ │ └── mpu_regions 60 0.29% 0x08004bb8 rodata
│ └── soc_m7.c 84 0.41% -
│ └── soc_early_init_hook 84 0.41% 0x08000a61 text
└── subsys 28 0.14% -
└── mem_mgmt 28 0.14% -
└── mem_attr.c 28 0.14% -
├── mem_attr_get_regions 12 0.06% 0x08000ab5 text
└── mem_attr_region 16 0.08% 0x08004bf4 rodata
==========================================================================================================================================
20586
Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
- OS: Linux
- SDK: 0.17
- Tree: 4.1.0 and v4.1-branch
Additional Context
No response