blob: 6f216f9c64c6ec1acf40fcc28fe2af08a4e9ffaf [file] [log] [blame]
Robert P. J. Day37837322013-01-31 02:06:40 +00001# Configuration file for fw_(printenv/setenv) utility.
Martin Michlmayr5b4eba22008-08-06 14:44:05 +03002# Up to two entries are valid, in this case the redundant
wdenke7f34c62003-01-11 09:48:40 +00003# environment sector is assumed present.
Dustin Byford2f6df462014-03-06 20:48:22 -08004# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
Remy Bohmercb969eb2011-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
wdenke7f34c62003-01-11 09:48:40 +00007
Remy Bohmercb969eb2011-02-12 19:06:26 +01008# NOR example
Guennadi Liakhovetskiffb379a2008-09-04 13:01:49 +02009# MTD device name Device offset Env. size Flash sector size Number of sectors
wdenke7f34c62003-01-11 09:48:40 +000010/dev/mtd1 0x0000 0x4000 0x4000
11/dev/mtd2 0x0000 0x4000 0x4000
Guennadi Liakhovetskiffb379a2008-09-04 13:01:49 +020012
Remy Bohmercb969eb2011-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 Liakhovetskiffb379a2008-09-04 13:01:49 +020018# NAND example
19#/dev/mtd0 0x4000 0x4000 0x20000 2
Lubomir Rintel57cb6a32013-02-10 01:02:36 +000020
21# Block device example
22#/dev/mmcblk0 0xc0000 0x20000
Waldemar Brodkorb63a7ff92015-02-16 05:59:09 +010023
24# VFAT example
25#/boot/uboot.env 0x0000 0x4000