gschorcht / esp32-elf-rom

ESP32 ROM blob to ELF convertor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp32-elf-rom

Overview

This tiny project allows converting ESP32 ROM blob to ELF file with symbols. It is derived from esp-elf-rom project.

Usage

First, you need a ROM image. Either you can use file bootrom.bin in this repository or you use esptool.py to download a ROM image with command:

esptool.py --chip esp32 -b 921600 -p /dev/ttyUSB0 dump_mem 0x40000000 0x00064ae0 bootrom.bin

Once, you have the ROM image, use simply command

make

to produce an ELF file bootrom.elf that can be used with command

xtensa-esp32-elf-objdump -d bootrom.elf > bootrom_disassembled.s

to disassemble the ROM code.

About

ESP32 ROM blob to ELF convertor


Languages

Language:Makefile 90.7%Language:Assembly 9.3%