Skip to content

Commit 883b9e8

Browse files
committed
loader: adjust segment logging output
Aligns segment information with SoC loader and Simple boot. Signed-off-by: Sylvio Alves <[email protected]>
1 parent cfc122c commit 883b9e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

zephyr/port/boot/esp_image_loader.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,34 +143,34 @@ void esp_app_image_load(int image_index, int slot,
143143

144144
/* Unless waking from deep sleep (implying RTC memory is intact), load its segments */
145145
if (reset_reason != RESET_REASON_CORE_DEEP_SLEEP) {
146-
BOOT_LOG_INF("%s_RAM segment: paddr=%08xh, vaddr=%08xh, size=%05xh (%6d) load", LP_RTC_PREFIX,
146+
BOOT_LOG_INF("%s_RAM\t: lma=%08xh vma=%08xh size=%05xh (%6d) load", LP_RTC_PREFIX,
147147
(fap->fa_off + load_header.lp_rtc_dram_flash_offset), load_header.lp_rtc_dram_dest_addr,
148148
load_header.lp_rtc_dram_size, load_header.lp_rtc_dram_size);
149149
load_segment(fap, load_header.lp_rtc_dram_flash_offset,
150150
load_header.lp_rtc_dram_size, load_header.lp_rtc_dram_dest_addr);
151151
} else {
152-
BOOT_LOG_INF("%s_RAM segment: paddr=%08xh, vaddr=%08xh, size=%05xh (%6d) noload", LP_RTC_PREFIX,
152+
BOOT_LOG_INF("%s_RAM\t: lma=%08xh vma=%08xh size=%05xh (%6d) noload", LP_RTC_PREFIX,
153153
load_header.lp_rtc_dram_flash_offset, load_header.lp_rtc_dram_dest_addr,
154154
load_header.lp_rtc_dram_size, load_header.lp_rtc_dram_size);
155155
}
156156
}
157157

158158
if (load_header.lp_rtc_iram_size > 0) {
159-
BOOT_LOG_INF("%s_IRAM segment: paddr=%08xh, vaddr=%08xh, size=%05xh (%6d) load", LP_RTC_PREFIX,
159+
BOOT_LOG_INF("%s_IRAM\t: lma=%08xh vma=%08xh size=%05xh (%6d) load", LP_RTC_PREFIX,
160160
(fap->fa_off + load_header.lp_rtc_iram_flash_offset), load_header.lp_rtc_iram_dest_addr,
161161
load_header.lp_rtc_iram_size, load_header.lp_rtc_iram_size);
162162
load_segment(fap, load_header.lp_rtc_iram_flash_offset,
163163
load_header.lp_rtc_iram_size, load_header.lp_rtc_iram_dest_addr);
164164
}
165165
#endif
166166

167-
BOOT_LOG_INF("DRAM segment: paddr=%08xh, vaddr=%08xh, size=%05xh (%6d) load",
167+
BOOT_LOG_INF("DRAM\t: lma=%08xh vma=%08xh size=%05xh (%6d) load",
168168
(fap->fa_off + load_header.dram_flash_offset), load_header.dram_dest_addr,
169169
load_header.dram_size, load_header.dram_size);
170170
load_segment(fap, load_header.dram_flash_offset,
171171
load_header.dram_size, load_header.dram_dest_addr);
172172

173-
BOOT_LOG_INF("IRAM segment: paddr=%08xh, vaddr=%08xh, size=%05xh (%6d) load",
173+
BOOT_LOG_INF("IRAM\t: lma=%08xh vma=%08xh size=%05xh (%6d) load",
174174
(fap->fa_off + load_header.iram_flash_offset), load_header.iram_dest_addr,
175175
load_header.iram_size, load_header.iram_size);
176176
load_segment(fap, load_header.iram_flash_offset,

0 commit comments

Comments
 (0)