因为想搞虚拟机,所以需要ROM里的内容。
现在用的版本是https://www.esp32.com/viewtopic.php?t=21331#里发的https://dl.espressif.com/dl/esp32c3_rev3_rom.elf
然而,readelf的时候遇到了一些小问题
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x3fcca000 0x3fcca000 0x003b4 0x15664 RW 0x1000
LOAD 0x1168000 0x40000000 0x40000000 0x59590 0x59590 R E 0x1000
LOAD 0x000830 0x3fcdf830 0x40059590 0x00000 0x00004 RW 0x1000
LOAD 0x000834 0x3fcdf834 0x40059590 0x00000 0x00018 RW 0x1000
LOAD 0x00084c 0x3fcdf84c 0x40059590 0x00000 0x00024 RW 0x1000
LOAD 0x000870 0x3fcdf870 0x40059590 0x00000 0x000fc RW 0x1000
LOAD 0x11c196c 0x3fcdf96c 0x40059590 0x000bc 0x00664 RW 0x1000
LOAD 0x000fd0 0x3fcdffd0 0x4005964c 0x00000 0x00002 RW 0x1000
LOAD 0x11c1fd4 0x3fcdffd4 0x4005964c 0x00004 0x00008 RW 0x1000
LOAD 0x000fdc 0x3fcdffdc 0x40059650 0x00000 0x00008 RW 0x1000
LOAD 0x11c1fe4 0x3fcdffe4 0x40059650 0x00004 0x00008 RW 0x1000
LOAD 0x11c1fec 0x3fcdffec 0x40059654 0x0000c 0x00010 RW 0x1000
LOAD 0x11c1ffc 0x3fcdfffc 0x40059660 0x00004 0x00004 RW 0x1000
LOAD 0x11c2e00 0x3fccae00 0x40059664 0x00004 0x00004 RW 0x1000
LOAD 0x11c3710 0x3fcde710 0x40059668 0x00000 0x00000 RW 0x1000
LOAD 0x11c3f1c 0x3fcdef1c 0x40059668 0x00000 0x00000 RW 0x1000
LOAD 0x11c3f60 0x3fcdef60 0x40059668 0x00000 0x00000 RW 0x1000
LOAD 0x11c4060 0x3fcdf060 0x40059668 0x00004 0x00004 RW 0x1000
LOAD 0x11c409c 0x3fcdf09c 0x4005966c 0x0000c 0x0000c RW 0x1000
LOAD 0x0010d4 0x3fcdf0d4 0x3fcdf0d4 0x37a708 0x37a708 RW 0x1000
LOAD 0x37c5bc 0x3fcdf5bc 0x3fcdf5bc 0x37a4fc 0x37a4fc RW 0x1000
LOAD 0x6f7638 0x3fcdf638 0x3fcdf638 0x37a488 0x37a488 RW 0x1000
LOAD 0xa72650 0x3fcdf650 0x3fcdf650 0x37a474 0x37a474 RW 0x1000
LOAD 0x11c4654 0x3fcdf654 0x40059ac4 0x00000 0x00000 RW 0x1000
LOAD 0x11c465c 0x3fcdf65c 0x40059ac4 0x00000 0x00000 RW 0x1000
LOAD 0xded664 0x3fcdf664 0x3fcdf664 0x37a460 0x37a460 RW 0x1000
LOAD 0x11c4c00 0x3ff19c00 0x40059c00 0x04ec8 0x04ec8 R 0x1000
LOAD 0x11c9e3c 0x3ff1ee3c 0x4005ee3c 0x011c4 0x011c4 R 0x1000
其中:
部分段MemSiz为0,部分段地址重叠,例如:
LOAD 0x0010d4 0x3fcdf0d4 0x3fcdf0d4 0x37a708 0x37a708 RW 0x1000
LOAD 0x37c5bc 0x3fcdf5bc 0x3fcdf5bc 0x37a4fc 0x37a4fc RW 0x1000
LOAD 0x6f7638 0x3fcdf638 0x3fcdf638 0x37a488 0x37a488 RW 0x1000
LOAD 0xa72650 0x3fcdf650 0x3fcdf650 0x37a474 0x37a474 RW 0x1000
虚地址0x3fcdf0d4处长0x37a708,会覆盖到下一段 0x3fcdf5bc处。
我不太理解这种情况如何处理,请问有没有人能够帮忙解答一下我哪里理解有误
0
|
|
|
|