Source code

NOTE: Source code examples published here are provided as they are, without any express or implied warranty including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The software may be redistributed without limits, provided that authorship information, licensing information included in the source code, and this notice are preserved.

Linux MTD driver for 24xx series I2C EEPROMs

The driver has been tested with a 2.6 kernel running on an Intel IXP425 processor. Memory chip used was the 24LC512 from Microchip, but the driver should work with any 16-bit address 24xx-type EEPROM. The file should be placed in the linux/drivers/mtd/chips/ directory. Patches for Kconfig and Makefile are diffs against a kernel shipped with the SnapGear Embedded Linux 3.3.0 distribution.
Updated: 17 September 2006
License: GNU GPL
ee24.c
Kconfig.diff
Makefile.diff

Application to manipulate RedBoot configuration from Linux - 'fconfig'

This program is a Linux application that allows to read and write RedBoot's configuration parameters.

Limitations:
If RedBoot configuration partition is located in the Flash memory, then the access is read-only. Full read-write access is available when the configuration is stored in I2C EEPROM memories (driver ee24.c above), or other MTD devices that do not require user-level locking and unlocking.

The program has been tested on a SnapGear Embedded Linux 3.3.0 system (kernel 2.6) running on an Intel IXP425 CPU. Patches for Configure.help, config.in and Makefile are diffs against SnapGear Embedded Linux 3.3.0 distribution.

Updated: 29 March 2008
License: GNU GPL
fconfig-20080329.tar.gz
Configure.help.diff
config.in.diff
Makefile.diff