OK6410A Development Board (VIII) 8 linux-5.11 OK6410A System.map Analysis

Publisher:ChanheroLatest update time:2022-09-19 Source: csdnKeywords:OK6410A  11  System  map Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

File generation process

NM=nm bash ./scripts/mksysmap vmlinux System.map


file format

The content format of arm-linux system.map is


Link address type symbol

Why is the address a link address?

What are the types?

https://blog.csdn.net/u011011827/article/details/69938645


File usage

When an oops occurs in the kernel, the contents of pc are printed out, which are addresses.

klogd will block kernel oops information and 

1. Call syslogd to record it

2. Use System.map file to perform symbol-address resolution and convert addresses to symbols


Some drivers will use System.map to resolve symbols


Other Programs

klogd

lsof

ps 

dosemu


File Location

Generated in the top-level directory 

Should be placed

/boot/System.map

document content

System.map can be divided into 8 parts


miscellaneous

00000018

...

c0004000 A swapper_pg_dir

...

c0008000 T _text

...

c0008000 T stext

...

c000807c t __create_page_tables

c0008150 t __enable_mmu

c00081d4


contains .text.* sections, may also contain .rodata.* and/or .init.* sections

c0100000 T _stext

...

c0600000 R _etext


contains .rodata.* sections


c0600000 R __start_rodata

...

c06b6000 R __end_rodata


miscellaneous

c06b6648 R __start_unwind_idx

...

c06d43d8 R __stop_unwind_tab


contains .init.* sections, but .init.text.* may be out of this range on some architectures.

c0700000 T __init_begin

...

c0800000 D __init_end


contains .data.* sections, may also contain .rodata.* and/or .init.* sections.

c0800000 D _sdate

...

c088e548 D_edata

...


contains BSS sections

c088e548 B __bss_start

...

c08c413c B __bss_stop

c08c413c B _end


miscellaneous

fffe0000 T __eitcm_text

...

ffff1240 T vector_fiq

Keywords:OK6410A  11  System  map Reference address:OK6410A Development Board (VIII) 8 linux-5.11 OK6410A System.map Analysis

Previous article:OK6410A Development Board (VIII) 8 linux-5.11 OK6410A Detailed analysis of the start_kernel runtime stack
Next article:OK6410A development board (eight) 7 linux-5.11 OK6410A usb camera transplant

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号