firmware:toolbox:modkit

http://www.bitsum.com/firmware_mod_kit.htm

Firmware Modification Kit

Giving YOU the power to customize your firmware

documentation version 0.60 beta

all scripts, untrx, wrt_vx_imgtool, and docs (c) 2008 Jeremy Collake <moc.liamg|ekalloc.ymerej#moc.liamg|ekalloc.ymerej> http://www.bitsum.com

This kit gives the user the ability to make changes to a firmware image without recompiling the firmware sources. It works by extracting the firmware into its component parts, then extracting the file system image (assuming its in one the supported formats).

The user can then make modifications to the extracted file system, and rebuild the firmware image.

Why is this useful?

A list of some of the many reasons this might be desired are:

* add initialization scripts
* install new packages
* extend/change HTTP managed console
* remove un-needed packages
* mix-and-match packages from various flavors of the firmware image.

Requirements

The requirements are low enough for anyone to use this kit. However, to reduce distribution costs and better represent the multi-platform capabilities of this kit, the binary tools in the kit do automatically build themselves the first time you run one of the scripts.

Any machine set up to build anything C or C++ on the machine will probably be ready. The few requirements are all basic items that everyone has easy access to:

* A compatible platform. The following are specifically supported (or specifically unsupported):

LINUX (recommended)
CYGWIN alpha stage testing (!! built firmwares may not boot !!)

* GNU C (gcc)
* GNU C++ (g++)
* GNU make
* Standard C runtime library development
* Standard C++ runtime library development
* TAR and GZIP (optional, used by ipkg_install.sh)

Compatibility

Any TRX style firmware image format should that uses squashfs-lzma as a root file system work fine.

Firmwares that use regular zlib squashfs

or unsupported file systems will work if the steps that extract the file system and rebuild the file system are tweaked.

HDP-R1 - install.img: POSIX tar archive (GNU)

Firmware Mod Kit (extract) v0.62 beta, (c)2008 Jeremy Collake
 http://www.bitsum.com
 Checking for updates ...
  You have the latest version of this kit.
 LINUX system detected. Compatibility ok.
 Testing file system of ./ ...
 Building tools ...
 Build seems successful.
 Preparing working directory ...
 Removing any previous files ...
 Creating directories ...
 Extracting firmware
 Attempting raw linux style firmware package (i.e. TEW-632BRP) ...
 Extracting install.bin to ./ ...
 Error: filesystem not extracted properly.
  firmware image format not compatible?
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License