blob: 6f216f9c64c6ec1acf40fcc28fe2af08a4e9ffaf [file] [log] [blame]
Robert P. J. Day7789df92013-01-31 02:06:40 +00001# Configuration file for fw_(printenv/setenv) utility.
Martin Michlmayr22525772008-08-06 14:44:05 +03002# Up to two entries are valid, in this case the redundant
wdenkd0fb80c2003-01-11 09:48:40 +00003# environment sector is assumed present.
Dustin Byford23869bf2014-03-06 20:48:22 -08004# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
Remy Bohmer9eeaa8e2011-02-12 19:06:26 +01005# Futhermore, if the Flash sector size is ommitted, this value is assumed to
6# be the same as the Environment size, which is valid for NOR and SPI-dataflash
wdenkd0fb80c2003-01-11 09:48:40 +00007
Remy Bohmer9eeaa8e2011-02-12 19:06:26 +01008# NOR example
Guennadi Liakhovetski56086922008-09-04 13:01:49 +02009# MTD device name Device offset Env. size Flash sector size Number of sectors
wdenkd0fb80c2003-01-11 09:48:40 +000010/dev/mtd1 0x0000 0x4000 0x4000
11/dev/mtd2 0x0000 0x4000 0x4000
Guennadi Liakhovetski56086922008-09-04 13:01:49 +020012
Remy Bohmer9eeaa8e2011-02-12 19:06:26 +010013# MTD SPI-dataflash example
14# MTD device name Device offset Env. size Flash sector size Number of sectors
15#/dev/mtd5 0x4200 0x4200
16#/dev/mtd6 0x4200 0x4200
17
Guennadi Liakhovetski56086922008-09-04 13:01:49 +020018# NAND example
19#/dev/mtd0 0x4000 0x4000 0x20000 2
Lubomir Rintelf1932b72013-02-10 01:02:36 +000020
21# Block device example
22#/dev/mmcblk0 0xc0000 0x20000
Waldemar Brodkorbde19edd2015-02-16 05:59:09 +010023
24# VFAT example
25#/boot/uboot.env 0x0000 0x4000