diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-07-22 17:34:52 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-08-04 11:12:27 +0200 |
commit | 4578c3ef8d218065fdd5d114b828d4f68292ca18 (patch) | |
tree | bfe47d1891ec65686a1835b0f4cd6fc2b6b84fe3 /recipes-bsp/u-boot/files/tegra2/fw_env.config | |
parent | f005a374db13891c824806f07ff0a85034fd2dc9 (diff) |
colibri-t20: add configuration to u-boot-fw-utils
u-boot-fw-utils allows for U-Boot environmenmt access from Linux.
Add the needed configuration file for colibri_t20 with a postinst script
which choses the right NAND flash sector sizes from /proc/mtd
While at it, fix some whitespace issues.
Diffstat (limited to 'recipes-bsp/u-boot/files/tegra2/fw_env.config')
-rw-r--r-- | recipes-bsp/u-boot/files/tegra2/fw_env.config | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/tegra2/fw_env.config b/recipes-bsp/u-boot/files/tegra2/fw_env.config new file mode 100644 index 0000000..9d00835 --- /dev/null +++ b/recipes-bsp/u-boot/files/tegra2/fw_env.config @@ -0,0 +1,11 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# MTD device name Device offset Env. size Flash sector size Number of sectors +#Colibri T20: flash sector size depends on module type and version +#/dev/mtd3 0x00000000 0x00001000 0x00040000 1 + |