Robert P. J. Day | 3783732 | 2013-01-31 02:06:40 +0000 | [diff] [blame] | 1 | # Configuration file for fw_(printenv/setenv) utility. |
Martin Michlmayr | 5b4eba2 | 2008-08-06 14:44:05 +0300 | [diff] [blame] | 2 | # Up to two entries are valid, in this case the redundant |
wdenk | e7f34c6 | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 3 | # environment sector is assumed present. |
Dustin Byford | 2f6df46 | 2014-03-06 20:48:22 -0800 | [diff] [blame] | 4 | # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. |
Remy Bohmer | cb969eb | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 5 | # 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 |
wdenk | e7f34c6 | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 7 | |
Remy Bohmer | cb969eb | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 8 | # NOR example |
Guennadi Liakhovetski | ffb379a | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 9 | # MTD device name Device offset Env. size Flash sector size Number of sectors |
wdenk | e7f34c6 | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 10 | /dev/mtd1 0x0000 0x4000 0x4000 |
| 11 | /dev/mtd2 0x0000 0x4000 0x4000 |
Guennadi Liakhovetski | ffb379a | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 12 | |
Remy Bohmer | cb969eb | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 13 | # 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 Liakhovetski | ffb379a | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 18 | # NAND example |
| 19 | #/dev/mtd0 0x4000 0x4000 0x20000 2 |
Lubomir Rintel | 57cb6a3 | 2013-02-10 01:02:36 +0000 | [diff] [blame] | 20 | |
| 21 | # Block device example |
| 22 | #/dev/mmcblk0 0xc0000 0x20000 |
Waldemar Brodkorb | 63a7ff9 | 2015-02-16 05:59:09 +0100 | [diff] [blame^] | 23 | |
| 24 | # VFAT example |
| 25 | #/boot/uboot.env 0x0000 0x4000 |