Firmware and ROM file formats

Images of the code and data that live in a chip: a game cartridge copied for an emulator, or a program ready to be written into a microcontroller’s flash memory.

Formats

.A26

Atari 2600 ROM image

Atari 2600 cartridge ROMs: raw bytes, 4 KiB window, bank switching.

.A52

Atari 5200 ROM image

Atari 5200 cartridges: raw ROM at $4000-$BFFF with a header at the top.

.A78

Atari 7800 ROM image

Atari 7800 cartridges: a 128-byte header with flags, then the ROM.

.ANDROIDBOOT

Android boot image

Android boot.img, init_boot.img and recovery.img: the ANDROID! header (versions 0 to 4) with the kernel, ramdisk and other parts.

.ANDROIDVBMETA

Android vbmeta image

Android Verified Boot: the vbmeta image (AVB0) with its hash, signature and descriptors, and the AVBf footer.

.ANDROIDVENDORBOOT

Android vendor boot image

Android vendor_boot.img: the VNDRBOOT header (versions 3 and 4), vendor ramdisks, DTB, ramdisk table and bootconfig.

.BIN

Emerson Arcadia 2001 ROM

Arcadia 2001 cartridge: headerless 2650 code; reached through Read as.

.BIN

Fairchild Channel F ROM

Channel F Videocart: headerless F8 code from $0800; reached through Read as.

.BIN

Raw Cortex-M firmware image

Headerless firmware for ARM Cortex-M chips: the vector table at the start and nothing else; found by Identify, not by the name .bin.

.BIN

TI-99/4A cartridge image

TI-99/4A cartridge dumps: C and D ROM and G GROM files with the >AA header.

.BZIMAGE

x86 Linux kernel image

The x86 Linux kernel (bzImage, vmlinuz): boot protocol header, setup code and compressed kernel.

.CAR

Atari cartridge file

Atari 8-bit and 5200 cartridges: a CART header with the type, then the ROM.

.CRT

Commodore 64 cartridge image

Commodore 64 cartridges: a C64 CARTRIDGE header, then one CHIP packet per bank.

.DFU

USB Device Firmware Upgrade file

USB device firmware with a 16-byte suffix naming the device it is for.

.DTB

Flattened devicetree blob

Hardware description for Linux and U-Boot, also .dtbo overlays.

.GB

Game Boy ROM image

Game Boy and Game Boy Color cartridge ROMs, with the header at 0x100.

.GBA

Game Boy Advance ROM image

Game Boy Advance cartridge ROMs, with a 192-byte header at the start.

.HEX

Intel HEX firmware

Firmware as lines of hexadecimal records, each with an address and checksum.

.IMAGE

Linux ARM64 boot image

The 64-bit ARM Linux kernel, kernel8.img on a Raspberry Pi.

.IMAGE

Linux LoongArch boot image

The LoongArch Linux kernel as an EFI application with its 64-byte header.

.IMAGE

Linux RISC-V boot image

The RISC-V Linux kernel with its 64-byte header.

.INT

Intellivision ROM

Intellivision cartridge: 16-bit words, no header, a .cfg beside it.

.ITB

FIT image (flattened image tree)

A devicetree holding the images a U-Boot loader boots, with hashes.

.MD

Sega Mega Drive ROM image

Mega Drive and Genesis cartridge ROMs: 68000 vectors, then a text header.

.NDS

Nintendo DS ROM image

Nintendo DS cartridge ROMs: a 512-byte header, ARM9 and ARM7 programs, the NitroFS file system and a banner.

.NES

iNES ROM image

NES cartridge images for emulators: a 16-byte header and the ROMs.

.NES

NES 2.0 ROM image

The extended NES header: exact mapper, memory sizes and console timing.

.NGP

SNK Neo Geo Pocket ROM image

SNK Neo Geo Pocket and Pocket Color cartridge ROMs: a 64-byte header with licence text, start address and mode, then TLCS-900/H code mapped at 0x200000.

.PCE

PC Engine HuCard ROM image

PC Engine and TurboGrafx-16 HuCard ROM images: headerless 8 KB banks, five interrupt vectors at the end of the first bank, an optional 512-byte copier header.

.PS-X EXE

PlayStation executable

Sony PlayStation programs: a 2048-byte header, then the code.

.ROM

Intellicart ROM image

Intellicart cartridge: $A8 header, segments with CRC-16, memory attributes.

.RPK

TI-99/4A RPK cartridge

TI-99/4A rompack: a ZIP of cartridge dumps and a layout.xml naming the board.

.SFC

SNES ROM image

Super Nintendo cartridge ROMs, sometimes behind a 512-byte copier header.

.SMS

Sega Master System ROM image

Sega Master System, Game Gear and SG-1000 cartridge ROMs, with an optional TMR SEGA header at 0x7FF0.

.SREC

Motorola S-record

Firmware as lines of S-records, each with a type, address and checksum.

.UF2

USB Flashing Format

Firmware in 512-byte blocks, flashed by copying it to a board’s USB drive.

.UIMAGE

U-Boot uImage

A 64-byte U-Boot header in front of a kernel, RAM disk or other file.

.VBOY

Nintendo Virtual Boy ROM image

Nintendo Virtual Boy cartridge ROMs: a power-of-two dump whose game header and interrupt vectors sit at the end, NEC V810 code mapped so the ROM ends at 0xFFFFFFFF.

.Z64

Nintendo 64 ROM image

Nintendo 64 cartridge ROMs in three byte orders (.z64, .v64, .n64) with a 64-byte header.

.ZBOOT

Linux EFI zboot image

A Linux kernel compressed inside an EFI application: vmlinuz.efi of an arm64 distribution.

.ZIMAGE

Linux ARM zImage

The self-extracting 32-bit ARM Linux kernel, kernel7.img on a Raspberry Pi.