User Tools

Site Tools


inbox:imageformats

Image formats

You can help to improve this page by adding explanations for the different firmware types below.
See also firmware_image_names and merge both pages into one.

Standard formats

sysupgrade or trx images

Previously know as trx image, sysupgrade is designed to be flashed from OpenWrt/LEDE itself 1).

factory

Designed to be flashed by the bootloader flasher or stock firmware flasher 2)

Specific formats

initramfs

Usually first part of a multi-stage installation, this type of firmware can be loaded from an arbitrary location and is self-contained in memory. This is like a Linux LiveCD. 3)

u-boot or uImage

This is an image format designed for U-Boot loader. Same as initramfs? 4) 5)

ext4

This firmware contains a regular ext4 Linux partition. Mostly used in x86 and x86_x64 systems.

squashfs

This firmware contains a type of partition that is compressed and mounts read-only. All modifications (file edit, new files, deleted files) are committed to an overlay.

rootfs

Only the root filesystem of LEDE

kernel

??

ubifs

??

ubi

??

tftp

Designed to be loaded from tftp server. Device in recovery mode?

Subformats

bin, img, elf, dtb, chk, dlf

These are raw binary data of the firmware file

xz, gz, tar, lzma

These are compressed images

Developer files

sdk

SDK Toolchain for compiling single userspace packages 6)

Imagebuilder

To build custom images without compiling 7)

vmlinux

Linux kernel for build 8)

inbox/imageformats.txt · Last modified: 2018/06/01 08:51 by tmomas