From 4578c3ef8d218065fdd5d114b828d4f68292ca18 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 22 Jul 2014 17:34:52 +0200 Subject: 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. --- recipes-bsp/u-boot/files/tegra2/fw_env.config | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-bsp/u-boot/files/tegra2/fw_env.config (limited to 'recipes-bsp/u-boot/files') 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 + -- cgit v1.2.3