Project

General

Profile

fw_printenv not working ยป fw_env.config

Srinivasa Wunnimani, 12/20/2019 10:10 AM

 
1
# Configuration file for fw_(printenv/setenv) utility.
2
# Up to two entries are valid, in this case the redundant
3
# environment sector is assumed present.
4
# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
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
7

    
8
# NOR example
9
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
10
#/dev/mtd1		0x00000		0x20000		0x20000
11
#/dev/mtd2		0x0000		0x4000		0x4000
12

    
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

    
18
# NAND example
19
/dev/mtd6		0x00000		0x20000		0x20000			1
20

    
21
# Block device example
22
#/dev/mmcblk0		0xc0000		0x20000
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)